Module: kamailio
Branch: master
Commit: 5a607cabc34d16fe3770f273241b667fea470dc9
URL:
https://github.com/kamailio/kamailio/commit/5a607cabc34d16fe3770f273241b667…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-01-21T16:08:56+01:00
pipelimit: make error log debug in rpc command when pipe not found
- error code is returned to rpc command
---
Modified: src/modules/pipelimit/pl_ht.c
---
Diff:
https://github.com/kamailio/kamailio/commit/5a607cabc34d16fe3770f273241b667…
Patch:
https://github.com/kamailio/kamailio/commit/5a607cabc34d16fe3770f273241b667…
---
diff --git a/src/modules/pipelimit/pl_ht.c b/src/modules/pipelimit/pl_ht.c
index a9283e8e55..1f666b89f3 100644
--- a/src/modules/pipelimit/pl_ht.c
+++ b/src/modules/pipelimit/pl_ht.c
@@ -516,7 +516,7 @@ void rpc_pl_list(rpc_t *rpc, void *c)
if(pipeid.len>0) {
it = pl_pipe_get(&pipeid, 1);
if (it==NULL) {
- LM_ERR("no pipe: %.*s\n", pipeid.len, pipeid.s);
+ LM_DBG("no pipe: %.*s\n", pipeid.len, pipeid.s);
rpc->fault(c, 400, "Unknown pipe id %.*s", pipeid.len, pipeid.s);
return;
}