M
M
maxxxsudb2019-09-04 12:31:58
Asterisk
maxxxsudb, 2019-09-04 12:31:58

Asterisk. Listening through Spy, I need to play the file asynchronously, how?

Listening to Spy I need to asynchronously play the file, how?
The situation is as follows - the control operator, listening to the channel (knowing the channel name), having heard a certain signal, must start playing a specific sound file. Where to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Barbolin, 2019-09-04
@dronmaxman

You can start playing the recording in the channel like this, or the same thing through AMI.
sudo asterisk -rx "channel originate CHANNEL application Playback /etc/alert.wav"'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question