[Asterisk-cvs] asterisk/channels chan_sip.c,1.193,1.194
markster at lists.digium.com
markster at lists.digium.com
Sun Oct 12 06:17:16 CDT 2003
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv6218/channels
Modified Files:
chan_sip.c
Log Message:
Properly strip "from" line
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.193
retrieving revision 1.194
diff -u -d -r1.193 -r1.194
--- chan_sip.c 10 Oct 2003 18:58:52 -0000 1.193
+++ chan_sip.c 12 Oct 2003 11:43:18 -0000 1.194
@@ -3572,6 +3572,9 @@
if ((a = strchr(c, '@')) || (a = strchr(c, ';'))) {
*a = '\0';
}
+ if ((a = strchr(fr, '@')) || (a = strchr(fr, ';'))) {
+ *a = '\0';
+ }
if (sipdebug)
ast_verbose("Looking for %s in %s\n", c, p->context);
if (ast_exists_extension(NULL, p->context, c, 1, fr) ||
More information about the svn-commits
mailing list