Answer the question
In order to leave comments, you need to log in
How to play a call recording notification in Freebpx after connecting with an operator?
Hello. The task is as follows:
There is a PBX on Elastix 4. From the voice menu, the client enters the queue. It is necessary that after the operator picks up the phone, a notification about the recording of the conversation is played to the client.
I tried to do it like here , but it didn't work. When the operator picks up the handset, the play_call_recording procedure is launched, but the recording is not heard, either by the caller or the caller.
[play_call_recording]
exten => s,1,NoOp()
same =>n,Set(CALLEE=${CONNECTEDLINE(num)})
same => n,Originate(Local/${CALLEE}@bargein,app,Playback, /var/lib/asterisk/sounds/ru/razgovor-mozhet-byt-zapisan)
same =>n,Return()
[bargein]
exten => _X.,1,Noop(PLAY MUSIC THROUGH CHANSPY)
same => n, Answer()
same => n,ChanSpy(SIP/${EXTEN},BEq)
same => n,Hangup()
PS Ideally, the message should be played on every incoming and outgoing call.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question