<div dir="ltr"><div>Boa tarde pessoal, tudo bem?</div><div>Alguém poderia me ajudar?</div><div><br></div><div>Fiz uma chamada para um celular que está no log porem preciso saber quem desligou.</div><div>Se o hangup veio de celular ou do operador.</div><div>Se veio do celular qual o HangupCase</div><div>Segue o log final:</div><div><br></div><div><br></div><div>[2018-06-08 13:42:39] VERBOSE[11513][C-000328d2] app_dial.c: -- SIP/TEIQ-0005cd9f is making progress passing it to SIP/7166-0005cd9d<br>[2018-06-08 13:43:11] VERBOSE[11513][C-000328d2] app_dial.c: -- SIP/TEIQ-0005cd9f answered SIP/7166-0005cd9d<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [h@macro-dialout-trunk:1] Macro("SIP/7166-0005cd9d", "hangupcall,") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/7166-0005cd9d", "0?endmixmoncheck") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:2] Set("SIP/7166-0005cd9d", "MIXMON_CALLFILENAME=/var/spool/asterisk/monitor/out-084999581393-7166-20180608-134234-1528476154.421223.wav") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:3] GotoIf("SIP/7166-0005cd9d", "1?defaultmixmondir") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Goto (macro-hangupcall,s,5)<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:5] System("SIP/7166-0005cd9d", "test -e /var/spool/asterisk/monitor/out-084999581393-7166-20180608-134234-1528476154.421223.wav") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:6] NoOp("SIP/7166-0005cd9d", "SYSTEMSTATUS = APPERROR") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:7] GotoIf("SIP/7166-0005cd9d", "0?endmixmoncheck") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:8] Set("SIP/7166-0005cd9d", "CDR(recordingfile)=") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:9] NoOp("SIP/7166-0005cd9d", "End of MIXMON check") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:10] GotoIf("SIP/7166-0005cd9d", "1?nomeetmemon") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Goto (macro-hangupcall,s,28)<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:28] NoOp("SIP/7166-0005cd9d", "End of MEETME check") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:29] GotoIf("SIP/7166-0005cd9d", "1?noautomon") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Goto (macro-hangupcall,s,34)<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:34] NoOp("SIP/7166-0005cd9d", "TOUCH_MONITOR_OUTPUT=") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:35] GotoIf("SIP/7166-0005cd9d", "1?noautomon2") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Goto (macro-hangupcall,s,41)<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:41] NoOp("SIP/7166-0005cd9d", "MONITOR_FILENAME=") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:42] GotoIf("SIP/7166-0005cd9d", "0?noautomon3") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:43] System("SIP/7166-0005cd9d", "test -e /var/spool/asterisk/monitor/2018/06/08/out-084999581393-7166-20180608-134234-1528476154.421223.wav*") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:44] NoOp("SIP/7166-0005cd9d", "SYSTEMSTATUS = SUCCESS") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:45] GotoIf("SIP/7166-0005cd9d", "0?errornoautomon2") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:46] Set("SIP/7166-0005cd9d", "CDR(recordingfile)=/var/spool/asterisk/monitor/2018/06/08/out-084999581393-7166-20180608-134234-1528476154.421223.wav") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:47] NoOp("SIP/7166-0005cd9d", "End of MIXMONITOR_FILENAME check") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:48] NoOp("SIP/7166-0005cd9d", "MIXMONITOR_FILENAME=/var/spool/asterisk/monitor/2018/06/08/out-084999581393-7166-20180608-134234-1528476154.421223.wav") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:49] GotoIf("SIP/7166-0005cd9d", "1?noautomon4") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Goto (macro-hangupcall,s,51)<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:51] NoOp("SIP/7166-0005cd9d", "ONETOUCH_RECFILE=") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:52] GotoIf("SIP/7166-0005cd9d", "1?skiprg") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Goto (macro-hangupcall,s,55)<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:55] GotoIf("SIP/7166-0005cd9d", "1?skipblkvm") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Goto (macro-hangupcall,s,58)<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:58] GotoIf("SIP/7166-0005cd9d", "1?theend") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Goto (macro-hangupcall,s,60)<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:60] AGI("SIP/7166-0005cd9d", "hangup.agi") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] res_agi.c: -- <SIP/7166-0005cd9d>AGI Script hangup.agi completed, returning 0<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: -- Executing [s@macro-hangupcall:61] Hangup("SIP/7166-0005cd9d", "") in new stack<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] app_macro.c: == Spawn extension (macro-hangupcall, s, 61) exited non-zero on 'SIP/7166-0005cd9d' in macro 'hangupcall'<br>[2018-06-08 13:45:57] VERBOSE[11513][C-000328d2] pbx.c: == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/7166-0005cd9d'<br>[2018-06-08 13:45:58] VERBOSE[11513][C-000328d2] app_macro.c: == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/7166-0005cd9d' in macro 'dialout-trunk'<br>[2018-06-08 13:45:58] VERBOSE[11513][C-000328d2] pbx.c: == Spawn extension (from-internal, 084999581393, 7) exited non-zero on 'SIP/7166-0005cd9d'<br><br></div><div>Obrigado.<br></div><div>-- <br><div class="gmail_signature"><div dir="ltr">Paulo Silva<br>Analista de Sistemas - Telecom</div></div>
</div></div>