[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
Mon May 18 08:36:18 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-18 08:36 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"


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

---------------------------------------------------------------------- 
 (0104917) svnbot (reporter) - 2009-05-18 08:36
 https://issues.asterisk.org/view.php?id=15106#c104917 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 195089

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r195089 | file | 2009-05-18 08:36:18 -0500 (Mon, 18 May 2009) | 5 lines

Fix a bug where specifying an empty outboundproxy would cause packets to
get sent to ourself.

(closes issue https://issues.asterisk.org/view.php?id=15106)
Reported by: timeshell

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=195089 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-18 08:36 svnbot         Checkin                                      
2009-05-18 08:36 svnbot         Note Added: 0104917                          
======================================================================




More information about the asterisk-bugs mailing list