提交 fd90e2ca authored 作者: Anthony Minessale's avatar Anthony Minessale

update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8660 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 d5c85e93
...@@ -215,7 +215,7 @@ switch_status_t JavaSession::run_dtmf_callback(void *input, switch_input_type_t ...@@ -215,7 +215,7 @@ switch_status_t JavaSession::run_dtmf_callback(void *input, switch_input_type_t
const char *callbackResultUTF = env->GetStringUTFChars(callbackResult, NULL); const char *callbackResultUTF = env->GetStringUTFChars(callbackResult, NULL);
if (callbackResultUTF) if (callbackResultUTF)
{ {
status = process_callback_result((char*) callbackResultUTF, &cb_state, session); status = process_callback_result((char*) callbackResultUTF);
env->ReleaseStringUTFChars(callbackResult, callbackResultUTF); env->ReleaseStringUTFChars(callbackResult, callbackResultUTF);
} }
else else
...@@ -303,7 +303,7 @@ switch_status_t JavaSession::run_dtmf_callback(void *input, switch_input_type_t ...@@ -303,7 +303,7 @@ switch_status_t JavaSession::run_dtmf_callback(void *input, switch_input_type_t
callbackResultUTF = env->GetStringUTFChars(callbackResult, NULL); callbackResultUTF = env->GetStringUTFChars(callbackResult, NULL);
if (callbackResultUTF) if (callbackResultUTF)
{ {
status = process_callback_result((char*) callbackResultUTF, &cb_state, session); status = process_callback_result((char*) callbackResultUTF);
env->ReleaseStringUTFChars(callbackResult, callbackResultUTF); env->ReleaseStringUTFChars(callbackResult, callbackResultUTF);
} }
else else
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论