I have now put a fix_nated_sdp statement to the route[RELAY]. But the media proxy over the rtpproxy still doesn't work. The SIP Signalling itself works perfectly (I can start a call an the other client receives it).

fix_nated_sdp("2", "MYPUBLICIP");

Thanks

Benjamin

2018-03-27 12:15 GMT+02:00 Arsen <arsen.semionov@gmail.com>:
Since you are on Amazon AWS, make sure that you advertise the instance public IP address in the listen parameter

listen=udp:private_ip:5060 advertise public_ip:5060

according to the default kamailio cfg rtpproxy will be applied if an INVITE request passes nat_uac_test("19")

make sure that rtpproxy is installed and running, you also need to set public IP address in the rtpproxy startup options. 


Regards,



Arsen Semionov

On Tue, Mar 27, 2018 at 10:45 AM, Benjamin Marty <benjamin.marty@gmail.com> wrote:
Hi Arsen,

Thanks to clean up that understanding block :)

I still have a (little?) issue in my Installation. I installed the Kamailio with standard configuration and enabled "WITH_NAT".

If I now register two clients (both Zoiper) they try to do the RTP P2P to each other. But I want to process the RTP on the Server. What Parameter do I have to change?

Thanks

Benjamin

2018-03-27 8:07 GMT+02:00 Arsen <arsen.semionov@gmail.com>:
Hi Benjamin,

Yes, Kamailio is a SIP proxy and does not deal with RTP, so rptproxy is the tool to handle media traffic in your case. 
rtpproxy is not the only choice, you also can check rtpengine. https://github.com/sipwise/rtpengine


Regards,


Arsen Semionov

On Tue, Mar 27, 2018 at 8:54 AM, Benjamin Marty <benjamin.marty@gmail.com> wrote:
Hi,

I am new to Kamailio and coming a bit from the Asterisk side.
My goal is to set up a bunch of users on a Kamailio Instance on AWS EC2 and get them able to call each other and talk to each other over the Internet without P2P media stream.
Is rtpproxy the tool that enables that? As far my knowledge is right Kamailio isn't able to do any sort of RTP handling.

Regards, Benjamin

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users



_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users



_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users



_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users