[Home]

Summary:ASTERISK-16396: [patch] host not used in invite message, only the ip address.
Reporter:outcast (outcast)Labels:
Date Opened:2010-07-20 14:04:16Date Closed:2010-09-15 08:10:52
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/Interoperability
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) debug.txt
( 1) sip.conf
( 2) sip-tohost-fix1.diff
Description:if host is set FQDN the ip address is used instead of what set. Attached debug and sip.conf
Comments:By: Paul Belanger (pabelanger) 2010-07-20 14:25:47

Which host and IP address are you referring too? 24.181.235.14?

By: outcast (outcast) 2010-07-20 15:04:05

INVITE sip:4132791401@147.135.20.221 SIP/2.0

By: Paul Belanger (pabelanger) 2010-07-20 15:18:07

danka

By: Matthew Nicholson (mnicholson) 2010-09-14 17:41:14

Please test with the sip-tohost-fix1.diff patch I just uploaded.

By: Digium Subversion (svnbot) 2010-09-15 08:05:55

Repository: asterisk
Revision: 286868

U   branches/1.8/channels/chan_sip.c

------------------------------------------------------------------------
r286868 | mnicholson | 2010-09-15 08:05:53 -0500 (Wed, 15 Sep 2010) | 16 lines

Set tohost to the domain specified in the configuration file instead of the IP address of the host we are calling.

This fixes a regression introduced in r274783.

(closes issue ASTERISK-16654)
Reported by: adriavidal
Patches:
     sip-tohost-fix1.diff uploaded by mnicholson (license 96)
Tested by: mich, mnicholson, adriavidal

(closes issue ASTERISK-16396)
Reported by: outcast
Patches:
     sip-tohost-fix1.diff uploaded by mnicholson (license 96)
Tested by: mnicholson

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=286868

By: Digium Subversion (svnbot) 2010-09-15 08:10:52

Repository: asterisk
Revision: 286869

_U  trunk/
U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r286869 | mnicholson | 2010-09-15 08:10:50 -0500 (Wed, 15 Sep 2010) | 23 lines

Merged revisions 286868 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
 r286868 | mnicholson | 2010-09-15 08:05:52 -0500 (Wed, 15 Sep 2010) | 16 lines
 
 Set tohost to the domain specified in the configuration file instead of the IP address of the host we are calling.
 
 This fixes a regression introduced in r274783.
 
 (closes issue ASTERISK-16654)
 Reported by: adriavidal
 Patches:
       sip-tohost-fix1.diff uploaded by mnicholson (license 96)
 Tested by: mich, mnicholson, adriavidal
 
 (closes issue ASTERISK-16396)
 Reported by: outcast
 Patches:
       sip-tohost-fix1.diff uploaded by mnicholson (license 96)
 Tested by: mnicholson
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=286869