[Asterisk-Users] Sending DTMF after a call is set up
Bill Hamlin
whamlin at onnet1.com
Fri Feb 18 14:26:09 MST 2005
The thing is I need to wait a few seconds. In fact, it's even worse, I need
to wait a few seconds, dial an extension, wait a few more seconds, and then
dial another!
It's perfect for something like
... Wait(5)
... SendDTMF("123")
... Wait(5)
... SendDTMF("456")
but the Dial command doesn't return until the call is done.
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com]On Behalf Of Robert Webb
Sent: Friday, February 18, 2005 4:18 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion;
whamlin at onnet1.com
Subject: Re: [Asterisk-Users] Sending DTMF after a call is set up
n Fri, 18 Feb 2005 16:06:54 -0500
"Bill Hamlin" <whamlin at onnet1.com> wrote:
>
> I'm using Dial to place a call to a PBX. But then I
>want to wait a few
> seconds and dial an extension. Dial doesn't return
>until the call is
> disconnected though.
>
> I also want the caller to not hear any audio until the
>DTMF has been sent.
> This gets the caller to the right place and he doesnt
>have to hear the
> welcome message from the PBX.
>
> Dial apparently isnt the application to use. Is there
>something else or do
> I have to write my own? If the latter, can someone tell
>me what principal
> routines to call in this application?
>
> Thanks,
> Bill
Not sure if it is what you are looking for, but look at
this option in the wiki:
D(digits): After the called party answers, send digits as
a DTMF stream, then connect the call to the originating
channel.
You can find the entire list here:
http://www.voip-info.org/wiki-Asterisk+cmd+Dial
Robert
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Spam detection software, running on the system "zeus.avanzada7.com", has
identified this incoming email as possible spam. The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: n Fri, 18 Feb 2005 16:06:54 -0500 "Bill Hamlin"
<whamlin at onnet1.com> wrote: > > I'm using Dial to place a call to a
PBX. But then I >want to wait a few > seconds and dial an extension.
Dial doesn't return >until the call is > disconnected though. > > I
also want the caller to not hear any audio until the >DTMF has been
sent. > This gets the caller to the right place and he doesnt >have to
hear the > welcome message from the PBX. > > Dial apparently isnt the
application to use. Is there >something else or do > I have to write
my own? If the latter, can someone tell >me what principal > routines
to call in this application? > > Thanks, > Bill [...]
Content analysis details: (0.1 points, 5.0 required)
pts rule name description
---- ---------------------- ------------------------------------------------
--
0.1 FORGED_RCVD_HELO Received: contains a forged HELO
More information about the asterisk-users
mailing list