cycoresystems / dispatchers Goto Github PK
View Code? Open in Web Editor NEWdispatcher management for kamailio and kubernetes; related tools
License: Apache License 2.0
dispatcher management for kamailio and kubernetes; related tools
License: Apache License 2.0
I see this error when " kubectl describe pod/kamailio-deployment-c4b6fbf4-vd9nq"
Error: failed to start container "dispatchers": Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/app": stat /app: no such file or directory: unknown
Can i set the dispacher.list path to the default /etc/kamailio/dispatcher.list ?
We would like to be able to get all the dispatcher sets from external application over rest request.
what do you think about this?
would you accept if we will do the work and make a pull request?
Thanks.
HI
My Pod containing kamailio and dispatcher containers is getting restarted multiple times.
dispatcher container just throws the following error
"failed to maintain dispatcher sets: error maintaining sets: failure during watch: EOF"
Please help..
Hi,
Its possible to append dispatcher list flags/priority/attributes to observed endpoints list via set and static argument?
e.g something like
pod.yaml
# omitted rest of config for brevity
args:
- "-set"
- my-ns:my-service=1:5060;"transport=tcp <or some arbitrary string that conforms to dispatcher list format>"
- "-static"
- 2=some.fqdn.com:5061;"transport=tls 0 3 socket=tls:123.45.6.78;ping_from=sip:x.y.z.com"
dispatcher.list
# dispatcher destination sets (groups)
#
# line format
# setid(int) destination(sip uri) flags(int,opt) priority(int,opt) attributes(str,opt)
0 sip:10.15.0.1:5060;transport=tcp
0 sip:10.15.0.2:5060;transport=tcp
1 sip:some.fqdn.com:5061;"transport=tls 0 3 socket=tls:123.45.6.78;ping_from=sip:x.y.z.com"
Would you please provide us with more details or description for the way the dispatchers work.
could you draw a simple diagram for kamailio and asterisk pod reload dispatched mechanism through the Kubernetes.
Thanks in advance
HI @Ulexus,
After testing it I found that when I trying to get a dynamic k8s dispatcher set list I got an empty json object- {}
When I trying to fetch a static set list everything is good, for example you can see the next response:
{"Members":["XXX.XX.XXX.XX:5060"]}
I think this issue is related to the fact that the implementation of "kubernetesSet" (7 parameters) is different from the implementation of "staticSet" (2 parameters).
But, with the fact that you are using an interface I can't really understand what is the specific problem.
Maybe in case of dynamic k8s set we should return from "getDispatcherSet" method a new instance of "staticSet" and initiate him with the relevant "members" from the dynamic set-
What do you think?
I will very appreciate your help with that.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.