Solves this and get $25

Hi
I have a dialplan in which i wish to pass DTMF after HEARING THE VOICE.
Please Help.
Here is what i have
exten => 1234,1,Dial(SIP/18003454570@myprovider,15,r)
exten => 1234,n,WaitExten(1)
exten => 1234,n,SendDTMF(84177647324723)
exten => 1234,n,WaitExten(1)
exten => 1234,n,SendDTMF(123456789)

But it doent proceed From Dial(SIP/18003454570@myprovider,15,r) to WaitExten(1)

I need to make sure i hear a voice before passing dtmf

and this needs to happen 2 times.
Please Help.
Solve this and get $25 in your paypal A/C

Off the top of my head

[code]exten => 1234,1,Dial(SIP/18003454570@myprovider,15,rM(senddtmf))

[senddtmf]
exten => s,1,Wait(1)
exten => s,n,SendDTMF(84177647324723)
exten => s,n,Wait(1)
exten => s,n,SendDTMF(123456789) [/code]

Not tested it but the theory is correct and I use similar for accepting calls.

Ian

www.cyber-cottage.co.uk

Thanks a bunch for reply…
Tried your steps still didn’t work…
Today evening my buddy is coming HE is a VOIP Guru…
I’ll take his suggestion. if you have another step to follow plz post it

I assume you are doing the Dial() once you have a call up to bridge two channels together, is that correct? If asterisk is bridging the call it won’t fall through until after the call ends…

try this, it may solve your problem

exten => 1234,1,Dial(SIP/18003454570@myprovider,15,rD(ww84177647324723ww123456789))

Ian’s suggestion is the one I’d suggest as well. You can tweak it a bit to try to get it to work something like this.

[code]exten => 1234,1,Dial(SIP/18003454570@myprovider,15,rM(senddtmf))

[macro-senddtmf]
exten => s,1,Playback(silence/1)
exten => s,n,WaitforSilence(750|1|5000)
exten => s,n,SendDTMF(84177647324723)
exten => s,n,Wait(1)
exten => s,n,SendDTMF(123456789)[/code]

If this works, send Ian the money :wink:

Hi

Perhaps you could post the cli output from when a call fails.

Using the macro should and does work when I use it for calling mobiles etc on customer systems.

Ian