[prev in list] [next in list] [prev in thread] [next in thread]
List: openser-users
Subject: Re: [SR-Users] Encode host ip in Contact header for semi-stateless setup
From: César Pinto <Cesar.Pinto () a-e ! es>
Date: 2019-11-27 7:29:13
Message-ID: 82dfa489e7f74cd486113422010cd867 () alhmail02 ! ae ! local
[Download RAW message or body]
Just a tip for old times.
I had problems with a broken provider and I had to put this snipt of code in my \
script:
xlog ("$shv(log_debug)"," [$ci] Fixing Contact header to \
<sip:$var(contact_user)@IP_PUBLICA:5062>.\n"); remove_hf("Contact");
append_hf("Contact: <sip:$var(contact_user)@IP_PUBLICA:5062>\r\n");
It worked very well for me. The only problem is that you should forge all the Contact \
from zero.
I hope this can help you.
César Pinto
Voice Service Administrator
t: +34 91 787 23 00
alhambra-eidos.com
-----Mensaje original-----
De: sr-users [mailto:sr-users-bounces@lists.kamailio.org] En nombre de Daniel Tryba
Enviado el: martes, 26 de noviembre de 2019 17:40
Para: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Asunto: Re: [SR-Users] Encode host ip in Contact header for semi-stateless setup
On Tue, Nov 26, 2019 at 10:57:57AM -0500, Daniel Greenwald wrote:
> Yes I've played with topoh but I need more than hiding, I need to
> store data (freeswitch's ip) in the contact header.
That can be done with set_contact_alias / handle_ruri_alias from the nathelper \
module. But I guess you are aware of those, so maybe I just don't understand what you \
are trying to accomplish and what parts you have control over.
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic