]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Disable T.38 when we get a invite with image media port set to 0
authorMatthew Nicholson <mnicholson@digium.com>
Wed, 31 Aug 2011 18:50:33 +0000 (18:50 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Wed, 31 Aug 2011 18:50:33 +0000 (18:50 +0000)
ASTERISK-17678

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@334156 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index e832b14d3b98be475f52993521864d9b04db845a..3f0c46f8f424821bffedfc482aadea476d60fbfa 100644 (file)
@@ -9030,6 +9030,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req, int t38action
                                }
                        }
                } else {
+                       change_t38_state(p, T38_DISABLED);
                        ast_udptl_stop(p->udptl);
                        if (debug)
                                ast_debug(1, "Peer doesn't provide T.38 UDPTL\n");