Files
asterisk/res
Matthew Jordan 38da8d2fda res_fax_spandsp: Fix crash when passing ulaw/alaw data to spandsp
When acting as a T.38 fax gateway, res_fax_spandsp would at times cause a crash
in libspandsp. This would occur when, during fax tone detection, a ulaw/alaw
frame would be passed to modem_connect_tones_rx. That particular routine
expects the data to be in slin format. This patch looks at the frame type and,
if the data is ulaw/alaw, converts the format to slin before passing it to
modem_connect_tones_rx.

Review: https://reviewboard.asterisk.org/r/3296

(closes issue ASTERISK-20149)
Reported by: Alexandr Gordeev
Tested by: Michal Rybarik
patches:
  spandsp_g711decode.diff uploaded by Michal Rybarik (license 6578)
........

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

Merged revisions 409991 from http://svn.asterisk.org/svn/asterisk/branches/12


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@409996 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2014-03-06 02:22:59 +00:00
..
2013-08-02 15:01:37 +00:00
2012-06-25 15:55:25 +00:00
2013-10-04 16:01:48 +00:00
2012-09-21 17:14:59 +00:00
2012-10-14 21:44:27 +00:00
2012-10-14 21:44:27 +00:00
2014-01-06 17:45:25 +00:00
2012-10-14 21:44:27 +00:00
2012-10-14 21:44:27 +00:00
2014-01-15 13:16:10 +00:00
2013-07-30 13:46:16 +00:00
2012-10-14 21:44:27 +00:00
2012-10-14 21:44:27 +00:00
2013-05-15 12:42:04 +00:00