Re: [SR-Users] RUN kamailio in kubernetes

2019-09-12 Thread Gaurav Bmotra
Hi Thank you for your response Yes I m looking for HA AND scalability On Fri, Sep 13, 2019, 12:48 AM Mack Hendricks wrote: > What features of K8s are you looking to benefit from? > > - Service Discovery (SD) of media servers > - HA > - Scalability > > If just SD then using Consul would give you

Re: [SR-Users] Issue with and 0 when comparing vars

2019-09-12 Thread Joel Serrano
I think I found the solution to my problem: I'm comparing to 0 (number) when I should be comparing to "0" (string)? Using: ... if ($hdr(Expires)=="0" || $sel(contact.expires)=="0") { ... Is working as expected. Sorry for the noise! Joel. On Thu, Sep 12, 2019 at 5:50 PM Joel Serrano

[SR-Users] Issue with and 0 when comparing vars

2019-09-12 Thread Joel Serrano
Hello, I'm running into what I believe a weird situation when comparing to 0. I have the following lines: xlog("L_NOTICE", "DEBUG: sel(contact.expires)=$sel(contact.expires) - hdr(Expires)=$hdr(Expires)\n"); if ($hdr(Expires)==0 || $sel(contact.expires)==0) {

Re: [SR-Users] Using $shv within current call only

2019-09-12 Thread Henning Westerholt
Hello Zhan, why is using a $avp not working for you? This should be fine as long as you are staying in one transaction context. Another alternative would be to use a $dlg_var - this is a dialog context variable. Cheers, Henning Am 12.09.19 um 18:23 schrieb Zhan Bazarov: Hello, we ran into a

Re: [SR-Users] RUN kamailio in kubernetes

2019-09-12 Thread Mack Hendricks
What features of K8s are you looking to benefit from? - Service Discovery (SD) of media servers - HA - Scalability If just SD then using Consul would give you that without the overhead of K8s On Thu, Sep 12, 2019 at 2:01 PM Gaurav Bmotra wrote: > hi > i want to run kamailio in kubernetes

Re: [SR-Users] RUN kamailio in kubernetes

2019-09-12 Thread Sergey Safarov
you can check https://github.com/kubernetes/kubernetes/issues/80122 also related https://github.com/kubernetes/kubernetes/issues?utf8=%E2%9C%93=is%3Aissue+author%3Asergey-safarov+ On Thu, Sep 12, 2019 at 9:20 PM David Villasmil < david.villasmil.w...@gmail.com> wrote: > And help with what,

Re: [SR-Users] RUN kamailio in kubernetes

2019-09-12 Thread David Villasmil
And help with what, exactly? Kamailio runs properly on a docker. On Thu, 12 Sep 2019 at 19:05, Alex Balashov wrote: > Why? > > — > Sent from mobile, with due apologies for brevity and errors. > > On Sep 12, 2019, at 2:00 PM, Gaurav Bmotra > wrote: > > hi > i want to run kamailio in kubernetes

Re: [SR-Users] RUN kamailio in kubernetes

2019-09-12 Thread Alex Balashov
Why? — Sent from mobile, with due apologies for brevity and errors. > On Sep 12, 2019, at 2:00 PM, Gaurav Bmotra wrote: > > hi > i want to run kamailio in kubernetes deployment and i want to run this > kamailio/kamailio-ci:5.2 image in to the kubernetse .. can anyone help > > thank you >

[SR-Users] RUN kamailio in kubernetes

2019-09-12 Thread Gaurav Bmotra
hi i want to run kamailio in kubernetes deployment and i want to run this kamailio/kamailio-ci:5.2 image in to the kubernetse .. can anyone help thank you -- *Regards:* Gaurav Kumar ___ Kamailio (SER) - Users Mailing List

[SR-Users] Using $shv within current call only

2019-09-12 Thread Zhan Bazarov
Hello, we ran into a trouble with sharing variable into reply route... We are going to match asterisk's uniqueid with rtpengine records like this: route[from_asterisk]{ $var(UniqueId)=$hdr(X-UniqueId); $var(rtp_flags) = $var(rtp_flags) + " label={uid:$var(UniqueId),stream:outgoing}

Re: [SR-Users] How to distinguish is from Asterisk or from the client

2019-09-12 Thread przeqpiciel
My issue is that I need regarding to direction add record-route or remove it czw., 12 wrz 2019 o 09:22 Daniel-Constantin Mierla napisał(a): > > On 11.09.19 22:53, Alex Balashov wrote: > > This is a question of your own business rules. > > > > The most common way to do it is to use something

Re: [SR-Users] Presence and BLF

2019-09-12 Thread Daniel-Constantin Mierla
Hello, the modules are the same, so that tutorial can be a starting point. You should with debug=3 in kamailio.cfg and look at the log messages to see if you can spot something that provides hints about what happens, maybe the NOTIFY is looping, or the publish requests are not generated, ...

Re: [SR-Users] Kamailio IMS setup - user online - unable to call

2019-09-12 Thread Daniel-Constantin Mierla
Hello, I am not sure if any developer of FHoSS is on this mailing list to provide more details, if not, then you may eventually try to look at the FHoSS code to see if you can figure out the database structure. Kamailio project doesn't have do any anything directly with that application to

Re: [SR-Users] Help with "routines:ssl3_read_bytes:sslv3 alert bad certificate" kamailio TLS error

2019-09-12 Thread Daniel-Constantin Mierla
Hello, set debug=3 in kamailio.cfg, restart kamailio and try to connect again with the client. Watch the logs and you should get more details about what happens there. Cheers, Daniel On 06.09.19 19:05, da...@aslo.us wrote: > > Hello everyone, > >   > > I am trying to configure TLS in kamailio

Re: [SR-Users] How to distinguish is from Asterisk or from the client

2019-09-12 Thread Daniel-Constantin Mierla
On 11.09.19 22:53, Alex Balashov wrote: > This is a question of your own business rules. > > The most common way to do it is to use something like the 'permissions' > module. Build a 'trusted' table with all your Asterisk gateway IPs, and > then do the following when you receive an initial