[asterisk-commits] rizzo: branch 1.4 r46116 -
/branches/1.4/channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Oct 24 01:32:16 MST 2006
Author: rizzo
Date: Tue Oct 24 03:32:15 2006
New Revision: 46116
URL: http://svn.digium.com/view/asterisk?rev=46116&view=rev
Log:
merge 45966 refer_to_domain potentially containing options
Modified:
branches/1.4/channels/chan_sip.c
Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?rev=46116&r1=46115&r2=46116&view=diff
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Tue Oct 24 03:32:15 2006
@@ -8621,13 +8621,13 @@
return -1;
}
c += 4;
+ if ((a = strchr(c, ';'))) /* Remove arguments */
+ *a = '\0';
+
if ((a = strchr(c, '@'))) { /* Separate Domain */
*a++ = '\0';
ast_copy_string(referdata->refer_to_domain, a, sizeof(referdata->refer_to_domain));
}
-
- if ((a = strchr(c, ';'))) /* Remove arguments */
- *a = '\0';
if (sip_debug_test_pvt(p))
ast_verbose("Looking for %s in %s\n", c, p->context);
More information about the asterisk-commits
mailing list