Notice that if you don't change Kamailio's basic config it will always RTP proxy for private IP addresses ( those specified on RFC-1918). If you are running your Kamailio server in a very low resource computer it can cause problems.
 
To isolate where the problem is, I would recommend you disable the use of NAT and test your system using the same software client in both ends as most of the times this sound problem is related to software based codecs, CPU speed, bad wireless quality, etc. and this has nothing to do with your SIP registar.

Moacir

To: sr-users@lists.sip-router.org
From: mitan23@aol.com
Date: Sun, 3 Mar 2013 22:09:49 -0500
Subject: Re: [SR-Users] Kamailio problem with both clients in the same NAT

Actually I've come far to this problem
I have installed Kamailio as sip server/registrar and using default config. I have this situation: mobile cleint using IMSdroid (extension 100) windows client using Linphone (extension 300)
Register satus: both clients register successfuly
Both clients get connected to kamailio using my Wireless WIFI modem.
I dial (from IMSdroid) to linphone: Both ring OK.
Audio heard in IMSdroid is OK. Audio heard in windows linphone is just wind sound and jitter (or train sound, when I speak louder it gets louder)
Video is ok in both sides (both clients show video clearly)
Both clients get connected to kamailio (public internet IP)
What the problem is from?

Mitan Lopez
mitan23@aol.com


-----Original Message-----
From: Moacir Ferreira <moacirferreira@hotmail.com>
To: Kamailio Mail List <sr-users@lists.sip-router.org>
Sent: Sun, Mar 3, 2013 11:54 pm
Subject: Re: [SR-Users] Kamailio problem with both clients in the same NAT

The best way to understand all NAT variations -> http://en.wikipedia.org/wiki/Network_address_translation
 
In there they explain:
 
Symmetric NAT
  • Each request from the same internal IP address and port to a specific destination IP address and port is mapped to a unique external source IP address and port, if the same internal host sends a packet even with the same source address and port but to a different destination, a different mapping is used.
  • Only an external host that receives a packet from an internal host can send a packet back.
     

Date: Sun, 3 Mar 2013 23:05:46 +0700
From: onmyway133@gmail.com
To: sr-users@lists.sip-router.org
Subject: Re: [SR-Users] Kamailio problem with both clients in the same NAT

Is that symmetric NAT ?


On Thu, Feb 28, 2013 at 6:46 PM, mohavere36 <mohavere36@yahoo.com> wrote:
 hi, I'm struggling for 2 days to make a config file for kamailio in a situation where clients arein the same nat but kamailio has public IP, one way audio problem, does any one have a solution for it?


_______________________________________________
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

_______________________________________________ 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
_______________________________________________
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

_______________________________________________ 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