]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 334156 via svnmerge from
authorMatthew Nicholson <mnicholson@digium.com>
Wed, 31 Aug 2011 18:53:40 +0000 (18:53 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Wed, 31 Aug 2011 18:53:40 +0000 (18:53 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r334156 | mnicholson | 2011-08-31 13:50:33 -0500 (Wed, 31 Aug 2011) | 4 lines

  Disable T.38 when we get a invite with image media port set to 0

  ASTERISK-17678
........

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

channels/chan_sip.c

index 7007ee637376635a752e0c3f944a61425dd991d1..d670de20bd36a787f62822fc93b4fca0e97decdc 100644 (file)
@@ -9221,6 +9221,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");