diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-15 06:35:55 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-15 06:35:55 +0000 |
commit | 7aa850812294383302b3a5bdfe8b94d68c670561 (patch) | |
tree | a03263985cbf3a20904ca46990c11d85558f0cd2 /channels | |
parent | 67bec5d6ff7d1781ef71787216eca62d34ba8f97 (diff) |
- Do not require a space at the end of the m= string in a T38 re-invite
Bug reported in the t38 issue report, but by mistake ignored before commit.
Thanks to everyone informing me about this, and Corydon for helping me sort
out sscanf :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34217 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 3118d6068..66b1fced7 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -4542,9 +4542,9 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req) ast_verbose("Found RTP video format %d\n", codec); ast_rtp_set_m_type(newvideortp, codec); } - } else if (p->udptl && (sscanf(m, "image %d udptl t38 %n", &x, &len) == 1)) { + } else if (p->udptl && ((sscanf(m, "image %d udptl t38%n", &x, &len) == 1)) { if (debug) - ast_verbose("Got T.38 offer in SDP\n"); + ast_verbose("Got T.38 offer in SDP in dialog %s\n", p->callid); udptlportno = x; if (p->owner && p->lastinvite) { |