[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:37:22 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15106 
====================================================================== 
Reported By:                timeshell
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   15106
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-05-14 09:35 CDT
Last Modified:              2009-05-18 08:37 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"


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

---------------------------------------------------------------------- 
 (0104918) svnbot (reporter) - 2009-05-18 08:37
 https://issues.asterisk.org/view.php?id=15106#c104918 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 195090

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_sip.c

------------------------------------------------------------------------
r195090 | file | 2009-05-18 08:37:21 -0500 (Mon, 18 May 2009) | 12 lines

Merged revisions 195089 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r195089 | file | 2009-05-18 10:36:17 -0300 (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=195090 

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




More information about the asterisk-bugs mailing list