Hello everyone. Let me first begin by explaining what I'm trying to do... I have a calling card that has an access number and requires a PIN to be entered and then the number you want to dial, like normal calling cards. So what I have done is assign a local DID which when called, initiates a Dial to the access number of the calling card. Now, I'm having a hard time figuring out how to send DTMF tones via the dialplan once the call has been bridged. So far I've tried using 'w' in the Dial string to specify the wait period before dialing the digits that follow. I've also tried using the D(digits) option for the Dial application but it clearly says that it will only send the digits once the channel is answered and before it is bridged. So how in the world can you send DTMF via the dialplan to a bridged call? Is it even possible? Thanks in advance for any help. Regards, Mohammed Salim
On Saturday 24 September 2005 21:21, Mohammed Salim wrote:> Hello everyone. > > Let me first begin by explaining what I'm trying to do... > > I have a calling card that has an access number and requires a PIN to be > entered and then the number you want to dial, like normal calling cards. So > what I have done is assign a local DID which when called, initiates a Dial > to the access number of the calling card. >I'm in the same case and you, and the D(digits) options of Dial command works fine for me. I use it this way: exten => _9.,1,Dial(SIP/083@pstn||D(w6969w${EXTEN})) Where 6969 is my calling card number (or whatever). -- Alvaro Gamez Machado. alvaro.gamez@hazent.com Hazent Systems, S.L. http://www.hazent.com C/Rio Ca?amares 2, Oficina ocho 28804 Alcal? de Henares Madrid
Thanks for replying Alvaro but for me that same dialplan is not working. I know the digits are sent as the calling card menu doesn't come up and instead after a few seconds it says "the number you have dialed is invalid". I have tried putting in multiple w's but like I said, the problem is that the digits are sent before the call is bridged. I need to send it afterwards. Let me know if you have any other solutions please. Thanks. Regards, Mohammed Salim Message: 1 Date: Sat, 24 Sep 2005 23:08:46 +0200 From: "Alvaro G. M." <asterisk@linenoise.info> Subject: Re: [Asterisk-Users] Send DTMF after call bridge To: Asterisk Users <asterisk-users@lists.digium.com> Message-ID: <200509242308.46513.asterisk@linenoise.info> Content-Type: text/plain; charset="iso-8859-1" On Saturday 24 September 2005 21:21, Mohammed Salim wrote:> Hello everyone. > > Let me first begin by explaining what I'm trying to do... > > I have a calling card that has an access number and requires a PIN to > be entered and then the number you want to dial, like normal calling > cards. So what I have done is assign a local DID which when called, > initiates a Dial to the access number of the calling card. >I'm in the same case and you, and the D(digits) options of Dial command works fine for me. I use it this way: exten => _9.,1,Dial(SIP/083@pstn||D(w6969w${EXTEN})) Where 6969 is my calling card number (or whatever). -- Alvaro Gamez Machado. alvaro.gamez@hazent.com Hazent Systems, S.L. http://www.hazent.com C/Rio Caqamares 2, Oficina ocho 28804 Alcala de Henares Madrid