switch_log_printf(SWITCH_CHANNEL_LOG,SWITCH_LOG_ERROR,"Couldn't bind our reloadxml handler! Module will not react to changes made in XML configuration\n");
/* Not so severe to prevent further loading, well - it depends, anyway */
"Unknown error [%d] while initializing fast cos table [%s], "
"errno [%s]\n",ret,ACOS_TABLE_FILENAME,err);
switch_log_printf(SWITCH_CHANNEL_LOG,SWITCH_LOG_ERROR,"Unknown error [%d] while initializing fast cos table [%s], errno [%s]\n",ret,ACOS_TABLE_FILENAME,err);
returnSWITCH_STATUS_TERM;
}
returnSWITCH_STATUS_TERM;
}else
switch_log_printf(
SWITCH_CHANNEL_LOG,
SWITCH_LOG_NOTICE,
"Advanced voicemail detection: fast math enabled, arc cosine table "
"is [%s]\n",ACOS_TABLE_FILENAME
);
switch_log_printf(SWITCH_CHANNEL_LOG,SWITCH_LOG_NOTICE,"Advanced voicemail detection: fast math enabled, arc cosine table is [%s]\n",ACOS_TABLE_FILENAME);
SWITCH_LOG_ERROR,"Failed to set dynamic parameters for avmd session."
" Session is NULL! Default settings are loaded\n");
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session),SWITCH_LOG_ERROR,"Failed to set dynamic parameters for avmd session. Session is NULL! Default settings are loaded\n");
SWITCH_LOG_ERROR,"Failed to set dynamic parameters for avmd session."
" Parsing error, please check the parameters passed to this APP."
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session),SWITCH_LOG_ERROR,"Failed to set dynamic parameters for avmd session. Parsing error, please check the parameters passed to this APP."
SWITCH_LOG_ERROR,"Failed to set dynamic parameteres for avmd session."
" Unknown error. Default settings are loaded\n");
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session),SWITCH_LOG_ERROR,"Failed to set dynamic parameteres for avmd session. Unknown error. Default settings are loaded\n");
status=switch_core_media_bug_add(session,"avmd",NULL,avmd_callback,avmd_session,0,flags,&bug);/* Add a media bug that allows me to intercept the reading leg of the audio stream */
status=switch_core_media_bug_add(session,"avmd",NULL,avmd_callback,avmd_session,0,flags,&bug);/* Add a media bug that allows me to intercept the reading leg of the audio stream */
if(status!=SWITCH_STATUS_SUCCESS){/* If adding a media bug fails exit */
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session),SWITCH_LOG_ERROR,"Failed to add media bug!\n");
gotoend;
}
switch_channel_set_private(channel,"_avmd_",bug);/* Set the avmd tag to detect an existing avmd media bug */