[SR-Users] In need of a simple, stateless 302 redirect for INVITE

Robert robert at vooey.co.uk
Thu Nov 30 22:53:51 CET 2017


Hi Fred,

I’m at home at the moment, so don’t have access to the config file - but that’s exactly what I’m doing. Literally, that. I do have a msg_apply_changes() that I’ve experimented with. Doesn’t seem to make a difference.

This is why I’m sure I’m doing something daft. I’ll post the config tomorrow.

Thanks - Robert...

> On 30 Nov 2017, at 21:46, Fred Posner <fred at palner.com> wrote:
> 
> Can you post how you are doing this?
> 
> Something like this should work...
> 
> append_to_reply("Contact: sip:fred at 10.11.12.13\r\n");
> sl_send_reply("302","moved");
> exit;
> 
> Regards,
> 
> Fred Posner
> https://qxork.com
> 
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users




More information about the sr-users mailing list