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 =

[SR-Users] MYSQL and various

2018-07-30 Thread Laura
Dear list, 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 = 'ALL')", "rabl");     if($dbr(rabl=>rows)>0){