Module: kamailio
Branch: master
Commit: 4d9f342f8a7050d9c5f7754622ddb918edb16a99
URL:
https://github.com/kamailio/kamailio/commit/4d9f342f8a7050d9c5f7754622ddb91…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-08-14T10:47:27+02:00
core: more detailed error message when no config option to route requests
---
Modified: src/core/receive.c
---
Diff:
https://github.com/kamailio/kamailio/commit/4d9f342f8a7050d9c5f7754622ddb91…
Patch:
https://github.com/kamailio/kamailio/commit/4d9f342f8a7050d9c5f7754622ddb91…
---
diff --git a/src/core/receive.c b/src/core/receive.c
index 2b8b2c7f56..9a385e4b85 100644
--- a/src/core/receive.c
+++ b/src/core/receive.c
@@ -306,7 +306,8 @@ int receive_msg(char *buf, unsigned int len, struct receive_info
*rcv_info)
if(unlikely(main_rt.rlist[DEFAULT_RT] == NULL)) {
keng = sr_kemi_eng_get();
if(keng == NULL) {
- LM_ERR("no config routing engine registered\n");
+ LM_ERR("no request_route {...} and no other config routing"
+ " engine registered\n");
goto error_req;
}
if(unlikely(cidlockset)) {