[OpenSIPS-Users] TLS - nated contact is not fixed
Bogdan-Andrei Iancu
bogdan at opensips.org
Thu Sep 12 11:10:47 EDT 2019
Hi Dragomir,
See the "Received" field - I think the fix_nated_register() did the job.
What do you print when doing the xlog "Relay sent to...." ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
OpenSIPS Summit 2019
https://www.opensips.org/events/Summit-2019Amsterdam/
On 9/5/19 1:24 PM, Dragomir Haralambiev wrote:
> Not working:
> AOR:: 33341656
> Contact:: sip: 33341656
> @192.168.1.106:50443;transport=TLS;ob Q=
> Expires:: 260
> Callid:: 554fdfd6ee794451942f693e40fbe362
> Cseq:: 31813
> User-agent:: MicroSIP/3.19.18
> Received:: sip:39.121.145.121:50445;transport=TLS
> State:: CS_SYNC
> Flags:: 0
> Cflags:: TLS RM_ONTO_FLAG SIP_PING_BFLAG NAT_BFLAG
> Socket:: tls:83.21.101.114:5062
> <http://83.21.101.114:5062>
> Methods:: 8063
> SIP_instance::
> <urn:uuid:00000000-0000-0000-0000-0000a350d2d0>
>
> When run :t_relay();
>
> Relay send to 192.168.1.106:50443...
>
> На чт, 5.09.2019 г. в 11:21 ч. Hristo Donev <nocbgtelcom at gmail.com
> <mailto:nocbgtelcom at gmail.com>> написа:
>
> Add the global parameter:
> tcp_accept_aliases=yes
>
> insert in main route:
> if (proto==TLS) { force_tcp_alias(); }
>
>
>
> На чт, 5.09.2019 г. в 10:37 ч. Dragomir Haralambiev
> <goup2010 at gmail.com <mailto:goup2010 at gmail.com>> написа:
>
> Hello,
>
> I have :
> if (is_method("REGISTER|SUBSCRIBE")) {
> fix_nated_register();
> }
> fix_nated_contact();
>
> When I have Transport UDP all is OK.
> Wen I have Transport TLS, contact record in location table is
> not fixed.
>
> What I do to fix this?
>
> Regards,
> Dragomir
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto: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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190912/fd2e165f/attachment.html>
More information about the Users
mailing list