VICIdial: "This phone number is outside of the local call time:"
As VICIdial prints it
This phone number is outside of the local call time:
Where it appears. In an alert box on the agent screen, written by the page itself.
To the point
The campaign has Manual Call Time Check set to ENABLED, and at the moment of the dial the clock where the number is did not fall inside the call time that applies to it. No call was made.
What it means
Manual Call Time Check is a campaign field with two values, DISABLED and ENABLED. With ENABLED, every manual dial with a phone number longer than three digits gets a time test on the server, ahead of the DNC and list searches.
The server first works out the number's offset from GMT. It uses the phone code sent with the dial, or the system's default phone code when there is none, and the first three digits of the number as the area code. For a lead already in the database it also reads the lead's list and its State field.
Two call times can apply. One is the campaign's Local Call Time. The other is the Local Call Time of the lead's list, used only when it is not set to campaign and names a call time that exists. When the campaign's call time allows the dial, the list's call time has the last word. When it does not, the campaign's answer stands. VICIdial's help puts it this way: a list call time can only narrow the campaign hours.
Inside a call time, each day of the week has a start and a stop, written as hours and minutes with no colon, where 0 is midnight and 2400 is the end of the day. A day whose start and stop are both 0 uses the Default Start and Default Stop. The dial passes when the local time is at or after the start and before the stop. An active holiday dated today narrows those hours, and a state rule in the call time takes over for leads whose State matches it.
When the test fails, the server answers OUTSIDE OF LOCAL CALL TIME and drops the number from the agent's manual dial queue.
Causes
- The dial really was outside the hours where the number is, for its day of the week.
- The list has a narrower call time than the campaign, so the campaign allows the hour and the list does not.
- A holiday or a state rule is attached to the call time and cut today's hours.
- The offset is not what you expect. It comes from the phone code and the area code, so a dial sent with the wrong phone code is tested against the wrong clock.
Checks
- Campaigns > (campaign) > Detail > Manual Call Time Check, then Local Call Time on the same page. The Local Call Time label is a link to that call time.
- Admin > Call Times > (call time). Read Default Start and Default Stop, the start and stop for today, and the counts of state rules and holidays the campaign page prints for it.
- Lists > (list) > Local Call Time. Campaign - Use Campaign Settings means the list adds no rule of its own.
Fix
- Dial again once the local time at the number is inside the hours.
- To change the hours for one kind of lead, give its list a call time of its own. It cannot widen what the campaign allows.
- Check the phone code the dial carries. Without one, the default phone code in system settings is used.
- With Manual Call Time Check at DISABLED, manual dials skip this test.
Related messages
- This phone number is at the 24-hour call count limit:: the number was called too often, whatever the hour.
- This phone number is in the DNC list:: the list search that runs right after the time test.
- Dial timed out, contact your system administrator: the call was placed but nobody picked up in time.
Sources
Every statement above about VICIdial was read from its own source code at the revision given. An installed server can run another revision: compare before you rely on a line number.
- VICIdial svn r4037, www/agc/vicidial.php, lines 12971-12976: this alert, when the server's answer contains OUTSIDE
- VICIdial svn r4037, www/agc/vicidial.php, line 12907: the OUTSIDE pattern the agent screen tests the answer against
- VICIdial svn r4037, www/agc/vicidial.php, line 3343: Manual Call Time Check read from the campaign at login
- VICIdial svn r4037, www/agc/vicidial.php, line 6780: Manual Call Time Check written into the agent screen
- VICIdial svn r4037, www/agc/vdc_db_query.php, lines 2662-2672: the campaign's Local Call Time read for the dial
- VICIdial svn r4037, www/agc/vdc_db_query.php, lines 2857-2888: the test run when ENABLED and the number is longer than three digits, the default phone code, the area code and the GMT offset
- VICIdial svn r4037, www/agc/vdc_db_query.php, lines 2889-2926: the lead's list and State, the list's Local Call Time, and campaign used when that call time is missing
- VICIdial svn r4037, www/agc/vdc_db_query.php, lines 2928-2937: the list's call time tested only when the campaign's allows the dial
- VICIdial svn r4037, www/agc/vdc_db_query.php, lines 2939-2958: the queue purge and the OUTSIDE OF LOCAL CALL TIME answer
- VICIdial svn r4006, www/agc/functions.php, lines 2366-2403: the local time from the offset, the day of the week, and the call time's start and stop fields
- VICIdial svn r4006, www/agc/functions.php, lines 2404-2440: an active holiday dated today narrowing the hours
- VICIdial svn r4006, www/agc/functions.php, lines 2441-2480: state rules matched on the lead's State
- VICIdial svn r4006, www/agc/functions.php, lines 2632-2647: a day with start and stop at 0 using the default, and the start-before-stop test
- VICIdial svn r4031, www/vicidial/admin.php, line 29112: the Detail tab of a campaign
- VICIdial svn r4031, www/vicidial/admin.php, lines 29975-29978: Local Call Time on the campaign Detail page, its label a link to the call time
- VICIdial svn r4031, www/vicidial/admin.php, line 29995: the counts of state rules and holidays for the campaign's call time
- VICIdial svn r4031, www/vicidial/admin.php, line 31213: Manual Call Time Check, DISABLED or ENABLED
- VICIdial svn r4031, www/vicidial/admin.php, lines 34666-34683: the list's Local Call Time and its Campaign - Use Campaign Settings choice
- VICIdial svn r4031, www/vicidial/admin.php, lines 42915-42916: Default Start, Default Stop and the per-day fields of a call time
- VICIdial svn r4038, www/vicidial/admin_header.php, lines 2657-2659: Call Times in the Admin menu
- VICIdial svn r4038, www/vicidial/help_documentation.txt, line 405: the help for Manual Call Time Check
- VICIdial svn r4038, www/vicidial/help_documentation.txt, line 471: the help for a list's Local Call Time: it only narrows the campaign hours
- VICIdial svn r4038, www/vicidial/help_documentation.txt, lines 881-882: the help for the default and per-day start and stop times