[Asterisk-Users] Can't get ChanSpy to work

usedcanon usedcanon at yahoo.co.uk
Sun Sep 12 16:01:19 MST 2004


Patrick,

Thanks a lot for your response. I will give it a go in the next day or two.

btw, was this information available in the readme or something, I am sure I
looked but did not find anything.

Once again thanks

Umar

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com]On Behalf Of Patrick J.
Conroy
Sent: 12 September 2004 18:29
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] Can't get ChanSpy to work


Umar,

> I am a bit confused as to how this works. In particular I am trying to
> understand, if I had say 10 active sip calls (I am particularly interested
> in sip), how do I specify which one I one I want to listen into.

I haven't had enough chance to test ChanSpy to know what happens when
multiple calls are going on, if you have a generic statement like:
exten => _*53,1,ChanSpy(scan)

> Idealy I would like to have the ability to specify the extention
> that I want
> to listen into, is that possible?

That statement that I had in my original post was just for testing purposes
to get this working.  The actual statement that I have in my extensions.conf
is:
exten => _*53#812X,1,ChanSpy(scan,SIP/${EXTEN:4})

This allows me to specify the extension that I want to listen on (any 4
digit SIP extension beginning with 812), and I only monitor one extension at
a time.  I'm sure you could do nifty things with this to monitor any type of
extension, but this works for me.

Hope this helps,
Patrick


--
This message has been scanned for viruses and
dangerous content, and is believed to be clean.

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




More information about the asterisk-users mailing list