[asterisk-bugs] [Asterisk 0015880]: [patch] Contact header port ignores transport when using externip
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Oct 6 17:43:12 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15880
======================================================================
Reported By: ebroad
Assigned To: dvossel
======================================================================
Project: Asterisk
Issue ID: 15880
Category: Channels/chan_sip/TCP-TLS
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: SVN
JIRA:
Regression: No
Reviewboard Link: https://reviewboard.asterisk.org/r/392/
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 217990
Request Review:
======================================================================
Date Submitted: 2009-09-10 23:23 CDT
Last Modified: 2009-10-06 17:43 CDT
======================================================================
Summary: [patch] Contact header port ignores transport when
using externip
Description:
Port is always 5060, unless specify a port for externip.
======================================================================
----------------------------------------------------------------------
(0111947) svnbot (reporter) - 2009-10-06 17:43
https://issues.asterisk.org/view.php?id=15880#c111947
----------------------------------------------------------------------
Repository: asterisk
Revision: 222398
U trunk/channels/chan_sip.c
U trunk/configs/sip.conf.sample
------------------------------------------------------------------------
r222398 | dvossel | 2009-10-06 17:43:11 -0500 (Tue, 06 Oct 2009) | 21
lines
contact header port ignored transport when using externip
This patch adds support for TCP/TLS in the Contact header when using
NAT, specifically externip or externhost. The original issue was that
Asterisk sent 5060 as the port in the contact header whether TLS was
used or not. Additionally, this patch adds 2 config options to sip.conf,
specifically externtcpport and externtlsport. This allows a user to
specify different external ports for TCP and TLS other than those used
internally, this is especially useful in in a PAT/port redirection setup.
Thanks to ebroad for reporting the issue and providing the patch!
(closes issue https://issues.asterisk.org/view.php?id=15880)
Reported by: ebroad
Patches:
portmap.patch uploaded by ebroad (license 878)
externtXXport_v2.patch uploaded by ebroad (license 878)
Tested by: ebroad
Review: https://reviewboard.asterisk.org/r/392/
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=222398
Issue History
Date Modified Username Field Change
======================================================================
2009-10-06 17:43 svnbot Note Added: 0111947
======================================================================
More information about the asterisk-bugs
mailing list