Hello,

have you looked at rtp_media_server module:

  * https://kamailio.org/docs/modules/5.3.x/modules/rtp_media_server.html

Maybe is easier than trying with rtpengine.

Cheers,
Daniel

On 12.02.20 16:31, George Diamantopoulos wrote:
Hello all,

I would like to use rtpengine's media playback capabilities in an early media scenario. The use case is as follows:

* Kamailio receives an incoming INVITE
* During INVITE processing, kamailio config script determines that an early media message should be played back and then the call should fail with 4xx
* To that effect, Kamailio sends out a locally-generated 183 Progress and instructs rtpengine to playback an audio file
* After the audio file has finished playing, kamailio responds with 4xx to the INVITE

Is this possible at all? Thanks!

BR,
George

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - March 9-11, 2020, Berlin - www.asipto.com
Kamailio World Conference - April 27-29, 2020, in Berlin -- www.kamailioworld.com