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:
Anthony Minessale
2008-05-13 20:36:23 +00:00
parent 81157864bd
commit 40efe06a2f
19 changed files with 1042 additions and 7 deletions
+26
View File
@@ -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;