[asterisk-bugs] [Asterisk 0014250]: Incoming calls matched to the wrong peer

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 15 06:41:24 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14250 
====================================================================== 
Reported By:                Nick_Lewis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14250
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-01-15 05:58 CST
Last Modified:              2009-01-15 06:41 CST
====================================================================== 
Summary:                    Incoming calls matched to the wrong peer
Description: 
If there are multiple sip trunks with the same ITSP then an incoming call
is arbitarily matched to the last peer with the same host IP address. This
is not a serious problem because the DID is still correct but it does have
many insidious effects due to the incorrect channel name
====================================================================== 

---------------------------------------------------------------------- 
 (0097874) Nick_Lewis (reporter) - 2009-01-15 06:41
 http://bugs.digium.com/view.php?id=14250#c97874 
---------------------------------------------------------------------- 
Example

register=myaccount1 at sip.myitsp.com/line1
register=myaccount2 at sip.myitsp.com/line2
[line1]
type=peer
username=myaccount1
host=sip.myitsp.com
[line2]
type=peer
username=myaccount2
host=sip.myitsp.com

If sip.myitsp.com directs a call to asterisk with a request line of:

INVITE line1 at mybindaddr SIP/2.0

then it is matched to the line2 peer whereas it would probably be better
matched to the line1 peer 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-15 06:41 Nick_Lewis     Note Added: 0097874                          
======================================================================




More information about the asterisk-bugs mailing list