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

Nathan Neulinger nneul at mst.edu
Mon Sep 26 19:32:17 MSD 2016


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 at 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



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