[SR-Users] kamailio 4.0.4 Record-Route reply setting

Daniel-Constantin Mierla miconda at gmail.com
Mon Nov 11 11:38:18 CET 2013


Hello,

On 11/11/13 12:01 AM, kamailio at 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

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Nov 25-28
   - more details about Kamailio trainings at http://www.asipto.com -

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20131111/95aaf834/attachment.html>


More information about the sr-users mailing list