Closed ftntming closed 4 years ago
Thanks for you kind words, and you are correct: we do not get into things like extensions, registrations, or extension-to-extension calling. The demo only handles inbound calls being terminated to Asterisk.
Those kinds of features are more complicated and more implementation-specific, and I what I was primarily trying to do is demonstrate the minimum possible scalable VoIP deployment on Kubernetes.
Just for general guidelines, though:
Thanks @Ulexus for your quick response and the guidelines. If we're using kamailio as load balancer, why it's service only bind to 5060/UDP but not RTP ports? Also current kamailio is using ClusterIP, which is not public IP, how can I allow my local client hit the kamailio through k8s?
Thanks a lot!
kamailio does not handle RTP in any way. rtpproxy
(which is included within the kamailio Pod) handles RTP. However, kubernetes does not provide a way to expose a wide range of ports as RTP generally requires. Instead, we make use of symmetric RTP and the fact that the near side should begin sending RTP without waiting on the remote side, to trigger NAT.
Note that any related firewall rules are still up to you to open for the RTP port range. In the demo, the default range is 20000-30000/UDP.
Got it! Thanks Sean. That's really helpful!
Hi Sean and others,
My apologies for creating this issue since I don't know a better way to approach you for help.
I've setup the asterisk demo according to your wonderful documentation. My current state is![image](https://user-images.githubusercontent.com/59328694/74621770-05096c00-50f3-11ea-91b9-672551e01056.png)
My dumb question is how I can test/verify the system is working? In your demo I didn't see the detailed steps. And now with all the services default to ClusterIP I don't know how to tested them from my local hosts. More specifically, I'm looking to
Any help is much appreciated!
Thanks a lot, Ming