Customer Time problem?

All installation and configuration problems and questions

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

Customer Time problem?

Postby MoutaPT » Wed Aug 16, 2006 6:55 am

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.
MoutaPT
 
Posts: 23
Joined: Thu Aug 10, 2006 5:31 am

Postby mflorell » Wed Aug 16, 2006 9:26 am

Does the lead information show up properly on the vicidial.php screen?

Are there any errors in your Firefox Javascript Console?
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby MoutaPT » Wed Aug 16, 2006 9:32 am

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.
MoutaPT
 
Posts: 23
Joined: Thu Aug 10, 2006 5:31 am

Postby MoutaPT » Wed Aug 16, 2006 11:02 am

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
MoutaPT
 
Posts: 23
Joined: Thu Aug 10, 2006 5:31 am

Postby mflorell » Wed Aug 16, 2006 11:38 am

When you import leads are you importing a phone_code field?

What is the gmt_offset of your leads in the list modification screen?
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby MoutaPT » Wed Aug 16, 2006 11:46 am

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?
MoutaPT
 
Posts: 23
Joined: Thu Aug 10, 2006 5:31 am

Postby mflorell » Wed Aug 16, 2006 12:03 pm

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.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby MoutaPT » Wed Aug 16, 2006 1:15 pm

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
MoutaPT
 
Posts: 23
Joined: Thu Aug 10, 2006 5:31 am

Postby mflorell » Wed Aug 16, 2006 2:23 pm

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.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 71 guests