diff options
author | Mark Spencer <markster@digium.com> | 2004-11-01 02:04:05 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-11-01 02:04:05 +0000 |
commit | 37b375c21a7a57c7cb3bf1defcf19a7a65ee620b (patch) | |
tree | b8ccc17cc53b0590846f5fba458fba6c562f478b /channels | |
parent | 219acbcc0765fb934a3dbfcb4723d62849c2d34a (diff) |
Add TALK_DETECTED variable (bug #2628)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4139 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 71e29c42d..be35003ee 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -2638,7 +2638,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req) 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); |