Is there a way to Listen-in on calls ?

azmerlin

Joined
Jul 10, 2008
Messages
65
Likes
0
Points
0
#1
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 ?
 

danardf

Joined
Dec 3, 2007
Messages
8,069
Likes
10
Points
88
#2
The ChanSpy is already use by asterisk.
555 = chanspy.

See the "Feature Code Admin" into your freepbx GUI.
 

azmerlin

Joined
Jul 10, 2008
Messages
65
Likes
0
Points
0
#3
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
 

pawels

Joined
May 19, 2008
Messages
51
Likes
0
Points
0
#4

Telco

Joined
Oct 4, 2007
Messages
275
Likes
0
Points
0
#5
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
 

azmerlin

Joined
Jul 10, 2008
Messages
65
Likes
0
Points
0
#6
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.
 

vperez69

Joined
Sep 2, 2010
Messages
71
Likes
0
Points
0
#7
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!
 

vaibhavs

Joined
Oct 2, 2009
Messages
95
Likes
0
Points
0
#8
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
 

vaibhavs

Joined
Oct 2, 2009
Messages
95
Likes
0
Points
0
#9
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
 

loboitm

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

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top