Ok, I've been beating myself up over this one for over a week now.
I have a default Debian 5.0 Lenny install, running Kamailio 1.5.0~svn20090504-1 package which was downloaded by adding these lines to my /etc/apt/sources.list:
deb
http://devel.kamailio.org/debian lenny main
deb-src
http://devel.kamailio.org/debian lenny main
Here's what I did:
1. Using the default Kamailio.cfg file, I enabled:
a. MySQL with: sed -i 's///g' kamailio.cfg
b. Authentication with: sed -i 's///g' kamailio.cfg
c. Persistent users with: sed -i 's///g' kamailio.cfg
d. RTPProxy with: sed -i 's///g' kamailio.cfg
e. Enhanced Accounting with: sed -i 's///g' kamailio.cfg
2. I changed the appropriate places in the config for MySQL setup.
3. I have RTPProxy running as
/usr/sbin/rtpproxy -s udp:localhost 7722 -u rtpproxy rtpproxy -p /var/run/rtpproxy/rtpproxy.pid -l <my public IP>
4. I added the SQL statements for the enhanced accounting
5. I added 2 users to the database with:
# kamctl add 1000 1234
# kamctl add 1001 1234
Both my SIP clients (1000 & 1001) are behind a NAT (behind the same NAT at the moment).
Now my two SIP clients (1000 & 1001) can connect just fine, they get authenticated, and they can call eachother - however, there is no audio being passed.
I've been thru the forums a dozen times now looking for answers and haven't been able to figure out what the problem is.
Does the default configuration not work out of the box? I see in the log files that nathelper IS detecting RTPProxy, and it IS enabling support for it. I don't know where to go from here..