Hello and thank you for your response.  I was going on something I read that said =>

 

“Getting rtp_engine to work with the standard kamailio.cfg is to simply add 
rtpengine_manage(); 
at the top of the NATMANAGE route so it will handle all rtp regardless of 
source being natted (in your config in the NAT router.”

 

Obviously, this is not correct.

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of Yu Boot
Sent: Tuesday, August 14, 2018 2:12 AM
To: sr-users@lists.kamailio.org
Subject: Re: [SR-Users] Rtpengine?

 

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.