Chanspy() & Beep in the wrong phone

Hi,

I would like to listen to active channels.

I guess that I must Chanspy() function to do it.

I cannot “spy” without warning the “spied” (law). It would be nice that a “beep” is played on the spied phone.

When I spy the user SIP/45 with dialing 96 from SIP/24 :

I hear a beep but in my phone (SIP/24) not in the spied phone (SIP/45) as show below !

-- Executing [96@interne:1] ChanSpy("SIP/24-00000006", "SIP/45") in new stack -- <SIP/24-00000006> Playing 'beep.slin' (language 'fr')

How can I warn the spied phone ? If I use the q option, there is no beep at all.

P.S. : I’m using Asterisk 1.8.13.0

Best regards,
Jonathan

No idea ? :-s

Getting no response to a question like this normally means that people don’t think that Asterisk can do what you want, but are not sufficiently familiar with the function in question to be able to say so with certainty. (In addition, it isn’t of sufficient interest to someone who can read the code to see what the code actually does.)

“Spy” implies that this is done without alerting the parties to the call.

One could use AMI to send a DTMF beep to the channel.

Hi,

Thanks for your answer :wink:

But it’s really a strange thing to beep the “spier” as the spier knows that he’s going to spy.
It would have been better to have a way to be compliant with the law :smile:

I’ll try with AMI then.

Thank you,
Jonathan

I suspect most people cover the legal side by using the “this call may be monitored or recorded” announcement, at the start of the call.

If you warn an agent that they are being monitored (you cannot avoid some echo), they are going to be careful what they say, so you will never catch them misbehaving (the right to monitor would normally be in the contract of employment).

We’ve never installed a system with spy enabled, so we won’t have fully researched the legality, but normally when you call a call centre, you are calling a company, rather than an individual, so I’m a bit surprised that there would be any restriction on how many employees were listening, as long as they were doing so for legitimate business reasons.

You’re right but in France it’s a bit strange :wink:

You can “spy” a channel (or record it) but:

  • your must warn both your employe and the caller (or callee) that you might listen to the channel and or record it,
  • when your employe is spied or the channel recorded he should know it (led, buzzer or whatever).

Maybe AMI will be the answer to be compliant with the French law.

Thanks a lot for your posts.

Jonathan