[Freeswitch-users] example tone_detect to listen for dial tone and hang up?

Benjamin Cropley benjamin.cropley at gmail.com
Tue Sep 27 00:08:04 MSD 2016


Glad I could help mate ^_^

Ben

On Mon, Sep 26, 2016 at 8:55 PM, Nathan Neulinger <nneul at mst.edu> wrote:

> Looks like it worked! Thank you! At least one "Google Listing" spam call
> was just short circuited instead of leaving a
> long empty voicemail.
>
> -- Nathan
>
> On 09/26/2016 10:32 AM, Nathan Neulinger wrote:
> > Ah, maybe I wasn't clear enough - it's the other direction. i.e. Issue
> is with calls coming in from the analog side, not
> > outbound. Symptom is that I wind up getting a 5 minute voicemail full of
> dial tone - usually from some stupid
> > telemarketer call or other autodialer. I won't see any SIP messages
> since the ATA would be the one sending them.
> >
> > Giving that tone_detect a try.
> >
> > Thank you!
> >
> > -- Nathan
> >
> > On 09/26/2016 10:17 AM, Benjamin Cropley wrote:
> >> Havn't tested this, but..
> >>
> >> <action application="tone_detect" data="hangup_on_tone 697,1209 r 0
> hangup 1">
> >>
> >> ..if you push 1 on the keypad it should handup the call
> >>
> >> Also, you should investigate what the ATA isn't detected the 'hangup'.
> Maybe look at a SIP trace and confirm BYE packets
> >> are successfully getting to it.
> >>
> >> Good luck,
> >> Ben
> >>
> >> On Wed, Sep 21, 2016 at 5:14 PM, Nathan Neulinger <nneul at mst.edu
> <mailto:nneul at mst.edu>> wrote:
> >>
> >>     I've got an ATA that doesn't seem to be detecting hangup for
> callers. Is there a simple way to use tone_detect or
> >>     similar to listen for the dial tone on a received call and then
> issue hangup upon detection?
> >>
> >>     -- Nathan
> >>
> >>     ------------------------------------------------------------
> >>     Nathan Neulinger                       nneul at mst.edu <mailto:
> nneul at mst.edu>
> >>     Missouri S&T Information Technology    (573) 612-1412
> <tel:%28573%29%20612-1412>
> >>     System Administrator - Architect
> >>
> >>     ____________________________________________________________
> _____________
> >>     Professional FreeSWITCH Consulting Services:
> >>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> >>     http://www.freeswitchsolutions.com <http://www.
> freeswitchsolutions.com>
> >>
> >>     Official FreeSWITCH Sites
> >>     http://www.freeswitch.org
> >>     http://confluence.freeswitch.org <http://confluence.freeswitch.org>
> >>     http://www.cluecon.com
> >>
> >>     FreeSWITCH-users mailing list
> >>     FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users@
> lists.freeswitch.org>
> >>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >>     <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> >>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/
> options/freeswitch-users
> >>     <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> >>     http://www.freeswitch.org
> >>
> >>
> >>
> >>
> >> --
> >> All the best,
> >> Ben Cropley
> >> 07539 366 905
> >>
> >>
> >> ____________________________________________________________
> _____________
> >> Professional FreeSWITCH Consulting Services:
> >> consulting at freeswitch.org
> >> http://www.freeswitchsolutions.com
> >>
> >> Official FreeSWITCH Sites
> >> http://www.freeswitch.org
> >> http://confluence.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
> >>
> >
>
> --
> ------------------------------------------------------------
> Nathan Neulinger                       nneul at mst.edu
> Missouri S&T Information Technology    (573) 612-1412
> System Administrator - Architect
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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
>



-- 
All the best,
Ben Cropley
07539 366 905
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160926/8babbe46/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list