Except the case that UA may want to forward request to other proxy or call controller (e.g. voicemail) from its end. An example would be a UA activate DND and forward all requests to voicemail server within its administrative domain. It will not be able to do so. If it is your policy to disallow this type of communication, then yes, you have the logic.
I don't see why you need such control. Max forward is usually used for loop detection.
Zeus
-----Original Message----- From: serusers-bounces@lists.iptel.org On Behalf Of Frank Fischer Sent: Tuesday, 13 September 2005 5:42 AM To: serusers@lists.iptel.org Subject: AW: [Serusers] Setting maxfwd to 1 in single SER env?
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
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