[SR-Users] help to configure topos module configuration
patrickarton at hotmail.com
Fri Mar 18 21:51:58 CET 2022
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 <sr-users-bounces at lists.kamailio.org> de la part de Marrold <kamailio at marrold.co.uk>
Envoyé : vendredi 18 mars 2022 10:42
À : Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Objet : Re: [SR-Users] help to configure topos module configuration
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.
On Fri, Mar 18, 2022 at 8:44 AM Patrick Karton <patrickarton at hotmail.com<mailto:patrickarton at 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 ?
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sr-users