[asterisk-commits] file: trunk r71434 - in /trunk: ./ channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Jun 24 20:11:47 CDT 2007
Author: file
Date: Sun Jun 24 20:11:47 2007
New Revision: 71434
URL: http://svn.digium.com/view/asterisk?view=rev&rev=71434
Log:
Merged revisions 71430 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r71430 | file | 2007-06-24 21:10:06 -0400 (Sun, 24 Jun 2007) | 10 lines
Merged revisions 71414 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r71414 | file | 2007-06-24 21:02:49 -0400 (Sun, 24 Jun 2007) | 2 lines
Ignore other URIs after the first in a 300 Multiple Choice response. (issue #10041 reported by homesick)
........
................
Modified:
trunk/ (props changed)
trunk/channels/chan_sip.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=71434&r1=71433&r2=71434
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Sun Jun 24 20:11:47 2007
@@ -12430,10 +12430,12 @@
static void parse_moved_contact(struct sip_pvt *p, struct sip_request *req)
{
char tmp[BUFSIZ];
- char *s, *e;
+ char *s, *e, *t;
char *domain;
ast_copy_string(tmp, get_header(req, "Contact"), sizeof(tmp));
+ if ((t = strchr(tmp, ',')))
+ *t = '\0';
s = remove_uri_parameters(get_in_brackets(tmp));
if (ast_test_flag(&p->flags[0], SIP_PROMISCREDIR)) {
if (!strncasecmp(s, "sip:", 4))
More information about the asterisk-commits
mailing list