switch_log_printf(SWITCH_CHANNEL_LOG,SWITCH_LOG_ERROR,"Member %s <%s> with uuid %s in queue %s is gone just before we assigned an agent\n",h->member_cid_name,h->member_cid_number,h->member_session_uuid,h->queue_name);
sql=switch_mprintf("UPDATE members SET state = '%q', session_uuid = '', abandoned_epoch = '%"SWITCH_TIME_T_FMT"' WHERE system = 'single_box' AND uuid = '%q' AND state != '%q'",
/* Sadly, there doesn't seem to be a return to switch_ivr_play_file that tell you the file wasn't found. FALSE also mean that the channel got switch to BRAKE state, so we check for read acceptable */
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(member_session),SWITCH_LOG_WARNING,"Couldn't play file '%s', continuing wait with no audio\n",cur_moh);
moh_valid=SWITCH_FALSE;
...
...
@@ -3284,7 +3284,7 @@ static int list_result_callback(void *pArg, int argc, char **argv, char **column