search for: example_exec

Displaying 1 result from an estimated 1 matches for "example_exec".

2008 Mar 13
4
Application registration on Asterisk 1.4 and 1.6?
...works fine. But when I tested the same application with a newest version of asterisk like 1.4.* it always returns an error trying to load the module or more specific, trying to register the application. here is the code: int load_module(void){ int res; res = ast_register_application(app, example_exec, synopsis, descrip); return res; } int reload(void){ return load_module(); } int unload_module(void){ //STANDARD_HANGUP_LOCALUSERS; return ast_unregister_application(app); } char *description(void){ return tdesc; } int usecount(void){ int res; //STANDARD_USECOUNT(res);...