Dear  Kingsley ,
It can work if you talking about the options geting to you,
what about sending the options from you
in the cfg I set
modparam("dispatcher", "ds_ping_from", "sip:ping@PUBLIC_IP_1")
but I have PUBLIC_IP_X for different proposals.

thanks




On Mon, Jun 7, 2021 at 12:52 PM Kingsley Tart <[email protected]> wrote:

> 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
> > [email protected]
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to