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
Andrew Thompson
2005-Feb-18 14:17 UTC
[Asterisk-Users] Sending DTMF after a call is set up
Bill Hamlin 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.Try this posting: http://www.voip-info.org/wiki-Asterisk+cmd+dial?page=Asterisk%20cmd%20dial&comments_threshold=0&comments_offset=0&comments_sort_mode=commentDate_desc&comments_maxComments=10&comments_parentId=931#threadId1168 It might be channel specific, I do not know. -- Andrew Thompson http://aktzero.com/ http://dev.asteriskdocs.org/
n Fri, 18 Feb 2005 16:06:54 -0500 "Bill Hamlin" <whamlin@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, > BillNot 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