Displaying 2 results from an estimated 2 matches for "cfg_voic".
Did you mean:
cfg_voice
2009 Aug 26
1
app_swift issue
...ne AST_MODULE "app_swift""
but in vain .... Please help
static int load_module(void)
{
int res;
const 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"))) {
cf...
2009 Aug 26
4
Fw: app_swift issue
...e ""//#define AST_MODULE "app_swift""
but in vain .... Please help
static int load_module(void)
{
int res;
const 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);
a...