Re: [SR-Users] MYSQL and various

2018-08-12 Thread Henning Westerholt
Am Montag, 30. Juli 2018, 09:50:04 CEST schrieb Laura: > on my kamailio 4.4.7 i use interactions with MYSQL. > > For example .. i use it for some black list control and other like this.. > > sql_query("cb", "select id from blacklist where cli='$var(g2)' > and (ippeer = '$si' or ippeer =

Re: [SR-Users] mysql version

2018-08-12 Thread Henning Westerholt
Am Donnerstag, 2. August 2018, 23:22:15 CEST schrieb Wilkins, Steve: > When Kamailio installs, it installs mysql 8.0. I would like it to install > mysql 5.7. Is there a way to force this? Hello Steve, I think this is probably a distribution dependent question. Have a look to the package

Re: [SR-Users] Quick way to enable/disable all uac outbound registrations

2018-08-12 Thread Joel Serrano
Hi Henning, Thanks for your suggestions. For now I'll give a try your approach #1. Couple extra doubts: 1- do you think an expiry of say 60s is too low? or is it reasonable? (I know it will depend a lot on the number of records in database, but in this case it's very little, like ~50 or so). 2-

Re: [SR-Users] Quick way to enable/disable all uac outbound registrations

2018-08-12 Thread Henning Westerholt
Am Sonntag, 12. August 2018, 22:20:41 CEST schrieb Joel Serrano: > On an active/passive kamailio cluster, we use keepalived to move a virtual > IP between the nodes and all signaling goes to that VIP. > > One of our DID providers requires us to register with every single DID we > have from them

Re: [SR-Users] Kamailio TLS + letsencrypt

2018-08-12 Thread Social Boh
Hello, I think you need a real domain or sub domain point to the Public IP of your server. regards --- I'm SoCIaL, MayBe On 8/12/18 15:37, Amar Tinawi wrote: Hello i'm wondering if i can generate tls certificate for kamailio using letsencrypt with test domain name, in testing enviroment

Re: [SR-Users] Kamailio TLS + letsencrypt

2018-08-12 Thread Joel Serrano
You do need to validate the domain, this requires it to be a public (not local) domain name. On Sun, Aug 12, 2018 at 14:19 Social Boh wrote: > Hello, > > I think you need a real domain or sub domain point to the Public IP of > your server. > > regards > > --- > I'm SoCIaL, MayBe > > On 8/12/18

[SR-Users] Kamailio TLS + letsencrypt

2018-08-12 Thread Amar Tinawi
Hello i'm wondering if i can generate tls certificate for kamailio using letsencrypt with test domain name, in testing enviroment following this post : https://www.fredposner.com/1836/kamailio-tls-and-letsencrypt/ got an error by letsecrypt because of checking of the domain name authority and

[SR-Users] Quick way to enable/disable all uac outbound registrations

2018-08-12 Thread Joel Serrano
Hi, On an active/passive kamailio cluster, we use keepalived to move a virtual IP between the nodes and all signaling goes to that VIP. One of our DID providers requires us to register with every single DID we have from them in order to receive calls for such DID (NOTE: we only want to have the

Re: [SR-Users] problem with rewriteuri

2018-08-12 Thread Henning Westerholt
Am Freitag, 10. August 2018, 23:43:05 CEST schrieb Eric Hosch: > If I manually pass a string value to rewriteuri it works, but if I pass the > same string from a database value it doesn't: > > if ($dbr(ra=>[0,4]) == "callfwd_noanswer") {$ > does not work --> rewriteuri("$dbr(ra=>[0,6])"); >