[sr-dev] [kamailio/kamailio] cfg_rpc updates changing variable values to large random numbers (#1583)

vinesinha notifications at github.com
Wed Jul 11 20:41:27 CEST 2018


if the above returns 0, try running the following script and see if you catch random values:

```

#!/bin/bashfor run in {1..100}; do date; sudo kamctl kamcmd cfg.set sample_group p 1; sudo kamctl kamcmd cfg.get sample_group a; done
```

My output looks like this:

```
.
.
.
Wed Jul 11 18:36:37 UTC 2018
0
Wed Jul 11 18:36:37 UTC 2018
0
Wed Jul 11 18:36:37 UTC 2018
0
Wed Jul 11 18:36:37 UTC 2018
0
Wed Jul 11 18:36:37 UTC 2018
694019999
Wed Jul 11 18:36:37 UTC 2018
0
Wed Jul 11 18:36:37 UTC 2018
694019999
Wed Jul 11 18:36:38 UTC 2018
0
Wed Jul 11 18:36:38 UTC 2018
694019999
Wed Jul 11 18:36:38 UTC 2018
0
Wed Jul 11 18:36:38 UTC 2018
694019999
Wed Jul 11 18:36:38 UTC 2018
0
Wed Jul 11 18:36:38 UTC 2018
.
.
.
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1583#issuecomment-404270591
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180711/fb8f2f8e/attachment.html>


More information about the sr-dev mailing list