FS-3873 --resolve cool someone is finally testing it
This commit is contained in:
parent
7f5b8fba55
commit
32c73c0825
|
@ -545,7 +545,7 @@ static switch_status_t parse_playback(const char *tag_name, client_t *client, sw
|
||||||
|
|
||||||
if (input_timeout && status == SWITCH_STATUS_SUCCESS) {
|
if (input_timeout && status == SWITCH_STATUS_SUCCESS) {
|
||||||
if ((status = switch_ivr_sleep(client->session, input_timeout, SWITCH_TRUE, args)) == SWITCH_STATUS_SUCCESS) {
|
if ((status = switch_ivr_sleep(client->session, input_timeout, SWITCH_TRUE, args)) == SWITCH_STATUS_SUCCESS) {
|
||||||
status = SWITCH_STATUS_BREAK;
|
status = (input || !pause) ? SWITCH_STATUS_BREAK : SWITCH_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -622,7 +622,7 @@ static switch_status_t parse_playback(const char *tag_name, client_t *client, sw
|
||||||
if (dmachine) {
|
if (dmachine) {
|
||||||
switch_ivr_dmachine_destroy(&dmachine);
|
switch_ivr_dmachine_destroy(&dmachine);
|
||||||
}
|
}
|
||||||
|
printf("WTF %d\n", status);
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue