Why did 'transport=tls' 'r2=on' 'lr=on' and 'nat=yes' all disappear after just adding 'record_route_preset("myurl.com");' (I had to edit my routing logic to fix a problem with kamailio sending record-route to WAN clients telling them to respond on my private NAT IP address)
# I'm concerned my edits to the routing logic is incorrect and would like a second opinion. (I added record_route_preset on line 41 and commented out line 42): http://pastebin.com/3azFStmE # Here is what record-route looked like Before adding record_route_preset (3 lines): Record-Route: <sip:66.111.222.111:5061;transport=tls;r2=on;lr=on;nat=yes> Record-Route: <sip:66.111.222.111;r2=on;lr=on;nat=yes> Record-Route: <sip:myurl.com;lr=on> # And now here is what they look like After adding record_route_preset: (1 line) Record-Route: <sip:myurl.com;lr> MISC INFO: # kamailio -v version: kamailio 4.0.4 (i386/linux) cabe58 flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. id: cabe58 compiled on 01:07:11 Nov 2 2013 with gcc 4.4.7 _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users