[asterisk-users] ExtenSpy Problem
Ishfaq Malik
ish at pack-net.co.uk
Fri Mar 12 09:31:58 CST 2010
Hi
I'm trying to get ExtenSpy to work but it wont, I'm dialling a number
from my mobile which comes into our server and answering the number on a
particular SIP extension which all works fine. I'm then dialling an
exten from my own SIP extension which executes the ExtenSpy for the
correct extension but I hear nothing.
Here is the output in the CLI
-- Executing Goto("SIP/hidden-081aba30", "pack-hidden|s|1")
-- Goto (pack-hidden,s,1)
-- Executing NoOp("SIP/hidden-081aba30", "")
-- Executing Wait("SIP/hidden-081aba30", "2")
-- Executing Set("SIP/hidden-081aba30", "CALLERID(num)=hidden")
-- Executing Set("SIP/hidden-081aba30", "CALLERID(name)=Ish Test")
-- Executing Dial("SIP/hidden-081aba30", "SIP/PACK504|30")
-- Called PACK504
-- SIP/PACK504-081a6b18 is ringing
-- SIP/PACK504-081a6b18 is ringing
-- SIP/PACK504-081a6b18 is ringing
-- SIP/PACK504-081a6b18 answered SIP/213.166.5.133-081aba30
-- Packet2Packet bridging SIP/213.166.5.133-081aba30 and
SIP/PACK504-081a6b18
-- Executing ExtenSpy("SIP/PACK501-081a80a8", "PACK504 at pack-local|bq")
== Spawn extension (pack-local, 5504, 1) exited non-zero on
'SIP/PACK501-081a80a8'
PACK504 does exist under the pack-local context and I get the same thing
if I leave out the context part. I get the same thing whether I put in
the b option or not and if I don't put in the q option I get the
following. Also, you can see ExtenSpy being executed for the same
extension that has answered the call.
-- Executing ExtenSpy("SIP/PACK501-081acfe0", "PACK503")
-- <SIP/PACK501-081acfe0> Playing 'beep' (language 'en')
-- <SIP/PACK501-081acfe0> Playing 'beep' (language 'en')
-- <SIP/PACK501-081acfe0> Playing 'beep' (language 'en')
-- <SIP/PACK501-081acfe0> Playing 'beep' (language 'en')
-- <SIP/PACK501-081acfe0> Playing 'beep' (language 'en')
-- <SIP/PACK501-081acfe0> Playing 'beep' (language 'en')
-- <SIP/PACK501-081acfe0> Playing 'beep' (language 'en')
-- <SIP/PACK501-081acfe0> Playing 'beep' (language 'en')
-- <SIP/PACK501-081acfe0> Playing 'beep' (language 'en')
-- <SIP/PACK501-081acfe0> Playing 'beep' (language 'en')
-- <SIP/PACK501-081acfe0> Playing 'beep' (language 'en')
-- <SIP/PACK501-081acfe0> Playing 'beep' (language 'en')
-- <SIP/PACK501-081acfe0> Playing 'beep' (language 'en')
-- <SIP/PACK501-081acfe0> Playing 'beep' (language 'en')
-- <SIP/PACK501-081acfe0> Playing 'beep' (language 'en')
-- <SIP/PACK501-081acfe0> Playing 'beep' (language 'en')
Does anyone have any thought/experience of this? Also, if a call is
already being recorded by MixMonitor, can it also be spied on?
Thanks in advance
Ish
--
Ishfaq Malik
Software Developer
PackNet Ltd
Office: 0161 660 3062
More information about the asterisk-users
mailing list