example tone_detect to listen for dial tone and hang up?
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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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
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@mst.edu <mailto:nneul@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@mst.edu <mailto:nneul@mst.edu> Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@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@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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
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@mst.edu <mailto:nneul@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@mst.edu <mailto:nneul@mst.edu> Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@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@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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
Glad I could help mate ^_^ Ben On Mon, Sep 26, 2016 at 8:55 PM, Nathan Neulinger <nneul@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@mst.edu <mailto:nneul@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@mst.edu <mailto: nneul@mst.edu> Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> System Administrator - Architect
____________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@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@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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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
participants (2)
-
Benjamin Cropley
-
Nathan Neulinger