Hello.

It's not enough to install rtpproxy/rtpengine and start it. You need to call rtpengine functions from kamailio.cfg for every SIP packet with SDP so media will be routed "thru Kamailio".

To make it easier, I recommend to begin with rtpproxy, not rtpengine. Default kamailio.cfg contains everything you need to proxy media flow by rtpproxy, just enable WITH_NAT parameter.



14.08.2018 1:51, Wilkins, Steve пишет:

HI All,

 

I am not sure if I understand it correctly but I thought that I could use rtpengine to redirect media packets.  My current SIP flow is =>

Softphone=>Kamailio=>Asterisk=>Kamailio=>Softphone, and Media flows from is Asteriskósoftphone. But I don’t want Media to flow this way.

That is, I do not want Asterisk and the Softphone to be aware of each other. I would like the Media to go through Kamailio just like SIP packets do.

I installed rtpengine and it starts and runs with no errors.  I even see traffic with the call is made but media traffic still flows from softphoneóasterisk.