This page gives you the basics:
http://wiki.freeswitch.org/wiki/Mod_spandsp#spandsp_start_fax_detect
Something like this could work:
<extension name="fax detect">
<condition field="destination_number" expression="^fax_detect$">
<action application="answer"/>
<action application="spandsp_start_fax_detect" data="transfer '1111 XML default' 4"/>
<action application="transfer" data="2222 XML default"/>
</condition>
</extension>
Try it out and don't forget the standard disclaimer...
-MC
Hello,I have one DID that I would like to detect the tone1- if fax goes to extension 1111.2- If it is is not fax then t goes to extension 2222How do that using spandsp_start_fax_detect ?I am looking for the Inbound dialplanThanks in advance,George
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org