[OpenSIPS-Users] multi ip address with diffrent reply options

Kingsley Tart kingsley at dns99.co.uk
Mon Jun 7 13:24:36 EST 2021


Hi,

I don't know - I have never used the dispacher module.

Cheers,
Kingsley.

On Mon, 2021-06-07 at 14:38 +0300, gataka wrote:
> 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 at PUBLIC_IP_1")
> but I have PUBLIC_IP_X for different proposals.
> 
> thanks
> 
> 
> 
> 
> On Mon, Jun 7, 2021 at 12:52 PM Kingsley Tart <kingsley at dns99.co.uk> 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
> > > Users at lists.opensips.org
> > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> > 
> > 
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list