Re: Monitorear llamada del agente
me mostro lo siguiente
elastix*CLI> dialplan show 555@from-internal
[ Included context 'custom-spy' created by 'pbx_config' ]
'555' => 1. Macro(user-callerid)
2. Authenticate(1234)
3. Read(SPYNUM|agent-newlocation)
4. ChanSpy(SIP/${SPYNUM))
[ Included context 'app-chanspy' created by 'pbx_config' ]
'555' => 1. Macro(user-callerid|)
2. Answer()
3. Wait(1)
4. ChanSpy()
5. Hangup()
[ Included context 'bad-number' created by 'pbx_config' ]
'_X.' => 1. ResetCDR()
2. NoCDR()
3. Wait(1)
4. Playback(silence/1&cannot-complete-as-dialed&check-number-dial-again|noanswer)
5. Wait(1)
6. Congestion(20)
7. Hangup()
-= 3 extensions (16 priorities) in 3 contexts. =-
-- Executing [h@macro-dialout-trunk:1] Macro("SIP/103-08e04dd0", "hangupcall|") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/103-08e04dd0", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/103-08e04dd0", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/103-08e04dd0", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/103-08e04dd0", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/103-08e04dd0' in macro 'hangupcall'
== Spawn h extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/103-08e04dd0'
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/103-08e04dd0' in macro 'dialout-trunk'
== Spawn extension (LLAMADAS, 0457445063650, 4) exited non-zero on 'SIP/103-08e04dd0'
== MixMonitor close filestream
== End MixMonitor Recording SIP/103-08e04dd0
elastixCLI> elastixCLI> dialplan show 555@from-internal
No such command 'elastixCLI> dialplan show 555@from-internal' (type 'help elastixCLI> dialplan' for other possible commands)
elastixCLI> [ Included context 'custom-spy' created by 'pbx_config' ]
elastixCLI> '555' => 1. Macro(user-callerid)
No such command '[ Included context 'custom-spy' created by 'pbx_config' ]' (type 'help [ Included' for other possible commands)
No such command ' '555' => 1. Macro(user-callerid) ' (type 'help '555' =>' for other possible commands)
elastixCLI> 2. Authenticate(1234)
elastixCLI> 3. Read(SPYNUM|agent-newlocation)
elastixCLI> 4. ChanSpy(SIP/${SPYNUM))
No such command ' 2. Authenticate(1234) ' (type 'help 2. Authenticate(1234)' for other possible commands)
No such command ' 3. Read(SPYNUM|agent-newlocation) ' (type 'help 3. Read(SPYNUM|agent-newlocation)' for other possible commands)
No such command ' 4. ChanSpy(SIP/${SPYNUM)) ' (type 'help 4. ChanSpy(SIP/${SPYNUM))' for other possible commands)
elastixCLI>
elastixCLI> [ Included context 'app-chanspy' created by 'pbx_config' ]
No such command '[ Included context 'app-chanspy' created by 'pbx_config' ]' (type 'help [ Included' for other possible commands)
elastixCLI> '555' => 1. Macro(user-callerid|)
elastixCLI> 2. Answer()
No such command ' '555' => 1. Macro(user-callerid|) ' (type 'help '555' =>' for other possible commands)
No such command ' 2. Answer() ' (type 'help 2. Answer()' for other possible commands)
elastixCLI> 3. Wait(1)
elastixCLI> 4. ChanSpy()
elastixCLI> 5. Hangup()
No such command ' 3. Wait(1) ' (type 'help 3. Wait(1)' for other possible commands)
No such command ' 4. ChanSpy() ' (type 'help 4. ChanSpy()' for other possible commands)
No such command ' 5. Hangup() ' (type 'help 5. Hangup()' for other possible commands)
elastixCLI>
elastixCLI> [ Included context 'bad-number' created by 'pbx_config' ]
No such command '[ Included context 'bad-number' created by 'pbx_config' ]' (type 'help [ Included' for other possible commands)
elastixCLI> 'X.' => 1. ResetCDR()
No such command ' 'X.' => 1. ResetCDR() ' (type 'help '_X.' =>' for other possible commands)
elastixCLI> 2. NoCDR()
No such command ' 2. NoCDR() ' (type 'help 2. NoCDR()' for other possible commands)
elastixCLI> 3. Wait(1)
No such command ' 3. Wait(1) ' (type 'help 3. Wait(1)' for other possible commands)
elastixCLI> 4. Playback(silence/1&cannot-complete-as-dialed&check-number-dial-again|noanswer)
No such command ' 4. Playback(silence/1&cannot-complete-as-dialed&check-number-dial-again|noanswer) ' (type 'help 4. Playback(silence/1&cannot-complete-as-dialed&check-number-dial-again|noanswe' for other possible commands)
elastixCLI> 5. Wait(1)
No such command ' 5. Wait(1) ' (type 'help 5. Wait(1)' for other possible commands)
elastixCLI> 6. Congestion(20)
No such command ' 6. Congestion(20) ' (type 'help 6. Congestion(20)' for other possible commands)
elastixCLI> 7. Hangup()
No such command ' 7. Hangup() ' (type 'help 7. Hangup()' for other possible commands)
elastixCLI>
elastixCLI> -= 3 extensions (16 priorities) in 3 contexts. =-
No such command '-= 3 extensions (16 priorities) in 3 contexts. =-' (type 'help -= 3' for other possible commands)
elastixCLI> -- Executing [h@macro-dialout-trunk:1] Macro("SIP/103-08e04dd0", "hangupcall|") in new stack
No such command ' -- Executing [h@macro-dialout-trunk:1] Macro("SIP/103-08e04dd0", "hangupcall|") in new stack' (type 'help -- Executing' for other possible commands)
elastixCLI> -- Executing [s@macro-hangupcall:1] GotoIf("SIP/103-08e04dd0", "1skiprg") in new stack
No such command ' -- Executing [s@macro-hangupcall:1] GotoIf("SIP/103-08e04dd0", "1skiprg") in new stack' (type 'help -- Executing' for other possible commands)
elastixCLI> -- Goto (macro-hangupcall,s,4)
No such command ' -- Goto (macro-hangupcall,s,4)' (type 'help -- Goto' for other possible commands)
elastixCLI> -- Executing [s@macro-hangupcall:4] GotoIf("SIP/103-08e04dd0", "1skipblkvm") in new stack
No such command ' -- Executing [s@macro-hangupcall:4] GotoIf("SIP/103-08e04dd0", "1skipblkvm") in new stack' (type 'help -- Executing' for other possible commands)
elastixCLI> -- Goto (macro-hangupcall,s,7)
No such command ' -- Goto (macro-hangupcall,s,7)' (type 'help -- Goto' for other possible commands)
elastixCLI> -- Executing [s@macro-hangupcall:7] GotoIf("SIP/103-08e04dd0", "1theend") in new stack
No such command ' -- Executing [s@macro-hangupcall:7] GotoIf("SIP/103-08e04dd0", "1theend") in new stack' (type 'help -- Executing' for other possible commands)
elastixCLI> -- Goto (macro-hangupcall,s,9)
No such command ' -- Goto (macro-hangupcall,s,9)' (type 'help -- Goto' for other possible commands)
elastixCLI> -- Executing [s@macro-hangupcall:9] Hangup("SIP/103-08e04dd0", "") in new stack
No such command ' -- Executing [s@macro-hangupcall:9] Hangup("SIP/103-08e04dd0", "") in new stack' (type 'help -- Executing' for other possible commands)
elastixCLI> == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/103-08e04dd0' in macro 'hangupcall'
elastixCLI> == Spawn h extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/103-08e04dd0'
No such command ' == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/103-08e04dd0' in macro 'hangupcall'' (type 'help == Spawn' for other possible commands)
No such command ' == Spawn h extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/103-08e04dd0'' (type 'help == Spawn' for other possible commands)
elastixCLI> == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/103-08e04dd0' in macro 'dialout-trunk'
No such command ' == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/103-08e04dd0' in macro 'dialout-trunk'' (type 'help == Spawn' for other possible commands)
elastixCLI> == Spawn extension (LLAMADAS, 0457445063650, 4) exited non-zero on 'SIP/103-08e04dd0'
No such command ' == Spawn extension (LLAMADAS, 0457445063650, 4) exited non-zero on 'SIP/103-08e04dd0'' (type 'help == Spawn' for other possible commands)
elastixCLI> == MixMonitor close filestream
No such command ' == MixMonitor close filestream' (type 'help == MixMonitor' for other possible commands)
elastixCLI> == End MixMonitor Recording SIP/103-08e04dd0
No such command ' == End MixMonitor Recording SIP/103-08e04dd0' (type 'help == End' for other possible commands)
elastixCLI>
Disconnected from Asterisk server
Executing last minute cleanups