Browse Source

core: more detailed error message when no config option to route requests

Daniel-Constantin Mierla 7 năm trước cách đây
mục cha
commit
4d9f342f8a
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/core/receive.c

+ 2 - 1
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)) {