[OpenSIPS-Users] Loading functions from external modules!
Jorge Henrique Pinho
jorge-h-pinho at ext.ptinovacao.pt
Thu Aug 2 21:02:32 CEST 2012
Hi all,
There is any documentation in how use functions from other modules? In how to bind and load the functions from other modules?
I am trying to use an external function from b2b_logic module, but i keep encountering an error "undefined symbol: b2bl_terminate_call"
I load the b2b_logic functions on my mod_init function, but doesn't work.
here's the code related to loading the module functions :
#include "../b2b_logic/b2b_logic.h"
#include "../b2b_logic/b2b_load.h"
b2bl_api_t b2b_logic_load;
if(load_b2b_logic_api(&b2b_logic_load)< 0) {
LM_ERR("can't load b2b_logic functions\n");
return -1;
}
Is there a particular order in how to load the modules in configuration file?
Kind regards
Jorge Pinho
Analyst/Developer
Network Platforms and Multimedia Solutions
Multimedia Division
More information about the Users
mailing list