it seems the old method of Swift([^]Text to Speak) to change the default voice doesnt work with app_swift 2.0.1 for asterisk 1.8 I have created a patch that lets you set SWIFT_VOICE as a channel variable.. exten => x,n,Set(SWIFT_VOICE=Allison) exten => x,n,Swift(this is a test message in Allisons voice) Jeremy Kister 2011.06.15 http://jeremy.kister.net./ --- app_swift.c.orig 2011-06-15 00:13:29.000000000 -0400 +++ app_swift.c 2011-06-15 00:14:56.000000000 -0400 @@ -275,6 +275,7 @@ swift_result_t sresult; swift_background_t tts_stream; unsigned int event_mask; + const char *val = NULL; memset(results, 0 ,20); memset(tmp_exten, 0, 2); @@ -333,6 +334,12 @@ ast_log(LOG_ERROR, "Failed to open Swift Port.\n"); goto exception; } + + if ((val = pbx_builtin_getvar_helper(chan, "SWIFT_VOICE"))) { + ast_copy_string(cfg_voice, val, sizeof(cfg_voice)); + ast_log(LOG_DEBUG, "Config voice is %s via SWIFT_VOICE\n", cfg_voice); + } + if ((voice = swift_port_set_voice_by_name(port, cfg_voice)) == NULL) { ast_log(LOG_ERROR, "Failed to set voice.\n"); goto exception;