AW: [Serusers] Setting maxfwd to 1 in single SER env?
Klaus Darilion
klaus.mailinglists at pernau.at
Mon Sep 12 21:56:06 CEST 2005
Frank Fischer wrote:
> Hi Daniel
>
> Thanks for your answer. But i don't undestand why i would need the avp
> module to do that - couldn't i just set something like
max_fwd will be counted down to zero, starting with value set by the
UAC. Thus, you would have to guess the first value, and check for value-1
Why can't you block access based on the domain in the sip URIs?
regards
klaus
>
> if (!mf_process_maxfwd_header("1")) {
> ...
> };
>
> As far as i understood, the mf_process_maxfwd_header() method compairs the
> given value (i.e. 1) to theactual value in the request? So my question is,
> in my setup with only one SER Proxy with some UAs and a PSTN Gateway and no
> forwaring or receiving from other SIP Proxies, would it make sense to set
> there parameter for max_hops to 1 or am I missing something and this might
> cause probles?
>
> Greetings
> Frank
>
>
>
>
>>-----Ursprüngliche Nachricht-----
>>Von: Daniel-Constantin Mierla [mailto:daniel at voice-system.ro]
>>Gesendet: Montag, 12. September 2005 18:14
>>An: Frank Fischer
>>Cc: serusers at lists.iptel.org
>>Betreff: Re: [Serusers] Setting maxfwd to 1 in single SER env?
>>
>>Hello,
>>
>>depending on what version of proxy do you have, you can use
>>avpops (write the value of the maxfwd header in an avp and
>>then compare). See:
>>http://www.voice-system.ro/docs/avpops/
>>
>>Daniel
>>
>>
>>On 09/12/05 15:38, Frank Fischer wrote:
>>
>>
>>>Hi
>>>
>>>I have a single SER wiht some clients and a PSTN gateway. Forwarding
>>>calls over the internet to other SIP proxies is not
>>
>>possible/allowed.
>>
>>>Now i wonder, if i could compare the
>>
>>mf_process_maxfwd_header() with 1
>>
>>>since - if i understand that concept right - there will
>>
>>always only be
>>
>>>one hop needed (eihter client to client or client to pstn gateway).
>>>
>>>Do i get this right or am i missing anything important?
>>>
>>>Greetings
>>>Frank
>>>
>>>
>>>_______________________________________________
>>>Serusers mailing list
>>>serusers at lists.iptel.org
>>>http://lists.iptel.org/mailman/listinfo/serusers
>>>
>>>
>>>
>>
>
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
More information about the sr-users
mailing list