@Daniel

Thanks for reply. But do you know what affects Kamailio in deciding whether to rewrite c= or not ?


On Sun, Mar 3, 2013 at 11:42 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
Hello,

for nat trversal, I suggest you use the default kamailio.cfg from later versions 3.3.x or upcoming 4.0. Read the comments at the top of the file -- practically the routing logic for nat traversal is surrounded by WITH_NAT define.

o= line is not used for rtp relaying, but some clients expect to be the same as c=, at that moment it should be rewritten (or better rewrite it always to be sure that is not the reason of some no-audio problem).

Cheers,
Daniel


On 3/1/13 12:47 PM, Khoa Pham wrote:
Hi, I mistype. What I want to know is what affects Kamailio decision in rewriting c= in SDP.


 if (isflagset(6)) {
 force_rport();
 fix_nated_contact();
 force_rtp_proxy();
 }

Which means that Kamalio only cares if the caller is behind NAT or not.

Does it care about caller's symmetric NAT, using STUN, callee's nat type ?


On Fri, Mar 1, 2013 at 10:38 AM, Khoa Pham <onmyway133@gmail.com> wrote:
Hi, I read in http://kamailio.org/docs/modules/1.4.x/nathelper.html that Kamailio might rewrite ip address in o= in SDP to facilitate NAT traversal. 

It may decide to use to original IP or use IP of RTP server. What factors affect its decision ?

--
Khoa Pham
HCMC University of Science
Faculty of Information Technology



--
Khoa Pham
HCMC University of Science
Faculty of Information Technology


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
 - http://conference.kamailio.com -

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




--
Khoa Pham
HCMC University of Science
Faculty of Information Technology