[SR-Users] kamailio RTP Engine in kubernetes pods

David Villasmil david.villasmil.work at gmail.com
Wed Oct 21 19:48:50 CEST 2020


I set postStart and preStop on rtpengine and on freeswitch to basically
insert its ip address in the tables rtpengine and dispatcher.
And on kamailio I have a timer that reloads dispatcher and rtpengine.
On the pods, I set something like “HostNetwork: true”

I’m not at my computer now, but I’m pretty sure it’s something like that.

David

On Wed, 21 Oct 2020 at 16:57, Pavithra Mohanraja <pavimohan3004 at gmail.com>
wrote:

> Hi ,
> How you are setting network type to host for rtpengine alone. I have rtp
> engine inside pcscf pod . Can you please send me the configurations.
>
> Thanks,
> Pavithra
>
> On Wed, Oct 21, 2020, 5:11 PM David Villasmil <
> david.villasmil.work at gmail.com> wrote:
>
>> You must set rtpengine’s network type to host. Not expose a single port.
>>
>> On Tue, 20 Oct 2020 at 21:01, Pavithra Mohanraja <pavimohan3004 at gmail.com>
>> wrote:
>>
>>> Hi,
>>> I am not using free switch.In my case, I am testing with
>>> Ue (vm) -> ims (pods) -> ue (vm)
>>>
>>> Here rtp engine is running inside pcscf pod with 2223 as exposed UDP port
>>>
>>> When I make a call from ue , rtp packets flow from ue to pcscf pod ip .
>>>
>>> Rtp engine is listening to pod ip inside pcscf pod.
>>>
>>> How can I resolve this?
>>>
>>> Thanks,
>>> Pavithra
>>>
>>> On Wed, Oct 21, 2020, 1:19 AM David Villasmil <
>>> david.villasmil.work at gmail.com> wrote:
>>>
>>>> I have it running perfectly in network host mode. Public to private and
>>>> private to public. My freeswitches are in the private and
>>>> kamailio+rtpengine do the translation from public to private (and
>>>> viceversa). All in k8s pods.
>>>>
>>>> When fs or rtpengine a come up in the pods, they register themselves in
>>>> kamailio’s db tables rtpengine and dispatcher with their private IPs.
>>>>
>>>>
>>>> On Tue, 20 Oct 2020 at 15:43, Sergey Safarov <s.safarov at gmail.com>
>>>> wrote:
>>>>
>>>>> UDP in k8s not stable.
>>>>> So looks as need use host network.
>>>>>
>>>>> Second options troubleshoot nat in k8s.
>>>>>
>>>>> Thirt options, add RTP engine control over TCP in Kamailio.
>>>>>
>>>>> On Tue, Oct 20, 2020, 5:22 PM Pavithra Mohanraja <
>>>>> pavimohan3004 at gmail.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>> I have installed rtp engine inside pcscf pod and tried to make a
>>>>>> call. caller was unable to reach the pod environment with 2223 port exposed
>>>>>> for rtp. Kindly anyone help, if you have already done with pod based
>>>>>> deployment of ims.
>>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>> Pavithra
>>>>>>
>>>>> _______________________________________________
>>>>>> 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
>>>> _______________________________________________
>>>> 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
>> _______________________________________________
>> 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/20201021/be594025/attachment.htm>


More information about the sr-users mailing list