David Backeberg wrote:
> On Fri, Mar 12, 2010 at 11:31 AM, Ishfaq Malik <i...@pack-net.co.uk> wrote:
>   
>> 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.
>>     
>
> You didn't mention version. Could be relevant.
>
> Bumping a thread without adding anything useful is annoying. If you do
> it again, I won't be helping.
>
> Try turning off the recording before using ExtenSpy().
> You tell us what happens.
>
> Try ChanSpy() instead of ExtenSpy()
>
> Type your version number and your results.
>
>   
Hi

Apologies for not adding the version, it's 1.4.17
The results were in the previous email but I'll put them in again. I 
only bumped because I originally asked the question at close of play on 
Friday and a lot of people don't look at this list over the weekend 
(myself being one).

I will try ChanSpy to see what happens and post the results but it 
doesn't really do what I need whereas ExtenSpy does (the functionality 
is required for a call centre to listen in on incoming calls and they 
are not the only people using the asterisk server i.e. hosted VoIP for 
multiple customers and using RealTime to boot).

I did have MixMonitor running on the dial plan to start with but I took 
it out fearing that it might be interfering with what I was trying to do 
but it made no different to the CLI output (other then the MixMonitor 
step not being there obviously).

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", "pack...@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')




-- 
Ishfaq Malik
Software Developer
PackNet Ltd

Office:   0161 660 3062

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to