[Freeswitch-users] using spandsp fax tone detection from originate command

Adam Johnston ajohnston at blimessaging.com
Fri Sep 21 21:26:25 MSD 2012


Hi all,

I've been trying to use the spandsp_start_fax_detect application (with
txfax as the callback) from the originate command but I keep getting a
hangup before it completes.

So far I've tried calling the app directly:
originate {ignore_early_media='true'}sofia/gateway/mygateway/18005551234
&spandsp_start_fax_detect('txfax /tmp/myfax.tif 3 ced')

Inline dialplan:
originate {ignore_early_media='true'}sofia/gateway/mygateway/18005551234
'spandsp_start_fax_detect:txfax /tmp/myfax.tif 3 ced' inline

..plus some other permutations but all end with the same result:

[NOTICE] mod_spandsp.c:107 Enabling fax detection 'txfax' '/tmp/myfax.tif'
[DEBUG] switch_core_media_bug.c:456 Attaching BUG to
sofia/external/18005551234
[NOTICE] switch_core_state_machine.c:226 sofia/external/18005551234 has
executed the last dialplan instruction, hanging up.

Am I misunderstanding how spandsp_start_fax_detect works?

Adam Johnston
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120921/042663db/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list