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@voice-system.ro] Gesendet: Montag, 12. September 2005 18:14 An: Frank Fischer Cc: serusers@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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers