update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8660 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
d5c85e9394
commit
fd90e2ca36
|
@ -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
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue