[asterisk-bugs] [Asterisk 0014340]: Calls are not matched to correct peer when using callbackextension parameter

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 18 10:15:04 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14340 
====================================================================== 
Reported By:                Nick_Lewis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14340
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.1-beta4 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-01-27 04:03 CST
Last Modified:              2009-08-18 10:15 CDT
====================================================================== 
Summary:                    Calls are not matched to correct peer when using
callbackextension parameter
Description: 
If there are a number of peers with different callbackextension parameters
the incoming calls are not matched to the right peers

for example with two peers as follows
[trunk1]
host=sip.myitsp.com
callbackextension=9991
...
[trunk2]
host=sip.myitsp.com
callbackextension=9992
...

incoming calls to 9991 and to 9992 are both matched to the peer for 9992
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0014250 [patch] Incoming calls from registratio...
====================================================================== 

---------------------------------------------------------------------- 
 (0109210) Nick_Lewis (reporter) - 2009-08-18 10:15
 https://issues.asterisk.org/view.php?id=14340#c109210 
---------------------------------------------------------------------- 
This one is a bit different from https://issues.asterisk.org/view.php?id=14250
in that https://issues.asterisk.org/view.php?id=14250 was proposing a
match on peername. That proposal was as per RFC3261 but at odds with
extensions and the way they are implemented in Asterisk.

This issue relates to the callbackextension specified in the peer config
and ensuring that incoming calls with different callback extensions do not
match incorrectly. It is not contentious - if a peer is specified with a
callback extension then calls that match the peer will be to that
extension. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-18 10:15 Nick_Lewis     Note Added: 0109210                          
2009-08-18 10:15 Nick_Lewis     Status                   closed => new       
2009-08-18 10:15 Nick_Lewis     Resolution               duplicate => reopened
======================================================================




More information about the asterisk-bugs mailing list