sippy / rtpproxy

The RTPproxy is a high-performance software proxy for RTP streams that can work together with Sippy B2BUA, Kamailio, OpenSIPS and SER.
http://rtpproxy.org
BSD 2-Clause "Simplified" License
417 stars 114 forks source link

rtpproxy only relay RTCP but not RTP #65

Open zhaoguojie2010 opened 7 years ago

zhaoguojie2010 commented 7 years ago

Hi everyone, I'm running kamailio and rtpproxy on the same server behind a NAT.

I start the deamon using command: rtpproxy -A 35.185.130.154 -F -l 10.240.0.62 -m 35000 -M 65000 -s udp:*:64000 -d INFO

When two sip clients call each other, the rtpproxy syslog shows that a rtp session has been established successfully.

rtpp_command_ul_handle: new session on IPv4 port 56340 created ... ... rtpp_command_ul_handle: lookup on ports 56340/44468, session timer restarted

but the two clients have no audio. And I can noly capture RTCP packets on the server, NO RTP packet.

sudo tcpdump -i eth0 udp port 56340 -vv -X

0 packets captured 0 packets received by filter 0 packets dropped by kernel

sudo tcpdump -i eth0 udp port 56341 -vv -X

06:56:51.983377 IP (tos 0x0, ttl 52, id 22062, offset 0, flags [none], proto UDP (17), length 36) 175.100.202.33.6746 > kamailio-test-01.c.cmbackup-1009.internal.56341: [udp sum ok] UDP, length 8 0x0000: 4500 0024 562e 0000 3411 abe7 af64 ca21 E..$V...4....d.! 0x0010: 0af0 003e 1a5a dc15 0010 4010 80c9 0001 ...>.Z....@..... 0x0020: 5768 6c67 Whlg 1 packets captured 1 packets received by filter 0 packets dropped by kernel

Am I missing something in the config? Appreciate it if anyone could help.

Cheers Jesse