[SR-Users] probles with listen advertise address trying to be resolved

Karsten Horsmann khorsmann at gmail.com
Wed Dec 1 14:42:03 CET 2021


Hi Richard,


i play around with your examples and this combination(s) works for me:
version: kamailio 5.5.3

#!substdef "!LISTEN_EXTERNAL_SOCKET_TLS!tls:10.225.73.16:5061!g"
#!substdef "!ADVERTISE_NAT_ADDRESS_TLS!1.2.3.4!g"
#!substdef "!TLS_PORT!5061!g"
#!substdef "!LISTEN_NAME!ext_tls!g"

*listen = LISTEN_EXTERNAL_SOCKET_TLS advertise
ADVERTISE_NAT_ADDRESS_TLS:TLS_PORT name "ext_tls"*
or
*listen = LISTEN_EXTERNAL_SOCKET_TLS advertise
ADVERTISE_NAT_ADDRESS_TLS:TLS_PORT name "LISTEN_NAME"*



"/etc/kamailio/kamailio.cfg" 1626L, 48756C geschrieben
# kamailio -c -f /etc/kamailio/kamailio.cfg
loading modules under config path: /usr/lib64/kamailio/modules/
 0(17553) INFO: tls [tls_init.c:503]: init_tls_compression(): disabling
compression...
Listening on
             t*ls: 10.225.73.16 [10.225.73.16]:5061 name ext_tls advertise
1.2.3.4:5061 <http://1.2.3.4:5061>*
Aliases:

config file ok, exiting...

Hope this helps

Kind regards
Karsten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20211201/f4fdbbd7/attachment.htm>


More information about the sr-users mailing list