[Home]

Summary:ASTERISK-12923: [patch] resolving hostnames should ignore uri-paramters
Reporter:Marcus Hunger (fnordian)Labels:
Date Opened:2008-10-17 08:54:46Date Closed:2008-10-21 17:58:16
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) resolvewithouturiparameter.patch
Description:Hi,
when resolving a peer's hostname, the resolving code should ignore any characters of the string starting with the first ";" to enable hostnames with uri-parameters.

Comments:By: Leif Madsen (lmadsen) 2008-10-17 15:04:44

I'm assigning this issue to putnopvut for now in the hopes this can be resolved quickly. If this needs to be re-assigned, please feel free to do so. Thanks!

By: Mark Michelson (mmichelson) 2008-10-21 17:55:50

Looks good by me. Thanks for the patch and I'll get this in as soon as possible.

By: Digium Subversion (svnbot) 2008-10-21 17:58:14

Repository: asterisk
Revision: 151420

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r151420 | mmichelson | 2008-10-21 17:58:13 -0500 (Tue, 21 Oct 2008) | 10 lines

When attempting to resolve hostnames, we need to be sure
to remove any parameters from the string so that name
resolution succeeds.

(closes issue ASTERISK-12923)
Reported by: fnordian
Patches:
     resolvewithouturiparameter.patch uploaded by fnordian (license 110)


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

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