[SR-Users] Struggling with RTPProxy and RTPEngine

Wilkins, Steve swwilkins at mitre.org
Wed Aug 22 19:05:02 CEST 2018


The SIP traffic is working this way for me but I still see RTP traffic going directly from Asterisk to the UAC, which means they need to whitelist asterisk IP.  Am I missing something?

From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Sergiu Pojoga
Sent: Wednesday, August 22, 2018 12:45 PM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: Re: [SR-Users] Struggling with RTPProxy and RTPEngine

Why would the UAC need to 'whitelist' Asterisk?

Here's an example of an inbound call from Asterisk to a UAC with a sip proxy in the middle.
Notice how the proxy mangles SDP in the 200 OK reply. Media will flow directly.

Not saying you shouldn't figure it out how to setup and use rtp proxies, just that it's not a must in all scenarios, especially when you have a media gateway such as Asterisk listening on a public interface.

[image.png]


On Wed, Aug 22, 2018 at 12:21 PM Wilkins, Steve <swwilkins at mitre.org<mailto:swwilkins at mitre.org>> wrote:
Hello,

Yes, I don’t the UAC to have to whitelist the Asterisk Server.   Everything works great for SIP traffic and I want the same thing for RTP traffic, but I just can’t get rtpengine to work (and I have tried many configurations).
From: sr-users <sr-users-bounces at lists.kamailio.org<mailto:sr-users-bounces at lists.kamailio.org>> On Behalf Of Sergiu Pojoga
Sent: Wednesday, August 22, 2018 11:23 AM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>>
Subject: Re: [SR-Users] Struggling with RTPProxy and RTPEngine

Is there a particular reason why you'd want to involve an rtp proxy in your setup?
Considering Asterisk is facing a public interface, media can be set up to flow direct between UACs and Asterisk.


On Wed, Aug 22, 2018 at 9:57 AM Daniel Tryba <d.tryba at pocos.nl<mailto:d.tryba at pocos.nl>> wrote:
On Wed, Aug 22, 2018 at 12:49:54PM +0000, Wilkins, Steve wrote:
> My offer and answer =>
> rtpengine_offer("trust-address replace-session-connection replace-origin");

If this is really your config you should change the offer to answer for
the answer part of the config. Either use rtpengine_offer and
rtengine_answer in the correct places of simply use rptengine_manage and
let the module figure out the right command.

I.O.W. you aren't giving any indepth info on your config.
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180822/e40e0769/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 95057 bytes
Desc: image001.png
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180822/e40e0769/attachment.png>


More information about the sr-users mailing list