[asterisk-users] Automatically dial a number, then an extension

Tech Support asterisk at voipbusiness.us
Tue May 23 12:20:25 CDT 2017


All;

    What I did was add a line in the dialplan that used the SendDTMF() application and that worked great. The problem that I’ve run into now is that dialing the extension screwed up the answering machine detection. The sample context looks something like this.

 

[play-audiomsg]

exten => s,1,AMD

exten => s,n,ExecIf($["${EXT}" != ""]?SendDTMF(${EXTEN}))

exten => s,n,Background(${AUDIOMSG})

exten => s,n,Hangup

 

As you can see, it's very simple. Modifying the amd.conf configuration wasn’t the answer since I don’t know how long it will take for the extension to pick up. Simply placing the AMD command after the SendDTMF() wasn’t the answer  I don’t know how to approach this problem.

 

Thanks;

John V.  

 

 

 

From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tech Support
Sent: Tuesday, May 16, 2017 03:56 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Automatically dial a number, then an extension

 

Hey;

   What happens is that a script logs into the AMI and originates a call. When the call is answered, it jumps to a context in the dial plan.

Thanks Much;

John V. 

 

From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Victor Villarreal
Sent: Monday, May 15, 2017 12:08 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Automatically dial a number, then an extension

 

Hi John, 

 

I think we need to known how you play the audio to the customers, before we can help you. 

 

Are you using AMI? Or AGI maybe? Or Call files? 

 

What Asterisk version do you have? 

 

El 15 may. 2017 12:35, "Tech Support" <asterisk at voipbusiness.us> escribió:

All;

    I have an application that dials a list of numbers and then plays a recorded message. My customer uses it to dial a list of customers to confirm their appointment for the next day. No biggie, maybe 25 – 30 calls per day for customers who want the confirmation call. What they need now is a way to dial an extension after the number is dialed and answered. I’ve seen that before, but I just can't remember where. I was wondering if anyone else has implemented something along these lines. Any insight at all would be greatly appreciated.

Thanks Much;

John V.   


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170523/f70acd62/attachment.html>


More information about the asterisk-users mailing list