On Tue, Sep 19, 2017 at 11:26:46AM +0800, 赵国杰 wrote: > Thanks Daniel, I've done some digging, and from Andrew Prokop's blog, > it says this envolves early midia. Usually this is done by reply a 183 > to the caller with media ip and port in the SDP. This makes sense but > i still have no idea how to generate 183 response with embedded SDP.
Just use asterisk/freeswitch/sems/whatever to playback media and you don't have to touch SDP in kamailio to do this. In order to avoid answering the call you have to generate the audio without a 200 OK, so your option is 183 Progress, which asterisk will do for you with Playback(foo,noanswer). _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users