reswig
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8252 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
ed96039297
commit
4fda174f34
|
@ -301,8 +301,6 @@ core_install: install_core
|
||||||
|
|
||||||
everything: install
|
everything: install
|
||||||
|
|
||||||
installall: install
|
|
||||||
|
|
||||||
up: clean
|
up: clean
|
||||||
svn update
|
svn update
|
||||||
$(MAKE) -j core
|
$(MAKE) -j core
|
||||||
|
@ -321,6 +319,10 @@ update-clean: clean modwipe uninstall libs/openzap/Makefile
|
||||||
cd libs/sofia-sip && $(MAKE) clean
|
cd libs/sofia-sip && $(MAKE) clean
|
||||||
cd libs/openzap && $(MAKE) clean
|
cd libs/openzap && $(MAKE) clean
|
||||||
|
|
||||||
|
swigall:
|
||||||
|
@echo reswigging all
|
||||||
|
sh ./build/swigall.sh
|
||||||
|
|
||||||
sure: update-clean all
|
sure: update-clean all
|
||||||
|
|
||||||
speedy-sure: update-clean
|
speedy-sure: update-clean
|
||||||
|
@ -333,6 +335,8 @@ current: update-clean
|
||||||
$(MAKE) all
|
$(MAKE) all
|
||||||
$(MAKE) install
|
$(MAKE) install
|
||||||
|
|
||||||
|
installall: current
|
||||||
|
|
||||||
speedy-current: update-clean
|
speedy-current: update-clean
|
||||||
svn update
|
svn update
|
||||||
$(MAKE) speedy-sure
|
$(MAKE) speedy-sure
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
cd src/mod/languages/mod_lua
|
||||||
|
make swigclean
|
||||||
|
make mod_lua_wrap.cpp
|
||||||
|
cd ../../../..
|
||||||
|
|
||||||
|
cd src/mod/languages/mod_perl
|
||||||
|
make swigclean
|
||||||
|
make mod_perl_wrap.cpp
|
||||||
|
cd ../../../..
|
||||||
|
|
||||||
|
cd src/mod/languages/mod_python
|
||||||
|
make reswig
|
||||||
|
cd ../../../..
|
||||||
|
|
||||||
|
cd src/mod/languages/mod_java
|
||||||
|
make reswig
|
||||||
|
cd ../../../..
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -250,7 +250,6 @@ class CoreSession {
|
||||||
SWITCH_DECLARE(char *) getDigits(
|
SWITCH_DECLARE(char *) getDigits(
|
||||||
int maxdigits,
|
int maxdigits,
|
||||||
char *terminators,
|
char *terminators,
|
||||||
char *terminator,
|
|
||||||
int timeout);
|
int timeout);
|
||||||
|
|
||||||
SWITCH_DECLARE(int) transfer(char *extensions, char *dialplan, char *context);
|
SWITCH_DECLARE(int) transfer(char *extensions, char *dialplan, char *context);
|
||||||
|
|
|
@ -161,8 +161,8 @@ public class CoreSession {
|
||||||
return freeswitchJNI.CoreSession_collectDigits(swigCPtr, this, timeout);
|
return freeswitchJNI.CoreSession_collectDigits(swigCPtr, this, timeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getDigits(int maxdigits, String terminators, byte[] terminator, int timeout) {
|
public String getDigits(int maxdigits, String terminators, int timeout) {
|
||||||
return freeswitchJNI.CoreSession_getDigits(swigCPtr, this, maxdigits, terminators, terminator, timeout);
|
return freeswitchJNI.CoreSession_getDigits(swigCPtr, this, maxdigits, terminators, timeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
public int transfer(String extensions, String dialplan, String context) {
|
public int transfer(String extensions, String dialplan, String context) {
|
||||||
|
|
|
@ -91,7 +91,7 @@ class freeswitchJNI {
|
||||||
public final static native int CoreSession_speak(long jarg1, CoreSession jarg1_, String jarg2);
|
public final static native int CoreSession_speak(long jarg1, CoreSession jarg1_, String jarg2);
|
||||||
public final static native void CoreSession_set_tts_parms(long jarg1, CoreSession jarg1_, String jarg2, String jarg3);
|
public final static native void CoreSession_set_tts_parms(long jarg1, CoreSession jarg1_, String jarg2, String jarg3);
|
||||||
public final static native int CoreSession_collectDigits(long jarg1, CoreSession jarg1_, int jarg2);
|
public final static native int CoreSession_collectDigits(long jarg1, CoreSession jarg1_, int jarg2);
|
||||||
public final static native String CoreSession_getDigits(long jarg1, CoreSession jarg1_, int jarg2, String jarg3, byte[] jarg4, int jarg5);
|
public final static native String CoreSession_getDigits(long jarg1, CoreSession jarg1_, int jarg2, String jarg3, int jarg4);
|
||||||
public final static native int CoreSession_transfer(long jarg1, CoreSession jarg1_, String jarg2, String jarg3, String jarg4);
|
public final static native int CoreSession_transfer(long jarg1, CoreSession jarg1_, String jarg2, String jarg3, String jarg4);
|
||||||
public final static native String CoreSession_playAndGetDigits(long jarg1, CoreSession jarg1_, int jarg2, int jarg3, int jarg4, int jarg5, String jarg6, String jarg7, String jarg8, String jarg9);
|
public final static native String CoreSession_playAndGetDigits(long jarg1, CoreSession jarg1_, int jarg2, int jarg3, int jarg4, int jarg5, String jarg6, String jarg7, String jarg8, String jarg9);
|
||||||
public final static native int CoreSession_streamFile__SWIG_0(long jarg1, CoreSession jarg1_, String jarg2, int jarg3);
|
public final static native int CoreSession_streamFile__SWIG_0(long jarg1, CoreSession jarg1_, String jarg2, int jarg3);
|
||||||
|
|
|
@ -1714,13 +1714,12 @@ SWIGEXPORT jint JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1coll
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1getDigits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jstring jarg3, jbyteArray jarg4, jint jarg5) {
|
SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1getDigits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jstring jarg3, jint jarg4) {
|
||||||
jstring jresult = 0 ;
|
jstring jresult = 0 ;
|
||||||
CoreSession *arg1 = (CoreSession *) 0 ;
|
CoreSession *arg1 = (CoreSession *) 0 ;
|
||||||
int arg2 ;
|
int arg2 ;
|
||||||
char *arg3 = (char *) 0 ;
|
char *arg3 = (char *) 0 ;
|
||||||
char *arg4 = (char *) 0 ;
|
int arg4 ;
|
||||||
int arg5 ;
|
|
||||||
char *result = 0 ;
|
char *result = 0 ;
|
||||||
|
|
||||||
(void)jenv;
|
(void)jenv;
|
||||||
|
@ -1733,18 +1732,10 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1g
|
||||||
arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
|
arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
|
||||||
if (!arg3) return 0;
|
if (!arg3) return 0;
|
||||||
}
|
}
|
||||||
{
|
arg4 = (int)jarg4;
|
||||||
arg4 = (char*) jenv->GetByteArrayElements(jarg4, 0);
|
result = (char *)(arg1)->getDigits(arg2,arg3,arg4);
|
||||||
if (!arg4) return 0;
|
|
||||||
}
|
|
||||||
arg5 = (int)jarg5;
|
|
||||||
result = (char *)(arg1)->getDigits(arg2,arg3,arg4,arg5);
|
|
||||||
if(result) jresult = jenv->NewStringUTF((const char *)result);
|
if(result) jresult = jenv->NewStringUTF((const char *)result);
|
||||||
{
|
|
||||||
jenv->ReleaseByteArrayElements(jarg4, (jbyte*) arg4, 0);
|
|
||||||
}
|
|
||||||
if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
|
if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
|
||||||
|
|
||||||
return jresult;
|
return jresult;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4268,16 +4268,14 @@ static int _wrap_CoreSession_getDigits(lua_State* L) {
|
||||||
CoreSession *arg1 = (CoreSession *) 0 ;
|
CoreSession *arg1 = (CoreSession *) 0 ;
|
||||||
int arg2 ;
|
int arg2 ;
|
||||||
char *arg3 = (char *) 0 ;
|
char *arg3 = (char *) 0 ;
|
||||||
char *arg4 = (char *) 0 ;
|
int arg4 ;
|
||||||
int arg5 ;
|
|
||||||
char *result = 0 ;
|
char *result = 0 ;
|
||||||
|
|
||||||
SWIG_check_num_args("getDigits",5,5)
|
SWIG_check_num_args("getDigits",4,4)
|
||||||
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("getDigits",1,"CoreSession *");
|
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("getDigits",1,"CoreSession *");
|
||||||
if(!lua_isnumber(L,2)) SWIG_fail_arg("getDigits",2,"int");
|
if(!lua_isnumber(L,2)) SWIG_fail_arg("getDigits",2,"int");
|
||||||
if(!lua_isstring(L,3)) SWIG_fail_arg("getDigits",3,"char *");
|
if(!lua_isstring(L,3)) SWIG_fail_arg("getDigits",3,"char *");
|
||||||
if(!lua_isstring(L,4)) SWIG_fail_arg("getDigits",4,"char *");
|
if(!lua_isnumber(L,4)) SWIG_fail_arg("getDigits",4,"int");
|
||||||
if(!lua_isnumber(L,5)) SWIG_fail_arg("getDigits",5,"int");
|
|
||||||
|
|
||||||
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_CoreSession,0))){
|
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_CoreSession,0))){
|
||||||
SWIG_fail_ptr("CoreSession_getDigits",1,SWIGTYPE_p_CoreSession);
|
SWIG_fail_ptr("CoreSession_getDigits",1,SWIGTYPE_p_CoreSession);
|
||||||
|
@ -4285,9 +4283,8 @@ static int _wrap_CoreSession_getDigits(lua_State* L) {
|
||||||
|
|
||||||
arg2 = (int)lua_tonumber(L, 2);
|
arg2 = (int)lua_tonumber(L, 2);
|
||||||
arg3 = (char *)lua_tostring(L, 3);
|
arg3 = (char *)lua_tostring(L, 3);
|
||||||
arg4 = (char *)lua_tostring(L, 4);
|
arg4 = (int)lua_tonumber(L, 4);
|
||||||
arg5 = (int)lua_tonumber(L, 5);
|
result = (char *)(arg1)->getDigits(arg2,arg3,arg4);
|
||||||
result = (char *)(arg1)->getDigits(arg2,arg3,arg4,arg5);
|
|
||||||
SWIG_arg=0;
|
SWIG_arg=0;
|
||||||
lua_pushstring(L,(const char*)result); SWIG_arg++;
|
lua_pushstring(L,(const char*)result); SWIG_arg++;
|
||||||
return SWIG_arg;
|
return SWIG_arg;
|
||||||
|
|
|
@ -5517,8 +5517,7 @@ XS(_wrap_CoreSession_getDigits) {
|
||||||
CoreSession *arg1 = (CoreSession *) 0 ;
|
CoreSession *arg1 = (CoreSession *) 0 ;
|
||||||
int arg2 ;
|
int arg2 ;
|
||||||
char *arg3 = (char *) 0 ;
|
char *arg3 = (char *) 0 ;
|
||||||
char *arg4 = (char *) 0 ;
|
int arg4 ;
|
||||||
int arg5 ;
|
|
||||||
char *result = 0 ;
|
char *result = 0 ;
|
||||||
void *argp1 = 0 ;
|
void *argp1 = 0 ;
|
||||||
int res1 = 0 ;
|
int res1 = 0 ;
|
||||||
|
@ -5527,16 +5526,13 @@ XS(_wrap_CoreSession_getDigits) {
|
||||||
int res3 ;
|
int res3 ;
|
||||||
char *buf3 = 0 ;
|
char *buf3 = 0 ;
|
||||||
int alloc3 = 0 ;
|
int alloc3 = 0 ;
|
||||||
int res4 ;
|
int val4 ;
|
||||||
char *buf4 = 0 ;
|
int ecode4 = 0 ;
|
||||||
int alloc4 = 0 ;
|
|
||||||
int val5 ;
|
|
||||||
int ecode5 = 0 ;
|
|
||||||
int argvi = 0;
|
int argvi = 0;
|
||||||
dXSARGS;
|
dXSARGS;
|
||||||
|
|
||||||
if ((items < 5) || (items > 5)) {
|
if ((items < 4) || (items > 4)) {
|
||||||
SWIG_croak("Usage: CoreSession_getDigits(self,maxdigits,terminators,terminator,timeout);");
|
SWIG_croak("Usage: CoreSession_getDigits(self,maxdigits,terminators,timeout);");
|
||||||
}
|
}
|
||||||
res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CoreSession, 0 | 0 );
|
res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CoreSession, 0 | 0 );
|
||||||
if (!SWIG_IsOK(res1)) {
|
if (!SWIG_IsOK(res1)) {
|
||||||
|
@ -5553,29 +5549,22 @@ XS(_wrap_CoreSession_getDigits) {
|
||||||
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CoreSession_getDigits" "', argument " "3"" of type '" "char *""'");
|
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CoreSession_getDigits" "', argument " "3"" of type '" "char *""'");
|
||||||
}
|
}
|
||||||
arg3 = reinterpret_cast< char * >(buf3);
|
arg3 = reinterpret_cast< char * >(buf3);
|
||||||
res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
|
ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
|
||||||
if (!SWIG_IsOK(res4)) {
|
if (!SWIG_IsOK(ecode4)) {
|
||||||
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CoreSession_getDigits" "', argument " "4"" of type '" "char *""'");
|
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CoreSession_getDigits" "', argument " "4"" of type '" "int""'");
|
||||||
}
|
|
||||||
arg4 = reinterpret_cast< char * >(buf4);
|
|
||||||
ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
|
|
||||||
if (!SWIG_IsOK(ecode5)) {
|
|
||||||
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CoreSession_getDigits" "', argument " "5"" of type '" "int""'");
|
|
||||||
}
|
}
|
||||||
arg5 = static_cast< int >(val5);
|
arg4 = static_cast< int >(val4);
|
||||||
result = (char *)(arg1)->getDigits(arg2,arg3,arg4,arg5);
|
result = (char *)(arg1)->getDigits(arg2,arg3,arg4);
|
||||||
ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
|
ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
|
||||||
|
|
||||||
|
|
||||||
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
|
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
|
||||||
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
|
|
||||||
|
|
||||||
XSRETURN(argvi);
|
XSRETURN(argvi);
|
||||||
fail:
|
fail:
|
||||||
|
|
||||||
|
|
||||||
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
|
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
|
||||||
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
|
|
||||||
|
|
||||||
SWIG_croak_null();
|
SWIG_croak_null();
|
||||||
}
|
}
|
||||||
|
|
|
@ -5912,8 +5912,7 @@ SWIGINTERN PyObject *_wrap_CoreSession_getDigits(PyObject *SWIGUNUSEDPARM(self),
|
||||||
CoreSession *arg1 = (CoreSession *) 0 ;
|
CoreSession *arg1 = (CoreSession *) 0 ;
|
||||||
int arg2 ;
|
int arg2 ;
|
||||||
char *arg3 = (char *) 0 ;
|
char *arg3 = (char *) 0 ;
|
||||||
char *arg4 = (char *) 0 ;
|
int arg4 ;
|
||||||
int arg5 ;
|
|
||||||
char *result = 0 ;
|
char *result = 0 ;
|
||||||
void *argp1 = 0 ;
|
void *argp1 = 0 ;
|
||||||
int res1 = 0 ;
|
int res1 = 0 ;
|
||||||
|
@ -5922,20 +5921,14 @@ SWIGINTERN PyObject *_wrap_CoreSession_getDigits(PyObject *SWIGUNUSEDPARM(self),
|
||||||
int res3 ;
|
int res3 ;
|
||||||
char *buf3 = 0 ;
|
char *buf3 = 0 ;
|
||||||
int alloc3 = 0 ;
|
int alloc3 = 0 ;
|
||||||
int res4 ;
|
int val4 ;
|
||||||
char temp4[8+1] ;
|
int ecode4 = 0 ;
|
||||||
char *t4 = 0 ;
|
|
||||||
size_t n4 = 0 ;
|
|
||||||
int alloc4 = 0 ;
|
|
||||||
int val5 ;
|
|
||||||
int ecode5 = 0 ;
|
|
||||||
PyObject * obj0 = 0 ;
|
PyObject * obj0 = 0 ;
|
||||||
PyObject * obj1 = 0 ;
|
PyObject * obj1 = 0 ;
|
||||||
PyObject * obj2 = 0 ;
|
PyObject * obj2 = 0 ;
|
||||||
PyObject * obj3 = 0 ;
|
PyObject * obj3 = 0 ;
|
||||||
PyObject * obj4 = 0 ;
|
|
||||||
|
|
||||||
if (!PyArg_ParseTuple(args,(char *)"OOOOO:CoreSession_getDigits",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
|
if (!PyArg_ParseTuple(args,(char *)"OOOO:CoreSession_getDigits",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
||||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CoreSession, 0 | 0 );
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CoreSession, 0 | 0 );
|
||||||
if (!SWIG_IsOK(res1)) {
|
if (!SWIG_IsOK(res1)) {
|
||||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CoreSession_getDigits" "', argument " "1"" of type '" "CoreSession *""'");
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CoreSession_getDigits" "', argument " "1"" of type '" "CoreSession *""'");
|
||||||
|
@ -5951,24 +5944,13 @@ SWIGINTERN PyObject *_wrap_CoreSession_getDigits(PyObject *SWIGUNUSEDPARM(self),
|
||||||
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CoreSession_getDigits" "', argument " "3"" of type '" "char *""'");
|
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CoreSession_getDigits" "', argument " "3"" of type '" "char *""'");
|
||||||
}
|
}
|
||||||
arg3 = reinterpret_cast< char * >(buf3);
|
arg3 = reinterpret_cast< char * >(buf3);
|
||||||
res4 = SWIG_AsCharPtrAndSize(obj3, &t4, &n4, &alloc4);
|
ecode4 = SWIG_AsVal_int(obj3, &val4);
|
||||||
if (!SWIG_IsOK(res4)) {
|
if (!SWIG_IsOK(ecode4)) {
|
||||||
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CoreSession_getDigits" "', argument " "4"" of type '" "char *terminator""'");
|
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CoreSession_getDigits" "', argument " "4"" of type '" "int""'");
|
||||||
}
|
|
||||||
if ( n4 > (size_t) 8 ) n4 = (size_t) 8;
|
|
||||||
memcpy(temp4, t4, sizeof(char)*n4);
|
|
||||||
if (alloc4 == SWIG_NEWOBJ) delete[] t4;
|
|
||||||
temp4[n4 - 1] = 0;
|
|
||||||
arg4 = (char *) temp4;
|
|
||||||
ecode5 = SWIG_AsVal_int(obj4, &val5);
|
|
||||||
if (!SWIG_IsOK(ecode5)) {
|
|
||||||
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CoreSession_getDigits" "', argument " "5"" of type '" "int""'");
|
|
||||||
}
|
}
|
||||||
arg5 = static_cast< int >(val5);
|
arg4 = static_cast< int >(val4);
|
||||||
result = (char *)(arg1)->getDigits(arg2,arg3,arg4,arg5);
|
result = (char *)(arg1)->getDigits(arg2,arg3,arg4);
|
||||||
resultobj = SWIG_FromCharPtr((const char *)result);
|
resultobj = SWIG_FromCharPtr((const char *)result);
|
||||||
arg4[8] = 0;
|
|
||||||
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_FromCharPtr(arg4));
|
|
||||||
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
|
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
|
||||||
return resultobj;
|
return resultobj;
|
||||||
fail:
|
fail:
|
||||||
|
|
|
@ -528,13 +528,13 @@ SWITCH_DECLARE(int) CoreSession::collectDigits(int timeout) {
|
||||||
}
|
}
|
||||||
|
|
||||||
SWITCH_DECLARE(char *) CoreSession::getDigits(int maxdigits,
|
SWITCH_DECLARE(char *) CoreSession::getDigits(int maxdigits,
|
||||||
char *terminators,
|
char *terminators,
|
||||||
char *terminator,
|
int timeout)
|
||||||
int timeout)
|
|
||||||
{
|
{
|
||||||
switch_status_t status;
|
switch_status_t status;
|
||||||
sanity_check("");
|
sanity_check("");
|
||||||
begin_allow_threads();
|
begin_allow_threads();
|
||||||
|
char terminator;
|
||||||
|
|
||||||
memset(dtmf_buf, 0, sizeof(dtmf_buf));
|
memset(dtmf_buf, 0, sizeof(dtmf_buf));
|
||||||
status = switch_ivr_collect_digits_count(session,
|
status = switch_ivr_collect_digits_count(session,
|
||||||
|
@ -542,7 +542,7 @@ SWITCH_DECLARE(char *) CoreSession::getDigits(int maxdigits,
|
||||||
sizeof(dtmf_buf),
|
sizeof(dtmf_buf),
|
||||||
maxdigits,
|
maxdigits,
|
||||||
terminators,
|
terminators,
|
||||||
terminator,
|
&terminator,
|
||||||
(uint32_t) timeout, 0, 0);
|
(uint32_t) timeout, 0, 0);
|
||||||
|
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "getDigits dtmf_buf: %s\n", dtmf_buf);
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "getDigits dtmf_buf: %s\n", dtmf_buf);
|
||||||
|
|
Loading…
Reference in New Issue