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: [email protected]
[mailto:[email protected]] On Behalf Of Torintino T
Sent: Friday, October 09, 2009 1:00 PM
To: [email protected]
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

Reply via email to