[asterisk-users] forwarding loop not detected

Bill Gibbs bgibbs at edurotech.com
Fri Mar 30 10:22:39 MST 2007


Asterisk 1.2.16

I have an extension "102" with a Polycom 430

 

I am trying to protect against forwarding loops

 

If I set the phone to forward the line to itself, extension 102 I get
the following

 

-- Got SIP response 302 "Moved Temporarily" back from 206.83.240.18

    -- Now forwarding Local/102 at mycontext-b2ee,2 to
'Local/102 at mycontext' (thanks to SIP/exten-mycontext-102-094c2c08)

    -- Executing Dial("Local/102 at mycontext-e1e0,2",
"SIP/exten-mycontext-102") in new stack

    -- Called exten-mycontext-102

    -- Got SIP response 302 "Moved Temporarily" back from 206.83.240.18

    -- Now forwarding Local/102 at mycontext-e1e0,2 to
'Local/102 at mycontext' (thanks to SIP/exten-mycontext-102-095bfef8)

    -- Executing Dial("Local/102 at mycontext-2965,2",
"SIP/exten-mycontext-102") in new stack

    -- Called exten-mycontext-102

    -- Got SIP response 302 "Moved Temporarily" back from 206.83.240.18

    -- Now forwarding Local/102 at mycontext-2965,2 to
'Local/102 at mycontext' (thanks to SIP/exten-mycontext-102-09495990)

    -- Executing Dial("Local/102 at mycontext-8295,2",
"SIP/exten-mycontext-102") in new stack

    -- Called exten-mycontext-102

 

Looping for a long time then the next entry in the dial plan kicks in
(Voicemail) after a ton of those

 

Dialplan:

exten => 102,1,Dial(SIP/exten-mycontext-102)

exten => 102,n,Voicemail(b102 at mycontext)

 

Forwarding to other extensions and outside numbers works fine, just not
to itself.

 

How can I protect against such loops?

 

Bill

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070330/80183177/attachment-0001.htm


More information about the asterisk-users mailing list