Is there a line that I can add to my dial plan so that after * dials a number out from the FXO card and gets an answer, that asterisk will send some digits, for example to dial an extension. If I use the dial command again, does that not hang-up the line and dial again? Thanks Joel Duffield Near North Business Machines www.NearNorthBusiness.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040506/eecb8d2c/attachment.htm
I send some tones use the SendDTMF() command. I use this to do a special transfer on an analog ext of a legacy pbx: exten => s,1,Flash exten => s,2,Wait(.01) exten => s,3,SendDTMF(${ARG1}) exten => s,4,Wait(0) exten => s,5,Hangup The pbx sees the flash and the digits and transfers the call to another ext. On Thu, 2004-05-06 at 09:31, Joel Duffield wrote:> Is there a line that I can add to my dial plan so that after * dials a > number out from the FXO card and gets an answer, that asterisk will > send some digits, for example to dial an extension. If I use the dial > command again, does that not hang-up the line and dial again? > > > > Thanks > > > > Joel Duffield > > Near North Business Machines > > www.NearNorthBusiness.com > >-- respectfully, Joseph - (606) 477-2355 x140 ------=============
On Thu, 2004-05-06 at 08:31, Joel Duffield wrote:> Is there a line that I can add to my dial plan so that after * dials a > number out from the FXO card and gets an answer, that asterisk will > send some digits, for example to dial an extension. If I use the dial > command again, does that not hang-up the line and dial again?You can ONLY do this with an analog interface. Dial(Zap/1/5551213wwww1234) would dial 5551212, wait 2 seconds, then dial 1234. You must have missed the discussion on this a couple of weeks ago. You can also do this with .call files (see sample.call in the Asterisk source diectory). If you use a .call file then you could do what you want to do on NON-ANALOG interfaces. -- Eric Wieling * BTEL Consulting * 504-899-1387 x2111 "In a related story, the IRS has recently ruled that the cost of Windows upgrades can NOT be deducted as a gambling loss."