Displaying 1 result from an estimated 1 matches for "sm_agi_fail".
2015 Mar 04
0
Failsafe AGI using AEL
...eaker}'. Failsafe mode enabled, AGI breaker will reset after '${SM_AGI_BREAKER_MAX_ELAPSED}' seconds or '${SM_AGI_BREAKER_MAX_CALLS}' calls" | mail -s "ERROR: ${SM_NODE} AGI Breaker '${breaker}' Tripped" ${SM_AGI_BREAKER_NOTIFY});
Playback(custom/sm_agi_fail);
}
// try using the failsafe
AGI(${REPLACE(agi_failsafe,^,\,)});
if ("${AGISTATUS}" == "SUCCESS") {
if (${LOCK(${breaker})}) {
Set(ARRAY(GLOBAL(${breaker}_calls),SM_AGI_STATUS)=${MATH(${${breaker}_calls}+1,int)},SUCCESS);
Set(un...