Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] extenspy and chanspy


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
steven.kurylo at aviaw...
Guest





PostPosted: Wed Apr 16, 2008 3:47 pm    Post subject: [asterisk-users] extenspy and chanspy Reply with quote

Brian J. Murrell wrote:
Quote:
Does anyone have an implementation of this they'd like to share?

I cut out the authentication stuff we do, but this is part of the macro
we use to spy and record calls arbitrary calls. All of our users have
sip handsets. Asterisk 1.2.

exten => s,n(getext),Read(SPY,extension,4)
exten => s,n,GotoIf($[ ${LEN(${SPY})} != 4 ]?nospy)
exten => s,n(spy),UserEvent(ChanSpy,User ${CALLBACKNUM} spied on ${SPY})
exten => s,n,Chanspy(SIP/${SPY},r(monitor-ext-${SPY}))
exten => s,n,Hangup()
exten => s,n(nospy),Playback(sorry-cant-let-you-do-that3)
exten => s,n,UserEvent(ChanSpy,User ${CALLBACKNUM} failed to spy on ${SPY})
exten => s,n,Hangup()
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services