Page 1 of 1
Customer Time problem?
Posted:
Wed Aug 16, 2006 6:55 am
by MoutaPT
Hi,
Currently when i dial to Vicidial from my VoiPexten in my Asterisk server that connects via IAXtrunk to AsteriskVicidial server, i get in troubles:
In Vicidial Agent interface i get
Cust Time: NaN NaN NaN:NaN:NaN AM
If i try to make the call from local extension in AsteriskVicidial server, then everything looks fine.
I must say both Asterisk servers use the same NTP server.
Posted:
Wed Aug 16, 2006 9:26 am
by mflorell
Does the lead information show up properly on the vicidial.php screen?
Are there any errors in your Firefox Javascript Console?
Posted:
Wed Aug 16, 2006 9:32 am
by MoutaPT
lead information is ok, and Java Script console doesn't show errors from vicidial tab.
I must say i've delete:
DELETE from vicidial_list where vender_leader_code='SALESLINE';
And now i notice that when i get this cust time: NaNaNA... nothing is written in this table.
Posted:
Wed Aug 16, 2006 11:02 am
by MoutaPT
Hi Matt,
After this command:
DELETE from vicidial_list where vendor_lead_code='SALESLINE';
It seems that after this i always get the cust time problems (i must say in the past already happen few times)
By the way when calling from local extension, i've found that works fine but Cust Time is always -5 GMT than my time! why?
Do you recomend me to drop any tables and do it again? or i should do something else?
Best regards,
MoutaPT
Posted:
Wed Aug 16, 2006 11:38 am
by mflorell
When you import leads are you importing a phone_code field?
What is the gmt_offset of your leads in the list modification screen?
Posted:
Wed Aug 16, 2006 11:46 am
by MoutaPT
Sorry for my ignorance:
>When you import leads are you importing a phone_code field?
>What is the gmt_offset of your leads in the list modification screen?
Where and how do i check both?
Posted:
Wed Aug 16, 2006 12:03 pm
by mflorell
the phone code field is right before the phone_number field when you load leads.
You can check the GMT of leads by going to the list modification section of the vicidial/admin.php page and looking at the "TIME ZONES WITHIN THIS LIST" section.
Posted:
Wed Aug 16, 2006 1:15 pm
by MoutaPT
I've notice that this TIMEZONE's within LIST OPTIONs are not correct, how can i change it? do I need to create a new lead or campaign?
By the way i've just made one change in DB,
UPDATE vicidial_list SET gmt_offset_now='0.0' where vendor_lead_code='SALESLINE';
And now works fine... Does this has any dependency of my remote asterisk server, i mean does my remote Asterisk server provides any time info through my IAX trunk to Vicidial?
I'm wondering if i have any cron job that runs once per day or something that gets new clock time , and that coulde be the reason for now working fine...
But I don't think so , because during the day i've checked many times Clock Time of both Asterisks and was all ok.
Now it's ok Again, but i didn't get what happened, that's the bad side of being newbie around Vicidial and not Asterisk Guru....
Hope you can guess what miracle happened here.
Best regards,
MoutaPT
Posted:
Wed Aug 16, 2006 2:23 pm
by mflorell
Dialing is entirely based upon the GMT offset that the leads are in and that field is actively used many places in the vicidial code base. the adjust GMT script that runs is supposed to put the proper GMT offset in for each lead so that it can be dialind in the proper call time that you set for your campaign.
There could be many things that can effect this for you depending on where you are.