Avaya Support Forums  

Go Back   Avaya Support Forums > IP Office Contact Center

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-09-2016, 01:35 PM
lebon lebon is offline
Genius
.
 
Join Date: Feb 2010
Location: France
Posts: 217
lebon has 10 reputation points
Default Dialer bad date and time

Hi,

- I want to test "CallBack" with exemple script,
- The call back is enregistred in the dialer but never call back start

- My IPOCC is installed in english, but "Time ZONE Paris" IPOCC is installed in France
- When I create manually the time is 3/9/2016 10:20:45 PM and the dialer work fine
- Bute when I test with exemple script the date/time is 9/3/2016 2:00:00 AM

- Can help me ?

Yvan
Reply With Quote
  #2  
Old 03-09-2016, 02:01 PM
zakabog zakabog is offline
Genius
 
Join Date: Aug 2014
Posts: 300
zakabog has 25 to 49 reputation pointszakabog has 25 to 49 reputation pointszakabog has 25 to 49 reputation points
Default

What does your current script look like, it sounds like the timestamp information is wrong based on your database local (since the example you're using was likely written with a different time/date format in mind.)
Reply With Quote
  #3  
Old 03-10-2016, 10:36 AM
lebon lebon is offline
Genius
.
 
Join Date: Feb 2010
Location: France
Posts: 217
lebon has 10 reputation points
Default

I use the exemple "Callback_request"
And in this script, He have a logic "StartDate => _date(_now) , i try also _now

The time serveur is 7:28 PM fir this test
If I use "_date(_now)" date and time is 10/03/2016 2:00:00 AM
If I use "_now", date and time is 10/03/2016 9:31:22 PM

If i create manualy, date and time is 3/10/2016 7:33:16 PM

Have you idea ?

Yvan
Reply With Quote
  #4  
Old 03-10-2016, 11:15 PM
kalpanaautade kalpanaautade is offline
Whiz
.
 
Join Date: Sep 2015
Posts: 32
kalpanaautade has 10 reputation points
Default

Due to timezone and Database local, _now we take different format which may not work for update in DB.

Dialer will also adjusting nextattempt value according to 'Closue' state of job.

We can set dnextattempt to 'Jan 1 1970' , and provide StartDate and EndDate for ODLifetime then Dialer will take next correct attempt according to system date and job state and start date.
Reply With Quote
  #5  
Old 03-11-2016, 06:54 AM
zakabog zakabog is offline
Genius
 
Join Date: Aug 2014
Posts: 300
zakabog has 25 to 49 reputation pointszakabog has 25 to 49 reputation pointszakabog has 25 to 49 reputation points
Default

lebon, can you access the PostgreSQL command line directly and run the function now(); and see if it returns the correct time? If it doesn't, you might just need to reconfigure the server to have the correct locale information.
Reply With Quote
  #6  
Old 03-11-2016, 01:08 PM
kruegerb kruegerb is offline
Genius
.
 
Join Date: Oct 2013
Location: Stuttgart-Germany
Posts: 276
kruegerb has 12 reputation points
Default

This time issue does occur only with the old version of the script used in former bootcamp. Please use the actual which is deliveres eg. With 9.1.6 or published in another thread of this forum.
Reply With Quote
  #7  
Old 03-14-2016, 07:02 PM
sharm112 sharm112 is offline
Hot Shot
 
Join Date: Aug 2014
Posts: 20
sharm112 has 11 reputation points
Default

I had the same issue .The new script provided has resolved the issue . PFA the script
Attached Files
File Type: zip callback_fix.zip (2.5 KB, 13 views)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:09 PM.

This Forum is provided solely for the use and convenience of Avaya customers and partners. Use of the Forum is subject to the Terms and Use and Privacy Statement found at www.avaya.com. No other use is permitted. The Forum including all content posted is “AS IS” and Avaya expressly disclaims all warranties and/or guarantees as to its accuracy, reliability, usefulness, quality or non-infringement of intellectual property. Avaya reserves the right to remove any content posted on the Forum at any time and for whatever reason.

Avaya will not be liable for any content posted on this Forum, including, without limitation, any errors or omissions or for any losses or damages of any kind incurred as a result of use or reliance on any content, regardless of its origin.

You expressly understand and agree that you assume all risks associated with use or reliance on this content.