Hi,
While Brandon is right, you can do absolutely do that but w/o any SDP or progress media in there. I'd ask why you want to do that! If you want to feed some ring-back music I'd advise you to append a branch to a media-server like asterisk and then let that do it for you.

So here's one way of doing that.

if(is_method("INVITE")){
         append_branch("sip:183@192.168.1.5:5060");
...
}

where IP is of asterisk and dialplan is configured to provider Progress() with media. 

Again, it depends on why you want it?

Regards,
Sammy

On Wed, Nov 29, 2017 at 11:13 PM, Brandon Armstead <brandon@cryy.com> wrote:
if(is_method(“INVITE”)){ .....

sl_send_reply(“183”, “Ringing”); ....

}

On Wed, Nov 29, 2017 at 6:44 PM 赵国杰 <zhaoguojie2010@163.com> wrote:
Hello guys, 
     Is it possible for kamailio to initiate a 183 to caller?

Thanks 


 

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

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