diff --git a/src/switch_cpp.cpp b/src/switch_cpp.cpp index d6cc87dda8..a83f0c9ec9 100644 --- a/src/switch_cpp.cpp +++ b/src/switch_cpp.cpp @@ -165,6 +165,7 @@ int CoreSession::collectDigits(int timeout) { begin_allow_threads(); switch_ivr_collect_digits_callback(session, ap, timeout); end_allow_threads(); + return SWITCH_STATUS_SUCCESS; } int CoreSession::getDigits(char *dtmf_buf,