mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
tweaks
This commit is contained in:
@@ -383,7 +383,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_dmachine_ping(switch_ivr_dmachine_t *
|
||||
|
||||
if (dmachine->last_matching_binding->callback) {
|
||||
s = dmachine->last_matching_binding->callback(&dmachine->match);
|
||||
|
||||
|
||||
switch(s) {
|
||||
case SWITCH_STATUS_CONTINUE:
|
||||
r = SWITCH_STATUS_SUCCESS;
|
||||
@@ -391,7 +391,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_dmachine_ping(switch_ivr_dmachine_t *
|
||||
case SWITCH_STATUS_SUCCESS:
|
||||
break;
|
||||
default:
|
||||
r = SWITCH_STATUS_NOTFOUND;
|
||||
r = SWITCH_STATUS_BREAK;
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -407,7 +407,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_dmachine_ping(switch_ivr_dmachine_t *
|
||||
case SWITCH_STATUS_SUCCESS:
|
||||
break;
|
||||
default:
|
||||
r = SWITCH_STATUS_NOTFOUND;
|
||||
r = SWITCH_STATUS_BREAK;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -422,7 +422,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_dmachine_ping(switch_ivr_dmachine_t *
|
||||
r = SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
if (r != SWITCH_STATUS_FOUND && r != SWITCH_STATUS_SUCCESS) {
|
||||
if (r != SWITCH_STATUS_FOUND && r != SWITCH_STATUS_SUCCESS && r != SWITCH_STATUS_BREAK) {
|
||||
switch_set_string(dmachine->last_failed_digits, dmachine->digits);
|
||||
dmachine->match.match_digits = dmachine->last_failed_digits;
|
||||
|
||||
@@ -439,7 +439,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_dmachine_ping(switch_ivr_dmachine_t *
|
||||
case SWITCH_STATUS_SUCCESS:
|
||||
break;
|
||||
default:
|
||||
r = SWITCH_STATUS_NOTFOUND;
|
||||
r = SWITCH_STATUS_BREAK;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user