[asterisk-bugs] [Asterisk 0014230]: Calls are not accepted from an outbound proxy
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Jan 13 11:01:54 CST 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14230
======================================================================
Reported By: Nick_Lewis
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 14230
Category: Channels/chan_sip/General
Reproducibility: have not tried
Severity: major
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!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2009-01-13 10:19 CST
Last Modified: 2009-01-13 11:01 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.
======================================================================
----------------------------------------------------------------------
(0097583) Nick_Lewis (reporter) - 2009-01-13 11:01
http://bugs.digium.com/view.php?id=14230#c97583
----------------------------------------------------------------------
On investigation I do not think obproxies can be added to peers_by_ip
table. It will require an additional table peers_by_obproxy with a
different key generator peer_obproxyhash_cb. The function find_peer can
then search the latter if there is no match on the former.
Issue History
Date Modified Username Field Change
======================================================================
2009-01-13 11:01 Nick_Lewis Note Added: 0097583
======================================================================
More information about the asterisk-bugs
mailing list