Hello,
I switched to rtpproxy; rtpproxy runs with no errors, Kamailio runs with no errors, but Asterisk is still sending the media packets, I want the proxy to be sending the packets (this way, the providers have no knowledge of Asterisk and no need to whitelist every provider, just Kamailio). Do I need to add rtpproxy_manage() at every SIP message?
Thank you, -Steve
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.