mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-28 00:10:25 -07:00
- 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: https://origsvn.digium.com/svn/asterisk/trunk@34217 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
+2
-2
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user