Natphitchayuk

Results 4 comments of Natphitchayuk

#define EXTENSIONS_CONFIG "/etc/asterisk/extensions.conf" struct ast_flags config_flags = { 0 }; struct ast_config *cfg = ast_config_load(EXTENSIONS_CONFIG, config_flags); const char *value = NULL; if((value = ast_variable_retrieve(cfg, "from-internal", "VOSK_CONFIG")) != NULL) { ast_log(LOG_DEBUG,...

Can you please give me SOME examples?

I added max_speech_timeout & complete_timeout to asr_server.py. (vosk-server) ``` message = await websocket.recv() if isinstance(message, str) and 'config' in message: jobj = json.loads(message)['config'] logging.info("Config %s", jobj) if 'phrase_list' in jobj:...

I want to set a different timeout for each input. For example, 1. When I ask for address the timeout should be 10 seconds 2. When I ask for phone...