I have this in my config
$ru = "sip:"+$rU+"10.31.2.101:5090;transport=tls";
if (!t_relay_to_tls()) { sl_reply_error(); return; }
My ip address dest is 10.31.2.101.
Why has 130.31.2.101 been used?
13(10882) DEBUG: <core> [ip_addr.c:243]: print_ip(): tcpconn_new: new tcp connection: 130.31.2.101
4(10883) ERROR: <core> [tcp_main.c:4422]: tcpconn_main_timeout(): connect 130.31.2.101:5090 failed (timeout)
On Friday 07 February 2014 18:18:50 jaflong jaflong wrote:
$ru = "sip:"+$rU+"10.31.2.101:5090;transport=tls";
if (!t_relay_to_tls()) { sl_reply_error(); return; }
My ip address dest is 10.31.2.101.
Why has 130.31.2.101 been used?
Check the variable $du, if it is set it will be relayed there. $du=$null to unset and relay to $ru.
http://www.kamailio.org/wiki/cookbooks/4.0.x/pseudovariables Destination URI
$du - reference to destination uri
If loose_route() returns TRUE a destination uri is set according to the first Route header. $du is also set if lookup() function of 'registrar' module finds contact(s) behind NAT.