Hi,
I have an IMS setup with Kamailio, where the attached phone is in private network. 2 rtpengines are required to bridge between networks: 1. with 2 network interfaces - internal and external 2. with single interface in the external network (required as this interface is known to a firewall, not under my control)
I'm trying to daisy-chain the 2 rtpengine instances so media path could be established, by following the documentation:
modparam("rtpengine", "rtpengine_sock", "1 == udp:X.X.X.X:9910") modparam("rtpengine", "rtpengine_sock", "2 == udp:Y.Y.Y.Y:9910")
after that in the script on INVITE: set_rtpengine_set("1", "2"); rtpengine_manage("internal, external");
and on the answer: set_rtpengine_set("1", "2"); rtpengine_manage("external, internal");
The behaviour I was expecting was in the offer to see only the IP of rtpengine of setid 2 and on the answer to see the internal address of the rtpengine of setid 1. What I'm actually observing is both addresses of the 2 rtpengines get appended on both directions and this seems to confuse the phone as no RTP is flowing.
I'll appreciate any help, suggestions or guidance.
Regards, Lyubomir Yatanski