[SOLVED] callmenu timecheck not triggered

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

[SOLVED] callmenu timecheck not triggered

Postby AlSam » Wed Feb 07, 2018 11:40 am

I have a callmenu setup so that it does timecheck and route calls to a voicemail after hours. The timecheck option is triggered if I select the voicemail route option but not when VMAIL_NO_INST is selected. Is this a known bug?
Last edited by AlSam on Fri Aug 28, 2020 2:22 pm, edited 1 time in total.
ViciBox v.7.0.4-170113 | VERSION: 2.14-697a BUILD: 190121-2019 | Asterisk 11.25.1-vici | All-In-One | No additional software
AlSam
 
Posts: 125
Joined: Thu Sep 02, 2010 1:17 pm

Re: callmenu timecheck not triggered

Postby AlSam » Mon Feb 12, 2018 6:28 am

Anyone have any ideas about how this can be resolved? Preferably without upgrading.
ViciBox v.7.0.4-170113 | VERSION: 2.14-697a BUILD: 190121-2019 | Asterisk 11.25.1-vici | All-In-One | No additional software
AlSam
 
Posts: 125
Joined: Thu Sep 02, 2010 1:17 pm

Re: callmenu timecheck not triggered

Postby mflorell » Mon Feb 12, 2018 7:00 am

Post the dialplan entry for this callmenu only from the /etc/asterisk/extensions-vicidial.conf file
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: callmenu timecheck not triggered

Postby AlSam » Mon Feb 12, 2018 7:05 am

; SUAGM Programa Ahora
[SUAGMAhora]
exten => s,1,Answer
exten => s,n,AGI(agi-VDAD_inbound_calltime_check.agi,CALLMENU-----YES-----SUAGMAhora-----SUAGMTime-----VOICEMAIL-----78246----------NO)
exten => s,n,Set(INVCOUNT=0)
exten => s,n,Background(SUAGMSaludoAhora)
exten => s,n,Background(SUAGMMainMenu)
exten => s,n,WaitExten(5)
exten => s,n,Background(SUAGMSaludoAhora)
exten => s,n,Background(SUAGMMainMenu)
exten => s,n,WaitExten(5)
exten => s,n,Background(SUAGMSaludoAhora)
exten => s,n,Background(SUAGMMainMenu)
exten => s,n,WaitExten(5)
ViciBox v.7.0.4-170113 | VERSION: 2.14-697a BUILD: 190121-2019 | Asterisk 11.25.1-vici | All-In-One | No additional software
AlSam
 
Posts: 125
Joined: Thu Sep 02, 2010 1:17 pm

Re: callmenu timecheck not triggered

Postby mflorell » Mon Feb 12, 2018 9:33 am

That's not all of it, keep going until you see the next context bracket begin [

Also, please post the Asterisk CLI output from when it doesn't work.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: callmenu timecheck not triggered

Postby AlSam » Mon Feb 12, 2018 9:51 am

How can I filter the CLI's output so that I only have that which is related to this callmenu?

[SUAGMAhora]
exten => s,1,Answer
exten => s,n,AGI(agi-VDAD_inbound_calltime_check.agi,CALLMENU-----YES-----SUAGMAhora-----SUAGMTime-----VOICEMAIL-----78246----------NO)
exten => s,n,Set(INVCOUNT=0)
exten => s,n,Background(SUAGMSaludoAhora)
exten => s,n,Background(SUAGMMainMenu)
exten => s,n,WaitExten(5)
exten => s,n,Background(SUAGMSaludoAhora)
exten => s,n,Background(SUAGMMainMenu)
exten => s,n,WaitExten(5)
exten => s,n,Background(SUAGMSaludoAhora)
exten => s,n,Background(SUAGMMainMenu)
exten => s,n,WaitExten(5)

; UMET
exten => 1,1,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----SUAGM_UMET_AH_MAYA-----SUAGMAhora--------------------998-----1-----TESTCAMP------------------------------)
exten => 1,2,Hangup()
; UNE
exten => 2,1,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----SUAGM_UNE_AH_MAYA-----SUAGMAhora--------------------998-----1-----TESTCAMP------------------------------)
exten => 2,2,Hangup()
; Turabo
exten => 3,1,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----SUAGM_TUR_AH_MAYA-----SUAGMAhora--------------------998-----1-----TESTCAMP------------------------------)
exten => 3,2,Hangup()
; Transferencias a SUAGM Campuses
exten => 4,1,Goto(SUAGMExtTransfers,s,1)
exten => 4,2,Hangup()
; Transferencia a SUAGM Admin
exten => 5,1,Goto(default,172*016*010*019*1004,1)
exten => 5,2,Hangup()

exten => t,1,Goto(s,4)
exten => t,n,Hangup()
exten => i,1,Goto(s,4)
exten => i,n,Hangup()
; hangup
exten => h,1,AGI(agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
ViciBox v.7.0.4-170113 | VERSION: 2.14-697a BUILD: 190121-2019 | Asterisk 11.25.1-vici | All-In-One | No additional software
AlSam
 
Posts: 125
Joined: Thu Sep 02, 2010 1:17 pm

Re: callmenu timecheck not triggered

Postby mflorell » Mon Feb 12, 2018 9:54 am

The easiest way to get the CLI output is test outside of business hours
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: callmenu timecheck not triggered

Postby AlSam » Mon Feb 12, 2018 9:55 am

I will do that then and post results tomorrow. Thanks.
ViciBox v.7.0.4-170113 | VERSION: 2.14-697a BUILD: 190121-2019 | Asterisk 11.25.1-vici | All-In-One | No additional software
AlSam
 
Posts: 125
Joined: Thu Sep 02, 2010 1:17 pm

Re: callmenu timecheck not triggered

Postby AlSam » Tue Feb 13, 2018 6:44 am

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
AlSam
 
Posts: 125
Joined: Thu Sep 02, 2010 1:17 pm

Re: callmenu timecheck not triggered

Postby mflorell » Tue Feb 13, 2018 7:03 am

Please post the /var/log/astguiclient/agiout.2018-02-13 logfile output for these calls too.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: callmenu timecheck not triggered

Postby AlSam » Tue Feb 13, 2018 7:32 am

2018-02-13 07:20:34|agi-DID_route.agi||INSERT INTO vicidial_did_log SET uniqueid='1518520834.534682',channel='IAX2/Elastix6326-16252',server_ip='172.16.10.19',caller_id_number='XXXXXXXXXX',caller_id_name='XXXXXXXXXX',extension='YYYYYYYYYY',call_date='2018-02-13 07:20:34',did_id='63',did_route='CALLMENU';|
2018-02-13 07:20:34|agi-DID_route.agi|-- DID LOG : |1|INSERT INTO vicidial_did_log SET uniqueid='1518520834.534682',channel='IAX2/Elastix6326-16252',server_ip='172.16.10.19',caller_id_number='XXXXXXXXXX',caller_id_name='XXXXXXXXXX',extension='YYYYYYYYYY',call_date='2018-02-13 07:20:34',did_id='63',did_route='CALLMENU';|
2018-02-13 07:20:34|agi-DID_route.agi|-- CALL LOG : |1|INSERT INTO call_log SET uniqueid='1518520834.534682', channel='IAX2/Elastix6326-16252', channel_group='DID_INBOUND', server_ip='172.16.10.19', type='IAX2', extension='YYYYYYYYYY', number_dialed='YYYYYYYYYY', caller_code='XXXXXXXXXX', start_time='2018-02-13 07:20:34', start_epoch='1518520834';|
2018-02-13 07:20:34|agi-DID_route.agi|exiting the DID app, transferring call to CALLMENU SUAGMAhora
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi|Perl Environment Dump:
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi|0|CALLMENU-----YES-----SUAGMAhora-----SUAGMTime-----VOICEMAIL-----78246----------NO
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi| -- accountcode =
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi| -- arg_1 = CALLMENU-----YES-----SUAGMAhora-----SUAGMTime-----VOICEMAIL-----78246----------NO
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi| -- callerid = XXXXXXXXXX
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi| -- calleridname = XXXXXXXXXX
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi| -- callingani2 = 0
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi| -- callingpres = 0
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi| -- callingtns = 0
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi| -- callington = 0
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi| -- channel = IAX2/Elastix6326-16252
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi| -- context = SUAGMAhora
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi| -- dnid = unknown
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi| -- enhanced = 0.0
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi| -- extension = s
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi| -- language = en
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi| -- priority = 2
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi| -- rdnis = unknown
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi| -- request = agi-VDAD_inbound_calltime_check.agi
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi| -- threadid = 140201726527232
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi| -- type = IAX2
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi| -- uniqueid = 1518520834.534682
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi| -- version = 11.25.1-vici
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi|AGI Variables: |1518520834.534682|IAX2/Elastix6326-16252|s|IAX2|XXXXXXXXXX|
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi|+++++ INBOUND CALL VDCL STARTED : |CALLMENU|XXXXXXXXXX-|2018-02-13 07:20:35
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi|-- AH VDAC vac record deleted: |0E0|1518520834.534682|XXXXXXXXXX|SUAGMTime|
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi||INSERT INTO live_inbound_log (uniqueid,channel,server_ip,caller_id,extension,phone_ext,start_time,comment_a,comment_b,comment_c,comment_d,comment_e) values('1518520834.534682','IAX2/Elastix6326-16252','172.16.10.19','XXXXXXXXXX','s','XXXXXXXXXX','2018-02-13 07:20:35','CALLMENU','SUAGMAhora','AFTERHOURSDROP','SUAGMAhora','2')|
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi|-- AH LIL insert: |1|1518520834.534682|XXXXXXXXXX|s|
2018-02-13 07:20:35|agi-VDAD_inbound_calltime_check.agi|exiting the VDAD app after hours, transferring call to 8502666666666678246 |720|800|1959|0|
2018-02-13 07:21:26|agi-DID_route.agi||INSERT INTO vicidial_did_log SET uniqueid='1518520886.534683',channel='IAX2/Elastix6326-11129',server_ip='172.16.10.19',caller_id_number='XXXXXXXXXX',caller_id_name='XXXXXXXXXX',extension='YYYYYYYYYY',call_date='2018-02-13 07:21:26',did_id='63',did_route='CALLMENU';|
2018-02-13 07:21:26|agi-DID_route.agi|-- DID LOG : |1|INSERT INTO vicidial_did_log SET uniqueid='1518520886.534683',channel='IAX2/Elastix6326-11129',server_ip='172.16.10.19',caller_id_number='XXXXXXXXXX',caller_id_name='XXXXXXXXXX',extension='YYYYYYYYYY',call_date='2018-02-13 07:21:26',did_id='63',did_route='CALLMENU';|
2018-02-13 07:21:26|agi-DID_route.agi|-- CALL LOG : |1|INSERT INTO call_log SET uniqueid='1518520886.534683', channel='IAX2/Elastix6326-11129', channel_group='DID_INBOUND', server_ip='172.16.10.19', type='IAX2', extension='YYYYYYYYYY', number_dialed='YYYYYYYYYY', caller_code='XXXXXXXXXX', start_time='2018-02-13 07:21:26', start_epoch='1518520886';|
2018-02-13 07:21:26|agi-DID_route.agi|exiting the DID app, transferring call to CALLMENU SUAGMAhora
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi|Perl Environment Dump:
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi|0|CALLMENU-----YES-----SUAGMAhora-----SUAGMTime-----VOICEMAIL-----78246----------NO
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi| -- accountcode =
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi| -- arg_1 = CALLMENU-----YES-----SUAGMAhora-----SUAGMTime-----VOICEMAIL-----78246----------NO
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi| -- callerid = XXXXXXXXXX
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi| -- calleridname = XXXXXXXXXX
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi| -- callingani2 = 0
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi| -- callingpres = 0
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi| -- callingtns = 0
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi| -- callington = 0
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi| -- channel = IAX2/Elastix6326-11129
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi| -- context = SUAGMAhora
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi| -- dnid = unknown
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi| -- enhanced = 0.0
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi| -- extension = s
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi| -- language = en
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi| -- priority = 2
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi| -- rdnis = unknown
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi| -- request = agi-VDAD_inbound_calltime_check.agi
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi| -- threadid = 140201726527232
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi| -- type = IAX2
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi| -- uniqueid = 1518520886.534683
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi| -- version = 11.25.1-vici
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi|AGI Variables: |1518520886.534683|IAX2/Elastix6326-11129|s|IAX2|XXXXXXXXXX|
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi|+++++ INBOUND CALL VDCL STARTED : |CALLMENU|XXXXXXXXXX-|2018-02-13 07:21:26
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi|-- AH VDAC vac record deleted: |0E0|1518520886.534683|XXXXXXXXXX|SUAGMTime|
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi||INSERT INTO live_inbound_log (uniqueid,channel,server_ip,caller_id,extension,phone_ext,start_time,comment_a,comment_b,comment_c,comment_d,comment_e) values('1518520886.534683','IAX2/Elastix6326-11129','172.16.10.19','XXXXXXXXXX','s','XXXXXXXXXX','2018-02-13 07:21:26','CALLMENU','SUAGMAhora','AFTERHOURSDROP','SUAGMAhora','2')|
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi|-- AH LIL insert: |1|1518520886.534683|XXXXXXXXXX|s|
2018-02-13 07:21:26|agi-VDAD_inbound_calltime_check.agi|exiting the VDAD app after hours, transferring call to 8502666666666678246 |721|800|1959|0|
2018-02-13 07:23:33|agi-DID_route.agi||INSERT INTO vicidial_did_log SET uniqueid='1518521013.534684',channel='IAX2/Elastix6326-14932',server_ip='172.16.10.19',caller_id_number='XXXXXXXXXX',caller_id_name='XXXXXXXXXX',extension='YYYYYYYYYY',call_date='2018-02-13 07:23:33',did_id='63',did_route='CALLMENU';|
2018-02-13 07:23:33|agi-DID_route.agi|-- DID LOG : |1|INSERT INTO vicidial_did_log SET uniqueid='1518521013.534684',channel='IAX2/Elastix6326-14932',server_ip='172.16.10.19',caller_id_number='XXXXXXXXXX',caller_id_name='XXXXXXXXXX',extension='YYYYYYYYYY',call_date='2018-02-13 07:23:33',did_id='63',did_route='CALLMENU';|
2018-02-13 07:23:33|agi-DID_route.agi|-- CALL LOG : |1|INSERT INTO call_log SET uniqueid='1518521013.534684', channel='IAX2/Elastix6326-14932', channel_group='DID_INBOUND', server_ip='172.16.10.19', type='IAX2', extension='YYYYYYYYYY', number_dialed='YYYYYYYYYY', caller_code='XXXXXXXXXX', start_time='2018-02-13 07:23:33', start_epoch='1518521013';|
2018-02-13 07:23:33|agi-DID_route.agi|exiting the DID app, transferring call to CALLMENU SUAGMAhora
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi|Perl Environment Dump:
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi|0|CALLMENU-----YES-----SUAGMAhora-----SUAGMTime-----VMAIL_NO_INST-----78246----------NO
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi| -- accountcode =
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi| -- arg_1 = CALLMENU-----YES-----SUAGMAhora-----SUAGMTime-----VMAIL_NO_INST-----78246----------NO
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi| -- callerid = XXXXXXXXXX
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi| -- calleridname = XXXXXXXXXX
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi| -- callingani2 = 0
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi| -- callingpres = 0
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi| -- callingtns = 0
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi| -- callington = 0
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi| -- channel = IAX2/Elastix6326-14932
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi| -- context = SUAGMAhora
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi| -- dnid = unknown
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi| -- enhanced = 0.0
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi| -- extension = s
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi| -- language = en
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi| -- priority = 2
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi| -- rdnis = unknown
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi| -- request = agi-VDAD_inbound_calltime_check.agi
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi| -- threadid = 140201726527232
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi| -- type = IAX2
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi| -- uniqueid = 1518521013.534684
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi| -- version = 11.25.1-vici
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi|AGI Variables: |1518521013.534684|IAX2/Elastix6326-14932|s|IAX2|XXXXXXXXXX|
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi|+++++ INBOUND CALL VDCL STARTED : |CALLMENU|XXXXXXXXXX-|2018-02-13 07:23:34
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi|-- AH VDAC vac record deleted: |0E0|1518521013.534684|XXXXXXXXXX|SUAGMTime|
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi||INSERT INTO live_inbound_log (uniqueid,channel,server_ip,caller_id,extension,phone_ext,start_time,comment_a,comment_b,comment_c,comment_d,comment_e) values('1518521013.534684','IAX2/Elastix6326-14932','172.16.10.19','XXXXXXXXXX','s','XXXXXXXXXX','2018-02-13 07:23:34','CALLMENU','SUAGMAhora','AFTERHOURSDROP','SUAGMAhora','2')|
2018-02-13 07:23:34|agi-VDAD_inbound_calltime_check.agi|-- AH LIL insert: |1|1518521013.534684|XXXXXXXXXX|s|
2018-02-13 07:46:14|agi-DID_route.agi||INSERT INTO vicidial_did_log SET uniqueid='1518522374.534685',channel='IAX2/Elastix6326-15876',server_ip='172.16.10.19',caller_id_number='6158373000',caller_id_name='6158373000',extension='NNNNNNNNNN',call_date='2018-02-13 07:46:14',did_id='15',did_route='IN_GROUP';|
ViciBox v.7.0.4-170113 | VERSION: 2.14-697a BUILD: 190121-2019 | Asterisk 11.25.1-vici | All-In-One | No additional software
AlSam
 
Posts: 125
Joined: Thu Sep 02, 2010 1:17 pm

Re: callmenu timecheck not triggered

Postby mflorell » Tue Feb 13, 2018 9:44 am

You found a bug!

I have fixed this in svn/trunk. Upgrade to get the fix.

Thanks!
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: callmenu timecheck not triggered

Postby AlSam » Tue Feb 13, 2018 11:12 am

Any chance I could correct it without upgrading?
ViciBox v.7.0.4-170113 | VERSION: 2.14-697a BUILD: 190121-2019 | Asterisk 11.25.1-vici | All-In-One | No additional software
AlSam
 
Posts: 125
Joined: Thu Sep 02, 2010 1:17 pm

Re: callmenu timecheck not triggered

Postby mflorell » Tue Feb 13, 2018 1:24 pm

Sure, just grab the agi script and copy it to your system, that script hasn't been changed since 2016, so you should be OK to do that.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: callmenu timecheck not triggered

Postby AlSam » Tue Feb 13, 2018 2:13 pm

This is the agi you are referring to. Correct?

agi-VDAD_inbound_calltime_check.agi
ViciBox v.7.0.4-170113 | VERSION: 2.14-697a BUILD: 190121-2019 | Asterisk 11.25.1-vici | All-In-One | No additional software
AlSam
 
Posts: 125
Joined: Thu Sep 02, 2010 1:17 pm

Re: callmenu timecheck not triggered

Postby williamconley » Tue Feb 13, 2018 2:25 pm

AlSam wrote:This is the agi you are referring to. Correct?

agi-VDAD_inbound_calltime_check.agi

Based on your conversation, I'd say that's a safe bet. Try it.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: callmenu timecheck not triggered

Postby AlSam » Tue Feb 13, 2018 8:57 pm

Thanks for you help, Matt. I can confirm that the new agi script does resolve the matter in our server.
ViciBox v.7.0.4-170113 | VERSION: 2.14-697a BUILD: 190121-2019 | Asterisk 11.25.1-vici | All-In-One | No additional software
AlSam
 
Posts: 125
Joined: Thu Sep 02, 2010 1:17 pm

Re: callmenu timecheck not triggered

Postby williamconley » Tue Feb 13, 2018 10:09 pm

AlSam wrote:Thanks for you help, Matt. I can confirm that the new agi script does resolve the matter in our server.

Excellent postback. 8-)

I'm sure someone with this same problem and your version of Vicidial will be happy to see this one day in the future.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 138 guests