mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user