[asterisk-dev] decrease Max-Forwards header
Klaus Darilion
klaus.mailinglists at pernau.at
Wed Sep 17 08:23:37 CDT 2008
Raj Jain schrieb:
> On Tue, Sep 16, 2008 at 8:46 AM, Klaus Darilion
> <klaus.mailinglists at pernau.at> wrote:
>> Hi!
>>
>> Currently Asterisk sets the Max-Forwards header always to 70 for any
>> outgoing requests. IMO it would be cool to decrease the Max-Forwards on
>> outgoing SIP calls if the incoming channel is also a SIP channel. (E.g.
>> if you have multiple Asterisk servers mistakenly configured to route
>> calls in circle you could detect that loop).
>>
>> What do you think about that?
>
> IMHO, this makes some sense but not a whole lot because in the
> scenario you mentioned Asterisk is acting as a B2BUA not a proxy. It
That is the problem. If you create a loop with proxies they will detect
it (on SIP level).
But Asterisk will terminate the SIP call. If you configure a loop in
Asterisk there is no chance to detect it as the hop counter is set to
the default value every time.
IMO this would also make sense for SS7<->SIP Gatewaying to translate the
SS7 hop counter to avoid SS7-SIP-SS7-SIP-SS7 loops.
regards
klaus
> is a proxy's job to detect loops and not B2BUA's. The other issue
> would be making the outbound leg aware of the signaling type of the
> incoming leg.
>
> --
> Raj Jain
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
More information about the asterisk-dev
mailing list