[SR-Users] rtpengine play_media

Дмитрий Плаксюк plaksyukdv at gmail.com
Thu Jul 15 13:25:52 CEST 2021


Greetings.
I'm trying to set up annoncement playback for both parts of the call. I
have to play the file after the connection is established. Stop_media (all)
must be executed before playing
It turns out the construction:

....
block_media ("all");
play_media ("all file = / etc / kamailio / sounds / mg1.wav");

Can't find a way to do
unblock_media ("all");
after the file has finished playing.

There are no sip messages in this process. The call has already been
established.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210715/dab7ff60/attachment.htm>


More information about the sr-users mailing list