Re: [SR-Users] help to configure topos module configuration

2022-03-18 Thread Patrick Karton
Thanks,

I finally made it work.

i only needed to remove contact_host param  so that the Contact headers for 
Caller and Callee are taken from Record-Route.

De : sr-users  de la part de Marrold 

Envoyé : vendredi 18 mars 2022 10:42
À : Kamailio (SER) - Users Mailing List 
Objet : Re: [SR-Users] help to configure topos module configuration

Hi,

I recently looked into this and I don't believe it's possible.

As a work around I used split DNS and an FQDN in the contact.

Thanks
Matthew

On Fri, Mar 18, 2022 at 8:44 AM Patrick Karton 
mailto:patrickar...@hotmail.com>> wrote:

Caller <--> (internal_IP) Kamailio (external_IP) <---> Callee


I have this set up of kamailio with 2 interfaces.

i use topos module for topology hiding and what i want to do is to
send  external_IP in Contact Header of request relayed to Callee and internal_IP
in Contact Header of response relayed to Caller.

i noticed that :
when i use topos module with contact_mode to 0
all Record-Route and Caller Via Header are removed and thats great.
but i dont find way to put 2 different  ip addresses in Request and Response 
Contact Header?

when i use contact_mode to 2 Record-Route and Caller Via Header are not anymore 
removed thats bad for
topology hiding. And its seems we can not use $xavu(_tps_=>contact_host)  
parameter of module
to put 2 different  ip addresses in Request and Response Contact Header.


What i want is :

- remove all Record-Route and Caller Via Header for request like when 
contact_mode to 0

- and put 2 different  ip addresses in Request and Response Contact Header

is it possible to achieve it ?

Thanks.
__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] help to configure topos module configuration

2022-03-18 Thread Marrold
Hi,

I recently looked into this and I don't believe it's possible.

As a work around I used split DNS and an FQDN in the contact.

Thanks
Matthew

On Fri, Mar 18, 2022 at 8:44 AM Patrick Karton 
wrote:

>
> Caller <--> (internal_IP) Kamailio (external_IP) <---> Callee
>
>
> I have this set up of kamailio with 2 interfaces.
>
> i use topos module for topology hiding and what i want to do is to
> send  external_IP in Contact Header of request relayed to Callee and
> internal_IP
> in Contact Header of response relayed to Caller.
>
> i noticed that :
> when i use topos module with contact_mode to 0
> all Record-Route and Caller Via Header are removed and thats great.
> but i dont find way to put 2 different  ip addresses in Request and
> Response Contact Header?
>
> when i use contact_mode to 2 Record-Route and Caller Via Header are not
> anymore removed thats bad for
> topology hiding. And its seems we can not use $xavu(_tps_=>contact_host)
>  parameter of module
> to put 2 different  ip addresses in Request and Response Contact Header.
>
>
> What i want is :
>
> - remove all Record-Route and Caller Via Header for request like when
> contact_mode to 0
>
> - and put 2 different  ip addresses in Request and Response Contact Header
>
> is it possible to achieve it ?
>
> Thanks.
> __
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] help to configure topos module configuration

2022-03-18 Thread Patrick Karton

Caller <--> (internal_IP) Kamailio (external_IP) <---> Callee


I have this set up of kamailio with 2 interfaces.

i use topos module for topology hiding and what i want to do is to
send  external_IP in Contact Header of request relayed to Callee and internal_IP
in Contact Header of response relayed to Caller.

i noticed that :
when i use topos module with contact_mode to 0
all Record-Route and Caller Via Header are removed and thats great.
but i dont find way to put 2 different  ip addresses in Request and Response 
Contact Header?

when i use contact_mode to 2 Record-Route and Caller Via Header are not anymore 
removed thats bad for
topology hiding. And its seems we can not use $xavu(_tps_=>contact_host)  
parameter of module
to put 2 different  ip addresses in Request and Response Contact Header.


What i want is :

- remove all Record-Route and Caller Via Header for request like when 
contact_mode to 0

- and put 2 different  ip addresses in Request and Response Contact Header

is it possible to achieve it ?

Thanks.
__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users