I just can't get rtpengine to work. i have tried multiple configurations, but to no avail. I would appreciate any help/advice I can get. Note that calls work good if rtpengine is disabled.
Here is my setup =>
Public IP: 20.20.20.20 Private IP 10.10.10.10
flow => webrtc client <-> kamailio+rtpengine <-> asterisk <-> kamailio <-> legacy sip phone
rtpenngine startup (I have tired a few different startups) => rtpengine --interface=int/10.10.10.10 --interface=ext/10.10.10.10!20.20.20.20 --listen-ng=127.0.0.1:12221 --pidfile=/var/run/rtpengine --dtls-passive -f -m 10000 -M 20000 -E
kamailio => Invites: rtpengine_manage("trust-address replace-origin replace-session-connection direction=ext direction=int ICE=remove RTP/AVP"); Reply's: rtpengine_manage("trust-address replace-origin replace-session-connection ICE=force RTP/SAVPF");
I have tried direction ext ext; and many other combinations, each producing it's own incorrect behavior.
I would really appreciate any help!
Thank you, Steve