[Home]

Summary:ASTERISK-09738: [patch] chan_sip does not handle 300 Multiple Choice properly
Reporter:Di-Shi Sun (homesick)Labels:
Date Opened:2007-06-23 05:25:47Date Closed:2007-07-06 19:18:18
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) chan_sip_300.patch
Description:parse_moved_contact function in chan_sip does not handle multiple URIs properly. It thinks there is only one URI and ignore ','. In order to get the first URI, contents after ',' must be erased. For example, parse_moved_contact parses the URI from "Contact: sip:1234@1.2.3.4,sip:4321@4.3.2.1" is "1234@1.2.3.4,sip:4321@4.3.2.1". It should be "1234@1.2.3.4".

This patch makes parse_moved_contact to get the first URI properly.

To handle all destinations in 300 messages need to modify Asterisk core.



****** ADDITIONAL INFORMATION ******

Disclaimer signed by TransNexus, Inc. 1/27/05
Comments:By: Joshua C. Colp (jcolp) 2007-06-24 20:11:42

Fixed in 1.2 as of revision 71414, 1.4 as of revision 71430, and trunk as of revision 71434. Thanks!