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
__________________________________________________________
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

Reply via email to