Git Product home page Git Product logo

dispatchers's People

Contributors

ulexus avatar yair-voca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dispatchers's Issues

dispatchers pod fail to create

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 ?

kamailio+dispatcher pod restarting frequently

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..

Ability to append flags to endpoints

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"

Need support

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

New end point for fetching dispatcher set list not working for dynamic k8s sets

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!

@danjenkins

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.