consultoria-vozip-bogota
Gracias por tu aportación, pero lamentablemente sigue sin funcionar, en la consola del agente aparece que no hay llamadas, cuando llamo me quedo escuchando todavia la musica de la cola, te adjunto la traza de la consola de Asterisk.
== Extension Changed 100[ext-local] new state Ringing for Notify User 100
== Extension Changed 100[ext-local] new state Ringing for Notify User 100 (queued)
> Channel SIP/100-000000a4 was answered.
== Extension Changed 100[ext-local] new state InUse for Notify User 100
> Launching AgentLogin(501) on SIP/100-000000a4
-- <SIP/100-000000a4> Playing 'agent-pass.gsm' (language 'es')
> 0x7f5e2c015000 -- Probation passed - setting RTP source address to xxx.xxx.xxx.xxx:30048
-- <SIP/100-000000a4> Playing 'agent-loginok.gsm' (language 'es')
-- Started music on hold, class 'default', on SIP/100-000000a4
== Agent '501' logged in (format ulaw/ulaw)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [760191@from-trunk-sip-zadarma:1] Set("SIP/760191-000000a5", "GROUP()=OUT_4") in new stack
-- Executing [760191@from-trunk-sip-zadarma:2] Goto("SIP/760191-000000a5", "from-trunk,760191,1") in new stack
-- Goto (from-trunk,760191,1)
-- Executing [760191@from-trunk:1] Set("SIP/760191-000000a5", "FROM_DID=760191") in new stack
-- Executing [760191@from-trunk:2] Gosub("SIP/760191-000000a5", "app-blacklist-check,s,1()") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/760191-000000a5", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/760191-000000a5", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/760191-000000a5", "") in new stack
-- Executing [760191@from-trunk:3] Set("SIP/760191-000000a5", "CDR(did)=760191") in new stack
-- Executing [760191@from-trunk:4] ExecIf("SIP/760191-000000a5", "0 ?Set(CALLERID(name)=+52xxxxxxxxxx)") in new stack
-- Executing [760191@from-trunk:5] Set("SIP/760191-000000a5", "CHANNEL(musicclass)=default") in new stack
-- Executing [760191@from-trunk:6] Set("SIP/760191-000000a5", "MOHCLASS=default") in new stack
-- Executing [760191@from-trunk:7] Set("SIP/760191-000000a5", "CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [760191@from-trunk:8] Set("SIP/760191-000000a5", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [760191@from-trunk:9] Goto("SIP/760191-000000a5", "ivr-5,s,1") in new stack
-- Goto (ivr-5,s,1)
-- Executing [s@ivr-5:1] Set("SIP/760191-000000a5", "TIMEOUT_LOOPCOUNT=0") in new stack
-- Executing [s@ivr-5:2] Set("SIP/760191-000000a5", "INVALID_LOOPCOUNT=0") in new stack
-- Executing [s@ivr-5:3] Set("SIP/760191-000000a5", "IVR_CONTEXT_ivr-5=") in new stack
-- Executing [s@ivr-5:4] Set("SIP/760191-000000a5", "IVR_CONTEXT=ivr-5") in new stack
-- Executing [s@ivr-5:5] Set("SIP/760191-000000a5", "IVR_RETVM=RETURN") in new stack
-- Executing [s@ivr-5:6] GotoIf("SIP/760191-000000a5", "0?skip") in new stack
-- Executing [s@ivr-5:7] Answer("SIP/760191-000000a5", "") in new stack
-- Executing [s@ivr-5:8] Wait("SIP/760191-000000a5", "1") in new stack
> 0x7f5dc811f020 -- Probation passed - setting RTP source address to xxx.xxx.xxx.xxx:11594
-- Executing [s@ivr-5:9] Set("SIP/760191-000000a5", "IVR_MSG=custom/Bienvenido-xxx") in new stack
-- Executing [s@ivr-5:10] Set("SIP/760191-000000a5", "TIMEOUT(digit)=3") in new stack
-- Digit timeout set to 3.000
-- Executing [s@ivr-5:11] ExecIf("SIP/760191-000000a5", "1?Background(custom/Bienvenido-xxx)") in new stack
[2017-05-18 10:24:15] DEBUG[5178][C-00000061]: format_wav.c:193 check_header: Skipping unknown block 'LIST'
-- <SIP/760191-000000a5> Playing 'custom/Bienvenido-xxx.slin' (language 'es')
-- Executing [5@ivr-5:1] Goto("SIP/760191-000000a5", "ext-queues,1002,1") in new stack
-- Goto (ext-queues,1002,1)
-- Executing [1002@ext-queues:1] Macro("SIP/760191-000000a5", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/760191-000000a5", "TOUCH_MONITOR=1495121054.187") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/760191-000000a5", "AMPUSER=+52xxxxxxxxxx") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/760191-000000a5", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/760191-000000a5", "1?Set(REALCALLERIDNUM=+52xxxxxxxxxx)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/760191-000000a5", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/760191-000000a5", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/760191-000000a5", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/760191-000000a5", "1?report") in new stack
-- Goto (macro-user-callerid,s,15)
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/760191-000000a5", "0?continue") in new stack
-- Executing [s@macro-user-callerid:16] Set("SIP/760191-000000a5", "TTL=64") in new stack
-- Executing [s@macro-user-callerid:17] GotoIf("SIP/760191-000000a5", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/760191-000000a5", "CALLERID(number)=+52xxxxxxxxxx") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/760191-000000a5", "CALLERID(name)=+52xxxxxxxxxx") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/760191-000000a5", "CDR(cnum)=+52xxxxxxxxxx") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/760191-000000a5", "CDR(cnam)=+52xxxxxxxxxx") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/760191-000000a5", "CHANNEL(language)=es") in new stack
-- Executing [1002@ext-queues:2] Answer("SIP/760191-000000a5", "") in new stack
-- Executing [1002@ext-queues:3] Macro("SIP/760191-000000a5", "blkvm-set,reset") in new stack
-- Executing [s@macro-blkvm-set:1] ExecIf("SIP/760191-000000a5", "1?Set(BLKVM_CHANNEL=SIP/760191-000000a5)") in new stack
-- Executing [s@macro-blkvm-set:2] Set("SIP/760191-000000a5", "SHARED(BLKVM,SIP/760191-000000a5)=TRUE") in new stack
-- Executing [s@macro-blkvm-set:3] Set("SIP/760191-000000a5", "GOSUB_RETVAL=TRUE") in new stack
-- Executing [s@macro-blkvm-set:4] MacroExit("SIP/760191-000000a5", "") in new stack
-- Executing [1002@ext-queues:4] ExecIf("SIP/760191-000000a5", "1?Set(_DIAL_OPTIONS=trM(auto-blkvm))") in new stack
-- Executing [1002@ext-queues:5] Set("SIP/760191-000000a5", "NODEST=1002") in new stack
-- Executing [1002@ext-queues:6] Set("SIP/760191-000000a5", "QCIDPP=") in new stack
-- Executing [1002@ext-queues:7] Set("SIP/760191-000000a5", "VQ_CIDPP=") in new stack
-- Executing [1002@ext-queues:8] ExecIf("SIP/760191-000000a5", "0?Macro(prepend-cid,)") in new stack
-- Executing [1002@ext-queues:9] Set("SIP/760191-000000a5", "QAINFO=") in new stack
-- Executing [1002@ext-queues:10] Set("SIP/760191-000000a5", "VQ_AINFO=") in new stack
-- Executing [1002@ext-queues:11] ExecIf("SIP/760191-000000a5", "0?Set(ALERT_INFO=)") in new stack
-- Executing [1002@ext-queues:12] Set("SIP/760191-000000a5", "QJOINMSG=") in new stack
-- Executing [1002@ext-queues:13] Set("SIP/760191-000000a5", "VQ_JOINMSG=") in new stack
-- Executing [1002@ext-queues:14] Set("SIP/760191-000000a5", "QMOH=Clasica") in new stack
-- Executing [1002@ext-queues:15] Set("SIP/760191-000000a5", "VQ_MOH=") in new stack
-- Executing [1002@ext-queues:16] ExecIf("SIP/760191-000000a5", "1?Set(MOHCLASS=Clasica)") in new stack
-- Executing [1002@ext-queues:17] ExecIf("SIP/760191-000000a5", "1?Set(CHANNEL(musicclass)=Clasica)") in new stack
-- Executing [1002@ext-queues:18] Set("SIP/760191-000000a5", "QRETRY=") in new stack
-- Executing [1002@ext-queues:19] Set("SIP/760191-000000a5", "VQ_RETRY=") in new stack
-- Executing [1002@ext-queues:20] Set("SIP/760191-000000a5", "QOPTIONS=t") in new stack
-- Executing [1002@ext-queues:21] Set("SIP/760191-000000a5", "VQ_OPTIONS=") in new stack
-- Executing [1002@ext-queues:22] Set("SIP/760191-000000a5", "QGOSUB=") in new stack
-- Executing [1002@ext-queues:23] Set("SIP/760191-000000a5", "VQ_GOSUB=") in new stack
-- Executing [1002@ext-queues:24] Set("SIP/760191-000000a5", "QAGI=") in new stack
-- Executing [1002@ext-queues:25] Set("SIP/760191-000000a5", "VQ_AGI=") in new stack
-- Executing [1002@ext-queues:26] Set("SIP/760191-000000a5", "QRULE=") in new stack
-- Executing [1002@ext-queues:27] Set("SIP/760191-000000a5", "VQ_RULE=") in new stack
-- Executing [1002@ext-queues:28] Set("SIP/760191-000000a5", "QPOSITION=") in new stack
-- Executing [1002@ext-queues:29] Set("SIP/760191-000000a5", "VQ_POSITION=") in new stack
-- Executing [1002@ext-queues:30] Set("SIP/760191-000000a5", "MIXMON_FORMAT=wav49") in new stack
-- Executing [1002@ext-queues:31] Set("SIP/760191-000000a5", "MONITOR_OPTIONS=b") in new stack
-- Executing [1002@ext-queues:32] Gosub("SIP/760191-000000a5", "sub-record-check,s,1(q,1002,always)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/760191-000000a5", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/760191-000000a5", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/760191-000000a5", "MON_FMT=WAV") in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/760191-000000a5", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/760191-000000a5", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/760191-000000a5", "1?Set(REC_POLICY_MODE=always)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/760191-000000a5", "0?q,1") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/760191-000000a5", "REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/760191-000000a5", "NOW=1495121060") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/760191-000000a5", "DAY=18") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/760191-000000a5", "MONTH=05") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/760191-000000a5", "YEAR=2017") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/760191-000000a5", "TIMESTR=20170518-102420") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/760191-000000a5", "FROMEXTEN=+52xxxxxxxxxx") in new stack
-- Executing [s@sub-record-check:21] Set("SIP/760191-000000a5", "CALLFILENAME=q-1002-+52xxxxxxxxxx-20170518-102420-1495121054.187") in new stack
-- Executing [s@sub-record-check:22] Goto("SIP/760191-000000a5", "q,1") in new stack
-- Goto (sub-record-check,q,1)
-- Executing [q@sub-record-check:1] GosubIf("SIP/760191-000000a5", "1?recq,1(q,1002,+52xxxxxxxxxx)") in new stack
-- Executing [recq@sub-record-check:1] Set("SIP/760191-000000a5", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
-- Executing [recq@sub-record-check:2] Set("SIP/760191-000000a5", "MONITOR_FILENAME=2017/05/18/q-1002-+52xxxxxxxxxx-20170518-102420-1495121054.187") in new stack
-- Executing [recq@sub-record-check:3] MixMonitor("SIP/760191-000000a5", "2017/05/18/q-1002-+52xxxxxxxxxx-20170518-102420-1495121054.187.wav49,b,") in new stack
-- Executing [recq@sub-record-check:4] Set("SIP/760191-000000a5", "REC_STATUS=RECORDING") in new stack
== Begin MixMonitor Recording SIP/760191-000000a5
-- Executing [recq@sub-record-check:5] Set("SIP/760191-000000a5", "CDR(recordingfile)=q-1002-+52xxxxxxxxxx-20170518-102420-1495121054.187.WAV") in new stack
-- Executing [recq@sub-record-check:6] Return("SIP/760191-000000a5", "") in new stack
-- Executing [q@sub-record-check:2] Return("SIP/760191-000000a5", "") in new stack
-- Executing [1002@ext-queues:33] Set("SIP/760191-000000a5", "__CWIGNORE=TRUE") in new stack
-- Executing [1002@ext-queues:34] ExecIf("SIP/760191-000000a5", "0?Playback(, )") in new stack
-- Executing [1002@ext-queues:35] QueueLog("SIP/760191-000000a5", "1002,1495121054.187,NONE,DID,760191") in new stack
-- Executing [1002@ext-queues:36] Set("SIP/760191-000000a5", "QAANNOUNCE=") in new stack
-- Executing [1002@ext-queues:37] Set("SIP/760191-000000a5", "VQ_AANNOUNCE=") in new stack
-- Executing [1002@ext-queues:38] Set("SIP/760191-000000a5", "QMAXWAIT=") in new stack
-- Executing [1002@ext-queues:39] Set("SIP/760191-000000a5", "VQ_MAXWAIT=") in new stack
-- Executing [1002@ext-queues:40] Set("SIP/760191-000000a5", "QUEUENUM=1002") in new stack
-- Executing [1002@ext-queues:41] Set("SIP/760191-000000a5", "QUEUEJOINTIME=1495121060") in new stack
-- Executing [1002@ext-queues:42] Queue("SIP/760191-000000a5", "1002,t,,,,,,,,") in new stack
-- Started music on hold, class 'Clasica', on SIP/760191-000000a5
-- Remote UNIX connection
-- Remote UNIX connection disconnected
== Extension Changed 100[ext-local] new state Hold for Notify User 100
== Extension Changed 100[ext-local] new state InUse for Notify User 100
> 0x7f5e2c015000 -- Probation passed - setting RTP source address to xxx.xxx.xxx.xxx:30048
-- Stopped music on hold on SIP/760191-000000a5
== Spawn extension (ext-queues, 1002, 42) exited non-zero on 'SIP/760191-000000a5'
-- Executing [h@ext-queues:1] Macro("SIP/760191-000000a5", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/760191-000000a5", "0?endmixmoncheck") in new stack
-- Executing [s@macro-hangupcall:2] Set("SIP/760191-000000a5", "MIXMON_CALLFILENAME=/var/spool/asterisk/monitor/q-1002-+52xxxxxxxxxx-20170518-102420-1495121054.187.WAV") in new stack
-- Executing [s@macro-hangupcall:3] System("SIP/760191-000000a5", "test -e /var/spool/asterisk/monitor/q-1002-+52xxxxxxxxxx-20170518-102420-1495121054.187.WAV") in new stack
-- Executing [s@macro-hangupcall:4] NoOp("SIP/760191-000000a5", "SYSTEMSTATUS = APPERROR") in new stack
-- Executing [s@macro-hangupcall:5] GotoIf("SIP/760191-000000a5", "0?finalcdr") in new stack
-- Executing [s@macro-hangupcall:6] Set("SIP/760191-000000a5", "MIXMON_CALLFILENAME=/var/spool/asterisk/monitor/2017/05/18/q-1002-+52xxxxxxxxxx-20170518-102420-1495121054.187.WAV") in new stack
-- Executing [s@macro-hangupcall:7] System("SIP/760191-000000a5", "test -e /var/spool/asterisk/monitor/2017/05/18/q-1002-+52xxxxxxxxxx-20170518-102420-1495121054.187.WAV") in new stack
-- Executing [s@macro-hangupcall:8] NoOp("SIP/760191-000000a5", "SYSTEMSTATUS = SUCCESS") in new stack
-- Executing [s@macro-hangupcall:9] GotoIf("SIP/760191-000000a5", "1?mmtestsuccess1") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Set("SIP/760191-000000a5", "CDR(recordingfile)=/var/spool/asterisk/monitor/2017/05/18/q-1002-+52xxxxxxxxxx-20170518-102420-1495121054.187.WAV") in new stack
-- Executing [s@macro-hangupcall:12] Goto("SIP/760191-000000a5", "finalcdr") in new stack
-- Goto (macro-hangupcall,s,63)
-- Executing [s@macro-hangupcall:63] NoOp("SIP/760191-000000a5", "CDR recordingfile set to: /var/spool/asterisk/monitor/2017/05/18/q-1002-+52xxxxxxxxxx-20170518-102420-1495121054.187.WAV") in new stack
-- Executing [s@macro-hangupcall:64] GotoIf("SIP/760191-000000a5", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,67)
-- Executing [s@macro-hangupcall:67] GotoIf("SIP/760191-000000a5", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,70)
-- Executing [s@macro-hangupcall:70] GotoIf("SIP/760191-000000a5", "1?theend") in new stack
-- Goto (macro-hangupcall,s,72)
-- Executing [s@macro-hangupcall:72] AGI("SIP/760191-000000a5", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/760191-000000a5>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:73] Hangup("SIP/760191-000000a5", "") in new stack
== Spawn extension (macro-hangupcall, s, 73) exited non-zero on 'SIP/760191-000000a5' in macro 'hangupcall'
== Spawn extension (ext-queues, h, 1) exited non-zero on 'SIP/760191-000000a5'
== MixMonitor close filestream (mixed)
== End MixMonitor Recording SIP/760191-000000a5
Gracias por tu apoyo.