[SR-Users] Kamailio proxy for far-end nat traversal

Daniel-Constantin Mierla miconda at gmail.com
Fri May 8 09:24:50 CEST 2015


Hello,

you can force rtp relaying always, if it is what you want -- just call
rtpproxy_manage() for all INVITE requests and their replies.

Otherwise you have to tune the nat_uac_test() parameter in order to
match what you want to relay.

For signaling relaying, be sure you do record_route() for calls.

Cheers,
Daniel

On 07/05/15 16:01, rahul.ultimate wrote:
> Hi Daniel
>
> I have rtpproxy to perform media relaying.
>
> The case where it just timeouts: 
> 1. Client A behind NAT (wifi) calling Client B on 3G
>
>
>
> Sent from Samsung Mobile
>
>
> -------- Original message --------
> From: Daniel-Constantin Mierla
> Date:05/05/2015 12:52 (GMT+05:30)
> To: "Kamailio (SER) - Users Mailing List"
> Subject: Re: [SR-Users] Kamailio proxy for far-end nat traversal
>
> Hello,
>
> do you have rtpproxy or rtpengine for relaying rtp packets? Kamailio
> is routing only sip packets, you need the rtp relay application to
> help with media streams.
>
> Cheers,
> Daniel
>
> On 01/05/15 13:15, rahul.ultimate wrote:
>> Hello
>>
>> I need a small guidance on creating a light weight proxy which only
>> forwards the msgs to my sip server and also does supports symmetrical
>> nated clients.
>>
>> The way I have created the configuration is a slight modification of :
>> https://github.com/xlab1/sipfe_kamailio/blob/master/kamailio.cfg
>>
>> Problem is unless the sip clients use STUN media packets are not
>> routed. And sometimes even the signalling does not pass through.
>>
>> Should i not use fix_nated_register and switch to fix _ nated_contact
>> always ?
>>
>> Because in all those cases where signalling does not pass through, I
>> see RTO. My best guess is kamailio trying to communicate with private ip.
>>
>> Anything which I can try that you could suggest from the top of
>> yourmind woyld be muc appreciated. 
>>
>>
>> Thanks
>> Rahul
>>
>>
>> Sent from Samsung Mobile
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
> -- 
> Daniel-Constantin Mierla
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio World Conference, May 27-29, 2015
> Berlin, Germany - http://www.kamailioworld.com

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com

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


More information about the sr-users mailing list