When a session timer expires during a T.38 call, re-invite with correct SDP
authorMatthew Jordan <mjordan@digium.com>
Fri, 15 Mar 2013 01:38:53 +0000 (01:38 +0000)
committerMatthew Jordan <mjordan@digium.com>
Fri, 15 Mar 2013 01:38:53 +0000 (01:38 +0000)
commitcacc356bbe211d04a9fea57b6433e0ffa52369df
tree2b2c67b2134b498e0541baee1e1db7dc2136d6ad
parentd1d66c38781b8d2cc6bad08634696e9f825a28ff
When a session timer expires during a T.38 call, re-invite with correct SDP

When a session timer expires during a dialog that has re-negotiated to T.38
and Asterisk is the refresher, Asterisk will send a re-INVITE with an SDP
containing audio media only. This causes some hilarity with the poor fax
session under weigh.

This patch corrects that by sending T.38 parameters if we are in the middle of
a T.38 session.

(closes issue ASTERISK-21232)
Reported by: Nitesh Bansal
patches:
  dont-send-audio-reinvite-for-sess-timer-in-t38-call.patch uploaded by nbansal (License 6418)
........

Merged revisions 383124 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 383125 from http://svn.asterisk.org/svn/asterisk/branches/11

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@383126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c