[Asterisk-cvs] asterisk/channels chan_sip.c,1.547,1.548
markster at lists.digium.com
markster at lists.digium.com
Sun Oct 31 21:01:25 CST 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv17612/channels
Modified Files:
chan_sip.c
Log Message:
Add TALK_DETECTED variable (bug #2628)
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.547
retrieving revision 1.548
diff -u -d -r1.547 -r1.548
--- chan_sip.c 1 Nov 2004 02:01:37 -0000 1.547
+++ chan_sip.c 1 Nov 2004 02:04:05 -0000 1.548
@@ -2638,7 +2638,7 @@
p->novideo = 1;
while ((m = get_sdp_iterate(&iterator, req, "m"))[0] != '\0') {
if ((sscanf(m, "audio %d RTP/AVP %n", &x, &len) == 1) ||
- (sscanf(m, "audio %d/%d RTP/AVP %n", &x, &y, &len) == 1)) {
+ (sscanf(m, "audio %d/%d RTP/AVP %n", &x, &y, &len) == 2)) {
portno = x;
/* Scan through the RTP payload types specified in a "m=" line: */
ast_rtp_pt_clear(p->rtp);
More information about the svn-commits
mailing list