Manoj K Gupta
2003-Aug-21 07:50 UTC
[Asterisk-Users] Sending dtmf over an ougoing call from asterisk
Hi list, I would like to know of a possible way to dial a pstn number with an extension . Let the number is 56626965-234 so now i wanna dial 56636965 then wait for some time and dial the extension 234 to reach a particular person.I am afraid that i could not figure it out. I am trying in this way.. [outgoing] exten=>_566X.,1,wait,2 exten=>_566X.,2,Dial(${EXTEN}) exten=>_566X.,3,wait,4 //waiting for 4 secs before dialing the extension exten=>_566X,4,SendDTMF(234) but this is not working as i find that when i dial the number then * does not move to next priority 3 until we hangup the dialled number. So i would be thankful if someone can correct me by providing an alternative or something else. Rgds Manoj K Gupta -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030821/763fd4ec/attachment.htm
Jon Pounder
2003-Aug-21 08:04 UTC
[Asterisk-Users] Sending dtmf over an ougoing call from asterisk
stick some w's in the dialstring to "W"ait for a bit for a dialtone. I use it to dial an access provider, wait for a second dialtone and dial the long distance number At 08:20 PM 8/21/2003 +0530, you wrote:>Hi list, >I would like to know of a possible way to dial a pstn number with an >extension . >Let the number is 56626965-234 so now i wanna dial 56636965 then wait >for some time and dial the extension 234 to reach a particular person.I am >afraid that i could not figure it out. > >I am trying in this way.. > >[outgoing] > >exten=>_566X.,1,wait,2 >exten=>_566X.,2,Dial(${EXTEN}) >exten=>_566X.,3,wait,4 //waiting for 4 secs before dialing the extension >exten=>_566X,4,SendDTMF(234) > >but this is not working as i find that when i dial the number then * does >not move to next priority 3 until we hangup the dialled number. >So i would be thankful if someone can correct me by providing an >alternative or something else. > >Rgds >Manoj K Gupta-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030821/594ade7b/attachment.htm
Eric Wieling
2003-Aug-21 08:12 UTC
[Asterisk-Users] Sending dtmf over an ougoing call from asterisk
Dial(${EXTEN}www1234) On Thu, 2003-08-21 at 09:50, Manoj K Gupta wrote:> Hi list, > I would like to know of a possible way to dial a pstn number with an > extension . > Let the number is 56626965-234 so now i wanna dial 56636965 then > wait for some time and dial the extension 234 to reach a particular > person.I am afraid that i could not figure it out. > > I am trying in this way.. > > [outgoing] > > exten=>_566X.,1,wait,2 > exten=>_566X.,2,Dial(${EXTEN}) > exten=>_566X.,3,wait,4 //waiting for 4 secs before dialing the > extension > exten=>_566X,4,SendDTMF(234) > > but this is not working as i find that when i dial the number then * > does not move to next priority 3 until we hangup the dialled number. > So i would be thankful if someone can correct me by providing an > alternative or something else. > > Rgds > Manoj K Gupta-- BTEL Consulting 850-484-4535 x2111 (Office) 504-595-3916 x2111 (Experimental) 877-552-0838 (Backup Phone)
Steven Critchfield
2003-Aug-21 08:21 UTC
[Asterisk-Users] Sending dtmf over an ougoing call from asterisk
On Thu, 2003-08-21 at 09:50, Manoj K Gupta wrote:> Hi list, > I would like to know of a possible way to dial a pstn number with an > extension . > Let the number is 56626965-234 so now i wanna dial 56636965 then > wait for some time and dial the extension 234 to reach a particular > person.I am afraid that i could not figure it out. > > I am trying in this way.. > > [outgoing] > > exten=>_566X.,1,wait,2 > exten=>_566X.,2,Dial(${EXTEN}) > exten=>_566X.,3,wait,4 //waiting for 4 secs before dialing the > extension > exten=>_566X,4,SendDTMF(234) > > but this is not working as i find that when i dial the number then * > does not move to next priority 3 until we hangup the dialled number. > So i would be thankful if someone can correct me by providing an > alternative or something else.Dial doesn't return till the channel drops. If you are using an analog channel, you can use a W for wait, but if it is digital, it seems that you are SOL because the w and any trailing digits will get eaten up by the PSTN as it routes the call. -- Steven Critchfield <critch@basesys.com>