Lead Timezone Population Question

All installation and configuration problems and questions

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

Lead Timezone Population Question

Postby csbe » Mon Jan 04, 2016 5:22 pm

Hello,

I am trying to use the OWNER_TIME_ZONE_CODE feature for identifying a lead's time zone in the dialer's backend. I I know how to turn this on in the list settings, however I am trying to deduce how to populate this via the non agent API reliably with each lead.

The non agent api doc list this field:
local_gmt - timezone setting, not adjusting for DST, default: '-5.00'

However the vicidial help link says:
OWNER_TIME_ZONE_CODE will use the standard time zone abbraviation loaded into the owner field of the lead to determine the time zone, in the USA examples are AST, EST, CST, MST, PST, AKST, HST. This feature must be enabled by your system administrator to go into effect.

So my questions are:
1) Do I pass a numeric time zone to the API using the local_gmt field, or do I set a textual timezone in the "owner" field? Or both?
2) The help docs say "This feature must be enabled by your system administrator to go into effect.". Does this refer to just changing the time zone settings for the list to OWNER_TIME_ZONE_CODE, or is this referring to some other system level feature that has to be activated?

I appreciate any insight/help you can offer me.

~Brian

Vicibox 6.0.4 from Vicibox_v.6.0.x86_64-6.0.4.iso | ViciDial SVN Trunk v.2.10-443a build 140617-2017 revision 2130 | 1.8.32.3-vici | Multiple Servers: 6 Dial - 1DB - 1 Web| Amfletec VoiceSync PCI Chips | No Extra Software After Installation | Intel MultiCore Processors
csbe
 
Posts: 19
Joined: Mon Jan 04, 2016 5:10 pm

Re: Lead Timezone Population Question

Postby mflorell » Mon Jan 04, 2016 11:45 pm

You will need to add the "--list-settings" flag to your crontab entry for the ADMIN_adjust_GMTnow_on_leads.pl script for it to properly process the options you have set on the list modify page for owner time zone processing as it runs every night.

As for the non-agent API sending, you only need to send the owner TZCODE, not the gmt-offset for it to register the proper time zone.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Lead Timezone Population Question

Postby csbe » Tue Jan 05, 2016 1:06 pm

That seems to have done it! Thanks, I really appreciate the insight.
csbe
 
Posts: 19
Joined: Mon Jan 04, 2016 5:10 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 67 guests