Re: Problema tono durante llamada entrante
Hola Christian!
gracias por tu pronta respuesta, mira lamentablemente no cuento con otro tipo de telefono para realizar pruebas, solo he realizado pruebas con softphone, especificamente con el zoiper y con este no se escucha el tono durante la llamada, te muestro la información que muestra el CLI de Asterisk durante la llamada y te adjunto la grabación de la misma prueba en donde yo no escucho el tono tampoco:
New MFC/R2 call detected on chan 1.
MFC/R2 call offered on chan 1. ANI = 4448176999, DNIS = 9132, Category = National Priority Subscriber
MFC/R2 call has been accepted on backward channel 1
-- Executing [9132@from-zaptel:1] Set("DAHDI/1-1", "DID=9132") in new stack
-- Executing [9132@from-zaptel:2] Goto("DAHDI/1-1", "s,1") in new stack
-- Goto (from-zaptel,s,1)
-- Executing [s@from-zaptel:1] NoOp("DAHDI/1-1", "Entering from-dahdi with DID == 9132") in new stack
-- Executing [s@from-zaptel:2] Ringing("DAHDI/1-1", "") in new stack
-- Executing [s@from-zaptel:3] Set("DAHDI/1-1", "DID=9132") in new stack
-- Executing [s@from-zaptel:4] NoOp("DAHDI/1-1", "DID is now 9132") in new stack
-- Executing [s@from-zaptel:5] GotoIf("DAHDI/1-1", "1?dahdiok:checkzap") in new stack
-- Goto (from-zaptel,s,9)
-- Executing [s@from-zaptel:9] NoOp("DAHDI/1-1", "Is a DAHDi Channel") in new stack
-- Executing [s@from-zaptel:10] Set("DAHDI/1-1", "CHAN=1-1") in new stack
-- Executing [s@from-zaptel:11] Set("DAHDI/1-1", "CHAN=1") in new stack
-- Executing [s@from-zaptel:12] Macro("DAHDI/1-1", "from-dahdi-1,9132,1") in new stack
[Nov 22 10:38:46] WARNING: app_macro.c:302 _macro_exec: No such context 'macro-from-dahdi-1' for macro 'from-dahdi-1'
-- Executing [s@from-zaptel:13] NoOp("DAHDI/1-1", "Returned from Macro from-dahdi-1") in new stack
-- Executing [s@from-zaptel:14] Goto("DAHDI/1-1", "from-pstn,9132,1") in new stack
-- Goto (from-pstn,9132,1)
-- Executing [9132@from-pstn:1] Set("DAHDI/1-1", "FROM_DID=9132") in new stack
-- Executing [9132@from-pstn:2] Gosub("DAHDI/1-1", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/1-1", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("DAHDI/1-1", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("DAHDI/1-1", "") in new stack
-- Executing [9132@from-pstn:3] ExecIf("DAHDI/1-1", "0 ?Set(CALLERID(name)=4448176999)") in new stack
-- Executing [9132@from-pstn:4] Set("DAHDI/1-1", "CHANNEL(musicclass)=publicidad") in new stack
-- Executing [9132@from-pstn:5] Set("DAHDI/1-1", "MOHCLASS=publicidad") in new stack
-- Executing [9132@from-pstn:6] Set("DAHDI/1-1", "CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [9132@from-pstn:7] Set("DAHDI/1-1", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [9132@from-pstn:8] Goto("DAHDI/1-1", "from-did-direct,0005,1") in new stack
-- Goto (from-did-direct,0005,1)
-- Executing [0005@from-did-direct:1] ExecIf("DAHDI/1-1", "0?Set(RINGTIMER=0)") in new stack
-- Executing [0005@from-did-direct:2] Macro("DAHDI/1-1", "exten-vm,0005,0005,0,0,0") in new stack
-- Executing [s@macro-exten-vm:1] Macro("DAHDI/1-1", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("DAHDI/1-1", "AMPUSER=4448176999") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("DAHDI/1-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("DAHDI/1-1", "1?Set(REALCALLERIDNUM=4448176999)") in new stack
-- Executing [s@macro-user-callerid:4] Set("DAHDI/1-1", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("DAHDI/1-1", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/1-1", "1?report") in new stack
-- Goto (macro-user-callerid,s,13)
-- Executing [s@macro-user-callerid:13] GotoIf("DAHDI/1-1", "0?continue") in new stack
-- Executing [s@macro-user-callerid:14] Set("DAHDI/1-1", "TTL=64") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("DAHDI/1-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,26)
-- Executing [s@macro-user-callerid:26] Set("DAHDI/1-1", "CALLERID(number)=4448176999") in new stack
-- Executing [s@macro-user-callerid:27] Set("DAHDI/1-1", "CALLERID(name)=4448176999") in new stack
-- Executing [s@macro-exten-vm:2] Set("DAHDI/1-1", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("DAHDI/1-1", "EXTTOCALL=0005") in new stack
-- Executing [s@macro-exten-vm:4] Set("DAHDI/1-1", "PICKUPMARK=0005") in new stack
-- Executing [s@macro-exten-vm:5] Set("DAHDI/1-1", "RT=20") in new stack
-- Executing [s@macro-exten-vm:6] Macro("DAHDI/1-1", "record-enable,0005,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("DAHDI/1-1", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("DAHDI/1-1", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("DAHDI/1-1", "0?Group😮UT") in new stack
-- Goto (macro-record-enable,s,14)
-- Executing [s@macro-record-enable:14] GotoIf("DAHDI/1-1", "1?IN") in new stack
-- Goto (macro-record-enable,s,18)
-- Executing [s@macro-record-enable:18] ExecIf("DAHDI/1-1", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:19] Set("DAHDI/1-1", "CALLFILENAME=20111122-103846-1321979926.461") in new stack
[Nov 22 10:38:46] WARNING: func_strings.c:918 function_eval: EVAL requires an argument: EVAL(<string>)
-- Executing [s@macro-record-enable:20] MixMonitor("DAHDI/1-1", "20111122-103846-1321979926.461.wav,,") in new stack
== Begin MixMonitor Recording DAHDI/1-1
-- Executing [s@macro-record-enable:21] MacroExit("DAHDI/1-1", "") in new stack
-- Executing [s@macro-exten-vm:7] GotoIf("DAHDI/1-1", "1?macrodial") in new stack
-- Goto (macro-exten-vm,s,13)
-- Executing [s@macro-exten-vm:13] GosubIf("DAHDI/1-1", "0?clrheader,1") in new stack
-- Executing [s@macro-exten-vm:14] Macro("DAHDI/1-1", "dial-one,20,tTwW,0005") in new stack
-- Executing [s@macro-dial-one:1] Set("DAHDI/1-1", "DEXTEN=0005") in new stack
-- Executing [s@macro-dial-one:2] Set("DAHDI/1-1", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("DAHDI/1-1", "0?screen,1") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("DAHDI/1-1", "0?cf,1") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("DAHDI/1-1", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("DAHDI/1-1", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("DAHDI/1-1", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("DAHDI/1-1", "EXTHASCW=ENABLED") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("DAHDI/1-1", "0?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,23)
-- Executing [s@macro-dial-one:23] GotoIf("DAHDI/1-1", "1?next3:continue") in new stack
-- Goto (macro-dial-one,s,24)
-- Executing [s@macro-dial-one:24] ExecIf("DAHDI/1-1", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
-- Executing [s@macro-dial-one:25] GotoIf("DAHDI/1-1", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("DAHDI/1-1", "1?dstring,1:dlocal,1") in new stack
-- Executing [dstring@macro-dial-one:1] Set("DAHDI/1-1", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("DAHDI/1-1", "DEVICES=0005") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("DAHDI/1-1", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("DAHDI/1-1", "0?Set(DEVICES=005)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("DAHDI/1-1", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("DAHDI/1-1", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("DAHDI/1-1", "THISDIAL=IAX2/0005") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("DAHDI/1-1", "1?zap2dahdi,1") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("DAHDI/1-1", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("DAHDI/1-1", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("DAHDI/1-1", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("DAHDI/1-1", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("DAHDI/1-1", "THISPART2=IAX2/0005") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("DAHDI/1-1", "0?Set(THISPART2=DAHDI2/0005)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("DAHDI/1-1", "NEWDIAL=IAX2/0005&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("DAHDI/1-1", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("DAHDI/1-1", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("DAHDI/1-1", "THISDIAL=IAX2/0005") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("DAHDI/1-1", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("DAHDI/1-1", "DSTRING=IAX2/0005&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("DAHDI/1-1", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("DAHDI/1-1", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("DAHDI/1-1", "DSTRING=IAX2/0005") in new stack
-- Executing [dstring@macro-dial-one:13] Return("DAHDI/1-1", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("DAHDI/1-1", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("DAHDI/1-1", "1?skiptrace") in new stack
-- Goto (macro-dial-one,s,30)
-- Executing [s@macro-dial-one:30] Set("DAHDI/1-1", "D_OPTIONS=tTwW") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("DAHDI/1-1", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("DAHDI/1-1", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("DAHDI/1-1", "1?Set(CHANNEL(musicclass)=publicidad)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("DAHDI/1-1", "0?qwait,1") in new stack
-- Executing [s@macro-dial-one:35] Set("DAHDI/1-1", "CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("DAHDI/1-1", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("DAHDI/1-1", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] Dial("DAHDI/1-1", "IAX2/0005,20,tTwW") in new stack
-- Called 0005
-- Call accepted by 192.168.13.139 (format ulaw)
-- Format for call is ulaw
-- IAX2/0005-3823 is ringing
-- IAX2/0005-3823 answered DAHDI/1-1
-- Executing [h@macro-dial-one:1] Macro("DAHDI/1-1", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/1-1", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] Hangup("DAHDI/1-1", "") in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on 'DAHDI/1-1' in macro 'hangupcall'
== Spawn extension (macro-dial-one, h, 1) exited non-zero on 'DAHDI/1-1'
-- Hungup 'IAX2/0005-3823'
== Spawn extension (macro-dial-one, s, 38) exited non-zero on 'DAHDI/1-1' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 14) exited non-zero on 'DAHDI/1-1' in macro 'exten-vm'
== Spawn extension (from-did-direct, 0005, 2) exited non-zero on 'DAHDI/1-1'
-- Executing [h@from-did-direct:1] Macro("DAHDI/1-1", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/1-1", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] Hangup("DAHDI/1-1", "") in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on 'DAHDI/1-1' in macro 'hangupcall'
== Spawn extension (from-did-direct, h, 1) exited non-zero on 'DAHDI/1-1'
== MixMonitor close filestream
-- Hungup 'DAHDI/1-1'
== End MixMonitor Recording DAHDI/1-1
Espero me puedas orientar, para poder resolver este detalle que tengo con mi conmutador, gracias por tu ayuda.