[asterisk-bugs] [Asterisk 0014230]: Calls are not accepted from an outbound proxy

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 13 12:45:21 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14230 
====================================================================== 
Reported By:                Nick_Lewis
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   14230
Category:                   Channels/chan_sip/General
Reproducibility:            have not tried
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.0 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-13 10:19 CST
Last Modified:              2009-01-13 12:45 CST
====================================================================== 
Summary:                    Calls are not accepted from an outbound proxy
Description: 
find_peer does not make a match between a received invite and a peer if the
invite comes from the outboundproxy rather than directly from the host. 

For example if a peer has the following sip.conf:

[mytrunk]
host=sip.myitsp.net
port=5060
outboundproxy=nat.myitsp.net:5082

an invite from nat.myitsp.net:5082 is not matched to peer mytrunk

This is a problem for applications in which a natproxy is used for both
incoming and outgoing calls. 
====================================================================== 

---------------------------------------------------------------------- 
 (0097625) oej (manager) - 2009-01-13 12:45
 http://bugs.digium.com/view.php?id=14230#c97625 
---------------------------------------------------------------------- 
The outbound proxy, like any other proxys, has to be a peer by itself in
sip.conf.

However, if you declare users we will match users first and ignore the
proxy. The users match on the From: username - not the IP and port address.
That is the way it works now. That's one of the reasons why we do have
realtime users (not peers).

In the future, we will redesign this for domain based matching, but it's
not easily possible now. And that kind of matching would be a feature
request you can file on http://www.asteriskideas.org.

This is not a bug report and should be closed. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-13 12:45 oej            Note Added: 0097625                          
======================================================================




More information about the asterisk-bugs mailing list