Use it via advertise option for listen
https://github.com/kamailio/kamailio-wiki/blob/main/docs/cookbooks/5.8.x/core.md#listen
Sadly didn't work, i have this
auto_aliases=no
alias=1x5.2x6.1x8.1x3:5060
alias=10.0.0.4:5060
# FIXED: Listen on all interfaces to accept traffic to public IP
listen=udp:10.0.0.4:5060
listen=tcp:10.0.0.4:5060
advertised_address=1x5.2x6.1x8.1x3
but my ping options works internaly, don't know if helps
DEBUG: <core> [core/tcp_main.c:2879]: tcpconn_do_send(): buf=#012OPTIONS sip:10.0.0.4:5061;transport=tcp SIP/2.0#015#012Via: SIP/2.0/TCP 1x5.2x6.1x8.1x3;branch=z9hG4bK2ca3.69a27417000000000000000000000000.0#015#012To: <sip:10.0.0.4:5061;transport=tcp>#015#012From: <sip:kamailio@10.0.0.4>;tag=a1745d152aa5696fb4c9575d03ef65c9-c87f87cc#015#012CSeq: 10 OPTIONS#015#012Call-ID: 3697af2c371834bb-1772762@10.0.0.4#015#012Max-Forwards: 70#015#012Content-Length: 0#015#012User-Agent: kamailio (5.7.4 (x86_64/linux))#015#012#015#012
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!