[Freeswitch-users] Multiple Tone Detect
Anthony Minessale
anthony.minessale at gmail.com
Mon Aug 29 22:13:41 MSD 2011
there is a specific app for fax detecting inside mod spandsp called
spandsp_start_fax_detect
it takes about the same input args namely <app> [<arg>][ <timeout>]
It uses the official fax identification code inside spandsp and works
much better than the single tone detect way.
On Mon, Aug 29, 2011 at 12:59 PM, Michael Collins <msc at freeswitch.org> wrote:
> If you need multiple tone detects then definitely use the first method. I've
> done as many as 6 tone_detects on a single call and it works well.
> -MC
>
> On Sun, Aug 28, 2011 at 1:13 PM, Rob Hutton <justlikeef at gmail.com> wrote:
>>
>> I am trying to get tone detection set up so that a single number can be
>> used for both voice and fax. Tone detection needs to run concurrent to the
>> normal call processing, so that a call proceeds normally unless the fax
>> tones are heard.
>>
>> On this wiki page
>> (http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_fax_detect) it gives
>> the format:
>>
>> <action application="tone_detect" data="fax 1100 r +5000 transfer fax XML
>> default" />
>>
>> and an associated dialplan entry for the call to be transfered to that
>> actually handles the fax reception.
>>
>> On this wiki page
>> (http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect) it says
>> that the format from the first page is not the preferred method, and that
>> the format should be something like:
>>
>> <action application="set" data="execute_on_tone_detect=transfer fax XML
>> default"/>
>> <action application="set" data="tone_detect_hits=1"/>
>> <action application="set" data="execute_on_media=tone_detect mytone 1100 r
>> +5000"/>
>>
>> My question is, using the first format, I could set up multiple
>> detections, eg. one for fax tones that sends/receives a fax, one for
>> answering machines tone that hangs up, etc.
>>
>> Is this possible with the preferred syntax?
>>
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list