diff options
author | Kinsey Moore <kmoore@digium.com> | 2015-01-09 14:51:39 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2015-01-09 14:51:39 +0000 |
commit | eb9ce791d8e59d2aa63fe13518436f46b61b4a44 (patch) | |
tree | dc1eb2df8950a7e73d04c068a89b0b81a7883334 /configs | |
parent | b937438c17dfcd0696931fb3abde9ae816578c32 (diff) |
res_fax: Add T.38 negotiation timeout option
This change makes the T.38 negotiation timeout configurable via
't38timeout' in res_fax.conf or FAXOPT(t38timeout). It was previously
hard coded to be 5000 milliseconds.
This change also handles T.38 switch failures by aborting the fax since
in the case where this can happen, both sides have agreed to switch to
T.38 and Asterisk is unable to do so.
Review: https://reviewboard.asterisk.org/r/4320/
........
Merged revisions 430415 from http://svn.asterisk.org/svn/asterisk/branches/11
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@430416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r-- | configs/samples/res_fax.conf.sample | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/samples/res_fax.conf.sample b/configs/samples/res_fax.conf.sample index dfaa4ce93..022a23aad 100644 --- a/configs/samples/res_fax.conf.sample +++ b/configs/samples/res_fax.conf.sample @@ -26,3 +26,7 @@ statusevents=yes ; Enable/disable T.30 ECM (error correction mode) by default. ; Default: Enabled ;ecm=yes + +; T.38 Negotiation Timeout in milliseconds +; Default: 5000 +t38timeout=5000 |