[Asterisk-cvs] asterisk/channels chan_sip.c,1.719,1.720
kpfleming at lists.digium.com
kpfleming at lists.digium.com
Mon May 2 22:09:34 CDT 2005
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv4526/channels
Modified Files:
chan_sip.c
Log Message:
ensure astdb registration entries are parsed properly (bug #4126)
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.719
retrieving revision 1.720
diff -u -d -r1.719 -r1.720
--- chan_sip.c 3 May 2005 02:09:16 -0000 1.719
+++ chan_sip.c 3 May 2005 02:16:45 -0000 1.720
@@ -4759,7 +4759,7 @@
port_str = strsep(&scan, ":");
expiry_str = strsep(&scan, ":");
username = strsep(&scan, ":");
- contact = strsep(&scan, ":");
+ contact = scan; /* Contact include sip: and has to be the last part of the database entry as long as we use : as a separator */
if (!inet_aton(addr, &in))
return;
More information about the svn-commits
mailing list