check out
callfile.monitoring.enabled=true
callfile.monitoring.channel=Local/$EM@from-internal/n
callfile.monitoring.extension=11
callfile.monitoring.context=queuemetrics
callfile.outmonitoring.enabled=true
callfile.outmonitoring.channel=Local/$EM@from-internal/n
callfile.outmonitoring.extension=14
callfile.outmonitoring.context=queuemetrics
now ist working on realtime the spy agent call but check this out its using extension 11 instead of using 14 for outbound call
Called 110
-- SIP/110-09e1a448 is ringing
-- SIP/110-09e1a448 answered Local/110@from-internal-cad5,2
> Channel Local/110@from-internal-cad5,1 was answered.
== Manager 'admin' logged off from 127.0.0.1
-- Executing [11@queuemetrics:1] Answer("Local/110@from-internal-cad5,1", "") in new stack
-- Executing [11@queuemetrics:2] NoOp("Local/110@from-internal-cad5,1", " "QM_AGENT_CODE: agent/1010" ") in new stack
-- Executing [11@queuemetrics:3] NoOp("Local/110@from-internal-cad5,1", " "QM_EXT_MONITOR: 110" ") in new stack
-- Executing [11@queuemetrics:4] NoOp("Local/110@from-internal-cad5,1", " "QM_AGENT_EXT: -" ") in new stack
-- Executing [11@queuemetrics:5] ChanSpy("Local/110@from-internal-cad5,1", "agent/1010") in new stack
-- <Local/110@from-internal-cad5,1> Playing 'beep' (language 'en')