[SR-Users] Kamailio NAT AWS EC2

Benjamin Marty benjamin.marty at gmail.com
Thu Mar 29 09:53:55 CEST 2018


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 at 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")
> https://kamailio.org/docs/modules/5.1.x/modules/
> nathelper.html#nathelper.f.nat_uac_test
>
> make sure that rtpproxy is installed and running, you also need to set
> public IP address in the rtpproxy startup options.
>
>
> Regards,
>
>
>
> Arsen Semionov
> www.eurolan.info
> cell: +442035198881 <+44%2020%203519%208881>
>
> On Tue, Mar 27, 2018 at 10:45 AM, Benjamin Marty <benjamin.marty at 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 at 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
>>> www.eurolan.info
>>> cell: +442035198881 <+44%2020%203519%208881>
>>>
>>> On Tue, Mar 27, 2018 at 8:54 AM, Benjamin Marty <
>>> benjamin.marty at 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 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
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> 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
> 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/20180329/6b57b2c5/attachment.html>


More information about the sr-users mailing list