开源软件名称(OpenSource Name):CyCoreSystems/asterisk-k8s-demo开源软件地址(OpenSource Url):https://github.com/CyCoreSystems/asterisk-k8s-demo开源编程语言(OpenSource Language):Go 81.5%开源软件介绍(OpenSource Introduction):Asterisk on Kubernetes DemoThis repository contains code and markup for the deployment of a highly scalable voice application on Kubernetes using Kamailio, Asterisk, and NATS. Supporting tools:
Getting startedThere are a number of kubernetes YAML files in the k8s
directory. Some have numerical prefixes indicating that they should be deployed
in a particular order. For the most part, getting the demo off the ground is as
easy as installing these YAML files using the usual Asterisk configThe required configuration for Asterisk has been stripped down a lot, but there are still a few things which need to be set up: ARI, dialplan, and PJSIP. Examples are included in the asteriskconfig directory. However, you will need to update the inbound.conf.tmpl file with your own DIDs (telephone numbers). Once configured, you will need to load this configuration in to kubernetes.
Kamailio nodeSelectorThe default kamailio DaemonSet looks for a GKE nodepool named Google Voice API keyIf you intend to use the Google Speech APIs demo, you will need your own API key
loaded. When you create an API key on Google, you are given the option to
download it as a
Firewall rulesDepending on the environment your kubernetes is deployed to, there are any number of ways to configure the firewall. Fundamentally, though, UDP ports 5060 and 10000-30000 need to flow into the nodes on which the kamailio (and rtpproxy) Pods are running. On GCP, this is fairly easy. You can create a special Node Pool on which the kamailio Pods will be scheduled which have special instance tags applied. Then, you can tell the GCP firewall to allow the UDP ports 5060,10000-30000 into instances with those special tags. The kamailio deployment currently expects a nodepool to be available and named
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论