Re: [sr-dev] [kamailio/kamailio] redis support into usrloc (#1137)

2017-05-24 Thread Surendra Tiwari
@ManuelBothner will you please share the work so we can work together?


-- 
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/1137#issuecomment-303732620___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] rabbitmq: create reply-to queue w/ exclusive param (#1129)

2017-05-24 Thread Stefan Mititelu
Awesome, thanks!  

-- 
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/pull/1129#issuecomment-303709853___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] redis support into usrloc (#1137)

2017-05-24 Thread Lucian Balaceanu
I assigned myself on this issue on behalf of @ManuelBothner who is doing this 
work while having apprenticeship at 1&1.

-- 
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/1137#issuecomment-303702749___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] redis support into usrloc (#1137)

2017-05-24 Thread Manuel Bothner
I am working on it. I'll comment here if I have something working.

-- 
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/1137#issuecomment-303699737___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:5.0:fef4f2c9: core: fix mem_summary comparation when SIGUSR1 is received

2017-05-24 Thread Victor Seva
Module: kamailio
Branch: 5.0
Commit: fef4f2c943ffe75f94f0985499fb9e46de409a50
URL: 
https://github.com/kamailio/kamailio/commit/fef4f2c943ffe75f94f0985499fb9e46de409a50

Author: Victor Seva 
Committer: Victor Seva 
Date: 2017-05-24T11:49:50+02:00

core: fix mem_summary comparation when SIGUSR1 is received

From http://www.kamailio.org/wiki/cookbooks/4.4.x/core#mem_summary
 1 - dump all the pkg used blocks (status)
 2 - dump all the shm used blocks (status)
 4 - summary of pkg used blocks
 8 - summary of shm used blocks

(cherry picked from commit b8750364571beeca6612b31a2948d62bddedc805)

---

Modified: src/main.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/fef4f2c943ffe75f94f0985499fb9e46de409a50.diff
Patch: 
https://github.com/kamailio/kamailio/commit/fef4f2c943ffe75f94f0985499fb9e46de409a50.patch

---

diff --git a/src/main.c b/src/main.c
index 99feebbdf9..aecf0735a3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -713,7 +713,7 @@ void handle_sigs(void)
LOG(memlog, "Memory status (pkg):\n");
pkg_status();
}
-   if (cfg_get(core, core_cfg, mem_summary) & 2) {
+   if (cfg_get(core, core_cfg, mem_summary) & 4) {
LOG(memlog, "Memory still-in-use summary 
(pkg):\n");
pkg_sums();
}
@@ -721,11 +721,11 @@ void handle_sigs(void)
 #endif
 #ifdef SHM_MEM
if (memlog <= cfg_get(core, core_cfg, debug)){
-   if (cfg_get(core, core_cfg, mem_summary) & 1) {
+   if (cfg_get(core, core_cfg, mem_summary) & 2) {
LOG(memlog, "Memory status (shm):\n");
shm_status();
}
-   if (cfg_get(core, core_cfg, mem_summary) & 2) {
+   if (cfg_get(core, core_cfg, mem_summary) & 8) {
LOG(memlog, "Memory still-in-use summary 
(shm):\n");
shm_sums();
}
@@ -825,7 +825,7 @@ void sig_usr(int signo)
LOG(memlog, "Memory 
status (pkg):\n");
pkg_status();
}
-   if (cfg_get(core, core_cfg, 
mem_summary) & 2) {
+   if (cfg_get(core, core_cfg, 
mem_summary) & 4) {
LOG(memlog, "Memory 
still-in-use summary (pkg):"
"\n");
pkg_sums();
@@ -844,7 +844,7 @@ void sig_usr(int signo)
LOG(memlog, "Memory 
status (pkg):\n");
pkg_status();
}
-   if (cfg_get(core, core_cfg, 
mem_summary) & 2) {
+   if (cfg_get(core, core_cfg, 
mem_summary) & 4) {
LOG(memlog, "Memory 
still-in-use summary (pkg):\n");
pkg_sums();
}


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] [kamailio/kamailio] redis support into usrloc (#1137)

2017-05-24 Thread Surendra Tiwari


### Description



### Troubleshooting

 Reproduction



 Debugging Data



```
(paste your debugging data here)
```

 Log Messages



```
(paste your log messages here)
```

 SIP Traffic



```
(paste your sip traffic here)
```

### Possible Solutions



### Additional Information

  * **Kamailio Version** - output of `kamailio -v`

```
(paste your output here)
```

* **Operating System**:



```
(paste your output here)
```


-- 
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/1137___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev