Exemple #1
0
static int load_module(void)
{
	adsi_load(0);

	ast_adsi_begin_download = _ast_adsi_begin_download;
	ast_adsi_end_download = _ast_adsi_end_download;
	ast_adsi_channel_restore = _ast_adsi_channel_restore;
	ast_adsi_print = _ast_adsi_print;
	ast_adsi_load_session = _ast_adsi_load_session;
	ast_adsi_unload_session = _ast_adsi_unload_session;
	ast_adsi_transmit_message = _ast_adsi_transmit_message;
	ast_adsi_transmit_message_full = _ast_adsi_transmit_message_full;
	ast_adsi_read_encoded_dtmf = _ast_adsi_read_encoded_dtmf;
	ast_adsi_connect_session = _ast_adsi_connect_session;
	ast_adsi_query_cpeid = _ast_adsi_query_cpeid;
	ast_adsi_query_cpeinfo = _ast_adsi_query_cpeinfo;
	ast_adsi_get_cpeid = _ast_adsi_get_cpeid;
	ast_adsi_get_cpeinfo = _ast_adsi_get_cpeinfo;
	ast_adsi_download_connect = _ast_adsi_download_connect;
	ast_adsi_disconnect_session = _ast_adsi_disconnect_session;
	ast_adsi_download_disconnect = _ast_adsi_download_disconnect;
	ast_adsi_data_mode = _ast_adsi_data_mode;
	ast_adsi_clear_soft_keys = _ast_adsi_clear_soft_keys;
	ast_adsi_clear_screen = _ast_adsi_clear_screen;
	ast_adsi_voice_mode = _ast_adsi_voice_mode;
	ast_adsi_available = _ast_adsi_available;
	ast_adsi_display = _ast_adsi_display;
	ast_adsi_set_line = _ast_adsi_set_line;
	ast_adsi_load_soft_key = _ast_adsi_load_soft_key;
	ast_adsi_set_keys = _ast_adsi_set_keys;
	ast_adsi_input_control = _ast_adsi_input_control;
	ast_adsi_input_format = _ast_adsi_input_format;

	return AST_MODULE_LOAD_SUCCESS;
}
Exemple #2
0
int load_module(void)
{
	adsi_load();
	return 0;
}
Exemple #3
0
int reload(void)
{
	adsi_load();
	return 0;
}
Exemple #4
0
static int load_module(void)
{
	adsi_load(0);
	return AST_MODULE_LOAD_SUCCESS;
}
Exemple #5
0
static int reload(void)
{
	adsi_load(1);
	return 0;
}
Exemple #6
0
static int load_module(void)
{
	adsi_load(0);
	ast_adsi_install_funcs(&res_adsi_funcs);
	return AST_MODULE_LOAD_SUCCESS;
}