[asterisk-users] 428 Loop Detected

Jose P. Espinal jpe at slackware-es.com
Sun Mar 15 20:49:54 CDT 2009


Hello Asif,

I have experienced 'loop detected' when the peer where I want to send 
the calls to, and the asterisk Box have both the same IP address (That 
would make a loop).

Could you please verify?



Regards,


Asif Iqbal wrote:
> Hi I looked at few emails related to this subject. And still not sure
> how to solve the loop detect problem for my case
> 
> iqbala at improvise:/etc/asterisk$ cat sip.conf
> 
> [general]
> context=line1
> 
> [phone]
> type=friend
> context=phone1
> secret=g00dpazzwerd
> bindport=5060
> host=192.168.1.106
> dtmfmode=rfc2833
> 
> [line]
> type=friend
> context=line1
> secret=anothers33cret
> bindport=5061
> host=192.168.1.106
> dtmfmode=rfc2833
> 
> iqbala at improvise:/etc/asterisk$ cat extensions.conf
> [default]
> exten => s,1,Answer
> exten => s,2,Wait(2)
> exten => s,3,Playback(tt-monkeys)
> exten => s,4,Hangup
> 
> [from-internal]
> include => default
> 
> [phone1]
> 
> [from-pstn]
> ;include => default
> exten => s,1,Dial(SIP/phone at phone,10)
> exten => s,2,Voicemail(line)
> exten => s,3,Hangup
> 
> [line1]
> 
> 
> So my home land line is going to the FXO port and my home phone is
> hanging off of FXS port.
> 
> Here are the contexts for my fxo/fxs card
> 
> 
> improvise*CLI> dahdi show channels
>    Chan Extension  Context         Language   MOH Interpret
>  pseudo            default                    default
>       1            from-internal              default
>       2            from-internal              default
>       3            from-pstn                  default
>       4            from-pstn                  default
> 
> 
> I want to call from my cell and make my home phone ring and if I dont
> pickup in 10 secs I want the call
> go to my voicemail. But I am getting a loop detect. The debug output
> is attached.
> 
> What am I doing wrong?
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
Jose P. Espinal
http://www.eSlackware.com
IRC: [OFTC|FreeNode]
Khratos @ #slackware | #asterisk/-doc/-bugs




More information about the asterisk-users mailing list