Testbox config used default config with enabled roles ``` #!KAMAILIO #!define WITH_DEBUG #!define WITH_MYSQL #!define WITH_AUTH #!define WITH_USRLOCDB #!define WITH_PRESENCE #!define WITH_PSTN ``` Kamailio behind NAT and bounded to NIC using ``` listen=udp:eth0:5060 advertise 199.180.30.245:15060 ``` SIP device creates call to PSTN number +18009998877
Please look at wireshark PCAP file packet `11` You can find `Record-Route` with private address, advertise keyword not take effect ``` Record-Route: sip:172.17.0.2;lr ``` Kamailio debug loo attachet too [kamailio-log.txt](https://github.com/kamailio/kamailio/files/1212335/kamailio-log.txt)
[sip.zip](https://github.com/kamailio/kamailio/files/1212338/sip.zip)