[Asterisk-Dev] Re: 482 Loop Detected problem

Doug Meredith doug.meredith at skyridge.com
Tue Nov 22 06:03:31 MST 2005


Charles Huang <dev.charleshuang at gmail.com> wrote:

>Hi, all
>
>Can anyone give me a hint how to disable "482 Loop Dection" from the
>"chan_sip.c".
>
>Since I am using the Asterisk as a pure gateway, therefore when calls coming
>from my T1 PSTN and land on any of my SIP phones with Call forword to PSTN
>number, then it will give me the "482 Loop Detected" fail.

This behavior has existed for a long time.  I would argue this is a
bug.  Certainly it is from a SIP point of view.  I guess from a
monolithic PBX point of view it isn't a bug.

I haven't seen any sign that anyone is too interested in fixing this,
but if you look in the code, there is a comment that says something
along the lines of "SIP doesn't permit this".  This certainly isn't
true, but maybe they meant the SIP channel, not the SIP standard.

It appears that there is a simple "if" statement in the code that does
this check and reports the error.  You could try simply commenting out
the check and see what happens.  Someone previously mentioned that
they tried this and got a core dump, but it might still be worth
looking at.

Note that I haven't looked at this issue under 1.2, so what I am
telling you may be out of date.

Doug
-- 
Doug Meredith (doug.meredith at systemguard.com)
SystemGuard - Oracle remote support
877-974-8273 (87-SYSGUARD)
506-854-7997
www.systemguard.com




More information about the asterisk-dev mailing list