search for: ast_flag

Displaying 4 results from an estimated 4 matches for "ast_flag".

Did you mean: ast_flags
2009 Aug 26
1
app_swift issue
...m thinking to edit app_swift.c but AST_MODULE is not defined in app_swift.c i commented this line ""//#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); i...
2017 Dec 06
2
Simple speech recognition for driving IVR - "press or say one".
Thanks for your responses - it looks like I have the following options, in order of ease: 1: Modify and recompile app_record.c Change line 471 https://github.com/asterisk/asterisk/blob/master/apps/app_record.c#L471 from status_response = "DTMF"; to status_response = dtmf_integer; Pro: Free, easy Con: Have to remember to edit module each time a new Asterisk update comes out 2:
2009 Aug 26
4
Fw: app_swift issue
...Now i am thinking to edit app_swift.c but AST_MODULE is not defined in app_swift.c i commented this line ""//#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 = a...
2009 Oct 05
3
Questions about app_jack.c
Hello, My configuration is : Card 0 - kernel dummy sound card Card 1 - my soundcard I have a jackd running in background. My jackd launch command is : jackd --port-max 16 --realtime --no-mlock -d alsa --playback hw:1,0 --capture hw:1,0 --rate 8000 --period 1024 --shorts --inchannels 2 --outchannels 2 --dither triangular & 1 ) I open asterisk with chan_alsa.so connected (with asoundrc) to