Hello,
On 11/11/13 12:01 AM, kamailio@AaronLux.com wrote:
Kamailio SIP server replies with a route to 192.168.1.173:5061 in the INVITE causing callee to drop call. Both caller and callee are always connecting from WAN. rtpproxy is configured with listen=192.168.1.173 and advertise=WANIP. How can kamailio be configured to always reply with route to WAN IP address? Thaanks in advance, Aaron
#MISC INFO: Both callee and caller successfully establish 2-way audio however callee client disconnects with '408 NO_USER_RESPONSE ' after ~60 seconds. rtpproxy started with: 'rtpproxy -F -l 'lanip' -A 'wanip' -s unix:/var/run/rtpproxy.sock' Caller Debug Logs: http://pastebin.com/dw3h4cAw Callee Debug Log: http://pastebin.com/dbayzVtU
I'm looking at adding to kamailio.cfg 'record_route_preset("WANIP:5061");' and/or 'record_route_advertised_address("WANIP:5061");'
if traffic is coming also on the lan ip, then use record_route_preset() with wan ip when sending to wan.
Cheers, Daniel