sendDTMF "c" after pick-up


#1

Hi

Can anyone help me out.?

At this moment the following script goes this way: dials our prefix, sends a beep, sends the DTMF “c” and then dial the telephone number.
I would like to send a DTMF “c”, to the person I am calling, but only if he picks up the phone.

[voip]
exten=>1001,1,Dial(SIP/1001,60,tr)
exten=>1002,1,Dial(SIP/1002,60,tr)
exten=>502,1,Dial(SIP/502,60,tr)
exten=>504,1,Dial(SIP/504,60,tr)
exten=>i,1,NoCDR()
exten=>i,2,Hangup()
exten=>s,1,Wait(2)
exten=>s,2,Background(beep||)
exten=>s,3,DigitTimeout(6)
exten=>s,4,ResponseTimeout(10)
exten=>s,5,SendDTMF©
exten=>t,1,NoCDR()
exten=>t,2,Hangup()
exten=>_009[13456789].,1,Dial(SIP/operator/${EXTEN},60,tr)
exten=>_009[2].,1,Dial(SIP/operator/${EXTEN},60,tr)
exten=>_00[12345678].,1,Dial(SIP/operator/${EXTEN},60,tr)
exten=>_6[0123456789].,1,Dial(SIP/operator/${EXTEN},60,tr)
exten=>_9[123456789].,1,Dial(SIP/operator/${EXTEN},60,tr)

thanks