mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-05 03:41:53 +00:00
cannot pass 2833 on a transcoded call
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8386 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -644,6 +644,32 @@ 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)
|
||||
{
|
||||
sanity_check_noreturn;
|
||||
if (!(tosay && module_name && say_type && say_method)) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error! invalid args.\n");
|
||||
return;
|
||||
}
|
||||
begin_allow_threads();
|
||||
switch_ivr_say(session, tosay, module_name, say_type, say_method, ap);
|
||||
end_allow_threads();
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(void) CoreSession::sayPhrase(const char *phrase_name, const char *phrase_data, const char *phrase_lang)
|
||||
{
|
||||
sanity_check_noreturn;
|
||||
|
||||
if (!(phrase_name)) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error! invalid args.\n");
|
||||
return;
|
||||
}
|
||||
|
||||
begin_allow_threads();
|
||||
switch_ivr_phrase_macro(session, phrase_name, phrase_data, phrase_lang, ap);
|
||||
end_allow_threads();
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(int) CoreSession::streamFile(char *file, int starting_sample_count) {
|
||||
|
||||
switch_status_t status;
|
||||
|
||||
Reference in New Issue
Block a user