I have Kamailio and rtpproxy running behind NAT on the same server.
Inbound calls to Kamailio from the outside work fine and I have two
way audio but when I try an outbound echo test call the call connects
but I have no audio. rtpproxy seems to be running and all rtp ports
are poiting to Kamailio internal ip. The syslog is showing this error.
Not sure what's missing in the config. Appreciate any inputs. Thanks.
root@Kamailio:~# tail /var/log/syslog
Jun 3 01:24:02 Kamailio kamailio[810]: INFO: rtpproxy
[rtpproxy.c:1403]: rtp proxy <udp:127.0.0.1:22222> found, support for
it enabled
Jun 3 01:25:05 Kamailio kamailio[791]: INFO: <core> [forward.c:786]:
broken reply to forward - no 2nd via
Jun 3 01:25:29 Kamailio kamailio[791]: ERROR: rtpproxy
[rtpproxy.c:2211]: incorrect port 0 in reply from rtp proxy
Jun 3 01:25:30 Kamailio kamailio[793]: ERROR: rtpproxy
[rtpproxy.c:2211]: incorrect port 0 in reply from rtp proxy