Recibir tones mientras esta la llamada

Joined
Nov 1, 2010
Messages
237
Points
0
Estimada comunidad,

Tengo una pregunta, quisiera saber como puedo guardar un tono miestras estoy conversando. es decir recibo la llamada y mientras estoy en la conversasion deseo pulsar 1219 y que me ejecute un contexto que ya lo tengo creado, intente con :
[folio]
exten => _XXX,n,Read(ingreso,,10)
exten => _XXX,n,Set(confingreso=${ingreso})
exten => _XXX,n,GotoIf($[${confingreso} = 1219]?folioin,1)

El cual puse dentro de:

[from-internal-custom]
exten => 1234,1,Playback(demo-congrats) ; extensions can dial 1234
exten => 1234,2,Hangup()
exten => h,1,Hangup()
include => agentlogin
include => conferences
include => calendar-event
include => weather-wakeup
include => folio
veo el CLI del asterisk y no veo los tonos de llamada, lo ultimo que sale es esto:

-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/300-0000019e", "THISDIAL=SIP/500") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/300-0000019e", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/300-0000019e", "DSTRING=SIP/500&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/300-0000019e", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/300-0000019e", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/300-0000019e", "DSTRING=SIP/500") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/300-0000019e", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/300-0000019e", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/300-0000019e", "1?skiptrace") in new stack
-- Goto (macro-dial-one,s,30)
-- Executing [s@macro-dial-one:30] Set("SIP/300-0000019e", "D_OPTIONS=tr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/300-0000019e", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/300-0000019e", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/300-0000019e", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/300-0000019e", "0?qwait,1") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/300-0000019e", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/300-0000019e", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] Dial("SIP/300-0000019e", "SIP/500,"",tr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/500
-- SIP/500-0000019f is ringing
-- SIP/500-0000019f answered SIP/300-0000019e

Si alguien me podria dar un consejo o ayudarme porfavor
 

Members online

No members online now.

Forum statistics

Threads
31,000
Messages
131,118
Members
17,715
Latest member
Orbit114
Top