first cut and say interface rework to include gender and put all args into a struct for easier future extension

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16929 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2010-03-07 19:34:05 +00:00
parent 0241b93bc5
commit 7c16b84aac
17 changed files with 536 additions and 406 deletions

View File

@@ -809,7 +809,7 @@ SWITCH_DECLARE(char *) CoreSession::playAndGetDigits(int min_digits,
return dtmf_buf;
}
SWITCH_DECLARE(void) CoreSession::say(const char *tosay, const char *module_name, const char *say_type, const char *say_method)
SWITCH_DECLARE(void) CoreSession::say(const char *tosay, const char *module_name, const char *say_type, const char *say_method, const char *say_gender)
{
this_check_void();
sanity_check_noreturn;
@@ -818,7 +818,7 @@ SWITCH_DECLARE(void) CoreSession::say(const char *tosay, const char *module_name
return;
}
begin_allow_threads();
switch_ivr_say(session, tosay, module_name, say_type, say_method, ap);
switch_ivr_say(session, tosay, module_name, say_type, say_method, say_gender, ap);
end_allow_threads();
}