Daniel is right. Technically speaking it can be done at any point after the media session has been established, but you need some kind of trigger to start/stop it from your routing script. Such as re-INVITE for example. 

-Max

On May 8, 2017 7:52 AM, "Daniel-Constantin Mierla" <miconda@gmail.com> wrote:

Hello,

it can play rtp files encoded in the format expected by the audio codec. I used only when there was a re-invite (like putting the call on hold).

Cheers,
Daniel


On 04.05.17 17:29, Yufei Tao wrote:
Hi,

Just a quick question: if I use the Kamailio rtpproxy module with the Sippy RTPproxy, can I stream audio within a call? Or is it only possible before call audio is established?

For example can I mix/playback audio file into an existing established call session at any time using functions rtpproxy_stream2uac() and rtpproxy_stream2uas() somehow? If it is possible, does it need to be triggered by an in-dialog message from either UAC or UAS?

Cheers,
Yufei


_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - May 22-24 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users