Yes I do this by setting t_on_reply("OPTIONS") when the request comes in and then create a route onreply_route[OPTIONS] that changes the headers in the response using remove_hf() and append_hf().
If you want to handle the options request locally you could use append_to_reply() to append the additional headers to your reply. Note: I'm quite new to OpenSIPS so there may be a better way. Cheers, Kingsley. On Mon, 2021-06-07 at 12:13 +0300, Erez wrote: > Hey , > I create a container with multi ip address , > now I need to reply to the options with different ip addresses ,but > all the options go from one interface with one ip address in the > options header > Is it possible to rewrite options param on the fly ? > > thanks in advance > Gataka > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users