[asterisk-commits] jrose: branch 10 r358644 - in /branches/10: ./ channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Mar 8 10:50:49 CST 2012
Author: jrose
Date: Thu Mar 8 10:50:45 2012
New Revision: 358644
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=358644
Log:
Make transfer not ignore port information with SIP.
Attempting to transfer with SIP to an address like 1XXXXX at ip.ad.re.ss:5061 would fail
because port would be cut from the host string and ignored. This simply keeps chan_sip
from cutting off the port number during these kinds of transfers.
(closes issue ASTERISK-19321)
Reported by: Federico Alves
Review: https://reviewboard.asterisk.org/r/1790/diff/#index_header
........
Merged revisions 358643 from http://svn.asterisk.org/svn/asterisk/branches/1.8
Modified:
branches/10/ (props changed)
branches/10/channels/chan_sip.c
Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: branches/10/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/channels/chan_sip.c?view=diff&rev=358644&r1=358643&r2=358644
==============================================================================
--- branches/10/channels/chan_sip.c (original)
+++ branches/10/channels/chan_sip.c Thu Mar 8 10:50:45 2012
@@ -30318,9 +30318,9 @@
char *extension, *domain;
cdest = ast_strdupa(dest);
-
+
extension = strsep(&cdest, "@");
- domain = strsep(&cdest, ":");
+ domain = cdest;
if (ast_strlen_zero(extension)) {
ast_log(LOG_ERROR, "Missing mandatory argument: extension\n");
return 0;
More information about the asterisk-commits
mailing list