[Freeswitch-users] Tonedetect - multiple frequencies AND or OR ?

Anthony Minessale anthony.minessale at gmail.com
Wed Jul 24 03:59:24 MSD 2013


rw flag is listen to read stream or write stream in or out
there is no OR its always AND

if single tone sets it off then you might need more hits.  Tone detection
is imperfect.





On Tue, Jul 23, 2013 at 6:37 PM, Karl Schmidt <karl at xtronics.com> wrote:

> On 07/23/2013 06:19 PM, Michael Collins wrote:
> > Use a comma sep list of frequencies if you want to do an AND op:
> >
> > <action application="tone_detect" data="test 350,440 r +100 hangup
> 'normal_clearing' 1"/>
>
> That is what I had, just the 440 tone would set it off - I found a
> workaround..
>
> I still don't understand the r/w flag.
>
>
> Will space separated frequencies do the OR ?
>
>
>
>
> > -MC
> >
> >
> > On Tue, Jul 23, 2013 at 4:09 PM, Karl Schmidt <karl at xtronics.com<mailto:
> karl at xtronics.com>> wrote:
> >
> >     It seems to work as an 'OR' - either tone makes the result - but
> that does not make sense? Shouldn't
> >     this be an 'AND' ?
> >
> >
> >     How is it supposed to work?
> >
> >
> >
> >     Also - the r and w flag -- I'm assuming (which is always risky) that
> r(reading) means the other end
> >     is sending the tone?
> >
> >
> --------------------------------------------------------------------------------
> >     Karl Schmidt                                  EMail
> Karl at xtronics.com <mailto:Karl at xtronics.com>
> >     Transtronics, Inc.                              WEB
> http://secure.transtronics.com
> >     3209 West 9th Street                             Ph (785) 841-3089
> <tel:%28785%29%20841-3089>
> >     Lawrence, KS 66049                              FAX (785) 841-0434
> <tel:%28785%29%20841-0434>
> >
> >     The only ones who ever "wins" a divorce are the lawyers.
> >     kps
> >
> >
> --------------------------------------------------------------------------------
> >
> >
> _________________________________________________________________________
> >     Professional FreeSWITCH Consulting Services:
> >     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> >     http://www.freeswitchsolutions.com
> >
> >     
> >     
> >
> >     Official FreeSWITCH Sites
> >     http://www.freeswitch.org
> >     http://wiki.freeswitch.org
> >     http://www.cluecon.com
> >
> >     FreeSWITCH-users mailing list
> >     FreeSWITCH-users at lists.freeswitch.org <mailto:
> 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
> >
> >
> >
> >
> > --
> > Michael S Collins
> > Twitter: @mercutioviz
> > http://www.FreeSWITCH.org
> > http://www.ClueCon.com
> > http://www.OSTAG.org
> >
> >
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> > 
> > 
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > 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
> >
>
>
>
> --------------------------------------------------------------------------------
> Karl Schmidt                                  EMail Karl at xtronics.com
> Transtronics, Inc.                              WEB
> http://secure.transtronics.com
> 3209 West 9th Street                             Ph (785) 841-3089
> Lawrence, KS 66049                              FAX (785) 841-0434
>
> Against the assault of laughter nothing can stand. -- Mark Twain
>
> --------------------------------------------------------------------------------
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130723/b619bfc6/attachment.html 


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