]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Handle a request to negotiate T.38 after it is enabled. 52/3152/1
authorJoshua Colp <jcolp@digium.com>
Thu, 7 Jul 2016 15:38:45 +0000 (12:38 -0300)
committerJoshua Colp <jcolp@digium.com>
Thu, 7 Jul 2016 15:38:45 +0000 (12:38 -0300)
commitdddca49615fb403939cf36e95f5c31b4c4c53d56
tree56064ff150862d4870200e99255e3182ff68e1fc
parent41ad9f9f303b2c1e4b2a9573f6cc8b119b97548f
chan_sip: Handle a request to negotiate T.38 after it is enabled.

Some T.38 implementations may send another re-invite after the initial
one which adds additional negotiation details (such as the max bitrate).
Currently this will fail when passthrough is being done in chan_sip as we
do nothing if T.38 is already active.

Other handlers of T.38 inside of Asterisk (such as res_fax) handle this
scenario so this change adds support for it to chan_sip. If a request
to negotiate is received while T.38 is already enabled a new re-INVITE is
sent and negotiation is done again.

ASTERISK-26179 #close

Change-Id: I0298494d3da6df3219bbfa4be9aa04015043145c
channels/chan_sip.c