Hello Gavin,
you should modify the configuration file so that it can call back to your telephone - for example, if your extension is 200@from-internal, it needs to be set in the configuration.èproperties file like:
callfile.monitoring.enabled=true
callfile.monitoring.channel=Local/$EM@from-internal/n
callfile.monitoring.extension=11
callfile.monitoring.context=queuemetrics
This is because it will first try ringing the number you enter as Local/num@context/n and your local extension should ring.
After that, it will bridge the call to the chanspy session as defined in 11@queuemetrics, that is like:
; extension 11 makes remote monitoring possible
exten => 11,1,Answer
exten => 11,2,NoOp( "QM_AGENT_CODE: ${QM_AGENT_CODE}" )
exten => 11,3,NoOp( "QM_EXT_MONITOR: ${QM_EXT_MONITOR}" )
exten => 11,4,NoOp( "QM_AGENT_EXT: ${QM_AGENT_EXT}" )
exten => 11,5,ChanSpy(${QM_AGENT_CODE})
exten => 11,6,Hangup
If you encounter problem with this second part, you should make sure that what you end up passing to the Chanspy() application is what yuou expect it to be - usually it's the Agent code (like Agent/1234) but if you use a different setting you may set it differently.