[SR-Users] Kamailio-5.3.3. NAT and RTP not working

David Villasmil david.villasmil.work at gmail.com
Thu May 14 13:21:32 CEST 2020


Also check the SDPs and make sure you get the internal up of rtpproxy on
the internal side, and the external on the external side.

On Thu, 14 May 2020 at 12:18, supreeth herle <herlesupreeth at gmail.com>
wrote:

> Can you explain some more when you mean by "RTP alone is not coming."?
> And, how are you checking/verifying that?
>
> Regards,
> Supreeth
>
> On Thu, 14 May 2020 at 13:12, Pavithra Mohanraja <pavimohan3004 at gmail.com>
> wrote:
>
>> Hi ,
>>
>> Yes I have configured as you mentioned only . In my pcscf only i have
>> rtpproxy also configured.
>> Floating IP i have given in listen address also as
>> listen = 10.40.10.3:4060 advertise 10.45.4.22:4060
>>
>> 10.40.10.3 - private ip
>> 10.45.4.22 - floating ip
>> Still RTP alone is not coming.
>>
>> Is it the only way of configuring NAT ?
>>
>> Thanks.
>>
>> On Thu, May 14, 2020 at 4:37 PM supreeth herle <herlesupreeth at gmail.com>
>> wrote:
>>
>>> Hello Pavithra,
>>>
>>> Have you tried advertising the floating IP of the VM running RTPProxy as
>>> follows?
>>>
>>> Edit /etc/default/rtpproxy file as follows:
>>>
>>> # Additional options that are passed to the daemon.
>>> EXTRA_OPTS="-l 172.24.15.30 -d DBUG:LOG_LOCAL0"
>>>
>>> here, "-l <PUBLIC_IP>"
>>>
>>> Hope it helps.
>>>
>>> Regards,
>>> Supreeth
>>>
>>> On Thu, 14 May 2020 at 13:01, Pavithra Mohanraja <
>>> pavimohan3004 at gmail.com> wrote:
>>>
>>>> Hi ,
>>>>
>>>> Could anybody please give me the approach how to configure NAT in
>>>> kamailio IMS.
>>>>
>>>> I have installed kamailio IMS in openstack environment which has
>>>> private ips for all four vms (each component in one vm). pcscf has one
>>>> floating IP attached. I have enabled "WITH_NAT" and configured rtpproxy .
>>>>
>>>> when i make a call from outside of openstack using 2 zoiper clients
>>>> with outbound proxy keeping floating ip of pcscf, I am getting 200 ok with
>>>> all SIP packets correctly flowing but there is no RTP Packet.
>>>>
>>>> When i try the same within openstack environment without using public
>>>> ip, I am getting RTP Packets.
>>>>
>>>> Kindly tell me the procedure of NAT Enablement or do i need to do
>>>> anything other than this.
>>>>
>>>> Kindly help because i am stuck with this for long time.
>>>>
>>>>
>>>> Thanks.
>>>> _______________________________________________
>>>> 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
>
-- 
Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200514/b10670c6/attachment.html>


More information about the sr-users mailing list