Is there a way to Listen-in on calls ?

Joined
Jul 10, 2008
Messages
65
Points
0
Is it possible for one extension to listen to a conversation on another extension ( by dialing **XX<ext#> ) or some other type of option and then if he sees fit to grab the call ?
 
Joined
Dec 3, 2007
Messages
8,069
Points
88
The ChanSpy is already use by asterisk.
555 = chanspy.

See the "Feature Code Admin" into your freepbx GUI.
 
Joined
Jul 10, 2008
Messages
65
Points
0
Thanks, but I have tried, I called ext 515 from my mobile and the from another extension I dialed 555515 and it just told me the person was not available ??
Also, after that does work, if while I am spying I want to take over the call, can I ?
Thanks
 
Joined
Oct 4, 2007
Messages
275
Points
0
Here are my settings for Silent Monitor. Notice the authenticate code. That is so that you have to have a password for listening in on the calls otherwise anyone on the pbx can listen to anyone else.

in the extensions_custom.conf

[app-chanspy-custom]
exten => 5555,1,Answer
exten => 5555,2,Wait(1)
exten => 5555,3,Goto(custom-app-enh-chanspy,s,1)
exten => 5555,4,Hangup

[custom-app-enh-chanspy]
exten => s,1,BackGround(please-enter-the)
exten => s,n,Read(SPYNUM|extension)
exten => s,n,ChanSpy(SIP/${SPYNUM}|wv4)

in extensions_override_freepbx.conf:

[app-chanspy]
include => app-chanspy-custom
exten => 555,1,Authenticate(1234)
exten => 555,2,Read(SPYNUM,extension)
exten => 555,3,ChanSpy(SIP/${SPYNUM},wq)

Enjoy!

-T
 
Joined
Jul 10, 2008
Messages
65
Points
0
Hi again,
So far so good, seems to be working, now the customer wants to either only enable this feature on some extensions ( so only specified extensions can be listened to) or that several can be specified that this feature will not be able to listen to them.
Alternatively if that is not possible, then have some sort of notification for the extension listened to knows he is being listened to even if the listener is on mute.
 
Joined
Sep 2, 2010
Messages
71
Points
0
in the extensions_custom.conf

[app-chanspy-custom]
exten => 5555,1,Answer
exten => 5555,2,Wait(1)
exten => 5555,3,Goto(custom-app-enh-chanspy,s,1)
exten => 5555,4,Hangup

[custom-app-enh-chanspy]
exten => s,1,BackGround(please-enter-the)
exten => s,n,Read(SPYNUM|extension)
exten => s,n,ChanSpy(SIP/${SPYNUM}|wv4)

in extensions_override_freepbx.conf:

[app-chanspy]
include => app-chanspy-custom
exten => 555,1,Authenticate(1234)
exten => 555,2,Read(SPYNUM,extension)
exten => 555,3,ChanSpy(SIP/${SPYNUM},wq)
Beautiful!!!! Works fantastic!
 
Joined
Oct 2, 2009
Messages
95
Points
0
Hi,

Code:
in the extensions_custom.conf

[app-chanspy-custom]
exten => 5555,1,Answer
exten => 5555,2,Wait(1)
exten => 5555,3,Goto(custom-app-enh-chanspy,s,1)
exten => 5555,4,Hangup

[custom-app-enh-chanspy]
exten => s,1,BackGround(please-enter-the)
exten => s,n,Read(SPYNUM|extension)
exten => s,n,ChanSpy(SIP/${SPYNUM}|wv4)

in extensions_override_freepbx.conf:

[app-chanspy]
include => app-chanspy-custom
exten => 555,1,Authenticate(1234)
exten => 555,2,Read(SPYNUM,extension)
exten => 555,3,ChanSpy(SIP/${SPYNUM},wq)
This works great, but if I speak, both parties (Caller & helpdesk) are able to hear it.
I assume this is not an expected behavior, I mean I am spying on live calls, right?
So my voice should not travel to anyone, and both parties should not know that I am listening to their conversation. -- this is for

How can this be corrected ?

Thx & regards,
Vai
 
Joined
Oct 2, 2009
Messages
95
Points
0
vaibhavs said:
Hi,

Code:
in the extensions_custom.conf

[app-chanspy-custom]
exten => 5555,1,Answer
exten => 5555,2,Wait(1)
exten => 5555,3,Goto(custom-app-enh-chanspy,s,1)
exten => 5555,4,Hangup

[custom-app-enh-chanspy]
exten => s,1,BackGround(please-enter-the)
exten => s,n,Read(SPYNUM|extension)
exten => s,n,ChanSpy(SIP/${SPYNUM}|wv4)

in extensions_override_freepbx.conf:

[app-chanspy]
include => app-chanspy-custom
exten => 555,1,Authenticate(1234)
exten => 555,2,Read(SPYNUM,extension)
exten => 555,3,ChanSpy(SIP/${SPYNUM},wq)
This works great, but if I speak, both parties (Caller & helpdesk) are able to hear it.
I assume this is not an expected behavior, I mean I am spying on live calls, right?
So my voice should not travel to anyone, and both parties should not know that I am listening to their conversation. -- this is for

How can this be corrected ?

Thx & regards,
Vai


I managed to solve this by reading and tweaking the ChanSpy parameters:
The new working configuration is as below

Code:
[app-chanspy-custom]
exten => 5555,1,Answer
exten => 5555,2,Wait(1)
exten => 5555,3,Goto(custom-app-enh-chanspy,s,1)
exten => 5555,4,Hangup

[custom-app-enh-chanspy]
exten => s,1,BackGround(please-enter-the)
exten => s,n,Read(SPYNUM|extension)
exten => s,n,ChanSpy(SIP/${SPYNUM}|v4)

[app-chanspy]
include => app-chanspy-custom
exten => 555,1,Authenticate(1234)
exten => 555,2,Read(SPYNUM,extension)
exten => 555,3,ChanSpy(SIP/${SPYNUM},q)
I hope it will help someone.

Thx
Vai
 
Joined
Oct 3, 2011
Messages
46
Points
0
hello i have a question. can i use this configuration for a zap extensions?
 

Members online

No members online now.

Forum statistics

Threads
30,992
Messages
131,106
Members
17,716
Latest member
Orbit114
Top