<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
<div class="moz-cite-prefix">On 11/11/13 12:01 AM,
<a class="moz-txt-link-abbreviated" href="mailto:kamailio@AaronLux.com">kamailio@AaronLux.com</a> wrote:<br>
</div>
<blockquote cite="mid:52801036.6090709@AaronLux.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<font size="-1"><tt>Kamailio SIP server replies with a route to
192.168.1.173:5061 in the<br>
INVITE causing callee to drop call. Both caller and callee are
always<br>
connecting from WAN. rtpproxy is configured with
listen=192.168.1.173<br>
and advertise=WANIP. How can kamailio be configured to always
reply<br>
with route to WAN IP address?<br>
Thaanks in advance,<br>
Aaron<br>
<br>
#MISC INFO:<br>
Both callee and caller successfully establish 2-way audio
however callee<br>
client disconnects with '408 NO_USER_RESPONSE ' after ~60
seconds.<br>
rtpproxy started with: 'rtpproxy -F -l 'lanip' -A 'wanip' -s<br>
unix:/var/run/rtpproxy.sock'<br>
Caller Debug Logs:<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://pastebin.com/dw3h4cAw">http://pastebin.com/dw3h4cAw</a><br>
Callee Debug Log:<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://pastebin.com/dbayzVtU">http://pastebin.com/dbayzVtU</a><br>
<br>
I'm looking at adding to kamailio.cfg
'record_route_preset("WANIP:5061");' and/or
'record_route_advertised_address("WANIP:5061");'<br>
</tt></font></blockquote>
if traffic is coming also on the lan ip, then use
record_route_preset() with wan ip when sending to wan.<br>
<br>
Cheers,<br>
Daniel<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Trainings - Berlin, Nov 25-28
- more details about Kamailio trainings at <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> -
</pre>
</body>
</html>