Fix for zap_global_config not called
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@882 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
77e5eb21bf
commit
0b75f2de27
|
@ -2881,6 +2881,11 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_openzap_load)
|
|||
return SWITCH_STATUS_TERM;
|
||||
}
|
||||
|
||||
if (zap_global_configuration() != ZAP_SUCCESS) {
|
||||
zap_log(ZAP_LOG_ERROR, "Error configuring OpenZAP\n");
|
||||
return SWITCH_STATUS_TERM;
|
||||
}
|
||||
|
||||
if (load_config() != SWITCH_STATUS_SUCCESS) {
|
||||
zap_global_destroy();
|
||||
return SWITCH_STATUS_TERM;
|
||||
|
|
Loading…
Reference in New Issue