hi can any one help me to add rtpproxy in kamailio/kamailio-ci:master-alpine
thank you
I checked current image and found module present. Why you think not? ```sh [safarov@safarov-dell pkg]$ docker run -it --entrypoint sh kamailio/kamailio-ci:master-alpine / # find /usr/lib/kamailio/ -name "*rtp*" /usr/lib/kamailio/modules/rtpproxy.so /usr/lib/kamailio/modules/rtpengine.so ```
hi thank you for reply but i talking about rtpproxy package to install in same image not rtpproxy module thank you
Regards : Gaurav Kumar
On Fri, Oct 25, 2019 at 1:52 AM sergey-safarov notifications@github.com wrote:
I checked current image and found module present. Why you think not?
[safarov@safarov-dell pkg]$ docker run -it --entrypoint sh kamailio/kamailio-ci:master-alpine / # find /usr/lib/kamailio/ -name "*rtp*" /usr/lib/kamailio/modules/rtpproxy.so /usr/lib/kamailio/modules/rtpengine.so
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kamailio/kamailio/issues/2109?email_source=notifications&email_token=AFME63GBIPLDCPEC3YPOMS3QQH7YPA5CNFSM4JEQEEB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECGJ7YI#issuecomment-546086881, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFME63GVMXX57OLF5G4WSRTQQH7YPANCNFSM4JEQEEBQ .
Where you want use this image? 1. bare metal server 1. docker swarm 1. kebernetes
hi i want to use this image in kubernetese on AWS behinf the NAT so there is audio one way issue so that why i need rtpproxy in this image
thank you Regards : Gaurav Kumar
On Fri, Oct 25, 2019 at 12:14 PM sergey-safarov notifications@github.com wrote:
Where you want use this image?
- bare metal server
- docker swarm
- kebernetes
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kamailio/kamailio/issues/2109?email_source=notifications&email_token=AFME63H4RMU4KK3WJ6BSNYTQQKIURA5CNFSM4JEQEEB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECHLS4A#issuecomment-546224496, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFME63EGE36XLDF5D4CS6NTQQKIURANCNFSM4JEQEEBQ .
Closed #2109.
Kubernetes out of box not ready for VoIP/ You can look https://github.com/kubernetes/kubernetes/issues/80122
RTP will be fixed if rtpproxy, FreeSwitch or similar daemon will started on `host` network. Do to it reqired own dedicated media daemon image. [Example](https://cloud.docker.com/u/safarov/repository/docker/safarov/freeswitch)
`rtpproxy` image not exist on docker hub. bit may be easyly creeated. Here example how to create own docker images for your needs https://github.com/sergey-safarov/dockerfiles/blob/master/certbot/0.37.1/alp...
One feature that not exist on Kubernes is "static IP" for Kamailio. This may be done by customizing Kubernetes source code. Or by customizing kubernetes nodegroup init script.
I will close ticket, because this not related to kamailio or kamailio packaging.
hi thank you so much for this useful information
Regards : Gaurav Kumar
On Fri, Oct 25, 2019 at 3:04 PM sergey-safarov notifications@github.com wrote:
Kubernetes out of box not ready for VoIP/ You can look kubernetes/kubernetes#80122 https://github.com/kubernetes/kubernetes/issues/80122
RTP will be fixed if rtpproxy, FreeSwitch or similar daemon will started on host network. Do to it reqired own dedicated media daemon image. Example https://cloud.docker.com/u/safarov/repository/docker/safarov/freeswitch
rtpproxy image not exist on docker hub. bit may be easyly creeated. Here example how to create own docker images for your needs
https://github.com/sergey-safarov/dockerfiles/blob/master/certbot/0.37.1/alp...
One feature that not exist on Kubernes is "static IP" for Kamailio. This may be done by customizing Kubernetes source code. Or by customizing kubernetes nodegroup init script.
I will close ticket, because this not related to kamailio or kamailio packaging.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kamailio/kamailio/issues/2109?email_source=notifications&email_token=AFME63C6IO7MBV6XNFOLK33QQK4QXA5CNFSM4JEQEEB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECHZLTY#issuecomment-546280911, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFME63FVRRBT6RLLQ3PMDRDQQK4QXANCNFSM4JEQEEBQ .
I looked Amazon EKS webian and get recommendation for custom need use [amazon-eks-ami](https://github.com/awslabs/amazon-eks-ami) tools to embed own script into node group image.
Using this tool you can embed oneshot systemd unit that executed at server early boot process (`network.target`) and connect to server network interface with static private and public IP.
Later you use host network for Kamailio, rtpproxy, FreeSwitch daemons.
Think you can easily create bash or python network interface attachment script. Need just embed this script to API image.
One more solution to add static IP to kamailio in kubernetes. https://docs.projectcalico.org/v3.9/networking/add-floating-ip
Amazon EKS also supports Calico.
One more approach to get working SIP in kubernetes. We can utilize `Ingress` to routes SIP traffic inside Kubernetes. Routing and load balancing may be implemented using: 1. transport protocol; 2. To(From) URI domain part; 3. To(From) URI user part.
As `Ingress` may be used stateless Kamailio with `carrier_route` and `registrar` modules. Here is description how to implement clustered IP in cloud providers and how to implement load balancing. [Link](http://arthurchiao.art/blog/k8s-l4lb/)
hi i want to use this image in kubernetese on AWS behinf the NAT so there is audio one way issue so that why i need rtpproxy in this image thank you Regards : Gaurav Kumar […](#) On Fri, Oct 25, 2019 at 12:14 PM sergey-safarov ***@***.***> wrote: Where you want use this image? 1. bare metal server 2. docker swarm 3. kebernetes — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#2109?email_source=notifications&email_token=AFME63H4RMU4KK3WJ6BSNYTQQKIURA5CNFSM4JEQEEB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECHLS4A#issuecomment-546224496>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFME63EGE36XLDF5D4CS6NTQQKIURANCNFSM4JEQEEBQ .
Hi @gbmotra I have the same issue in kamailio audio one way issue... Did you get any solutions?? There is anyway to integrate kamailio and rtpproxy??
In Kubernetes you can start multiple independent docker images in one pod.
So I newer start embed rtpengine into this image. And not accept PR that add such a feature.