Module: kamailio
Branch: 4.3
Commit: a350e33b3fe13e807a621d12325342c93c4ab706
URL:
https://github.com/kamailio/kamailio/commit/a350e33b3fe13e807a621d12325342c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-12-17T09:34:54+01:00
outbound: adjusted log message for trying to import the api
- when module is not loaded, a messages with 'failed' was printed,
which could trigger an alert even for info level
(cherry picked from commit 700617c6b3707fba16001f82fab6ca0370b23acf)
---
Modified: modules/outbound/api.h
---
Diff:
https://github.com/kamailio/kamailio/commit/a350e33b3fe13e807a621d12325342c…
Patch:
https://github.com/kamailio/kamailio/commit/a350e33b3fe13e807a621d12325342c…
---
diff --git a/modules/outbound/api.h b/modules/outbound/api.h
index b8ed738..bc80589 100644
--- a/modules/outbound/api.h
+++ b/modules/outbound/api.h
@@ -51,7 +51,7 @@ inline static int ob_load_api(ob_api_t *pxb)
bind_ob_f bind_ob_exports;
if (!(bind_ob_exports = (bind_ob_f)find_export("bind_ob", 1, 0)))
{
- LM_INFO("Failed to import bind_ob\n");
+ LM_INFO("unable to import bind_ob - maybe module is not loaded\n");
return -1;
}
return bind_ob_exports(pxb);