[asterisk-dev] decrease Max-Forwards header

Raj Jain rj2807 at gmail.com
Wed Sep 17 07:28:41 CDT 2008


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
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



More information about the asterisk-dev mailing list