First block is a successful one using voicemail routing option as a result of the timecheck; the second uses VMAIL_NO_INST.
[Feb 13 07:20:34] -- Accepting AUTHENTICATED call from 172.16.10.5:
[Feb 13 07:20:34] -- > requested format = ulaw,
[Feb 13 07:20:34] -- > requested prefs = (ulaw|alaw|gsm),
[Feb 13 07:20:34] -- > actual format = ulaw,
[Feb 13 07:20:34] -- > host prefs = (ulaw),
[Feb 13 07:20:34] -- > priority = mine
[Feb 13 07:20:34] -- Executing [XXXXXXXXXX@trunkinbound:1] AGI("IAX2/Elastix6326-16252", "agi-DID_route.agi") in new stack
[Feb 13 07:20:34] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[Feb 13 07:20:35] -- <IAX2/Elastix6326-16252>AGI Script agi-DID_route.agi completed, returning 0
[Feb 13 07:20:35] -- Executing [s@SUAGMAhora:1] Answer("IAX2/Elastix6326-16252", "") in new stack
[Feb 13 07:20:35] -- Executing [s@SUAGMAhora:2] AGI("IAX2/Elastix6326-16252", "agi-VDAD_inbound_calltime_check.agi,CALLMENU-----YES-----SUAGMAhora-----SUAGMTime-----VOICEMAIL-----78246----------NO") in new stack
[Feb 13 07:20:35] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_inbound_calltime_check.agi
[Feb 13 07:20:35] -- <IAX2/Elastix6326-16252> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Feb 13 07:20:35] -- <IAX2/Elastix6326-16252> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Feb 13 07:20:35] -- <IAX2/Elastix6326-16252> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Feb 13 07:20:35] -- <IAX2/Elastix6326-16252> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Feb 13 07:20:36] -- <IAX2/Elastix6326-16252>AGI Script agi-VDAD_inbound_calltime_check.agi completed, returning 0
[Feb 13 07:20:36] -- Executing [8502666666666678246@default:1] Wait("IAX2/Elastix6326-16252", "1") in new stack
[Feb 13 07:20:37] -- Executing [8502666666666678246@default:2] VoiceMail("IAX2/Elastix6326-16252", "78246,u") in new stack
[Feb 13 07:20:37] -- <IAX2/Elastix6326-16252> Playing '/var/spool/asterisk/voicemail/default/78246/unavail.slin' (language 'en')
[Feb 13 07:20:47] == Spawn extension (default, 8502666666666678246, 2) exited non-zero on 'IAX2/Elastix6326-16252'
[Feb 13 07:20:47] -- Executing [h@default:1] AGI("IAX2/Elastix6326-16252", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Feb 13 07:20:47] -- <IAX2/Elastix6326-16252>AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Feb 13 07:20:47] -- Hungup 'IAX2/Elastix6326-16252'
[Feb 13 07:23:33] -- Accepting AUTHENTICATED call from 172.16.10.5:
[Feb 13 07:23:33] -- > requested format = ulaw,
[Feb 13 07:23:33] -- > requested prefs = (ulaw|alaw|gsm),
[Feb 13 07:23:33] -- > actual format = ulaw,
[Feb 13 07:23:33] -- > host prefs = (ulaw),
[Feb 13 07:23:33] -- > priority = mine
[Feb 13 07:23:33] -- Executing [XXXXXXXXXX@trunkinbound:1] AGI("IAX2/Elastix6326-14932", "agi-DID_route.agi") in new stack
[Feb 13 07:23:33] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[Feb 13 07:23:33] -- <IAX2/Elastix6326-14932>AGI Script agi-DID_route.agi completed, returning 0
[Feb 13 07:23:33] -- Executing [s@SUAGMAhora:1] Answer("IAX2/Elastix6326-14932", "") in new stack
[Feb 13 07:23:34] -- Executing [s@SUAGMAhora:2] AGI("IAX2/Elastix6326-14932", "agi-VDAD_inbound_calltime_check.agi,CALLMENU-----YES-----SUAGMAhora-----SUAGMTime-----VMAIL_NO_INST-----78246----------NO") in new stack
[Feb 13 07:23:34] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_inbound_calltime_check.agi
[Feb 13 07:23:34] -- <IAX2/Elastix6326-14932> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Feb 13 07:23:34] -- <IAX2/Elastix6326-14932> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Feb 13 07:23:34] -- <IAX2/Elastix6326-14932>AGI Script agi-VDAD_inbound_calltime_check.agi completed, returning 0
[Feb 13 07:23:34] -- Executing [s@SUAGMAhora:3] Set("IAX2/Elastix6326-14932", "INVCOUNT=0") in new stack
[Feb 13 07:23:34] -- Executing [s@SUAGMAhora:4] BackGround("IAX2/Elastix6326-14932", "SUAGMSaludoAhora") in new stack
[Feb 13 07:23:34] -- <IAX2/Elastix6326-14932> Playing 'SUAGMSaludoAhora.slin' (language 'en')
[Feb 13 07:23:38] -- Executing [s@SUAGMAhora:5] BackGround("IAX2/Elastix6326-14932", "SUAGMMainMenu") in new stack
[Feb 13 07:23:38] -- <IAX2/Elastix6326-14932> Playing 'SUAGMMainMenu.slin' (language 'en')
[Feb 13 07:23:43] == Spawn extension (SUAGMAhora, s, 5) exited non-zero on 'IAX2/Elastix6326-14932'
[Feb 13 07:23:43] -- Executing [h@SUAGMAhora:1] AGI("IAX2/Elastix6326-14932", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Feb 13 07:23:43] -- <IAX2/Elastix6326-14932>AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Feb 13 07:23:43] -- Hungup 'IAX2/Elastix6326-14932'
ViciBox v.7.0.4-170113 | VERSION: 2.14-697a BUILD: 190121-2019 | Asterisk 11.25.1-vici | All-In-One | No additional software