Repair ability of SendFAX/ReceiveFAX to respond to T.38 switchover.
authorKevin P. Fleming <kpfleming@digium.com>
Thu, 9 Jul 2009 21:20:23 +0000 (21:20 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Thu, 9 Jul 2009 21:20:23 +0000 (21:20 +0000)
commit67d1957e6061b9af3375777cb3f05c17dd1c059a
tree84a467f74170c5c87cf7fb70a663e1df1772c522
parent728fbf077e271e418168712e7763a8c7bf304277
Repair ability of SendFAX/ReceiveFAX to respond to T.38 switchover.

Recent changes in T.38 negotiation in Asterisk caused these applications to
not respond when the other endpoint initiated a switchover to T.38; this
resulted in the T.38 switchover failing, and the FAX attempt to be made
using an audio connection, instead of T.38 (which would usually cause the
FAX to fail completely).

This patch corrects this problem, and the applications will now correctly
respond to the T.38 switchover request. In addition, the response will include
the appopriate T.38 session parameters based on what the other end offered
and what our end is capable of.

(closes issue #14849)
Reported by: afosorio

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@205696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_fax.c
channels/chan_sip.c
include/asterisk/frame.h