[Asterisk-Users] sendDTMF at pickup

Patricio Ku patricioamanku at hotmail.com
Mon Jul 25 01:42:57 MST 2005


Hi everyone:
The following code dials our prefix, sends a beep, and sends a DTMF "c" 
tone, then dials the phone number.
I need to send the DTMF only if the phone is answered.


[voip]
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(c)
exten=>t,1,NoCDR()
exten=>t,2,Hangup()
exten=>_009[13456789].,1,Dial(SIP/operador/${EXTEN},60,tr)
exten=>_009[2].,1,Dial(SIP/operador/${EXTEN},60,tr)
exten=>_00[12345678].,1,Dial(SIP/operador/${EXTEN},60,tr)
exten=>_6[0123456789].,1,Dial(SIP/operador/${EXTEN},60,tr)
exten=>_9[123456789].,1,Dial(SIP/operador/${EXTEN},60,tr)

thanks

_________________________________________________________________
¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en 
MSN Motor. http://motor.msn.es/researchcentre/




More information about the asterisk-users mailing list