Re: [asterisk-users] ChanSpy : how to know channel name ?

2012-01-30 Thread Ishfaq Malik
; ${SP > > Y_EXIT_CONTEXT} channel variable. The name of the last channel that > > was > > spied on will be stored in the ${SPY_CHANNEL} variable. > > > > > > > > On Wed, 2012-01-25 at 10:15 +0100, Jonas Kellens wrote: > > > This could work

Re: [asterisk-users] ChanSpy : how to know channel name ?

2012-01-30 Thread Jonas Kellens
CHANNELS(miq8)}) exten => 1246,n,extenspy(${inuse}@default) exten => 1246,n,hangup() From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jonas Kellens Sent: Tuesday, January 24, 2012 9:52 AM To: Asterisk Users Mailing List - Non-

Re: [asterisk-users] ChanSpy : how to know channel name ?

2012-01-26 Thread Jonas Kellens
On 01/25/2012 11:10 AM, Ishfaq Malik wrote: I use ChanSpy successfully all the time. You do not have to specify the full channel, just the prefix which is the peer name. As you can see it also states 'This includes the audio coming in and out of the channel being spied on.' I confirm that Chan

Re: [asterisk-users] ChanSpy : how to know channel name ?

2012-01-25 Thread Danny Nicholas
y 25, 2012 3:16 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] ChanSpy : how to know channel name ? This could work, yes. But the context is not always the same. Also ${CHANNELS(miq8) will return nothing... Jonas. On 01/24/2012 08:47 PM, Danny

Re: [asterisk-users] ChanSpy : how to know channel name ?

2012-01-25 Thread Ishfaq Malik
ult) > > > > exten => 1246,n,hangup() > > > > > > > > From: asterisk-users-boun...@lists.digium.com > > [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jonas > > Kellens > > Sent: Tuesday, January 24, 2012 9:52 AM >

Re: [asterisk-users] ChanSpy : how to know channel name ?

2012-01-25 Thread Jonas Kellens
Mailing List - Non-Commercial Discussion *Subject:* Re: [asterisk-users] ChanSpy : how to know channel name ? Hello, there is very little information about the function CHANNELS(). If I know the peer name (that I always know for sure), do you see a way of using the function CHANNELS() to g

Re: [asterisk-users] ChanSpy : how to know channel name ?

2012-01-24 Thread Danny Nicholas
terisk-users-boun...@lists.digium.com] On Behalf Of Jonas Kellens Sent: Tuesday, January 24, 2012 9:52 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] ChanSpy : how to know channel name ? Hello, there is very little information about the function CHANN

Re: [asterisk-users] ChanSpy : how to know channel name ?

2012-01-24 Thread Jonas Kellens
ists.digium.com <mailto:asterisk-users-boun...@lists.digium.com> [mailto:asterisk-users-boun...@lists.digium.com] *On Behalf Of *Jonas Kellens *Sent:* Tuesday, January 24, 2012 9:26 AM *To:* Asterisk Users Mailing List - Non-Commercial Discussion *Subject:* Re: [asterisk-users] ChanSpy : how to kn

Re: [asterisk-users] ChanSpy : how to know channel name ?

2012-01-24 Thread Danny Nicholas
users-boun...@lists.digium.com] On Behalf Of Jonas Kellens Sent: Tuesday, January 24, 2012 9:41 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] ChanSpy : how to know channel name ? Hello, how to use ExtenSpy(extension@context) when conversations are

Re: [asterisk-users] ChanSpy : how to know channel name ?

2012-01-24 Thread Jonas Kellens
-boun...@lists.digium.com] *On Behalf Of *Jonas Kellens *Sent:* Tuesday, January 24, 2012 9:26 AM *To:* Asterisk Users Mailing List - Non-Commercial Discussion *Subject:* Re: [asterisk-users] ChanSpy : how to know channel name ? Of course I can control the name of my SIP-peer. Why do you tell me

Re: [asterisk-users] ChanSpy : how to know channel name ?

2012-01-24 Thread Danny Nicholas
Sent: Tuesday, January 24, 2012 9:26 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] ChanSpy : how to know channel name ? Of course I can control the name of my SIP-peer. Why do you tell me this ?! Please answer my question : how do I know the

Re: [asterisk-users] ChanSpy : how to know channel name ?

2012-01-24 Thread Jonas Kellens
ling List - Non-Commercial Discussion *Subject:* Re: [asterisk-users] ChanSpy : how to know channel name ? Hello, thanks. miq8 is the name of the SIP peer account. So when I know the SIP peer name, and I strip of the numbers of the channel, then I can use ChanSpy. So this answers my original quest

Re: [asterisk-users] ChanSpy : how to know channel name ?

2012-01-24 Thread Danny Nicholas
s Sent: Tuesday, January 24, 2012 9:07 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] ChanSpy : how to know channel name ? Hello, thanks. miq8 is the name of the SIP peer account. So when I know the SIP peer name, and I strip of the numbers of the chan

Re: [asterisk-users] ChanSpy : how to know channel name ?

2012-01-24 Thread Jonas Kellens
*Subject:* Re: [asterisk-users] ChanSpy : how to know channel name ? Hello, OK thanks. But, I want to listen to the conversation (not just 1 channel out of 2 channels). How then do I use ChanSpy ? On 01/24/2012 03:41 PM, Danny Nicholas wrote: Strip off the --x. Just listen to SIP/miq8

Re: [asterisk-users] ChanSpy : how to know channel name ?

2012-01-24 Thread Danny Nicholas
AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] ChanSpy : how to know channel name ? Hello, OK thanks. But, I want to listen to the conversation (not just 1 channel out of 2 channels). How then do I use ChanSpy ? On 01/24/2012 03:41 PM, Danny

Re: [asterisk-users] ChanSpy : how to know channel name ?

2012-01-24 Thread Jonas Kellens
...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] *On Behalf Of *Jonas Kellens *Sent:* Tuesday, January 24, 2012 7:47 AM *To:* Asterisk Users Mailing List - Non-Commercial Discussion *Subject:* [asterisk-users] ChanSpy : how to know channel name ? Hello list, to use ChanSpy

Re: [asterisk-users] ChanSpy : how to know channel name ?

2012-01-24 Thread Danny Nicholas
Discussion Subject: [asterisk-users] ChanSpy : how to know channel name ? Hello list, to use ChanSpy, one needs to know the name of the channel. But on an incoming call from the provider, or an outgoing call to the provider there are always numbers added. How can one then know the channel name

[asterisk-users] ChanSpy : how to know channel name ?

2012-01-24 Thread Jonas Kellens
Hello list, to use ChanSpy, one needs to know the name of the channel. But on an incoming call from the provider, or an outgoing call to the provider there are always numbers added. How can one then know the channel name ?? /core show channels verbose/ shows me for example : /SIP/*378680644