Page 1 of 1

callmenu time check not working

PostPosted: Fri Oct 08, 2010 3:12 pm
by striker
hi support

my serverdetails
goautodial
vicidial VERSION: 2.4-284|BUILD: 101008-0349 |with digium card|no extra software|

i have setup callmenu eith timecheck .
if time check matches it will be redirected to another callmenu
but its not working and keeps play the first callmenu,

in cli i have noticed agi-VDAD_inbound_calltime_check.agi always returns
any solution for this

wether in vicibox redux it will work

PostPosted: Fri Oct 08, 2010 3:21 pm
by williamconley
please list the model number of your digium card (it helps more than you think!) along with the installer version of your goautodial

can you post the settings for the menu(s) in question along with their items?

related agi log ouput (/var/log/astguiclient) would be helpful as well (but ONLY related output, don't post 3000 lines of log! noone will read it! :) )

callmenu time check

PostPosted: Mon Oct 18, 2010 10:38 am
by striker
hi william

digium card te122p

menu settings is simple

did--callmenu---press1 to ingroup--TIMECHECK to hangup
menu timecheck enabled
calltime 1900hrs to 0000 hrs

if callcomes at 1900 to 0000 the call shoud be hangup
if callcomes at 0001 to 1859 the call should play the audio choosed in callmenu
but wat ever time itis its playing the audio file and wait for dtmf digit

below is the cli between the time 1900 to 0000

Accepting call from 'xxxxxxx' to '0000' on channel 0/18, span 1
[Oct 18 20:50:28] -- Executing [0000@trunkinbound:1] AGI("DAHDI/18-1", "agi-DID_route.agi") in new stack
[Oct 18 20:50:28] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
[Oct 18 20:50:28] -- AGI Script Executing Application: (Monitor) Options: (wav|/var/spool/asterisk/monitor/MIX/20101018205028_0000_xxxxxxxxx)
[Oct 18 20:50:28] -- AGI Script agi-DID_route.agi completed, returning 0
[Oct 18 20:50:28] -- Executing [s@AOEvening:1] AGI("DAHDI/18-1", "agi-VDAD_inbound_calltime_check.agi|CALLMENU-----YES-----AOEvening-----1900pm12pm-----HANGUP----------") in new stack
[Oct 18 20:50:28] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_inbound_calltime_check.agi
[Oct 18 20:50:28] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Oct 18 20:50:28] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Oct 18 20:50:28] -- AGI Script agi-VDAD_inbound_calltime_check.agi completed, returning 0
[Oct 18 20:50:28] -- Executing [s@AOEvening:2] BackGround("DAHDI/18-1", "EveningClosingHoursEnglish") in new stack
[Oct 18 20:50:28] -- <DAHDI/18-1> Playing 'EveningClosingHoursEnglish' (language 'en')
[Oct 18 20:50:31] -- Channel 0/18, span 1 got hangup request, cause 16


in var/log/astguiclient there are lot of files which one u need to post here

FASTagiout.2010-10-18
action_full.2010-10-18
action_launch.2010-10-18
action_process.2010-10-18
action_send.2010-10-18
adapt.2010-10-18
agiout.2010-10-18
clean.2010-10-18
didin.2010-10-18
hopper.2010-10-18
listen.2010-10-18
listen_process.2010-10-18
remoteagent.2010-10-18
screenlog.0.2010-10-18
update.2010-10-18
vdautodial.2010-10-18

PostPosted: Mon Oct 18, 2010 11:47 am
by mflorell
please post the settings for the call time you are using with this.

call time settings

PostPosted: Wed Oct 20, 2010 4:51 am
by striker
hi matt

in default start i have given 1900 and in defuat stop i have given 2400

no state call time rule added

PostPosted: Wed Oct 20, 2010 8:02 am
by mflorell
have you tried 0001 as the start and 1900 as the stop? from your description this is what you really want to have it set to.

callmenu timecheck

PostPosted: Thu Oct 21, 2010 11:41 am
by striker
hi matt

as of my R&D results following are wokring if time check enabled

menu time check enabled
CALLTIME 1000 TO 1300

and i have done this test call between 1900 to 2200

option TIMECHECK and route to voicemail ---WORKING
option TIMECHECK and route to ingroups ---WORKING
option TIMECHECK and route to HANGUP ----WORKING

option TIMECHECK and route to callmenu ----NOT WORKING
option TIMECHECK and route to PHONE ----NOT WORKING