switch_event_t *event;
switch_status_t status;
+ switch_channel_set_variable(channel, "last_non_matching_digits", match->match_digits);
+
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "%s Digit NOT match binding [%s]\n",
switch_channel_get_name(channel), match->match_digits);
char *string = act->string;
switch_channel_t *channel = switch_core_session_get_channel(act->session);
+ switch_channel_set_variable(channel, "last_matching_digits", match->match_digits);
+
if (switch_event_create_plain(&event, SWITCH_EVENT_CHANNEL_DATA) == SWITCH_STATUS_SUCCESS) {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(act->session), SWITCH_LOG_DEBUG, "%s Digit match binding [%s][%s]\n",
switch_channel_get_name(channel), act->string, act->value);