[asterisk-bugs] [Asterisk 0015106]: Routing Extensions between 2 asterisk servers in 2 directions fails with "482 Loop Detected"

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 15 13:57:17 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15106 
====================================================================== 
Reported By:                timeshell
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15106
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0.9 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-05-14 09:35 CDT
Last Modified:              2009-05-15 13:57 CDT
====================================================================== 
Summary:                    Routing Extensions between 2 asterisk servers in 2
directions fails with "482 Loop Detected"
Description: 
A* has a user created by asterisk-gui2.
B* has a trunkA created to connect to user on A*.
Calling rule for trunkA on B* allows exts connected to B* to call exts on
A*.

Now, I want exts connected to A* to be able to call exts on B*.

Scenario 1
Create SIP trunk user on B* with asterisk-gui2.  Connect trunk from A* to
user on B* and appropriate outgoing rule.
Result:  calls from one or both sides will get error in CLI reporting "482
Loop Detected"

Scenario 2
Create SIP trunk using asterisk-gui2 on A* but leave hostname, username
and secret blank.  Change registersip to = no.
Manually edit extensions.conf and change the global for the new SIP trunk
to be something like "trunk_1=SIP/A*Ext" where A*Ext is the trunk extension
for B* to connect a trunk to A*.
Create outgoing rule on A* to route B* exts to B*.
Create incoming rule on B* to accept incoming calls on trunk to A* and set
it to route to ${EXTEN}.
Result:  Calls may or may not work in one direction and the other
direction will not work reporting "482 Loop Detected"


====================================================================== 

---------------------------------------------------------------------- 
 (0104843) timeshell (reporter) - 2009-05-15 13:57
 https://issues.asterisk.org/view.php?id=15106#c104843 
---------------------------------------------------------------------- 
New info about the looping issue.  I created a server outside the firewall,
so BOTH servers are now sitting right on the internet.  I created a one-way
link from one server to the other.  It worked for a little bit and then
started looping after I changed the codecs and reloaded.  So, it apparently
may not have anything to do with reverse trunking but with one way trunk
between 2 asterisk servers configured using the asterisk-gui. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-15 13:57 timeshell      Note Added: 0104843                          
======================================================================




More information about the asterisk-bugs mailing list