FS-4867 try patch

This commit is contained in:
Anthony Minessale committed 2012-12-06 12:43:00 -06:00
1 parent a7fafb2039
commit e5fd435f11
2 files changed
+4 -5

No files matched your search

+3 -1
View File
@@ -426,7 +426,9 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_dmachine_ping(switch_ivr_dmachine_t *
is_timeout++;
}
switch_mutex_lock(dmachine->mutex);
if (switch_mutex_trylock(dmachine->mutex) != SWITCH_STATUS_SUCCESS) {
return SWITCH_STATUS_SUCCESS;
}
if (zstr(dmachine->digits) && !is_timeout) {
r = SWITCH_STATUS_SUCCESS;