[SR-Users] Perl module missing in kamailio 5.0.3

2017-09-20 Thread Ginhoux, Patrick
Hi, I'm thinking to upgrade my kamailio 5.0.1 running on a Rhel 7.1 server to 5.0.3 . Looking at the repository for Rhel7 to download the rpm, I don't find the perl rpm. For 5.0.1, it is kamailio-perl-5.0.1-1.1.x86_64.rpm. Can you help to get it for 5.0.3 ? Thanks in avance.

Re: [SR-Users] private memory leak - but where?

2017-09-20 Thread Daniel-Constantin Mierla
Hello, my guess is that you define many cfg variables from lua, which take from private memory (their definition). So $sht(x=>abc) is defined when used first time and kept in memory. If you use also $sht(x=>efg), this is another defined variable. This happens when you do

[SR-Users] Kamctl Stats Update

2017-09-20 Thread Noah Mehl
Hey all, I was wondering if the kamctl stats output could be updated to provide a bit more parseable JSON? For instance: # kamctl stats shmem | jq . { "jsonrpc": "2.0", "result": [ "shmem:fragments = 18", "shmem:free_size = 467187808", "shmem:max_used_size = 69694104",

Re: [SR-Users] Kamctl Stats Update

2017-09-20 Thread Noah Mehl
Alex, This is how that output was generated: # kamctl stats shmem | jq . Thanks! ~Noah > On Sep 20, 2017, at 1:14 PM, Alex Balashov wrote: > > Hello, > > The jsonrpc-s module has a pretty_print option. Or is that not where you're > dispatching this JSON output

Re: [SR-Users] Kamctl Stats Update

2017-09-20 Thread Noah Mehl
Alex, We are using this for time series monitoring (e.g. Zabbix). It doesn’t make sense, at least to me, to implement jsonrpc-s just to get the kamctl stats output. I mean, currently I’m just chaining the output with cut and tr, and that’s fine. I just suggest utilizing JSON a bit better

Re: [SR-Users] Perl module missing in kamailio 5.0.3

2017-09-20 Thread Ginhoux, Patrick
Hi Sergey, Great thanks for your action. I really appreciate the help provided and see that they are always people that answer to user’s requests. Cordialement Patrick GINHOUX De : sr-users [mailto:sr-users-boun...@lists.kamailio.org] De la part de Sergey Safarov Envoyé :

Re: [SR-Users] Kamctl Stats Update

2017-09-20 Thread Alex Balashov
You may want to consider an alternate and more streamlined method of pulling these. On September 20, 2017 1:16:49 PM EDT, Noah Mehl wrote: >Alex, > >This is how that output was generated: > ># kamctl stats shmem | jq . > >Thanks! > >~Noah > >> On Sep 20, 2017, at 1:14 PM,

Re: [SR-Users] Kamctl Stats Update

2017-09-20 Thread Alex Balashov
Hello, The jsonrpc-s module has a pretty_print option. Or is that not where you're dispatching this JSON output from? -- Alex -- Sent via mobile, please forgive typos and brevity. ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

Re: [SR-Users] private memory leak - but where?

2017-09-20 Thread Daniel-Constantin Mierla
The situation is like declaring: int a; int b; ... int ... in a C program -- it will run out of memory as well. As said, I plan to push a solution soon. Cheers, Daniel On 20.09.17 15:35, Sebastian Damm wrote: > Thanks Daniel, > > looks like that is indeed the case. We the hash table key is

[SR-Users] COALESCE Transformation?

2017-09-20 Thread Brandon Armstead
Hello all, I've checked the docs and did some brief searching, curious if this transformation or method exists currently? Such as: https://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html#function_coalesce Thanks! -- Sincerely, Brandon Armstead CTO / CRYY.com

Re: [SR-Users] private memory leak - but where?

2017-09-20 Thread Sebastian Damm
Thanks Daniel, looks like that is indeed the case. We the hash table key is the call-id, but we're not calling $sht(foo=>$ci) but instead passing in the call-id as a string. Ich have now written a test script with those two functions: function handle_packet_bad() callId = sr.pv.get("$ci")

Re: [SR-Users] Perl module missing in kamailio 5.0.3

2017-09-20 Thread Sergey Safarov
I pushed changes to RHEL repo builder. After 20 min you download packages with perl module Sergey ср, 20 сент. 2017 г. в 12:03, Ginhoux, Patrick < patrick.ginh...@fr.unisys.com>: > Hi, > > > > I’m thinking to upgrade my kamailio 5.0.1 running on a Rhel 7.1 server to > 5.0.3 . > > > > Looking at

Re: [SR-Users] how to play ring tune when callee declines

2017-09-20 Thread Sergey Safarov
You can add this example to dialplan and make test ср, 20 сент. 2017 г. в 10:14, 赵国杰 : > Hello Sergey, > I installed freeswitch, what should i do next? > > > > > > At 2017-09-19 12:07:23, "Sergey Safarov"