Hello Tsvetan.
Actually you could use SIP Early media in AS and also with cscf.
If you choice the first way, i think it is very simple and strightforward because you just use early media functions on your AS. For example in Astrisk you could use Progress application and 'm' option in Dial application in your dialplan.
In second way you should check in Reply-Route block,if you got 180 ringing,  you have to use rtpproxy-stream funtion for doing sip early.

Wih Regards.Mojtaba Esfandiari.S

On Fri, 21 Dec 2018, 16:34 Tsvetan Filev, <tsvetan.filev@inno-networks.com> wrote:
Hi all.

I want to use SIP early media to play music to the caller in kamailio
IMS installation like this:
http://www.sharetechnote.com/html/IMS_SIP_EarlyMedia.html

I looked a little bit but didn't find ready solution. The information is
vague on this topic.
Should this be done through a module or application server ?
May I need to handle ringing in onreply_route and send OK with SDP to
the caller in SCSCF ?

Regards.


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