[asterisk-users] ChanSpy and ConfBridge
We have a scenario where we have ConfBridges assigned to specific users. An administrator wants to listen to the owner of a ConfBridge calls and may want to whisper instructions to them. I thought ChanSpy would be the perfect solution for this. During tests today I noticed this doesn't work as I thought it would. The administrator is able to whisper to the channel that is the owner of the ConfBridge. However, I'm hearing what sounds like an echo of the administrator channel's whisper going to the other channels in the ConfBridge. It's not as loud as it would be if I use ChanSpy to Barge In, but it's still present. At first, I thought it was just other phones picking up the sound. However, I muted all phones other than my administrator phone and I'm still hearing the administrator's whisper on other channels in the ConfBridge. Any thoughts on this? I have also noticed when toggling between modes (d for DTMF mode change where 4 = spy, 5 = whisper, and 6 = bargein) that audio to some channels becomes garbled afterward. I have tried both with and without the o option (for only listen to audio coming from this channel). Any suggestions? Have a great day! Dan -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] ChanSpy "Audiohook has stale audio in its factories" problem
Hello, We have an issue where using ChanSpy with the 'B' option to talk to both parties doesn't work in some call scenarios (calling out to a T-mobile device). The problem is that the spying party can talk to the called person but not the caller. The Asterisk log in this case records warnings as below, which then continue for the life of the spying call. Would anyone know the cause of this? We are using Asterisk 11.25.3. Thanks in advance for any advice. [Jan 18 15:59:39] DEBUG[39503][C-0bbd] autochan.c: Created autochan 0x152564004ea0 to hold channel SIP/15-xx.yy.122.136-0c85 (0x15251806fb28) [Jan 18 15:59:39] NOTICE[39503][C-0bbd] app_chanspy.c: Attaching SIP/enswitch-local-0c86 to SIP/15-xx.yy.122.136-0c85 [Jan 18 15:59:39] DEBUG[39503][C-0bbd] audiohook.c: Audiohook 0x1525f5d59c58 has stale audio in its factories. Flushing them both [Jan 18 15:59:39] DEBUG[39503][C-0bbd] audiohook.c: Audiohook 0x1525f5d5b6b0 has stale audio in its factories. Flushing them both [Jan 18 15:59:39] DEBUG[38605][C-0bbc] audiohook.c: Audiohook 0x1525f5d58200 has stale audio in its factories. Flushing them both [Jan 18 15:59:39] DEBUG[39503][C-0bbd] audiohook.c: Failed to get 160 samples from write factory 0x1525f5d58ec8 [Jan 18 15:59:39] DEBUG[39503][C-0bbd] res_rtp_asterisk.c: Difference is 888, ms is 131 [Jan 18 15:59:39] DEBUG[39503][C-0bbd] audiohook.c: Failed to get 160 samples from write factory 0x1525f5d58ec8 [Jan 18 15:59:39] DEBUG[39503][C-0bbd] audiohook.c: Read factory 0x1525f5d58288 and write factory 0x1525f5d58ec8 both fail to provide 160 samples [Jan 18 15:59:39] DEBUG[39503][C-0bbd] audiohook.c: Failed to get 160 samples from write factory 0x1525f5d58ec8 [Jan 18 15:59:39] DEBUG[39503][C-0bbd] audiohook.c: Failed to get 160 samples from write factory 0x1525f5d58ec8 [Jan 18 15:59:39] DEBUG[39503][C-0bbd] audiohook.c: Audiohook 0x1525f5d59c58 has stale audio in its factories. Flushing them both [Jan 18 15:59:39] DEBUG[39503][C-0bbd] audiohook.c: Failed to get 160 samples from write factory 0x1525f5d58ec8 [Jan 18 15:59:39] DEBUG[39503][C-0bbd] audiohook.c: Failed to get 160 samples from write factory 0x1525f5d58ec8 [Jan 18 15:59:39] DEBUG[39503][C-0bbd] audiohook.c: Failed to get 160 samples from write factory 0x1525f5d58ec8 [Jan 18 15:59:39] DEBUG[39503][C-0bbd] audiohook.c: Failed to get 160 samples from write factory 0x1525f5d58ec8 [Jan 18 15:59:39] DEBUG[39503][C-0bbd] audiohook.c: Failed to get 160 samples from write factory 0x1525f5d58ec8 -- David Cunningham, Voisonics Limited http://voisonics.com/ USA: +1 213 221 1092 New Zealand: +64 (0)28 2558 3782 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] chanspy and mixmonitor
Hello guys, I'm using asterisk 11. i'm using Chanspy in a local channel to playBack a file to a specific channel. [playsound] exten = do_playback,1,Answer() same = n,Wait(1) same = n,Playback(${Pv_WhatToPlay}) same = n,Hangup() exten = do_chanspy,1,Answer() same = n,ChanSpy(${Pv_WhoHear},qXBwW) same = n,Hangup() just basically need to call an originate to play the file to a specific channel. The thing is I'm also using MixMonitor to record the specific channel. I can playback the file referenced in ${Pv_WhatToPlay} and both the caller and the callee can hear it. however i cannot hear it in the recorded conversation ? anyone know if there is a way to make it recordable. thanks regards, joshua -- _ -- 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
Re: [asterisk-users] chanspy and mixmonitor
On Fri, 29 May 2015, sysad...@reed-media.com wrote: You may get better replies if you start a new thread rather than replying to an unrelated thread. -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 -- _ -- 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
[asterisk-users] Chanspy and Mixmonitor
You're right Steve, sorry for that. So Hi again guys. I need a little help here.I'm using asterisk 11. i'm using Chanspy in a local channel to playBack a file to a specific channel. [playsound] exten = do_playback,1,Answer() same = n,Wait(1) same = n,Playback(${Pv_WhatToPlay}) same = n,Hangup() exten = do_chanspy,1,Answer() same = n,ChanSpy(${Pv_WhoHear},qXBwW) same = n,Hangup() just basically need to call an originate to play the file to a specific channel. The thing is I'm also using MixMonitor to record the specific channel. I can playback the file referenced in ${Pv_WhatToPlay} and both the caller and the callee can hear it. however i cannot hear it in the recorded conversation ? anyone know if there is a way to make it recordable. thanks regards, joshua -- _ -- 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
Re: [asterisk-users] chanspy for group extension
Using Gosub / Return is well documented on voip-info.org, Asterisk The Definitive Guide, and many other places. Rehashing it on the mailing list would not be helpful. From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Salaheddine Elharit Sent: Thursday, March 12, 2015 2:40 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] chanspy for group extension thank you but could you please tell me how can i put it thanks and regards 2015-03-12 18:19 GMT+00:00 Administrator TOOTAI ad...@tootai.netmailto:ad...@tootai.net: Hi, Le 12/03/2015 17:28, Salaheddine Elharit a écrit : hello list, i use the code below [macro-chanspy] exten = s,1,Authenticate(${ARG1}) exten = s,n,ChanSpy(SIP/${EXTEN:3},__dqs) Here you have a problem: ${EXTEN} value is s [...] Daniel -- _ -- 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 -- _ -- 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
Re: [asterisk-users] chanspy for group extension
thank you so much Carlos ;the issue has been solved Best Regards. 2015-03-12 18:40 GMT+00:00 Salaheddine Elharit salah.elharit...@gmail.com: thank you but could you please tell me how can i put it thanks and regards 2015-03-12 18:19 GMT+00:00 Administrator TOOTAI ad...@tootai.net: Hi, Le 12/03/2015 17:28, Salaheddine Elharit a écrit : hello list, i use the code below [macro-chanspy] exten = s,1,Authenticate(${ARG1}) exten = s,n,ChanSpy(SIP/${EXTEN:3},__dqs) Here you have a problem: ${EXTEN} value is s [...] Daniel -- _ -- 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 -- _ -- 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
Re: [asterisk-users] chanspy for group extension
On 3/12/15 12:19 PM, Administrator TOOTAI wrote: Hi, Le 12/03/2015 17:28, Salaheddine Elharit a écrit : hello list, i use the code below [macro-chanspy] exten = s,1,Authenticate(${ARG1}) exten = s,n,ChanSpy(SIP/${EXTEN:3},__dqs) Here you have a problem: ${EXTEN} value is s [...] Daniel Oops, my bad, that should have been ${MACRO_EXTEN} so it gets the vaule of the extension that was dialed. -- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez +52 (55)9116-91161 -- _ -- 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
Re: [asterisk-users] chanspy for group extension
hello list, i use the code below [macro-chanspy] exten = s,1,Authenticate(${ARG1}) exten = s,n,ChanSpy(SIP/${EXTEN:3},dqs) exten = s,n,Hangup app-chanspy] exten = _0071XX,*1,*Macro(chanspy,1234) exten = _0072XX,*1,*Macro(chanspy,5678) exten = _0073XX,*1,*Macro(chanspy,8910) but when i do 007100 for exemple i spy another agnet 102 or 103 any help please thanks and regards 2015-03-12 10:30 GMT+00:00 Salaheddine Elharit salah.elharit...@gmail.com: thank you so much it work you must add 1 like below [app-chanspy] exten = _0071XX,*1,*Macro(chanspy,1234) exten = _0072XX,*1,*Macro(chanspy,5678) exten = _0073XX,*1,*Macro(chanspy,8910) best regards. 2015-03-11 19:48 GMT+00:00 Carlos Chavez cur...@telecomabmex.com: On 3/11/15 12:48 PM, Salaheddine Elharit wrote: hello list, i use chanspy with the code below [app-chanspy] exten = _007.,1,Macro(user-callerid,) exten = _007.,n,Answer exten = _007.,n,Authenticate() exten = _007.,n,ChanSpy(SIP/${EXTEN:3},dqs) exten = _007.,n,Hangup i have a question related to chanspy i have created extension from 100 to 300 and i will give the permission with group of extension i want to use chanspy like below 100=199 with Authenticate(1234) 200=299 with Authenticate(5678) 300=399 with Authenticate(8910) Use a macro and pass the pin as a parameter: [macro-chanspy] exten = s,1,Authenticate(${ARG1}) exten = s,n,ChanSpy(SIP/${EXTEN:3},dqs) exten = s,n,Hangup [app-chanspy] exten = _0071XX,Macro(chanspy,1234) exten = _0072XX,Macro(chanspy,5678) exten = _0073XX,Macro(chanspy,8910) -- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez +52 (55)9116-91161 -- _ -- 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 -- _ -- 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
Re: [asterisk-users] chanspy for group extension
Hi, Le 12/03/2015 17:28, Salaheddine Elharit a écrit : hello list, i use the code below [macro-chanspy] exten = s,1,Authenticate(${ARG1}) exten = s,n,ChanSpy(SIP/${EXTEN:3},__dqs) Here you have a problem: ${EXTEN} value is s [...] Daniel -- _ -- 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
Re: [asterisk-users] chanspy for group extension
This is one of the drawbacks to using macros. There are workarounds for macros, but the correct solution is use the Gosub / Return dialplan applications -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Administrator TOOTAI Sent: Thursday, March 12, 2015 2:19 PM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] chanspy for group extension Hi, Le 12/03/2015 17:28, Salaheddine Elharit a écrit : hello list, i use the code below [macro-chanspy] exten = s,1,Authenticate(${ARG1}) exten = s,n,ChanSpy(SIP/${EXTEN:3},__dqs) Here you have a problem: ${EXTEN} value is s [...] Daniel -- _ -- 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 -- _ -- 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
Re: [asterisk-users] chanspy for group extension
thank you but could you please tell me how can i put it thanks and regards 2015-03-12 18:19 GMT+00:00 Administrator TOOTAI ad...@tootai.net: Hi, Le 12/03/2015 17:28, Salaheddine Elharit a écrit : hello list, i use the code below [macro-chanspy] exten = s,1,Authenticate(${ARG1}) exten = s,n,ChanSpy(SIP/${EXTEN:3},__dqs) Here you have a problem: ${EXTEN} value is s [...] Daniel -- _ -- 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 -- _ -- 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
Re: [asterisk-users] chanspy for group extension
thank you so much it work you must add 1 like below [app-chanspy] exten = _0071XX,*1,*Macro(chanspy,1234) exten = _0072XX,*1,*Macro(chanspy,5678) exten = _0073XX,*1,*Macro(chanspy,8910) best regards. 2015-03-11 19:48 GMT+00:00 Carlos Chavez cur...@telecomabmex.com: On 3/11/15 12:48 PM, Salaheddine Elharit wrote: hello list, i use chanspy with the code below [app-chanspy] exten = _007.,1,Macro(user-callerid,) exten = _007.,n,Answer exten = _007.,n,Authenticate() exten = _007.,n,ChanSpy(SIP/${EXTEN:3},dqs) exten = _007.,n,Hangup i have a question related to chanspy i have created extension from 100 to 300 and i will give the permission with group of extension i want to use chanspy like below 100=199 with Authenticate(1234) 200=299 with Authenticate(5678) 300=399 with Authenticate(8910) Use a macro and pass the pin as a parameter: [macro-chanspy] exten = s,1,Authenticate(${ARG1}) exten = s,n,ChanSpy(SIP/${EXTEN:3},dqs) exten = s,n,Hangup [app-chanspy] exten = _0071XX,Macro(chanspy,1234) exten = _0072XX,Macro(chanspy,5678) exten = _0073XX,Macro(chanspy,8910) -- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez +52 (55)9116-91161 -- _ -- 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 -- _ -- 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
[asterisk-users] chanspy for group extension
hello list, i use chanspy with the code below [app-chanspy] exten = _007.,1,Macro(user-callerid,) exten = _007.,n,Answer exten = _007.,n,Authenticate() exten = _007.,n,ChanSpy(SIP/${EXTEN:3},dqs) exten = _007.,n,Hangup i have a question related to chanspy i have created extension from 100 to 300 and i will give the permission with group of extension i want to use chanspy like below 100=199 with Authenticate(1234) 200=299 with Authenticate(5678) 300=399 with Authenticate(8910) any help please Thanks and regards -- _ -- 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
Re: [asterisk-users] chanspy for group extension
On 3/11/15 12:48 PM, Salaheddine Elharit wrote: hello list, i use chanspy with the code below [app-chanspy] exten = _007.,1,Macro(user-callerid,) exten = _007.,n,Answer exten = _007.,n,Authenticate() exten = _007.,n,ChanSpy(SIP/${EXTEN:3},dqs) exten = _007.,n,Hangup i have a question related to chanspy i have created extension from 100 to 300 and i will give the permission with group of extension i want to use chanspy like below 100=199 with Authenticate(1234) 200=299 with Authenticate(5678) 300=399 with Authenticate(8910) Use a macro and pass the pin as a parameter: [macro-chanspy] exten = s,1,Authenticate(${ARG1}) exten = s,n,ChanSpy(SIP/${EXTEN:3},dqs) exten = s,n,Hangup [app-chanspy] exten = _0071XX,Macro(chanspy,1234) exten = _0072XX,Macro(chanspy,5678) exten = _0073XX,Macro(chanspy,8910) -- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez +52 (55)9116-91161 -- _ -- 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
[asterisk-users] chanspy (whispering) and Mixmonitor
Dear all, i'm using Chanspy to dynamically play a sound file on a specific channel. It works the caller and the callee can hear the file playing during their conversation. However, i'm also using Mixmonitor to record the call. The thing is, in the resulting wav i can of course hear the conversation, but not the sound which was whispering. Anyone knows how to let the whisper being recorded please ? regards, José -- _ -- 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
Re: [asterisk-users] ChanSpy : how to know channel name ?
:47 PM, Danny Nicholas wrote: Did a little research on this using my Asterisk 10.0. This should work for you. exten = 1246,1,answer() exten = 1246,n,set(inuse=${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-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 get the right channel ?? If CHANNELS() gives a space-delimited list of active channels, and I know miq8... how can I get SIP/miq8-2419 ? Thanks ! On 01/24/2012 04:46 PM, Danny Nicholas wrote: Extenspy(miq8@default) for miq8. I would either proceed under the assumption that I’m going to be listening to my extensions in the default context or set up an AGI or something to load my needed ext@context information. 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: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 named like this ? : SIP/378680644-2 default SIP/rs4-2445 sub-uitinternation SIP/3715320168-2 default SIP/ibenla2-244 sub-uit789 SIP/372083610-2 default SIP/cedhou0-24 sub-uit789 SIP/travel3-2 pbx-routing SIP/INTELin-2 pbx-routing SIP/375382280-2 default SIP/miq8-2419 sub-uitGSM SIP/3749378004- default SIP/instlpr0-2 sub-uitinternation Can you tell me what is the extension ? How will I know the context ? The context is not always the same... On 01/24/2012 04:32 PM, Danny Nicholas wrote: You are either going to be able to listen to SIP/miq8 or you are going to have to know the sequence number like SIP/miq8-1. Maybe you should just use ExtenSpy instead? 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: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 channel name so I can ChanSpy the correct channel ? On 01/24/2012 04:13 PM, Danny Nicholas wrote: It’s not random. The “Channel Name” is Tech/peer-sequence (sequence is in hex). You can control (to a degree) the peer portion in sip.conf/users.conf. 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: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 channel, then I can use ChanSpy. So this answers my original question. The only problem I see : it is Asterisk that gives the channel its name. How do I change this ?? As far as I know, Asterisk randomly gives a channel name which consists of the technology (SIP), the peername (miq8) and some numbers... How to change the channel name ? On 01/24/2012 03:53 PM, Danny Nicholas wrote: I would try chanspy(sip/miq8,b) – the b flag denotes to only listen to a bridged call which (it seems to me) should pick up both sides. From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jonas Kellens Sent: Tuesday, January 24, 2012 8:46 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 Nicholas wrote: Strip off the –x. Just listen to SIP/miq8 and SIP/375382280 in your example. From: asterisk-users-boun...@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, 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
Re: [asterisk-users] ChanSpy : how to know channel name ?
specified by the ${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, yes. But the context is not always the same. Also ${CHANNELS(miq8) will return nothing... Jonas. On 01/24/2012 08:47 PM, Danny Nicholas wrote: Did a little research on this using my Asterisk 10.0. This should work for you. exten = 1246,1,answer() exten = 1246,n,set(inuse=${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-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 get the right channel ?? If CHANNELS() gives a space-delimited list of active channels, and I know miq8... how can I get SIP/miq8-2419 ? Thanks ! On 01/24/2012 04:46 PM, Danny Nicholas wrote: Extenspy(miq8@default) for miq8. I would either proceed under the assumption that I’m going to be listening to my extensions in the default context or set up an AGI or something to load my needed ext@context information. 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: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 named like this ? : SIP/378680644-2 default SIP/rs4-2445 sub-uitinternation SIP/3715320168-2 default SIP/ibenla2-244 sub-uit789 SIP/372083610-2 default SIP/cedhou0-24 sub-uit789 SIP/travel3-2 pbx-routing SIP/INTELin-2 pbx-routing SIP/375382280-2 default SIP/miq8-2419 sub-uitGSM SIP/3749378004- default SIP/instlpr0-2 sub-uitinternation Can you tell me what is the extension ? How will I know the context ? The context is not always the same... On 01/24/2012 04:32 PM, Danny Nicholas wrote: You are either going to be able to listen to SIP/miq8 or you are going to have to know the sequence number like SIP/miq8-1. Maybe you should just use ExtenSpy instead? 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: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 channel name so I can ChanSpy the correct channel ? On 01/24/2012 04:13 PM, Danny Nicholas wrote: It’s not random. The “Channel Name” is Tech/peer-sequence (sequence is in hex). You can control (to a degree) the peer portion in sip.conf/users.conf. 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: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 channel, then I can use ChanSpy. So this answers my original question. The only problem I see : it is Asterisk that gives the channel its name. How do I change this ?? As far as I know, Asterisk randomly gives a channel name which consists of the technology (SIP), the peername (miq8) and some numbers... How to change the channel name ? On 01/24/2012 03:53 PM, Danny Nicholas wrote: I would try chanspy(sip/miq8,b) – the b flag denotes to only listen to a bridged call which (it seems to me) should pick up both sides. From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun
Re: [asterisk-users] ChanSpy : how to know channel name ?
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 ChanSpy does not need the complete channel name. The peer name is enough for ChanSpy to find the channel. I need further testing though to find out if both legs of the conversation can be listened to. Thanks. Jonas. -- _ -- 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
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 Nicholas wrote: Did a little research on this using my Asterisk 10.0. This should work for you. exten = 1246,1,answer() exten = 1246,n,set(inuse=${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-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 get the right channel ?? If CHANNELS() gives a space-delimited list of active channels, and I know miq8... how can I get /SIP/miq8-2419/ ? Thanks ! On 01/24/2012 04:46 PM, Danny Nicholas wrote: Extenspy(miq8@default) for miq8. I would either proceed under the assumption that I'm going to be listening to my extensions in the default context or set up an AGI or something to load my needed ext@context information. *From:*asterisk-users-boun...@lists.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: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 named like this ? : /SIP/*378680644-2* default SIP/*rs4-2445* sub-uitinternation SIP/*3715320168-2* default SIP*/ibenla2-244* sub-uit789 SIP/*372083610-2* default SIP/*cedhou0-24* sub-uit789 SIP*/travel3-2* pbx-routing SIP/*INTELin-2* pbx-routing SIP/*375382280-2* default SIP/*miq8-2419* sub-uitGSM SIP/*3749378004-* default SIP*/instlpr0-2* sub-uitinternation / Can you tell me what is the extension ? How will I know the context ? The context is not always the same... On 01/24/2012 04:32 PM, Danny Nicholas wrote: You are either going to be able to listen to SIP/miq8 or you are going to have to know the sequence number like SIP/miq8-1. Maybe you should just use ExtenSpy instead? *From:*asterisk-users-boun...@lists.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 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 channel name so I can ChanSpy the correct channel ? On 01/24/2012 04:13 PM, Danny Nicholas wrote: It's not random. The Channel Name is Tech/peer-sequence (sequence is in hex). You can control (to a degree) the peer portion in sip.conf/users.conf. *From:*asterisk-users-boun...@lists.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: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 channel, then I can use ChanSpy. So this answers my original question. The only problem I see : it is Asterisk that gives the channel its name. How do I change this ?? As far as I know, Asterisk randomly gives a channel name which consists of the technology (SIP), the peername (miq8) and some numbers... How to change the channel name ? On 01/24/2012 03:53 PM, Danny Nicholas wrote: I would try chanspy(sip/miq8,b) -- the b flag denotes to only listen to a bridged call which (it seems to me) should pick up both sides. *From:*asterisk-users-boun...@lists.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 8:46 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 Nicholas wrote: Strip off the --x. Just listen to SIP/miq8 and SIP/375382280 in your example. *From:*asterisk-users-boun...@lists.digium.com mailto:asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com
Re: [asterisk-users] ChanSpy : how to know channel name ?
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.' Have you tried giving it a go? -= Info about application 'ChanSpy' =- [Synopsis] Listen to a channel, and optionally whisper into it. [Description] This application is used to listen to the audio from an Asterisk channel. This includes the audio coming in and out of the channel being spied on. If the 'chanprefix' parameter is specified, only channels beginning with this string will be spied upon. While spying, the following actions may be performed: - Dialing '#' cycles the volume level. - Dialing '*' will stop spying and look for another channel to spy on. - Dialing a series of digits followed by '#' builds a channel name to append to 'chanprefix'. For example, executing ChanSpy(Agent) and then dialing the digits '1234#' while spying will begin spying on the channel 'Agent/1234'. Note that this feature will be overridden if the 'd' option is used NOTE: The X option supersedes the three features above in that if a valid single digit extension exists in the correct context ChanSpy will exit to it. This also disables choosing a channel based on 'chanprefix' and a digit sequence. [Syntax] ChanSpy([chanprefix][,options]) [Arguments] options b: Only spy on channels involved in a bridged call. B: Instead of whispering on a single channel barge in on both channels involved in the call. c(digit): digit - Specify a DTMF digit that can be used to spy on the next available channel. d: Override the typical numeric DTMF functionality and instead use DTMF to switch between spy modes. 4 - spy mode 5 - whisper mode 6 - barge mode e(ext): Enable *enforced* mode, so the spying channel can only monitor extensions whose name is in the ext : delimited list. E: Exit when the spied-on channel hangs up. g(grp): grp - Only spy on channels in which one or more of the groups listed in grp matches one or more groups from the ${SPYGROUP} variable set on the channel to be spied upon. NOTE: both grp and ${SPYGROUP} can contain either a single group or a colon-delimited list of groups, such as 'sales:support:accountin g'. n([mailbox][@context]): Say the name of the person being spied on if that person has recorded his/her name. If a context is specified, then that voicemail context will be searched when retrieving the name, otherwise the 'default' context be used when searching for the name (i.e. if SIP/1000 is the channel being spied on and no mailbox is specified, then '1000' will be used when searching for the name). o: Only listen to audio coming from this channel. q: Don't play a beep when beginning to spy on a channel, or speak the selected channel name. r([basename]): Record the session to the monitor spool directory. An optional base for the filename may be specified. The default is ' chanspy'. s: Skip the playback of the channel type (i.e. SIP, IAX, etc) when speaking the selected channel name. S: Stop when no more channels are left to spy on. v([value]): Adjust the initial volume in the range from '-4' to '4'. A negative value refers to a quieter setting. w: Enable 'whisper' mode, so the spying channel can talk to the spied-on channel. W: Enable 'private whisper' mode, so the spying channel can talk to the spied-on channel but cannot listen to that channel. x(digit): digit - Specify a DTMF digit that can be used to exit the application. X: Allow the user to exit ChanSpy to a valid single digit numeric extension in the current context or the context specified by the ${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, yes. But the context is not always the same. Also ${CHANNELS(miq8) will return nothing... Jonas. On 01/24/2012 08:47 PM, Danny Nicholas wrote: Did a little research on this using my Asterisk 10.0. This should work for you. exten = 1246,1,answer() exten = 1246,n,set(inuse=${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-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
Re: [asterisk-users] ChanSpy : how to know channel name ?
Read the documentation. If I do Set(a=${CHANNELS()}) a will return a list of channels with a space between each entry like you originally said. I did my test using Set(a=${CHANNELS(1107)}) and it returned a=SIP/1107, therefore I logically assumed that ${CHANNELS(miq8)}) would return SIP/miq8. If you PROVE me wrong so be it, but I'm gonna SHUT UP now since you don't give a rat's behind about my wasting time trying to help you. From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jonas Kellens Sent: Wednesday, January 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 Nicholas wrote: Did a little research on this using my Asterisk 10.0. This should work for you. exten = 1246,1,answer() exten = 1246,n,set(inuse=${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-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 get the right channel ?? If CHANNELS() gives a space-delimited list of active channels, and I know miq8... how can I get SIP/miq8-2419 ? Thanks ! On 01/24/2012 04:46 PM, Danny Nicholas wrote: Extenspy(miq8@default) for miq8. I would either proceed under the assumption that I'm going to be listening to my extensions in the default context or set up an AGI or something to load my needed ext@context information. 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: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 named like this ? : SIP/378680644-2 default SIP/rs4-2445 sub-uitinternation SIP/3715320168-2 default SIP/ibenla2-244 sub-uit789 SIP/372083610-2 default SIP/cedhou0-24 sub-uit789 SIP/travel3-2 pbx-routing SIP/INTELin-2 pbx-routing SIP/375382280-2 default SIP/miq8-2419 sub-uitGSM SIP/3749378004- default SIP/instlpr0-2 sub-uitinternation Can you tell me what is the extension ? How will I know the context ? The context is not always the same... On 01/24/2012 04:32 PM, Danny Nicholas wrote: You are either going to be able to listen to SIP/miq8 or you are going to have to know the sequence number like SIP/miq8-1. Maybe you should just use ExtenSpy instead? 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: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 channel name so I can ChanSpy the correct channel ? On 01/24/2012 04:13 PM, Danny Nicholas wrote: It's not random. The Channel Name is Tech/peer-sequence (sequence is in hex). You can control (to a degree) the peer portion in sip.conf/users.conf. 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: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 channel, then I can use ChanSpy. So this answers my original question. The only problem I see : it is Asterisk that gives the channel its name. How do I change this ?? As far as I know, Asterisk randomly gives a channel name which consists of the technology (SIP), the peername (miq8) and some numbers... How to change the channel name ? On 01/24/2012 03:53 PM, Danny Nicholas wrote: I would try chanspy(sip/miq8,b) - the b flag denotes to only listen to a bridged call which (it seems to me) should pick up both sides. From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jonas Kellens Sent: Tuesday, January 24, 2012 8:46 AM To: Asterisk Users Mailing List - Non
[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 ?? /core show channels verbose/ shows me for example : /SIP/*378680644-2* default SIP/*rs4-2445* sub-uitinternation SIP/*3715320168-2* default SIP*/ibenla2-244* sub-uit789 SIP/*372083610-2* default SIP/*cedhou0-24* sub-uit789 SIP*/travel3-2* pbx-routing SIP/*INTELin-2* pbx-routing SIP/*375382280-2* default SIP/*miq8-2419* sub-uitGSM SIP/*3749378004-* default SIP*/instlpr0-2* sub-uitinternation SIP/*372089170-2* default SIP/*v9q9uLT-* from-GFATRUNK 46 active channels 24 active calls/ If I want to listen to the conversation of /SIP/*miq8-2419*/and /SIP/*375382280-2*/(these 2 channels have been connected to 1 conversation), how do I use ChanSpy ?? Kind regards; Jonas. -- _ -- 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
Re: [asterisk-users] ChanSpy : how to know channel name ?
Strip off the -x. Just listen to SIP/miq8 and SIP/375382280 in your example. From: asterisk-users-boun...@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, 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-2 default SIP/rs4-2445 sub-uitinternation SIP/3715320168-2 default SIP/ibenla2-244 sub-uit789 SIP/372083610-2 default SIP/cedhou0-24 sub-uit789 SIP/travel3-2 pbx-routing SIP/INTELin-2 pbx-routing SIP/375382280-2 default SIP/miq8-2419 sub-uitGSM SIP/3749378004- default SIP/instlpr0-2 sub-uitinternation SIP/372089170-2 default SIP/v9q9uLT- from-GFATRUNK 46 active channels 24 active calls If I want to listen to the conversation of SIP/miq8-2419 and SIP/375382280-2 (these 2 channels have been connected to 1 conversation), how do I use ChanSpy ?? Kind regards; Jonas. -- _ -- 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
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 and SIP/375382280 in your example. *From:*asterisk-users-boun...@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, 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-2* default SIP/*rs4-2445* sub-uitinternation SIP/*3715320168-2* default SIP*/ibenla2-244* sub-uit789 SIP/*372083610-2* default SIP/*cedhou0-24* sub-uit789 SIP*/travel3-2* pbx-routing SIP/*INTELin-2* pbx-routing SIP/*375382280-2* default SIP/*miq8-2419* sub-uitGSM SIP/*3749378004-* default SIP*/instlpr0-2* sub-uitinternation SIP/*372089170-2* default SIP/*v9q9uLT-* from-GFATRUNK 46 active channels 24 active calls/ If I want to listen to the conversation of /SIP/*miq8-2419*/ and /SIP/*375382280-2*/ (these 2 channels have been connected to 1 conversation), how do I use ChanSpy ?? Kind regards; Jonas. -- _ -- 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 -- _ -- 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
Re: [asterisk-users] ChanSpy : how to know channel name ?
I would try chanspy(sip/miq8,b) - the b flag denotes to only listen to a bridged call which (it seems to me) should pick up both sides. From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jonas Kellens Sent: Tuesday, January 24, 2012 8:46 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 Nicholas wrote: Strip off the -x. Just listen to SIP/miq8 and SIP/375382280 in your example. From: asterisk-users-boun...@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, 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-2 default SIP/rs4-2445 sub-uitinternation SIP/3715320168-2 default SIP/ibenla2-244 sub-uit789 SIP/372083610-2 default SIP/cedhou0-24 sub-uit789 SIP/travel3-2 pbx-routing SIP/INTELin-2 pbx-routing SIP/375382280-2 default SIP/miq8-2419 sub-uitGSM SIP/3749378004- default SIP/instlpr0-2 sub-uitinternation SIP/372089170-2 default SIP/v9q9uLT- from-GFATRUNK 46 active channels 24 active calls If I want to listen to the conversation of SIP/miq8-2419 and SIP/375382280-2 (these 2 channels have been connected to 1 conversation), how do I use ChanSpy ?? Kind regards; Jonas. -- _ -- 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 -- _ -- 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
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 question. The only problem I see : it is Asterisk that gives the channel its name. How do I change this ?? As far as I know, Asterisk randomly gives a channel name which consists of the technology (SIP), the peername (miq8) and some numbers... How to change the channel name ? On 01/24/2012 03:53 PM, Danny Nicholas wrote: I would try chanspy(sip/miq8,b) -- the b flag denotes to only listen to a bridged call which (it seems to me) should pick up both sides. *From:*asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] *On Behalf Of *Jonas Kellens *Sent:* Tuesday, January 24, 2012 8:46 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 Nicholas wrote: Strip off the --x. Just listen to SIP/miq8 and SIP/375382280 in your example. *From:*asterisk-users-boun...@lists.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 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, 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-2* default SIP/*rs4-2445* sub-uitinternation SIP/*3715320168-2* default SIP*/ibenla2-244* sub-uit789 SIP/*372083610-2* default SIP/*cedhou0-24* sub-uit789 SIP*/travel3-2* pbx-routing SIP/*INTELin-2* pbx-routing SIP/*375382280-2* default SIP/*miq8-2419* sub-uitGSM SIP/*3749378004-* default SIP*/instlpr0-2* sub-uitinternation SIP/*372089170-2* default SIP/*v9q9uLT-* from-GFATRUNK 46 active channels 24 active calls/ If I want to listen to the conversation of /SIP/*miq8-2419*/ and /SIP/*375382280-2*/ (these 2 channels have been connected to 1 conversation), how do I use ChanSpy ?? Kind regards; Jonas. -- _ -- Bandwidth and Colocation Provided byhttp://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 -- _ -- Bandwidth and Colocation Provided byhttp://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 -- _ -- 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
Re: [asterisk-users] ChanSpy : how to know channel name ?
It's not random. The Channel Name is Tech/peer-sequence (sequence is in hex). You can control (to a degree) the peer portion in sip.conf/users.conf. 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: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 channel, then I can use ChanSpy. So this answers my original question. The only problem I see : it is Asterisk that gives the channel its name. How do I change this ?? As far as I know, Asterisk randomly gives a channel name which consists of the technology (SIP), the peername (miq8) and some numbers... How to change the channel name ? On 01/24/2012 03:53 PM, Danny Nicholas wrote: I would try chanspy(sip/miq8,b) - the b flag denotes to only listen to a bridged call which (it seems to me) should pick up both sides. From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jonas Kellens Sent: Tuesday, January 24, 2012 8:46 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 Nicholas wrote: Strip off the -x. Just listen to SIP/miq8 and SIP/375382280 in your example. From: asterisk-users-boun...@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, 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-2 default SIP/rs4-2445 sub-uitinternation SIP/3715320168-2 default SIP/ibenla2-244 sub-uit789 SIP/372083610-2 default SIP/cedhou0-24 sub-uit789 SIP/travel3-2 pbx-routing SIP/INTELin-2 pbx-routing SIP/375382280-2 default SIP/miq8-2419 sub-uitGSM SIP/3749378004- default SIP/instlpr0-2 sub-uitinternation SIP/372089170-2 default SIP/v9q9uLT- from-GFATRUNK 46 active channels 24 active calls If I want to listen to the conversation of SIP/miq8-2419 and SIP/375382280-2 (these 2 channels have been connected to 1 conversation), how do I use ChanSpy ?? Kind regards; Jonas. -- _ -- 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 -- _ -- 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 -- _ -- 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
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 channel name so I can ChanSpy the correct channel ? On 01/24/2012 04:13 PM, Danny Nicholas wrote: It's not random. The Channel Name is Tech/peer-sequence (sequence is in hex). You can control (to a degree) the peer portion in sip.conf/users.conf. *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: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 channel, then I can use ChanSpy. So this answers my original question. The only problem I see : it is Asterisk that gives the channel its name. How do I change this ?? As far as I know, Asterisk randomly gives a channel name which consists of the technology (SIP), the peername (miq8) and some numbers... How to change the channel name ? On 01/24/2012 03:53 PM, Danny Nicholas wrote: I would try chanspy(sip/miq8,b) -- the b flag denotes to only listen to a bridged call which (it seems to me) should pick up both sides. *From:*asterisk-users-boun...@lists.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 8:46 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 Nicholas wrote: Strip off the --x. Just listen to SIP/miq8 and SIP/375382280 in your example. *From:*asterisk-users-boun...@lists.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 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, 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-2* default SIP/*rs4-2445* sub-uitinternation SIP/*3715320168-2* default SIP*/ibenla2-244* sub-uit789 SIP/*372083610-2* default SIP/*cedhou0-24* sub-uit789 SIP*/travel3-2* pbx-routing SIP/*INTELin-2* pbx-routing SIP/*375382280-2* default SIP/*miq8-2419* sub-uitGSM SIP/*3749378004-* default SIP*/instlpr0-2* sub-uitinternation SIP/*372089170-2* default SIP/*v9q9uLT-* from-GFATRUNK 46 active channels 24 active calls/ If I want to listen to the conversation of /SIP/*miq8-2419*/ and /SIP/*375382280-2*/ (these 2 channels have been connected to 1 conversation), how do I use ChanSpy ?? Kind regards; Jonas. -- _ -- Bandwidth and Colocation Provided byhttp://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 -- _ -- Bandwidth and Colocation Provided byhttp://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 -- _ -- 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 -- _ -- 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
Re: [asterisk-users] ChanSpy : how to know channel name ?
You are either going to be able to listen to SIP/miq8 or you are going to have to know the sequence number like SIP/miq8-1. Maybe you should just use ExtenSpy instead? 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: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 channel name so I can ChanSpy the correct channel ? On 01/24/2012 04:13 PM, Danny Nicholas wrote: It's not random. The Channel Name is Tech/peer-sequence (sequence is in hex). You can control (to a degree) the peer portion in sip.conf/users.conf. 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: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 channel, then I can use ChanSpy. So this answers my original question. The only problem I see : it is Asterisk that gives the channel its name. How do I change this ?? As far as I know, Asterisk randomly gives a channel name which consists of the technology (SIP), the peername (miq8) and some numbers... How to change the channel name ? On 01/24/2012 03:53 PM, Danny Nicholas wrote: I would try chanspy(sip/miq8,b) - the b flag denotes to only listen to a bridged call which (it seems to me) should pick up both sides. From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jonas Kellens Sent: Tuesday, January 24, 2012 8:46 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 Nicholas wrote: Strip off the -x. Just listen to SIP/miq8 and SIP/375382280 in your example. From: asterisk-users-boun...@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, 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-2 default SIP/rs4-2445 sub-uitinternation SIP/3715320168-2 default SIP/ibenla2-244 sub-uit789 SIP/372083610-2 default SIP/cedhou0-24 sub-uit789 SIP/travel3-2 pbx-routing SIP/INTELin-2 pbx-routing SIP/375382280-2 default SIP/miq8-2419 sub-uitGSM SIP/3749378004- default SIP/instlpr0-2 sub-uitinternation SIP/372089170-2 default SIP/v9q9uLT- from-GFATRUNK 46 active channels 24 active calls If I want to listen to the conversation of SIP/miq8-2419 and SIP/375382280-2 (these 2 channels have been connected to 1 conversation), how do I use ChanSpy ?? Kind regards; Jonas. -- _ -- 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 -- _ -- 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 -- _ -- 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 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live
Re: [asterisk-users] ChanSpy : how to know channel name ?
Extenspy(miq8@default) for miq8. I would either proceed under the assumption that I'm going to be listening to my extensions in the default context or set up an AGI or something to load my needed ext@context information. 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: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 named like this ? : SIP/378680644-2 default SIP/rs4-2445 sub-uitinternation SIP/3715320168-2 default SIP/ibenla2-244 sub-uit789 SIP/372083610-2 default SIP/cedhou0-24 sub-uit789 SIP/travel3-2 pbx-routing SIP/INTELin-2 pbx-routing SIP/375382280-2 default SIP/miq8-2419 sub-uitGSM SIP/3749378004- default SIP/instlpr0-2 sub-uitinternation Can you tell me what is the extension ? How will I know the context ? The context is not always the same... On 01/24/2012 04:32 PM, Danny Nicholas wrote: You are either going to be able to listen to SIP/miq8 or you are going to have to know the sequence number like SIP/miq8-1. Maybe you should just use ExtenSpy instead? 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: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 channel name so I can ChanSpy the correct channel ? On 01/24/2012 04:13 PM, Danny Nicholas wrote: It's not random. The Channel Name is Tech/peer-sequence (sequence is in hex). You can control (to a degree) the peer portion in sip.conf/users.conf. 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: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 channel, then I can use ChanSpy. So this answers my original question. The only problem I see : it is Asterisk that gives the channel its name. How do I change this ?? As far as I know, Asterisk randomly gives a channel name which consists of the technology (SIP), the peername (miq8) and some numbers... How to change the channel name ? On 01/24/2012 03:53 PM, Danny Nicholas wrote: I would try chanspy(sip/miq8,b) - the b flag denotes to only listen to a bridged call which (it seems to me) should pick up both sides. From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jonas Kellens Sent: Tuesday, January 24, 2012 8:46 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 Nicholas wrote: Strip off the -x. Just listen to SIP/miq8 and SIP/375382280 in your example. From: asterisk-users-boun...@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, 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-2 default SIP/rs4-2445 sub-uitinternation SIP/3715320168-2 default SIP/ibenla2-244 sub-uit789 SIP/372083610-2 default SIP/cedhou0-24 sub-uit789 SIP/travel3-2 pbx-routing SIP/INTELin-2 pbx-routing SIP/375382280-2 default SIP/miq8-2419 sub-uitGSM SIP/3749378004- default SIP/instlpr0-2 sub-uitinternation SIP/372089170-2 default SIP/v9q9uLT- from-GFATRUNK 46 active channels 24 active calls If I want to listen to the conversation of SIP/miq8-2419 and SIP/375382280-2 (these 2 channels have been connected to 1 conversation), how do I use ChanSpy ?? Kind regards; Jonas. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join
[asterisk-users] ChanSpy in whisper mode - low quality audio
Hi all, I succeed in injecting audio into one channel by mean of ChanSpy, but this audio cannot be listened correctly. I am using softphones for Android and iPhone and there are so many cuts so that they cannot understand what is said in the audio file. Is this because the total RTP bandwidth is too much?. Which codec and format should I use for the files played with Playback application? Dialplan is like this: same = n,Dial(SIP/${TRUNK}/${ARG2}${NUM},60,M(inject^${CALLERNUMBER})) [macro-inject] same = s,1,Originate(Local/trunk@injectWarning,app,Playback,Message-Callee) same = n,Originate(Local/${ARG1}@injectWarning,app,Playback,Message-Caller) [injectWarning] exten = _+34[69],1,Answer() same = n, ChanSpy(SIP/${EXTEN},qw) same = n, Hangup() exten =trunk,1,Answer() same = n, ChanSpy(SIP/${TRUNK},qw) same = n, Hangup() Could anyone help? Regards, Isabel Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra pol?tica de env?o y recepci?n de correo electr?nico en el enlace situado m?s abajo. This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at. http://www.tid.es/ES/PAGINAS/disclaimer.aspx -- _ -- 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
[asterisk-users] ChanSpy() and Spygroup
I am running an Asterisk 1.4.34 installation. I am trying to separate several SIP phones into two separate spygroups. These phones are making external calls as opposed to receiving incoming calls. Is there a place to assign a phone to a Spygroup other than when the call is initiated. I am trying to avoid having to make separate external call behaviours for every single extension in the dialplan that will be monitored. Thanks, Jeremy Jeremy Hellstrom Specialist, IT/Systems I 604.664.2472 I 604.664.2400 (245) | #1550-1090 W. Georgia St. Vancouver BC V6E 3V7 I www.synovate.com http://www.synovate.com/ State-of-the-art focus group facility, now with FocusVision! For recruiting, hosting and facilitating, visit www.vancouverfocusgroups.com http://www.vancouverfocusgroups.com/ -- _ -- 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
Re: [asterisk-users] ChanSpy() and Spygroup
Just a thought - make your normal phone use context default and your others use context spyonme From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of jeremy.hellst...@synovate.com Sent: Wednesday, December 07, 2011 2:11 PM To: asterisk-users@lists.digium.com Subject: [asterisk-users] ChanSpy() and Spygroup I am running an Asterisk 1.4.34 installation. I am trying to separate several SIP phones into two separate spygroups. These phones are making external calls as opposed to receiving incoming calls. Is there a place to assign a phone to a Spygroup other than when the call is initiated. I am trying to avoid having to make separate external call behaviours for every single extension in the dialplan that will be monitored. Thanks, Jeremy Jeremy Hellstrom Specialist, IT/Systems I 604.664.2472 I 604.664.2400 (245) | #1550-1090 W. Georgia St. Vancouver BC V6E 3V7 I www.synovate.com http://www.synovate.com/ State-of-the-art focus group facility, now with FocusVision! For recruiting, hosting and facilitating, visit www.vancouverfocusgroups.com http://www.vancouverfocusgroups.com/ -- _ -- 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
[asterisk-users] Chanspy() not working with group in asterisk 1.4.42
Hi list, I have write down my code on which chanspy not working when I make a group with name of spy. Please help me where is the issue on that. a) caller will call this number to join konference and spy group exten = 4368,1,Answer() exten = 4368,n,NoOp(${CHANNEL}) exten = 4368,n,Set(GROUP(${CHANNEL})=spy) exten = 4368,n,Set(a=${GROUP_LIST(spy)}) exten = 4368,n,Set(b=${GROUP_LIST()}) exten = 4368,n,Konference(VADSTR) b) spy will dial it to spy the channels exten = 43681156,1,Answer() exten = 43681156,n,NoOp(***${SPYGROUP}) exten = 43681156,n,Set(SPYGROUP=spy) exten = 43681156,n,NoOp(***${SPYGROUP}) exten = 43681156,n,ChanSpy(DAHDI,g(spy)) exten = 43681156,n,Hangup() when I used chanspy without option then It works like Chanspy(DAHDI) Any help will be appreciated - Thanks and regards Virendra Bhati +91-9172341457 Software Engineer -- _ -- 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
Re: [asterisk-users] Chanspy() not working with group in asterisk 1.4.42
Hey, I don't think you are doing it right. The memebers/channels you need to spy should be added in SPYGROUP and not the channel which is spying. i.e your code maybe something like this. exten = 4368,1,Answer() exten = 4368,n,NoOp(${CHANNEL}) exten = 4368,n,Set(SPYGROUP=my-group) exten = 4368,n,Konference(VADSTR) exten = 43681156,1,Answer() exten = 43681156,n,NoOp(***${SPYGROUP}) exten = 43681156,n,ChanSpy(DAHDI,g(my-group)) exten = 43681156,n,Hangup() On Tue, Oct 18, 2011 at 12:30 PM, virendra bhati virbh...@gmail.com wrote: Hi list, I have write down my code on which chanspy not working when I make a group with name of spy. Please help me where is the issue on that. a) caller will call this number to join konference and spy group exten = 4368,1,Answer() exten = 4368,n,NoOp(${CHANNEL}) exten = 4368,n,Set(GROUP(${CHANNEL})=spy) exten = 4368,n,Set(a=${GROUP_LIST(spy)}) exten = 4368,n,Set(b=${GROUP_LIST()}) exten = 4368,n,Konference(VADSTR) b) spy will dial it to spy the channels exten = 43681156,1,Answer() exten = 43681156,n,NoOp(***${SPYGROUP}) exten = 43681156,n,Set(SPYGROUP=spy) exten = 43681156,n,NoOp(***${SPYGROUP}) exten = 43681156,n,ChanSpy(DAHDI,g(spy)) exten = 43681156,n,Hangup() when I used chanspy without option then It works like Chanspy(DAHDI) Any help will be appreciated - Thanks and regards Virendra Bhati +91-9172341457 Software Engineer -- _ -- 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
[asterisk-users] chanspy() with group
Hi List, I am using an application chanspy() in asterisk which Is used for spy the channels which is mention on chanspy(). It's working fine. But I want to make this spy as per my need. Like make a group of some channels then spy on these specify channels. I read that thee is an option in Chanspy() which is SPYGROUP but I don't know how to use it. Please help me so that I will used it as per my need. like if 4 caller calls into to different konference rooms like 1234 and 5678 then 2 caller join the 1234 group and and rest 2 for 5678 group and I will specify the group for spy and chanspy only used these channels not find all channels. - Thanks and regards Virendra Bhati +91-9172341457 Software Engineer -- _ -- 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
[asterisk-users] Chanspy() on group
Hi List, Is there any way by whcih I can make group of user as per my requiremt and start spy on these channels whic Chanspy ? - Thanks and regards Virendra Bhati +91-9172341457 Software Engineer -- _ -- 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
[asterisk-users] ChanSpy on 1.6.2.20
Hi, I just realized my ChanSpy did not work anymore. I had 1.6.2.18, tried going to 1.6.2.20, I only get silence. I realize this is because I can`t find the channels to listen to, but my dialplan looks fine. Relevant portions: Exten = 1,1,Set(SPYGROUP=test-1234) . Exten = 2,1,ChanSpy(all,g(test)bq) The way I understand it is that ChanSpy will spy on all channels with a SPYGROUP value beginning with test (including my test-1234 one) Am I missing something? Mike -- _ -- 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
[asterisk-users] CHANSPY
Hi, I am using Asterisk1.4, in need to configure barge of all SIP Id's. SIP Id's start from 900 to 999, configuration for barge using ChanSpy application. in extensions.conf exten = 81,1,ChanSpy(SIP) exten = 81,2,Hangup * for next barge But problem is at whenever 938 is comming at press * its going blank. every time its going blank at 938. how can I resolve please help. Best Regards, Mahesh Katta *BUZZ**WORKS* Business Services Private Limited BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri (E) Mumbai 400069 GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 Web http://www.buzzworks.com -- _ -- 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
[asterisk-users] chanspy spies on wrong channel
The argument to chanspy is a pattern and not an exact match. -- Jim Dickenson mailto:dickenson at cfmc.com CfMC http://www.cfmc.com/ On Jul 2, 2011, at 3:48 PM, steve casto wrote: asterisk 1.4.32 have zapata.conf soft link to chan_dahdi.conf to use flash operator panel 2.0 (from extensions.conf) exten= 304,1,ChanSpy(Zap/4|q) exten= 304,2,hangup There is no entry ChanSpy(Zap/41) in extensions.conf On dialing 304 and Zap/41 is in use this happens: [Jul 1 18:24:47] VERBOSE[14447] logger.c: -- Executing [304 at flash:1] ChanSpy(Zap/31-1, Zap/4|q) in new stack [Jul 1 18:24:47] VERBOSE[14447] logger.c: == Spying on channel Zap/41-1 [Jul 1 18:24:47] NOTICE[14447] app_chanspy.c: Attaching Zap/31-1 to Zap/41-1 If while spying on Zap/41 that channel is hung up: [Jul 1 19:06:48] VERBOSE[15242] logger.c: == Done Spying on channel Zap/41-1 [Jul 1 19:06:48] VERBOSE[15242] logger.c: == Spying on channel Zap/4-1 [Jul 1 19:06:48] NOTICE[15242] app_chanspy.c: Attaching Zap/31-1 to Zap/4-1 thanks list Steve Was not aware of that. Using ExtenSpy now, works fine. thanks Steve -- _ -- 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
[asterisk-users] chanspy spies on wrong channel
asterisk 1.4.32 have zapata.conf soft link to chan_dahdi.conf to use flash operator panel 2.0 (from extensions.conf) exten= 304,1,ChanSpy(Zap/4|q) exten= 304,2,hangup There is no entry ChanSpy(Zap/41) in extensions.conf On dialing 304 and Zap/41 is in use this happens: [Jul 1 18:24:47] VERBOSE[14447] logger.c: -- Executing [304@flash:1] ChanSpy(Zap/31-1, Zap/4|q) in new stack [Jul 1 18:24:47] VERBOSE[14447] logger.c: == Spying on channel Zap/41-1 [Jul 1 18:24:47] NOTICE[14447] app_chanspy.c: Attaching Zap/31-1 to Zap/41-1 If while spying on Zap/41 that channel is hung up: [Jul 1 19:06:48] VERBOSE[15242] logger.c: == Done Spying on channel Zap/41-1 [Jul 1 19:06:48] VERBOSE[15242] logger.c: == Spying on channel Zap/4-1 [Jul 1 19:06:48] NOTICE[15242] app_chanspy.c: Attaching Zap/31-1 to Zap/4-1 thanks list Steve -- _ -- 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
Re: [asterisk-users] chanspy spies on wrong channel
The argument to chanspy is a pattern and not an exact match. -- Jim Dickenson mailto:dicken...@cfmc.com CfMC http://www.cfmc.com/ On Jul 2, 2011, at 3:48 PM, steve casto wrote: asterisk 1.4.32 have zapata.conf soft link to chan_dahdi.conf to use flash operator panel 2.0 (from extensions.conf) exten= 304,1,ChanSpy(Zap/4|q) exten= 304,2,hangup There is no entry ChanSpy(Zap/41) in extensions.conf On dialing 304 and Zap/41 is in use this happens: [Jul 1 18:24:47] VERBOSE[14447] logger.c: -- Executing [304@flash:1] ChanSpy(Zap/31-1, Zap/4|q) in new stack [Jul 1 18:24:47] VERBOSE[14447] logger.c: == Spying on channel Zap/41-1 [Jul 1 18:24:47] NOTICE[14447] app_chanspy.c: Attaching Zap/31-1 to Zap/41-1 If while spying on Zap/41 that channel is hung up: [Jul 1 19:06:48] VERBOSE[15242] logger.c: == Done Spying on channel Zap/41-1 [Jul 1 19:06:48] VERBOSE[15242] logger.c: == Spying on channel Zap/4-1 [Jul 1 19:06:48] NOTICE[15242] app_chanspy.c: Attaching Zap/31-1 to Zap/4-1 thanks list Steve -- _ -- 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 -- _ -- 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
[asterisk-users] ChanSpy with alphanumeric SIP channels [1.6.2]
Hi, I'm using SIP users of the form 'ab_12345' (two letters, underscore, 5 digits). ChanSpy is working fine for listening in to conversations initiated by these channels, and I can use '*' to randomly switch channels. However, is there any way in this scenario to be able to switch ChanSpy to a specific channel by typing in a ...# key sequence during a spy session? Regards, -- Raj -- Raj Mathurr...@kandalaya.org http://kandalaya.org/ GPG: 78D4 FC67 367F 40E2 0DD5 0FEF C968 D0EF CC68 D17F PsyTrance Chill: http://schizoid.in/ || It is the mind that moves -- _ -- 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
Re: [asterisk-users] ChanSpy with alphanumeric SIP channels [1.6.2]
I think in the chanspy application you can give it a template to prepend to what is entered. If you do chanspy(ab_) you might be able to enter the remaining digits. Short of that you can set up a loop that reads the digits, calls chanspy(ab_${digits}), if the version you are using has my S option then * will exit the chanspy app and you can loop back to the top. -- Jim Dickenson mailto:dicken...@cfmc.com CfMC http://www.cfmc.com/ On Mar 9, 2011, at 6:28 PM, Raj Mathur (राज माथुर) wrote: Hi, I'm using SIP users of the form 'ab_12345' (two letters, underscore, 5 digits). ChanSpy is working fine for listening in to conversations initiated by these channels, and I can use '*' to randomly switch channels. However, is there any way in this scenario to be able to switch ChanSpy to a specific channel by typing in a ...# key sequence during a spy session? Regards, -- Raj -- Raj Mathurr...@kandalaya.org http://kandalaya.org/ GPG: 78D4 FC67 367F 40E2 0DD5 0FEF C968 D0EF CC68 D17F PsyTrance Chill: http://schizoid.in/ || It is the mind that moves -- _ -- 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 -- _ -- 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
[asterisk-users] ChanSpy getting piled up
Hi list, Im using asterisk 1.6.0.10 and have following dialplan for doing chanspy [app-chanspy] include = app-chanspy-custom exten = 555,1,Read(SPYNUM,extension) exten = 555,2,ChanSpy(SIP/${SPYNUM},q) exten = 555,n,Hangup but if the channel is hang up or even destroyed the chanspy is not getting killed. asteriskcore show channels verbose . . . SIP/1009-b6c5b398from-internal555 2 Up ChanSpy SIP/1002,q1009 554:53:1 (None) SIP/1009-b5004908from-internal555 2 Up ChanSpy SIP/1002,q1009 -571:-19 (None) SIP/1009-b50a4e30from-internal555 2 Up ChanSpy SIP/1002,q1009 -571:-9: (None) SIP/1009-b50702a8from-internal555 2 Up ChanSpy SIP/1002,q1009 -571:-5: (None) SIP/1009-09bafcd0from-internal555 2 Up ChanSpy SIP/1002,q1009 -570:-57 (None) . . . Is there a way to cleanup this ? Regards Rushikesh -- _ -- 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
Re: [asterisk-users] ChanSpy getting piled up
chanspy as best I can tell from the code will not lock on a single device and when that device goes away exit. What is passed to chanspy is a template for a channel name. I submitted a patch to add option s so that chanspy would stop when the one channel I wanted to watch went away or I used * to stop. https://issues.asterisk.org/view.php?id=14594 -- Jim Dickenson mailto:dicken...@cfmc.com CfMC http://www.cfmc.com/ On Sep 1, 2010, at 6:24 AM, Rushikesh wrote: Hi list, Im using asterisk 1.6.0.10 and have following dialplan for doing chanspy [app-chanspy] include = app-chanspy-custom exten = 555,1,Read(SPYNUM,extension) exten = 555,2,ChanSpy(SIP/${SPYNUM},q) exten = 555,n,Hangup but if the channel is hang up or even destroyed the chanspy is not getting killed. asteriskcore show channels verbose . . . SIP/1009-b6c5b398from-internal555 2 Up ChanSpy SIP/1002,q1009 554:53:1 (None) SIP/1009-b5004908from-internal555 2 Up ChanSpy SIP/1002,q1009 -571:-19 (None) SIP/1009-b50a4e30from-internal555 2 Up ChanSpy SIP/1002,q1009 -571:-9: (None) SIP/1009-b50702a8from-internal555 2 Up ChanSpy SIP/1002,q1009 -571:-5: (None) SIP/1009-09bafcd0from-internal555 2 Up ChanSpy SIP/1002,q1009 -570:-57 (None) . . . Is there a way to cleanup this ? Regards Rushikesh -- _ -- 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 -- _ -- 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
Re: [asterisk-users] ChanSpy getting piled up
On Wednesday 01 September 2010 09:01 PM, Jim Dickenson wrote: chanspy as best I can tell from the code will not lock on a single device and when that device goes away exit. What is passed to chanspy is a template for a channel name. I submitted a patch to add option s so that chanspy would stop when the one channel I wanted to watch went away or I used * to stop. https://issues.asterisk.org/view.php?id=14594 Hi Jim, Thanks for your reply, Im a new user to asterisk and have very basic knowledge of it. by looking at patch I think you are suggesting me to apply the patch to asterisk source code and recompile my asterisk. Actually this is a production system so I'm not sure whether my Boss will allow me to do it ;) . Do you know any other work around for this ? As you said I need to stop chanspy once the channel wen away. Regards, Rushikesh -- _ -- 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
Re: [asterisk-users] ChanSpy getting piled up
I had the same need which is why I submitted the patch. I think the feature might finally be added to 1.8, it I remember correctly. I am not aware of any other way around this. -- Jim Dickenson mailto:dicken...@cfmc.com CfMC http://www.cfmc.com/ On Sep 1, 2010, at 9:12 AM, Rushikesh wrote: On Wednesday 01 September 2010 09:01 PM, Jim Dickenson wrote: chanspy as best I can tell from the code will not lock on a single device and when that device goes away exit. What is passed to chanspy is a template for a channel name. I submitted a patch to add option s so that chanspy would stop when the one channel I wanted to watch went away or I used * to stop. https://issues.asterisk.org/view.php?id=14594 Hi Jim, Thanks for your reply, Im a new user to asterisk and have very basic knowledge of it. by looking at patch I think you are suggesting me to apply the patch to asterisk source code and recompile my asterisk. Actually this is a production system so I'm not sure whether my Boss will allow me to do it ;) . Do you know any other work around for this ? As you said I need to stop chanspy once the channel wen away. Regards, Rushikesh -- _ -- 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 -- _ -- 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
Re: [asterisk-users] Chanspy - Meetme
No one have, at least, an idea ? On 07/12/2010 05:36 PM, Xavier wrote: Hi guys, I've got a question about chanspy and meetme. I'd like to transfer all the persons involved in a chanspy (the guy spying, the guy that is spied and the guy that is speaking to the spied one - total: 3) in a conference room. Is there a way to do it quickly without especially knowing each channels ? It's a bit tricky to know and remember each channels, no ? Thanks in advance -- _ -- 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
Re: [asterisk-users] Chanspy - Meetme
I found this requirement very interesting because it is challenging, needs some serious thinking on how to do it, but it is certainly possible. My idea would be to record the sip channels which are involved in the spying process and use a dynamic feature, pressing which would generate a conference and redirect all of them to this conference room. The hardesst part here is to figure out the sip channels. All this is not simple to do, and one needs to be a dialplan expert to do it. Zeeshan A Zakaria -- www.ilovetovoip.com www.trashinternetexplorer.com On 2010-07-14 6:11 AM, Xavier magicrhe...@ouranos.be wrote: No one have, at least, an idea ? On 07/12/2010 05:36 PM, Xavier wrote: Hi guys, I've got a question about chanspy and meetm... -- _ -- 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 -- _ -- 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
Re: [asterisk-users] Chanspy - Meetme
- Original Message - On 07/12/2010 05:36 PM, Xavier wrote: I've got a question about chanspy and meetme. I'd like to transfer all the persons involved in a chanspy (the guy spying, the guy that is spied and the guy that is speaking to the spied one - total: 3) in a conference room. Is there a way to do it quickly without especially knowing each channels ? It's a bit tricky to know and remember each channels, no ? You may not need to do this at all. ChanSpy (in Asterisk 1.6.2, at least) has a barge mode that allows the spying channel to speak to both parties. There is also the ability to enable DTMF key presses to swap between spy, whisper, and barge modes. -- Russell Bryant Digium, Inc. | Engineering Manager, Open Source Software 445 Jan Davis Drive NW -Huntsville, AL 35806 - USA jabber: rbry...@digium.com-=-skype: russell-bryant www.digium.com -=- www.asterisk.org -=- blogs.asterisk.org -- _ -- 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
Re: [asterisk-users] Chanspy - Meetme
I totally agree with the barge mode but for future evolution, what about if there is more than 3 people ? On 07/14/2010 04:36 PM, Russell Bryant wrote: - Original Message - On 07/12/2010 05:36 PM, Xavier wrote: I've got a question about chanspy and meetme. I'd like to transfer all the persons involved in a chanspy (the guy spying, the guy that is spied and the guy that is speaking to the spied one - total: 3) in a conference room. Is there a way to do it quickly without especially knowing each channels ? It's a bit tricky to know and remember each channels, no ? You may not need to do this at all. ChanSpy (in Asterisk 1.6.2, at least) has a barge mode that allows the spying channel to speak to both parties. There is also the ability to enable DTMF key presses to swap between spy, whisper, and barge modes. -- Russell Bryant Digium, Inc. | Engineering Manager, Open Source Software 445 Jan Davis Drive NW -Huntsville, AL 35806 - USA jabber: rbry...@digium.com-=-skype: russell-bryant www.digium.com -=- www.asterisk.org -=- blogs.asterisk.org -- _ -- 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
Re: [asterisk-users] Chanspy - Meetme
On 07/12/2010 05:36 PM, Xavier wrote: I've got a question about chanspy and meetme. I'd like to transfer all the persons involved in a chanspy (the guy spying, the guy that is spied and the guy that is speaking to the spied one - total: 3) in a conference room. Is there a way to do it quickly without especially knowing each channels ? It's a bit tricky to know and remember each channels, no ? On 07/14/2010 04:36 PM, Russell Bryant wrote: You may not need to do this at all. ChanSpy (in Asterisk 1.6.2, at least) has a barge mode that allows the spying channe l to speak to both parties. There is also the ability to enable DTMF key presses to swap between spy, whisper, and barge modes. On Wed, 14 Jul 2010, Xavier wrote: I totally agree with the barge mode but for future evolution, what about if there is more than 3 people ? I wonder if you would have more success starting with meetme. I did this for an adult chat application many years ago. Each agent sat in a meetme waiting for a caller to join them. Before the caller was active, a whisper was played only to the agent so they knew the theme of the call. A supervisor could join the meetme without notifying the agent or the caller and could join in, kick the caller or kick the agent and take control of the call. -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 -- _ -- 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
[asterisk-users] Chanspy - Meetme
Hi guys, I've got a question about chanspy and meetme. I'd like to transfer all the persons involved in a chanspy (the guy spying, the guy that is spied and the guy that is speaking to the spied one - total: 3) in a conference room. Is there a way to do it quickly without especially knowing each channels ? It's a bit tricky to know and remember each channels, no ? Thanks in advance -- _ -- 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
[asterisk-users] ChanSpy doesn't hangs up
Hello I have a simple configuration to allow the admins to listen the agents calls: exten = _654,1,ChanSpy(Agent) exten = _654,2,Hangup() The problem is... even when the agents hung up... it seems the channels remain active: asterisk*CLI show channels SIP/211-b3042018 6...@default:1Up ChanSpy(Agent) SIP/211-b3fbf768 6...@default:1Up ChanSpy(Agent) SIP/211-b4d88940 6...@default:1Up ChanSpy(Agent) SIP/211-b52e6498 6...@default:1Up ChanSpy(Agent) SIP/211-b4bbfcc0 6...@default:1Up ChanSpy(Agent) SIP/211-b4ba9f88 6...@default:1Up ChanSpy(Agent) (the agent is using extension 211) I have more then 10 lines like these. Why do the ChanSpy calls dont hang up? Thanks Regards Joao Pereira -- StarTel - A Rede Livre Joao Gomes Pereira www.startel.pt +351 304500650 sip: gomespere...@startel.pt -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] ChanSpy gets stuck
Hello I have a simple configuration to allow the admins listen to agent calls: exten = _654,1,ChanSpy(Agent) exten = _654,2,Hangup() The problem is... even when the agents hung up... it seems the channels remain active: okavango*CLI show channels SIP/211-b3042018 6...@default:1Up ChanSpy(Agent) SIP/211-b3fbf768 6...@default:1Up ChanSpy(Agent) SIP/211-b4d88940 6...@default:1Up ChanSpy(Agent) SIP/211-b52e6498 6...@default:1Up ChanSpy(Agent) SIP/211-b4bbfcc0 6...@default:1Up ChanSpy(Agent) SIP/211-b4ba9f88 6...@default:1Up ChanSpy(Agent) (the agent is using extension 211) I have more then 10 lines like these. Why do the ChanSpy calls dont hang up? Thanks Regards Joao Pereira -- StarTel - A Rede Livre Joao Gomes Pereira www.startel.pt +351 304500650 sip: gomespere...@startel.pt ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] ChanSpy in Asterisk 1.2.24
Hello I have an old Asterisk where I need to listen to Agent calls. So I created this code: exten = _555,1,ChanSpy(Agent) exten = _555,n,Hangup() But I always get: 2009-10-22 16:00:38 WARNING[5695]: pbx.c:1720 pbx_extension_helper: No application 'ChanSpy' for extension (default, 555, 1) It seems that Asterisk doesn't have ChanSpy enabled... is this possible? Which Asterisk module do I have to enable? Thanks Regards Joao Pereira -- StarTel - A Rede Livre Joao Gomes Pereira www.startel.pt +351 304500650 sip: gomespere...@startel.pt ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ChanSpy in Asterisk 1.2.24
App_chanspy -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Joao Gomes Pereira Sent: Thursday, October 22, 2009 10:08 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] ChanSpy in Asterisk 1.2.24 Hello I have an old Asterisk where I need to listen to Agent calls. So I created this code: exten = _555,1,ChanSpy(Agent) exten = _555,n,Hangup() But I always get: 2009-10-22 16:00:38 WARNING[5695]: pbx.c:1720 pbx_extension_helper: No application 'ChanSpy' for extension (default, 555, 1) It seems that Asterisk doesn't have ChanSpy enabled... is this possible? Which Asterisk module do I have to enable? Thanks Regards Joao Pereira -- StarTel - A Rede Livre Joao Gomes Pereira www.startel.pt +351 304500650 sip: gomespere...@startel.pt ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ChanSpy in Asterisk 1.2.24
Thanks a lot The file App_chanspy was already in /usr/lib/asterisk/modules But I had in my modules.conf: noload = app_chanspy.conf Now I erased this line... but Asterisk still doesn't load this app_chanspy... Do I need to stop/start Asterisk? Or the reload is enough? Thanks Regards Joao Pereira Danny Nicholas wrote: App_chanspy -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Joao Gomes Pereira Sent: Thursday, October 22, 2009 10:08 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] ChanSpy in Asterisk 1.2.24 Hello I have an old Asterisk where I need to listen to Agent calls. So I created this code: exten = _555,1,ChanSpy(Agent) exten = _555,n,Hangup() But I always get: 2009-10-22 16:00:38 WARNING[5695]: pbx.c:1720 pbx_extension_helper: No application 'ChanSpy' for extension (default, 555, 1) It seems that Asterisk doesn't have ChanSpy enabled... is this possible? Which Asterisk module do I have to enable? Thanks Regards Joao Pereira -- StarTel - A Rede Livre Joao Gomes Pereira www.startel.pt +351 304500650 sip: gomespere...@startel.pt ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ChanSpy in Asterisk 1.2.24
I had to restart Asterisk, and now the module is loaded. Thanks a lot for the help Joao Pereira -- StarTel - A Rede Livre Joao Gomes Pereira www.startel.pt +351 304500650 sip: gomespere...@startel.pt Danny Nicholas wrote: Try module load app_chanspy.so from CLI. If that doesn't work, restart asterisk. -Original Message- From: Joao Gomes Pereira [mailto:gomespere...@startel.pt] Sent: Thursday, October 22, 2009 10:57 AM To: Danny Nicholas Cc: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] ChanSpy in Asterisk 1.2.24 Thanks a lot The file App_chanspy was already in /usr/lib/asterisk/modules But I had in my modules.conf: noload = app_chanspy.conf Now I erased this line... but Asterisk still doesn't load this app_chanspy... Do I need to stop/start Asterisk? Or the reload is enough? Thanks Regards Joao Pereira Danny Nicholas wrote: App_chanspy -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Joao Gomes Pereira Sent: Thursday, October 22, 2009 10:08 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] ChanSpy in Asterisk 1.2.24 Hello I have an old Asterisk where I need to listen to Agent calls. So I created this code: exten = _555,1,ChanSpy(Agent) exten = _555,n,Hangup() But I always get: 2009-10-22 16:00:38 WARNING[5695]: pbx.c:1720 pbx_extension_helper: No application 'ChanSpy' for extension (default, 555, 1) It seems that Asterisk doesn't have ChanSpy enabled... is this possible? Which Asterisk module do I have to enable? Thanks Regards Joao Pereira ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ChanSpy on asterisk 1.6
Thanks very much, it worked as I needed :) On Wed, 14 Oct 2009 17:14:53 +0530, DHAVAL INDRODIYA dhaval.it01...@gmail.com wrote: hey In 1.6 version actually not wrote any code for option 'o' you need to add following line into file Index: apps/app_chanspy.c === --- apps/app_chanspy.c(revision 215998) +++ apps/app_chanspy.c(working copy) @@ -427,7 +427,12 @@ return -1; } - f = ast_audiohook_read_frame(csth-spy_audiohook, samples, AST_AUDIOHOOK_DIRECTION_BOTH, AST_FORMAT_SLINEAR); + if (ast_test_flag(chan, OPTION_READONLY)) { + /* Option 'o' was set, so don't mix channel audio */ + f = ast_audiohook_read_frame(csth-spy_audiohook, samples, AST_AUDIOHOOK_DIRECTION_READ, AST_FORMAT_SLINEAR); + } else { + f = ast_audiohook_read_frame(csth-spy_audiohook, samples, AST_AUDIOHOOK_DIRECTION_BOTH, AST_FORMAT_SLINEAR); + } ast_audiohook_unlock(csth-spy_audiohook); regards Dhaval 2009/10/14 Jorge Gutiérrez jgutier...@palosanto.com I have read about that on asterisk 1.6, there will be a parameter o (Only listen to audio coming from this channel), I have tried, but I still get inbound and outbound audio from the spied channel. Has anyone used this feature? Is it working? Is there any work-around? I will like to only spy the outbound audio from a channel, I dont want to hear the incomming audio of that channel. I have used the following context: [Conf] exten = s,1,Answer exten = s,2,Background(custom/menu_test) exten = s,3,ChanSpy(,qoX) exten = 1,1,Goto(Conf,s,2) exten = 2,1,AGI(conf.php,${CALLERID(num)},${SPY_CHANNEL}) exten = 2,n,Goto(s,3) exten = s,n,Goto(test2,s,1) ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Atentamente, Jorge Gutiérrez ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ChanSpy
No, Extenspy was introduced in 1.4 as far as I know. Chanspy is simple :) Helpful as I am, I'm gonna paste here the output of show application chanspy callcenter*CLI show application ChanSpy callcenter*CLI -= Info about application 'ChanSpy' =- [Synopsis] Listen to a channel, and optionally whisper into it [Description] ChanSpy([chanprefix][|options]): This application is used to listen to the audio from an Asterisk channel. This includes the audio coming in and out of the channel being spied on. If the 'chanprefix' parameter is specified, only channels beginning with this string will be spied upon. While spying, the following actions may be performed: - Dialing # cycles the volume level. - Dialing * will stop spying and look for another channel to spy on. - Dialing a series of digits followed by # builds a channel name to append to 'chanprefix'. For example, executing ChanSpy(Agent) and then dialing the digits '1234#' while spying will begin spying on the channel 'Agent/1234'. Options: b - Only spy on channels involved in a bridged call. g(grp)- Match only channels where their ${SPYGROUP} variable is set to contain 'grp' in an optional : delimited list. q - Don't play a beep when beginning to spy on a channel, or speak the selected channel name. r[(basename)] - Record the session to the monitor spool directory. An optional base for the filename may be specified. The default is 'chanspy'. v([value])- Adjust the initial volume in the range from -4 to 4. A negative value refers to a quieter setting. w - Enable 'whisper' mode, so the spying channel can talk to the spied-on channel. W - Enable 'private whisper' mode, so the spying channel can talk to the spied-on channel but cannot listen to that channel. Hope you get it to work. Also http://voip-info.org is a great source of information about asterisk. Good luck Regards Rennes Neps -Original Message- From: asterisk-users-boun...@lists.digium.com on behalf of Torintino T Sent: Wed 10/14/2009 22:48 To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] ChanSpy Thanks for your reply. Is ExtenSpy available in Asterisk 1.2? If yes, please how can i use it? and how can i cycle through the available channels by ChanSpy? Thanks. Torintino Date: Wed, 14 Oct 2009 18:15:29 +0300 From: rennes.n...@norby.ee To: asterisk-users@lists.digium.com Subject: RE: [asterisk-users] ChanSpy You must use extenspy if you want to spy on specific extension. Otherwise you can only cycle through available channels. Regards Rennes -Original Message- From: asterisk-users-boun...@lists.digium.com on behalf of Torintino T Sent: Wed 10/14/2009 17:46 To: asterisk-users@lists.digium.com Subject: [asterisk-users] ChanSpy I am unsing Asterisk 1.2.28 I want please to use ChanSpy urgently my /etc/asterisk/extensions_additional.conf is as follow: [chanspy] include = chanspy-custom exten = 102**,1,Chanspy(102) exten = 102**,n,Hangup exten = 103**,1,Chanspy(103) exten = 103**,n,Hangup exten = 400**,1,Chanspy(400) exten = 400**,n,Hangup exten = 501**,1,Chanspy(501) exten = 501**,n,Hangup exten = 601**,1,Chanspy(601) exten = 601**,n,Hangup exten = 606**,1,Chanspy(606) exten = 606**,n,Hangup ; end of [chanspy] I created a Context to put my extension into it to be able to use ChanSpy. While there is a call with an extension 102 and my extension is 606 i call 102** to spy but i couldn't hear anything, all i hear is beep -- Executing ChanSpy(SIP/606-09430fd0, 102) in new stack -- Playing 'beep' (language 'en') -- Playing 'beep' (language 'en') Thanks Torintino _ Windows Live: Make it easier for your friends to see what you're up to on Facebook. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.421 / Virus Database: 270.13.112/2391 - Release Date: 10/13/09 19:11:00 _ Keep your friends updated- even when you're not signed in. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.421 / Virus Database: 270.13.112/2391 - Release Date: 10/13/09 19:11:00 winmail.dat___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list
Re: [asterisk-users] ChanSpy on asterisk 1.6
hey In 1.6 version actually not wrote any code for option 'o' you need to add following line into file Index: apps/app_chanspy.c === --- apps/app_chanspy.c (revision 215998) +++ apps/app_chanspy.c (working copy) @@ -427,7 +427,12 @@ return -1; } - f = ast_audiohook_read_frame(csth-spy_audiohook, samples, AST_AUDIOHOOK_DIRECTION_BOTH, AST_FORMAT_SLINEAR); + if (ast_test_flag(chan, OPTION_READONLY)) { + /* Option 'o' was set, so don't mix channel audio */ + f = ast_audiohook_read_frame(csth-spy_audiohook, samples, AST_AUDIOHOOK_DIRECTION_READ, AST_FORMAT_SLINEAR); + } else { + f = ast_audiohook_read_frame(csth-spy_audiohook, samples, AST_AUDIOHOOK_DIRECTION_BOTH, AST_FORMAT_SLINEAR); + } ast_audiohook_unlock(csth-spy_audiohook); regards Dhaval 2009/10/14 Jorge Gutiérrez jgutier...@palosanto.com I have read about that on asterisk 1.6, there will be a parameter o (Only listen to audio coming from this channel), I have tried, but I still get inbound and outbound audio from the spied channel. Has anyone used this feature? Is it working? Is there any work-around? I will like to only spy the outbound audio from a channel, I dont want to hear the incomming audio of that channel. I have used the following context: [Conf] exten = s,1,Answer exten = s,2,Background(custom/menu_test) exten = s,3,ChanSpy(,qoX) exten = 1,1,Goto(Conf,s,2) exten = 2,1,AGI(conf.php,${CALLERID(num)},${SPY_CHANNEL}) exten = 2,n,Goto(s,3) exten = s,n,Goto(test2,s,1) ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] ChanSpy
I am unsing Asterisk 1.2.28 I want please to use ChanSpy urgently my /etc/asterisk/extensions_additional.conf is as follow: [chanspy] include = chanspy-custom exten = 102**,1,Chanspy(102) exten = 102**,n,Hangup exten = 103**,1,Chanspy(103) exten = 103**,n,Hangup exten = 400**,1,Chanspy(400) exten = 400**,n,Hangup exten = 501**,1,Chanspy(501) exten = 501**,n,Hangup exten = 601**,1,Chanspy(601) exten = 601**,n,Hangup exten = 606**,1,Chanspy(606) exten = 606**,n,Hangup ; end of [chanspy] I created a Context to put my extension into it to be able to use ChanSpy. While there is a call with an extension 102 and my extension is 606 i call 102** to spy but i couldn't hear anything, all i hear is beep -- Executing ChanSpy(SIP/606-09430fd0, 102) in new stack -- Playing 'beep' (language 'en') -- Playing 'beep' (language 'en') Thanks Torintino _ Windows Live: Make it easier for your friends to see what you’re up to on Facebook. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ChanSpy
You must use extenspy if you want to spy on specific extension. Otherwise you can only cycle through available channels. Regards Rennes -Original Message- From: asterisk-users-boun...@lists.digium.com on behalf of Torintino T Sent: Wed 10/14/2009 17:46 To: asterisk-users@lists.digium.com Subject: [asterisk-users] ChanSpy I am unsing Asterisk 1.2.28 I want please to use ChanSpy urgently my /etc/asterisk/extensions_additional.conf is as follow: [chanspy] include = chanspy-custom exten = 102**,1,Chanspy(102) exten = 102**,n,Hangup exten = 103**,1,Chanspy(103) exten = 103**,n,Hangup exten = 400**,1,Chanspy(400) exten = 400**,n,Hangup exten = 501**,1,Chanspy(501) exten = 501**,n,Hangup exten = 601**,1,Chanspy(601) exten = 601**,n,Hangup exten = 606**,1,Chanspy(606) exten = 606**,n,Hangup ; end of [chanspy] I created a Context to put my extension into it to be able to use ChanSpy. While there is a call with an extension 102 and my extension is 606 i call 102** to spy but i couldn't hear anything, all i hear is beep -- Executing ChanSpy(SIP/606-09430fd0, 102) in new stack -- Playing 'beep' (language 'en') -- Playing 'beep' (language 'en') Thanks Torintino _ Windows Live: Make it easier for your friends to see what you're up to on Facebook. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.421 / Virus Database: 270.13.112/2391 - Release Date: 10/13/09 19:11:00 winmail.dat___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ChanSpy
Thanks for your reply. Is ExtenSpy available in Asterisk 1.2? If yes, please how can i use it? and how can i cycle through the available channels by ChanSpy? Thanks. Torintino Date: Wed, 14 Oct 2009 18:15:29 +0300 From: rennes.n...@norby.ee To: asterisk-users@lists.digium.com Subject: RE: [asterisk-users] ChanSpy You must use extenspy if you want to spy on specific extension. Otherwise you can only cycle through available channels. Regards Rennes -Original Message- From: asterisk-users-boun...@lists.digium.com on behalf of Torintino T Sent: Wed 10/14/2009 17:46 To: asterisk-users@lists.digium.com Subject: [asterisk-users] ChanSpy I am unsing Asterisk 1.2.28 I want please to use ChanSpy urgently my /etc/asterisk/extensions_additional.conf is as follow: [chanspy] include = chanspy-custom exten = 102**,1,Chanspy(102) exten = 102**,n,Hangup exten = 103**,1,Chanspy(103) exten = 103**,n,Hangup exten = 400**,1,Chanspy(400) exten = 400**,n,Hangup exten = 501**,1,Chanspy(501) exten = 501**,n,Hangup exten = 601**,1,Chanspy(601) exten = 601**,n,Hangup exten = 606**,1,Chanspy(606) exten = 606**,n,Hangup ; end of [chanspy] I created a Context to put my extension into it to be able to use ChanSpy. While there is a call with an extension 102 and my extension is 606 i call 102** to spy but i couldn't hear anything, all i hear is beep -- Executing ChanSpy(SIP/606-09430fd0, 102) in new stack -- Playing 'beep' (language 'en') -- Playing 'beep' (language 'en') Thanks Torintino _ Windows Live: Make it easier for your friends to see what you're up to on Facebook. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.421 / Virus Database: 270.13.112/2391 - Release Date: 10/13/09 19:11:00 _ Keep your friends updated—even when you’re not signed in. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] ChanSpy on asterisk 1.6
I have read about that on asterisk 1.6, there will be a parameter o (Only listen to audio coming from this channel), I have tried, but I still get inbound and outbound audio from the spied channel. Has anyone used this feature? Is it working? Is there any work-around? I will like to only spy the outbound audio from a channel, I dont want to hear the incomming audio of that channel. I have used the following context: [Conf] exten = s,1,Answer exten = s,2,Background(custom/menu_test) exten = s,3,ChanSpy(,qoX) exten = 1,1,Goto(Conf,s,2) exten = 2,1,AGI(conf.php,${CALLERID(num)},${SPY_CHANNEL}) exten = 2,n,Goto(s,3) exten = s,n,Goto(test2,s,1) ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Chanspy
How can i activate ChanSpy to spy on a dedicated extension? I see the following in /etc/asterisk/extensions_additional.conf [chanspy] include = chanspy-custom exten = 501**,1,Chanspy(801) exten = 501**,n,Hangup exten = 502**,1,Chanspy(802) exten = 502**,n,Hangup But when i try to call 501**, it doesn't give any response. Thanks. Torintino _ Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmail®. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Chanspy
Use ExtenSpy for spying on a specific extension. http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+ExtenSpy On 9 Oct, 2009, at 10:44 AM, Torintino T wrote: How can i activate ChanSpy to spy on a dedicated extension? I see the following in /etc/asterisk/extensions_additional.conf [chanspy] include = chanspy-custom exten = 501**,1,Chanspy(801) exten = 501**,n,Hangup exten = 502**,1,Chanspy(802) exten = 502**,n,Hangup But when i try to call 501**, it doesn't give any response. Thanks. Torintino Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmail®. ATT1.c ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Chanspy
Edited the post How can i activate ChanSpy to spy on a dedicated extension? I see the following in /etc/asterisk/extensions_additional.conf [chanspy] include = chanspy-custom exten = 501**,1,Chanspy(501) exten = 501**,n,Hangup exten = 502**,1,Chanspy(502) exten = 502**,n,Hangup But when i try to call 501**, it doesn't give any response. and is there any option for spying on a dedicated queue? Thanks. Torintino Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmail®. _ Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Chanspy
I think this is a dialplan problem. I would code it this way: [chanspy] include = chanspy-custom exten = 5010,1,Chanspy(501) exten = 5010,n,Hangup exten = 5020,1,Chanspy(502) Exten = 5020,n,Hangup That way 5010 would spy on 501 and 5020 would spy on 502. _ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Torintino T Sent: Friday, October 09, 2009 1:00 PM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Chanspy Edited the post How can i activate ChanSpy to spy on a dedicated extension? I see the following in /etc/asterisk/extensions_additional.conf [chanspy] include = chanspy-custom exten = 501**,1,Chanspy(501) exten = 501**,n,Hangup exten = 502**,1,Chanspy(502) exten = 502**,n,Hangup But when i try to call 501**, it doesn't give any response. and is there any option for spying on a dedicated queue? Thanks. Torintino _ Windows Live Hotmail: Your http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/so cial-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009 friends can get your Facebook updates, right from HotmailR. _ Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/so cial-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010 you. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] chanspy and DISA
Steve Edwards wrote: Steve Edwards wrote: Is the manager or are the agents using disa()? How about: exten = *,n,set(SPYGROUP=ALLOW-SPYING) for the agents and: exten = *,n,chanspy(,g(ALLOW-SPYING)) the manager? On Tue, 29 Sep 2009, John Millican wrote: The manager wants to be able to spy on agents who dial through the PBX from their homes. Currently the agents dial the main number, use the secret code to get to authenticate and DISA, and then dial back out for their sales calls. I have chanspy working great on all internal phones/extensions use group to limit who can spy and who can not. It not so much to allow spying it is finding the correct channel to spy on for the remote users. How about something like these snippets: [i](!) exten = i,1,goto(${CONTEXT},s,1) [s](!) exten = s,1,verbose(1,[${CONTEXT}:${EXTEN}]) [home-agent-login](i,s) exten = s,n,read(AGENT-ID,enter-agent-number) exten = s,n,set(SPYGROUP=${AGENT-ID}) . . . [supervisor-login](i,s) exten = s,n,read(AGENT-ID,enter-agent-number) exten = s,n,chanspy(,g(${AGENT-ID})) exten = s,n,goto(s,1) . . . Thank you very much for this. With a little tweaking it worked great, since each remote workers callerid is matched before going to authenticate I just set the spy group so the remote guys don't have a choice and now the manager has a known group of one for each remote worker. Thanks again for the help JohnM ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] chanspy and DISA
Hello all, OS OpenSuSE 10.3 * ver 1.4.26.2 zaptel ver. 1.12 Digium TE122 I have a request for remote users to be able to dial through the system so that the sales managers can barge/chanspy on the sales force. I have the DISA part working with authentication(rather straight forward) but what I can not figure out is how to enable the supervisors to be able to barge on these calls. Is there a way to find the channel to barge on that would be usable by NON tech people? Any thoughts? TIA, JohnM ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] chanspy and DISA
What you could use would be an AMI interface that does a core show channels verbose to get the active call information, then display that as an HTML table. When the supervisor clicks on the call he/she wants, the AMI originates a chanspy/barge command as appropriate. 75% of the responders on this can write one of these on their coffee break. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of John Millican Sent: Tuesday, September 29, 2009 10:05 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: [asterisk-users] chanspy and DISA Hello all, OS OpenSuSE 10.3 * ver 1.4.26.2 zaptel ver. 1.12 Digium TE122 I have a request for remote users to be able to dial through the system so that the sales managers can barge/chanspy on the sales force. I have the DISA part working with authentication(rather straight forward) but what I can not figure out is how to enable the supervisors to be able to barge on these calls. Is there a way to find the channel to barge on that would be usable by NON tech people? Any thoughts? TIA, JohnM ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] chanspy and DISA
On Tue, 29 Sep 2009, John Millican wrote: I have a request for remote users to be able to dial through the system so that the sales managers can barge/chanspy on the sales force. I have the DISA part working with authentication(rather straight forward) but what I can not figure out is how to enable the supervisors to be able to barge on these calls. Is there a way to find the channel to barge on that would be usable by NON tech people? How do you see this working? I'm guessing the manager would like to either key in an agent ID number or be able to step through agents? The chanspy() g option may be part of your solution. g(grp) - Match only channels where their ${SPYGROUP} variable is set to 'grp'. -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] chanspy and DISA
Steve Edwards wrote: On Tue, 29 Sep 2009, John Millican wrote: I have a request for remote users to be able to dial through the system so that the sales managers can barge/chanspy on the sales force. I have the DISA part working with authentication(rather straight forward) but what I can not figure out is how to enable the supervisors to be able to barge on these calls. Is there a way to find the channel to barge on that would be usable by NON tech people? How do you see this working? I'm guessing the manager would like to either key in an agent ID number or be able to step through agents? The chanspy() g option may be part of your solution. g(grp) - Match only channels where their ${SPYGROUP} variable is set to 'grp'. Exactly, the problem is I can not determine the channel that DISA receives or places the call on. Is there a way to set this in the dial plan? Or am I just missing something simple? It was suggested to use the AMI and present the info as a web page but this will require retraining the manager, as we all know this is a notoriously difficult process. JohnM ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] chanspy and DISA
On Tue, 29 Sep 2009, John Millican wrote: I have a request for remote users to be able to dial through the system so that the sales managers can barge/chanspy on the sales force. I have the DISA part working with authentication(rather straight forward) but what I can not figure out is how to enable the supervisors to be able to barge on these calls. Is there a way to find the channel to barge on that would be usable by NON tech people? Steve Edwards wrote: How do you see this working? I'm guessing the manager would like to either key in an agent ID number or be able to step through agents? The chanspy() g option may be part of your solution. g(grp) - Match only channels where their ${SPYGROUP} variable is set to 'grp'. On Tue, 29 Sep 2009, John Millican wrote: Exactly, the problem is I can not determine the channel that DISA receives or places the call on. Is there a way to set this in the dial plan? Or am I just missing something simple? It was suggested to use the AMI and present the info as a web page but this will require retraining the manager, as we all know this is a notoriously difficult process. Is the manager or are the agents using disa()? How about: exten = *,n,set(SPYGROUP=ALLOW-SPYING) for the agents and: exten = *,n,chanspy(,g(ALLOW-SPYING)) the manager? -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] chanspy and DISA
Steve Edwards wrote: On Tue, 29 Sep 2009, John Millican wrote: I have a request for remote users to be able to dial through the system so that the sales managers can barge/chanspy on the sales force. I have the DISA part working with authentication(rather straight forward) but what I can not figure out is how to enable the supervisors to be able to barge on these calls. Is there a way to find the channel to barge on that would be usable by NON tech people? Steve Edwards wrote: How do you see this working? I'm guessing the manager would like to either key in an agent ID number or be able to step through agents? The chanspy() g option may be part of your solution. g(grp) - Match only channels where their ${SPYGROUP} variable is set to 'grp'. On Tue, 29 Sep 2009, John Millican wrote: Exactly, the problem is I can not determine the channel that DISA receives or places the call on. Is there a way to set this in the dial plan? Or am I just missing something simple? It was suggested to use the AMI and present the info as a web page but this will require retraining the manager, as we all know this is a notoriously difficult process. Is the manager or are the agents using disa()? How about: exten = *,n,set(SPYGROUP=ALLOW-SPYING) for the agents and: exten = *,n,chanspy(,g(ALLOW-SPYING)) the manager? The manager wants to be able to spy on agents who dial through the PBX from their homes. Currently the agents dial the main number, use the secret code to get to authenticate and DISA, and then dial back out for their sales calls. I have chanspy working great on all internal phones/extensions use group to limit who can spy and who can not. It not so much to allow spying it is finding the correct channel to spy on for the remote users. JohnM ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] chanspy and DISA
Steve Edwards wrote: Is the manager or are the agents using disa()? How about: exten = *,n,set(SPYGROUP=ALLOW-SPYING) for the agents and: exten = *,n,chanspy(,g(ALLOW-SPYING)) the manager? On Tue, 29 Sep 2009, John Millican wrote: The manager wants to be able to spy on agents who dial through the PBX from their homes. Currently the agents dial the main number, use the secret code to get to authenticate and DISA, and then dial back out for their sales calls. I have chanspy working great on all internal phones/extensions use group to limit who can spy and who can not. It not so much to allow spying it is finding the correct channel to spy on for the remote users. How about something like these snippets: [i](!) exten = i,1,goto(${CONTEXT},s,1) [s](!) exten = s,1,verbose(1,[${CONTEXT}:${EXTEN}]) [home-agent-login](i,s) exten = s,n,read(AGENT-ID,enter-agent-number) exten = s,n,set(SPYGROUP=${AGENT-ID}) . . . [supervisor-login](i,s) exten = s,n,read(AGENT-ID,enter-agent-number) exten = s,n,chanspy(,g(${AGENT-ID})) exten = s,n,goto(s,1) . . . -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] chanspy and DISA
= -Original Message- = From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users- = boun...@lists.digium.com] On Behalf Of Steve Edwards = Sent: Tuesday, September 29, 2009 7:32 PM = To: Asterisk Users Mailing List - Non-Commercial Discussion = Subject: Re: [asterisk-users] chanspy and DISA = = Steve Edwards wrote: = = Is the manager or are the agents using disa()? = = How about: = = exten = *,n, set(SPYGROUP=ALLOW-SPYING) = = for the agents and: = = exten = *,n,chanspy(,g(ALLOW-SPYING)) = = the manager? = = On Tue, 29 Sep 2009, John Millican wrote: = = The manager wants to be able to spy on agents who dial through the = PBX = from their homes. Currently the agents dial the main number, use = the = secret code to get to authenticate and DISA, and then dial back = out = for their sales calls. I have chanspy working great on all internal = phones/extensions use group to limit who can spy and who can not. It = not = so much to allow spying it is finding the correct channel to spy on = for = the remote users. = = How about something like these snippets: = = [i](!) = exten = i,1,goto(${CONTEXT},s,1) = [s](!) = exten = s,1, = verbose(1,[${CONTEXT}:${EXTEN}]) = = [home-agent-login](i,s) = exten = s,n,read(AGENT-ID,enter-agent- = number) = exten = s,n,set(SPYGROUP=${AGENT-ID}) = . = . = . = = [supervisor-login](i,s) = exten = s,n,read(AGENT-ID,enter-agent- = number) = exten = s,n,chanspy(,g(${AGENT-ID})) = exten = s,n,goto(s,1) = . = . = . = = -- = Thanks in advance, = -- = --- = Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 = PST = Newline Fax: +1-760-731- = 3000 [Alexander Lopez] It adds another layer but have the sales agents login to DISA via a local Channel. You can call these channels whatever you like. Once you have a one to one relationship with the sales agent and their respective Local Channel you can Chan spy on the Local Channels.. Alex ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] chanspy problems (asterisk 1.6.0.6) - When spying starts, the spied parties can't hear each other
Hi, I am in a predicament and any help/pointers would be appreciated. We are using chanspy to listen in on conversations. We are doing this via a web interface. The web interface lists all the ongoing calls. We click on a call and then my local phone rings allowing me to spy on the session I clicked on. But most of the time, when I start listening in, the two parties that are in conversation stop hearing each other. I can hear that they cant hear each other. We are using chanspy and passing the exact session-name to it as an argument. Asterisk 1.6.0.6 is being used a B2BUA. It receives calls from users connected via analog phones to a Quintum and forwards them to a PSTNGW. Analogphone--Quintim-- SIP---Asterisk-SIP--PSTNGW(T1s) All media is passing thru asterisk (canreinvite = no). Thanks in advance for any help ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] ChanSpy problem
I have an extension defined like this: exten = do_monitor,1,Answer() exten = do_monitor,n,NoOp(Just got '${CfMC_ActionID}') exten = do_monitor,n,ChanSpy(${CfMC_WhoHear},qX) exten = do_monitor,n,Hangup() I use an AMI packet like this: Action: Originate Channel: Agent/1001 Exten: do_monitor Context: cfmc_cdi_private Priority: 1 Variable: CfMC_ActionID=callE1334 Variable: CfMC_WhoHear=SIP/dickenson ActionID: callE1324 Async: true It seems as if the X option to the ChanSpy application causes asterisk to get into a loop executing priorities 1-3 of the extension until I press a 1 to go to extension 1 in the same context as the do_monitor extension is in. While asterisk is in this loop I hear no audio from the spied upon channel. I am running Asterisk SVN-branch-1.6.0-r174845 due to problems in 1.6.0.5 that have been fixed in the current source code. I thought the X option, added in 1.6, would resolve I problem I submitted a patch for a few days ago to 1.4.23.1. It might resolve the problem but I can tell as this loop problem occurred during my testing. -- Jim Dickenson mailto:dicken...@cfmc.com CfMC http://www.cfmc.com/ ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ChanSpy or other variant
Nicholas Blasgen wrote: I'm trying to figure out how to listen in to a channel that I specify. I have the impression I've seen this done via Flash web controls, but I'm trying to write something myself and I can't figure out what command would be used. ChanSpy looks great, but I don't see how to specify the channel. I have a channel identifier like SIP/provider-08748db0 which is what I would send to applications like Hangup(chan) or Redirect(chan) but it doesn't look like ChanSpy was written to accept that format. I haven't tried passing SIP/provider-08748db0 to ChanSpy, but from the documentation it seems that it shouldn't work. So the question is, how can I listen into a channel if I know either the channel or the unqiue id? And in the meantime I will play around with ChanSpy more. Chanspy should do exactly what you want. If you ran exten = blah,n,ChanSpy(SIP/provider) Then you would be able to listen to all active calls involving any channel whose name begins with 'SIP/provider'. If it turns out that there is a channel called 'SIP/provider-12345abc', then that channel may be spied on with the above ChanSpy call in the dialplan. The thing to remember is that the chanprefix argument as it is described in ChanSpy's documentation is literally any text that may appear at the start of a channel name. Chanspy(SIP) would allow you to spy on any SIP channel, whereas ChanSpy(S) would allow spying on both SIP and Skinny channels. There is no minimum or maximum limit to what this string may be. Mark Michelson ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ChanSpy or other variant
Thank you Mark. I did try it out myself and figured out that it did work as I wanted. Thanks for the quick reply though. Nicholas Blasgen Partner / Network Operations Refractive Dialer LLC 408.395.2110 (w) 408.497.9796 (c) On Mon, Feb 2, 2009 at 12:06 PM, Mark Michelson mmichel...@digium.comwrote: Nicholas Blasgen wrote: I'm trying to figure out how to listen in to a channel that I specify. I have the impression I've seen this done via Flash web controls, but I'm trying to write something myself and I can't figure out what command would be used. ChanSpy looks great, but I don't see how to specify the channel. I have a channel identifier like SIP/provider-08748db0 which is what I would send to applications like Hangup(chan) or Redirect(chan) but it doesn't look like ChanSpy was written to accept that format. I haven't tried passing SIP/provider-08748db0 to ChanSpy, but from the documentation it seems that it shouldn't work. So the question is, how can I listen into a channel if I know either the channel or the unqiue id? And in the meantime I will play around with ChanSpy more. Chanspy should do exactly what you want. If you ran exten = blah,n,ChanSpy(SIP/provider) Then you would be able to listen to all active calls involving any channel whose name begins with 'SIP/provider'. If it turns out that there is a channel called 'SIP/provider-12345abc', then that channel may be spied on with the above ChanSpy call in the dialplan. The thing to remember is that the chanprefix argument as it is described in ChanSpy's documentation is literally any text that may appear at the start of a channel name. Chanspy(SIP) would allow you to spy on any SIP channel, whereas ChanSpy(S) would allow spying on both SIP and Skinny channels. There is no minimum or maximum limit to what this string may be. Mark Michelson ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] ChanSpy or other variant
I'm trying to figure out how to listen in to a channel that I specify. I have the impression I've seen this done via Flash web controls, but I'm trying to write something myself and I can't figure out what command would be used. ChanSpy looks great, but I don't see how to specify the channel. I have a channel identifier like SIP/provider-08748db0 which is what I would send to applications like Hangup(chan) or Redirect(chan) but it doesn't look like ChanSpy was written to accept that format. I haven't tried passing SIP/provider-08748db0 to ChanSpy, but from the documentation it seems that it shouldn't work. So the question is, how can I listen into a channel if I know either the channel or the unqiue id? And in the meantime I will play around with ChanSpy more. Nicholas Blasgen Partner / Network Operations Refractive Dialer LLC 408.395.2110 (w) 408.497.9796 (c) ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] ChanSpy and delay
Hello, I noticed a bit problematic behavior in ChanSpy function. This is the scenario: 1. agent is making a conversation, 2. I call an extension with ChanSpy and start listening (so far so good), 3. agent completes the call (I am still on the ChanSpy extension), 4. new call is distributed to an agent, 5. agent answers the call (I am still on the ChanSpy extension, but I hear silence...), 6. after 4-5 seconds I can again hear the agent (please see the log: 15:46:38 agent starts the conversation, 4 seconds later chan spy attaches his channel to mine): Jun 19 15:46:38 VERBOSE[9907] logger.c: -- Zap/65-1 answered Local/[EMAIL PROTECTED],2 Jun 19 15:46:42 NOTICE[9905] app_chanspy.c: Attaching Zap/124-1 to Local/[EMAIL PROTECTED],2 Why is there such a delay before I start hearing the agent again? Is this a known bug, is there any workaround to that? I'm using a rather old version of Asterisk: 1.2.9, but I am not thinking about upgrading right now because everything else is working like a charm (and it has to handle more than 3k calls per day). Regards, Alex ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ChanSpy and delay
I will answer my own question :-) The following line in the app_chanspy.c was causing my problem: waitms = count ? 100 : 5000; and of course sequentially then the line: res = ast_waitfordigit(chan, waitms); in the same beginning of the same for loop but in the next iteration. I have changed waitms = count ? 100 : 5000; to waitms = count ? 100 : 500; and I didn't notice any change (besides my problem being fixed, which is good :-) ), especially no negative effects. I will however still test this thing, but maybe some of the development guys might tell me what exactly have I changed and what side-effects it might cause :-) ? With Regards, Alex -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Asterisk Sent: Friday, June 20, 2008 12:30 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: [asterisk-users] ChanSpy and delay Hello, I noticed a bit problematic behavior in ChanSpy function. This is the scenario: 1. agent is making a conversation, 2. I call an extension with ChanSpy and start listening (so far so good), 3. agent completes the call (I am still on the ChanSpy extension), 4. new call is distributed to an agent, 5. agent answers the call (I am still on the ChanSpy extension, but I hear silence...), 6. after 4-5 seconds I can again hear the agent (please see the log: 15:46:38 agent starts the conversation, 4 seconds later chan spy attaches his channel to mine): Jun 19 15:46:38 VERBOSE[9907] logger.c: -- Zap/65-1 answered Local/[EMAIL PROTECTED],2 Jun 19 15:46:42 NOTICE[9905] app_chanspy.c: Attaching Zap/124-1 to Local/[EMAIL PROTECTED],2 Why is there such a delay before I start hearing the agent again? Is this a known bug, is there any workaround to that? I'm using a rather old version of Asterisk: 1.2.9, but I am not thinking about upgrading right now because everything else is working like a charm (and it has to handle more than 3k calls per day). Regards, Alex ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ChanSpy not working - transmit frame type 64 warning
On Thu, May 15, 2008 at 10:47 AM, James Sneeringer [EMAIL PROTECTED] wrote: When I try to use ChanSpy, the following message is sent repeatedly to the console (wrapped for readability): WARNING[32125]: chan_sip.c:3709 sip_write: Asked to transmit frame type 64, while native formats is 0x4 (ulaw)(4) read/write = 0x4 (ulaw)(4)/0x4 (ulaw)(4) I see I have you all stumped! Let's try this from another angle. Is anyone successfully using ChanSpy on 1.4.x? I've tested on most of the recent releases, including yesterday's 1.4.20.1 release. -James ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ChanSpy not working - transmit frame type 64 warning
James Sneeringer wrote: On Thu, May 15, 2008 at 10:47 AM, James Sneeringer [EMAIL PROTECTED] wrote: When I try to use ChanSpy, the following message is sent repeatedly to the console (wrapped for readability): WARNING[32125]: chan_sip.c:3709 sip_write: Asked to transmit frame type 64, while native formats is 0x4 (ulaw)(4) read/write = 0x4 (ulaw)(4)/0x4 (ulaw)(4) I see I have you all stumped! Let's try this from another angle. Is anyone successfully using ChanSpy on 1.4.x? I've tested on most of the recent releases, including yesterday's 1.4.20.1 release. -James ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users My current project's server uses ChanSpy constantly, SIP to SIP as well as SIP to Zap. I'm using the Asterisk 1.4 branch from the SVN repo. I have not seen the error you mention, sorry. Sherwood ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] ChanSpy not working - transmit frame type 64 warning
When I try to use ChanSpy, the following message is sent repeatedly to the console (wrapped for readability): WARNING[32125]: chan_sip.c:3709 sip_write: Asked to transmit frame type 64, while native formats is 0x4 (ulaw)(4) read/write = 0x4 (ulaw)(4)/0x4 (ulaw)(4) This appears to happen because SLINEAR (frame type 64 / 0x40) is not considered a native format for the channel I'm trying to spy on, so sip_write() bails. DEBUG[32006] chan_sip.c: *** Our native formats are 0x4 (ulaw) DEBUG[32006] chan_sip.c: *** Joint capabilities are 0x4 (ulaw) DEBUG[32006] chan_sip.c: *** Our capabilities are 0x46 (gsm|ulaw|slin) DEBUG[32006] chan_sip.c: *** AST_CODEC_CHOOSE formats are0x4 (ulaw) The symptom is that the spying listener hears nothing on his or her handset. The spied-on channel can continue to communicate with the other end without issue. If I tell ChanSpy to record the call with the r() option, a .raw file *is* created and does contain the complete audio stream, so it's at least partly working. The problem appears to be in converting back from SLINEAR to the spying listener's native format. I have format_sln.so loaded, and I have it listed as a valid codec for all of the SIP devices involved (Polycom 330's and a 550 doing the spying). Has anyone else run across this? Maybe there's something really simple I'm missing? -James ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Chanspy on Asterisk 1.4.19
Anthony, What bug report ID# would that be? Not being a dev I find it hard to know which of the 4 chanspy bug I need a patch for, since none of them seem to refer to a 1.4.19 bug. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony Francis Sent: Thursday, April 17, 2008 23:27 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Chanspy on Asterisk 1.4.19 I saw a patch attached to that bug report, just download it run patch and then make clean make install, restart asterisk and you should be smokin. Mike wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Michelson Sent: Thursday, April 17, 2008 17:18 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Chanspy on Asterisk 1.4.19 Mike wrote: My own Chanspy(g(GROUPNAME)) works 2 times out of three (roughly). The other time, it crashes Asterisk. Using 1.4.19 too. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Rawlings Sent: Thursday, April 17, 2008 14:10 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Chanspy on Asterisk 1.4.19 Guys, Sean Bright wrote: Steve Totaro wrote: Should one have to change their dialplan for functionality to remain the same in the same version? I wasn't suggesting it wasn't a regression, just making the OP aware that he can pass multiple arguments to a dialplan application (i.e. ChanSpy(|bg(2000))) He mentioned that he was able to get it to work in 1.4.19 by passing the bridge argument ('b') but didn't seem to be aware that he could also pass his original argument list ('g(2000)') as well. Seems easier to just work around the problem with the additional argument than to backport the application. Yes I was aware of multiple arguments, I did try chanspy(|bg(2000)), I tried all combinations I could think of. Although maybe what I should have said was I tried chanspy(|b) just to prove chanspy itself was working at all (and it was), with chanspy(|bg(2000)) the 'spygroup' element didn't work, it just spied on every active call. Anyway, I've raised a bug report as requested by Jared at Digium. Steve This was an incredibly subtle bug that was introduced into 1.4.19 when the other work was done on chanspy to fix crashes and deadlocks. It has been fixed in 1.4 in SVN revision 114226. Basically, chanspy was a crapshoot if you didn't specify a first argument, because the function intended to walk through the list of active channels would always end up returning the first channel it found. If that happened to be a spy-able channel, then great, otherwise you'd never spy on anything. Mark Michelson Mark, I added a first argument. Here is my line now: exten = *012,n,Chanspy(SIP,qg(GROUP_NAME)) Unfortunately, that still crashes Asterisk once out of 3-5 times. Is there anyway to absolutely prevent crashes with this bug in vanilla 1.4.19? Thanks, Mike ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Thank you and have any kind of day you want, Anthony Francis Rockynet VOIP (303) 444-7052 opt 2 [EMAIL PROTECTED] ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Chanspy on Asterisk 1.4.19
Steve Rawlings wrote: exten = 596,n,ChanSpy(|g(2000)) ...snip... This worked fine with 1.4.18.1. With 1.4.19 if I dial 596 I get answered but there's no spying, the only way I could get this to work was with - exten = 596,n,ChanSpy(|b) but this spied on all channels, not just those with SPYGROUP set to 2000 so not much use to us. You can pass multiple options to a dialplan application, so instead of downgrading ChanSpy, you could have just done: exten = 596,n,ChanSpy(|bg(2000)) Or am I missing something? -- Sean Bright [EMAIL PROTECTED] ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Chanspy on Asterisk 1.4.19
On Thu, Apr 17, 2008 at 9:44 AM, Sean Bright [EMAIL PROTECTED] wrote: Steve Rawlings wrote: exten = 596,n,ChanSpy(|g(2000)) ...snip... This worked fine with 1.4.18.1. With 1.4.19 if I dial 596 I get answered but there's no spying, the only way I could get this to work was with - exten = 596,n,ChanSpy(|b) but this spied on all channels, not just those with SPYGROUP set to 2000 so not much use to us. You can pass multiple options to a dialplan application, so instead of downgrading ChanSpy, you could have just done: exten = 596,n,ChanSpy(|bg(2000)) Or am I missing something? -- Sean Bright [EMAIL PROTECTED] Should one have to change their dialplan for functionality to remain the same in the same version? I thought it was only really supposed to change when something is deprecated (and documented in a README or something after throwing warnings for a version or so.) Thanks, Steve Totaro ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Chanspy on Asterisk 1.4.19
Steve Totaro wrote: Should one have to change their dialplan for functionality to remain the same in the same version? I wasn't suggesting it wasn't a regression, just making the OP aware that he can pass multiple arguments to a dialplan application (i.e. ChanSpy(|bg(2000))) He mentioned that he was able to get it to work in 1.4.19 by passing the bridge argument ('b') but didn't seem to be aware that he could also pass his original argument list ('g(2000)') as well. Seems easier to just work around the problem with the additional argument than to backport the application. -- Sean Bright [EMAIL PROTECTED] ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Chanspy on Asterisk 1.4.19
Guys, Sean Bright wrote: Steve Totaro wrote: Should one have to change their dialplan for functionality to remain the same in the same version? I wasn't suggesting it wasn't a regression, just making the OP aware that he can pass multiple arguments to a dialplan application (i.e. ChanSpy(|bg(2000))) He mentioned that he was able to get it to work in 1.4.19 by passing the bridge argument ('b') but didn't seem to be aware that he could also pass his original argument list ('g(2000)') as well. Seems easier to just work around the problem with the additional argument than to backport the application. Yes I was aware of multiple arguments, I did try chanspy(|bg(2000)), I tried all combinations I could think of. Although maybe what I should have said was I tried chanspy(|b) just to prove chanspy itself was working at all (and it was), with chanspy(|bg(2000)) the 'spygroup' element didn't work, it just spied on every active call. Anyway, I've raised a bug report as requested by Jared at Digium. Steve ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Chanspy on Asterisk 1.4.19
My own Chanspy(g(GROUPNAME)) works 2 times out of three (roughly). The other time, it crashes Asterisk. Using 1.4.19 too. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Rawlings Sent: Thursday, April 17, 2008 14:10 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Chanspy on Asterisk 1.4.19 Guys, Sean Bright wrote: Steve Totaro wrote: Should one have to change their dialplan for functionality to remain the same in the same version? I wasn't suggesting it wasn't a regression, just making the OP aware that he can pass multiple arguments to a dialplan application (i.e. ChanSpy(|bg(2000))) He mentioned that he was able to get it to work in 1.4.19 by passing the bridge argument ('b') but didn't seem to be aware that he could also pass his original argument list ('g(2000)') as well. Seems easier to just work around the problem with the additional argument than to backport the application. Yes I was aware of multiple arguments, I did try chanspy(|bg(2000)), I tried all combinations I could think of. Although maybe what I should have said was I tried chanspy(|b) just to prove chanspy itself was working at all (and it was), with chanspy(|bg(2000)) the 'spygroup' element didn't work, it just spied on every active call. Anyway, I've raised a bug report as requested by Jared at Digium. Steve ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Chanspy on Asterisk 1.4.19
Ah. My apologies for the confusion. Not that it helps you a great deal, but I am running ChanSpy successfully in production (as we speak) with 1.4.19 with no crashes or the like: ChanSpy(SIP/11,g(Spyable)) Maybe its only a problem if no channel spec is passed? Steve Rawlings wrote: Guys, Sean Bright wrote: Steve Totaro wrote: Should one have to change their dialplan for functionality to remain the same in the same version? I wasn't suggesting it wasn't a regression, just making the OP aware that he can pass multiple arguments to a dialplan application (i.e. ChanSpy(|bg(2000))) He mentioned that he was able to get it to work in 1.4.19 by passing the bridge argument ('b') but didn't seem to be aware that he could also pass his original argument list ('g(2000)') as well. Seems easier to just work around the problem with the additional argument than to backport the application. Yes I was aware of multiple arguments, I did try chanspy(|bg(2000)), I tried all combinations I could think of. Although maybe what I should have said was I tried chanspy(|b) just to prove chanspy itself was working at all (and it was), with chanspy(|bg(2000)) the 'spygroup' element didn't work, it just spied on every active call. Anyway, I've raised a bug report as requested by Jared at Digium. Steve ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Sean Bright [EMAIL PROTECTED] ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Chanspy on Asterisk 1.4.19
Mike wrote: My own Chanspy(g(GROUPNAME)) works 2 times out of three (roughly). The other time, it crashes Asterisk. Using 1.4.19 too. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Rawlings Sent: Thursday, April 17, 2008 14:10 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Chanspy on Asterisk 1.4.19 Guys, Sean Bright wrote: Steve Totaro wrote: Should one have to change their dialplan for functionality to remain the same in the same version? I wasn't suggesting it wasn't a regression, just making the OP aware that he can pass multiple arguments to a dialplan application (i.e. ChanSpy(|bg(2000))) He mentioned that he was able to get it to work in 1.4.19 by passing the bridge argument ('b') but didn't seem to be aware that he could also pass his original argument list ('g(2000)') as well. Seems easier to just work around the problem with the additional argument than to backport the application. Yes I was aware of multiple arguments, I did try chanspy(|bg(2000)), I tried all combinations I could think of. Although maybe what I should have said was I tried chanspy(|b) just to prove chanspy itself was working at all (and it was), with chanspy(|bg(2000)) the 'spygroup' element didn't work, it just spied on every active call. Anyway, I've raised a bug report as requested by Jared at Digium. Steve This was an incredibly subtle bug that was introduced into 1.4.19 when the other work was done on chanspy to fix crashes and deadlocks. It has been fixed in 1.4 in SVN revision 114226. Basically, chanspy was a crapshoot if you didn't specify a first argument, because the function intended to walk through the list of active channels would always end up returning the first channel it found. If that happened to be a spy-able channel, then great, otherwise you'd never spy on anything. Mark Michelson ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Chanspy on Asterisk 1.4.19
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Michelson Sent: Thursday, April 17, 2008 17:18 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Chanspy on Asterisk 1.4.19 Mike wrote: My own Chanspy(g(GROUPNAME)) works 2 times out of three (roughly). The other time, it crashes Asterisk. Using 1.4.19 too. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Rawlings Sent: Thursday, April 17, 2008 14:10 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Chanspy on Asterisk 1.4.19 Guys, Sean Bright wrote: Steve Totaro wrote: Should one have to change their dialplan for functionality to remain the same in the same version? I wasn't suggesting it wasn't a regression, just making the OP aware that he can pass multiple arguments to a dialplan application (i.e. ChanSpy(|bg(2000))) He mentioned that he was able to get it to work in 1.4.19 by passing the bridge argument ('b') but didn't seem to be aware that he could also pass his original argument list ('g(2000)') as well. Seems easier to just work around the problem with the additional argument than to backport the application. Yes I was aware of multiple arguments, I did try chanspy(|bg(2000)), I tried all combinations I could think of. Although maybe what I should have said was I tried chanspy(|b) just to prove chanspy itself was working at all (and it was), with chanspy(|bg(2000)) the 'spygroup' element didn't work, it just spied on every active call. Anyway, I've raised a bug report as requested by Jared at Digium. Steve This was an incredibly subtle bug that was introduced into 1.4.19 when the other work was done on chanspy to fix crashes and deadlocks. It has been fixed in 1.4 in SVN revision 114226. Basically, chanspy was a crapshoot if you didn't specify a first argument, because the function intended to walk through the list of active channels would always end up returning the first channel it found. If that happened to be a spy-able channel, then great, otherwise you'd never spy on anything. Mark Michelson Mark, I added a first argument. Here is my line now: exten = *012,n,Chanspy(SIP,qg(GROUP_NAME)) Unfortunately, that still crashes Asterisk once out of 3-5 times. Is there anyway to absolutely prevent crashes with this bug in vanilla 1.4.19? Thanks, Mike ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users