|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:47||Date Closed:||2007-07-06 19:18:18|
|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:firstname.lastname@example.org,sip:email@example.com" is "firstname.lastname@example.org,sip:email@example.com". It should be "firstname.lastname@example.org".|
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!