Correctly apply FAXOPT settings (V17, V27, V29) before starting spandsp layer
authorMatthew Jordan <mjordan@digium.com>
Mon, 23 Jan 2012 19:22:11 +0000 (19:22 +0000)
committerMatthew Jordan <mjordan@digium.com>
Mon, 23 Jan 2012 19:22:11 +0000 (19:22 +0000)
commit59a42de303ae58d384a94dbcdbc09a6599bf393b
tree1f8beb33a4f43add04193473dc196203d47865c2
parentde09749470ceb17af6c6646115d447e0e54c75ee
Correctly apply FAXOPT settings (V17, V27, V29) before starting spandsp layer

While the FAXOPT function could be used to set the modem capabilities, the
input to that function was not being applied correctly to the spandsp layer.
This patch applies the current model capabilities before starting the spandsp
layer.

(closes issue: ASTERISK-16409)
Reported by: Kristijan Vrban
Tested by: Matt Jordan, Matthew Nicholson
Patches:
  spandsp-modems-1.8.diff uploaded by mnicholson (license 5081)
  spandsp-modems-10.diff uploaded by mnicholson (license 5081)
........

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

Merged revisions 352149 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@352166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_fax_spandsp.c