Displaying 2 results from an estimated 2 matches for "swift_config_fil".
Did you mean:
swift_config_file
2009 Aug 26
1
app_swift issue
...uct ast_config *cfg;
struct ast_flags config_flags = { 0 };
// Set defaults
cfg_buffer_size = 65535;
cfg_goto_exten = 0;
strncpy(cfg_voice, "David-8kHz", sizeof(cfg_voice));
res = ast_register_application(app, engine, synopsis, descrip);
cfg = ast_config_load(SWIFT_CONFIG_FILE, config_flags);
if (cfg) {
if ((t = ast_variable_retrieve(cfg, "general", "buffer_size"))) {
cfg_buffer_size = atoi(t);
ast_log(LOG_DEBUG, "Config buffer_size is %d\n",
cfg_buffer_size);
}
if ((t = ast_variable_retr...
2009 Aug 26
4
Fw: app_swift issue
...char *t = NULL;
struct ast_config *cfg;
struct ast_flags config_flags = { 0 };
// Set defaults
cfg_buffer_size = 65535;
cfg_goto_exten = 0;
strncpy(cfg_voice, "David-8kHz", sizeof(cfg_voice));
res = ast_register_application(app, engine, synopsis, descrip);
cfg = ast_config_load(SWIFT_CONFIG_FILE, config_flags);
if (cfg) {
if ((t = ast_variable_retrieve(cfg, "general", "buffer_size"))) {
cfg_buffer_size = atoi(t);
ast_log(LOG_DEBUG, "Config buffer_size is %d\n",
cfg_buffer_size);
}
if ((t = ast_variable_retrieve(cfg, "general", "goto_ext...