Hi everyone:
I want to send a DTMFtone "c" after the person picks up the telephone, and only if the person has pick up the phone.

The following configuration is sending the "c" tone after our prefix and the beep, but before it dials the destiny.


[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(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)


tengo este resultado:
-- Executing Goto("Zap/2-1", "discriminador|93185XXXX|1") in new stack
-- Goto (discriminador,93185XXXX,1)
-- Executing Goto("Zap/2-1", "voip|s|1") in new stack
-- Goto (voip,s,1)
-- Executing Wait("Zap/2-1", "2") in new stack
-- Executing BackGround("Zap/2-1", "beep||") in new stack
-- Playing 'beep' (language '')
-- Executing DigitTimeout("Zap/2-1", "6") in new stack
-- Set Digit Timeout to 6
-- Executing ResponseTimeout("Zap/2-1", "10") in new stack
-- Set Response Timeout to 10
-- Executing SendDTMF("Zap/2-1", "c") in new stack
== CDR updated on Zap/2-1
-- Executing Dial("Zap/2-1", "SIP/operador/66983XXXX|60|tr") in new stack
-- Called operador/66983XXXX

Note: Everything else works fine.
thanks

_________________________________________________________________
Acepta el reto MSN Premium: Protección para tus hijos en internet. Descárgalo y pruébalo 2 meses gratis. http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_proteccioninfantil

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to