Author Topic: dial_sched_time and Call_time  (Read 7112 times)

Offline saz

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
dial_sched_time and Call_time
« on: July 03, 2011, 12:56:46 PM »
hi,

    is der a way to change the Time format from UTC to standard Date Time Format (MM/DD/YYYY HH:MM:SS AM) in GAD for dial_sched_time and Call_time fields value ?
Process: when got a campaign call, customer requested to reschedule a call for call back and the respective Date and time is updated in OCS. and we can see the scheduled date and time in standard format in OCM but, when the same record is fetched in GAD am not able to see in standard format instead seeing in seconds format (e.g., 12345678) so, the requirement is to show the standard date time format even in GAD also.

Regards,
S

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: dial_sched_time and Call_time
« Reply #1 on: July 03, 2011, 07:27:09 PM »
Can you post a screenshot of what you mean?

Offline saz

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: dial_sched_time and Call_time
« Reply #2 on: July 04, 2011, 05:41:08 AM »
PFA screen shots of OCM and GAD..where date and Time is displayed.

Regards,
s

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: dial_sched_time and Call_time
« Reply #3 on: July 04, 2011, 05:54:40 AM »
AH! That is because you are attaching the fields as KVP. Actually the values are as shown on GAD, OCM format them to show you them as hh:mm:ss format. What you should do is create a function on IRD before passing the info to GAD to make the same format. Those numbers are on UnixTime Stamp, I think (must review URS guide) that there is a function to format it directly on IRD, if not, you should create the function.

Offline saz

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: dial_sched_time and Call_time
« Reply #4 on: July 04, 2011, 11:23:23 AM »
Hi,

i am not passing any data as a KVP to GAD. in IRD i am just targetting the agent group. so, where should i call/write this function.

Regards,
s

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: dial_sched_time and Call_time
« Reply #5 on: July 04, 2011, 02:21:29 PM »
I bet 100% sure that you are passing those fields as KVP, otherwise how do you explain that they appear on GAD? Check on annex tab of those fields on CME and you will see.
You should do the conversion before the target group on IRD strategy. Please read OCS deployment guide on how to send dialing fields as KVP, IRD is not involved at all on that point

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: dial_sched_time and Call_time
« Reply #6 on: July 11, 2011, 05:41:30 PM »
Saz,

What version of GAD and Outbound Server do you have?

R.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: dial_sched_time and Call_time
« Reply #7 on: July 11, 2011, 05:50:19 PM »
Now my confidence is 99, 98, 97...lol

Offline saz

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: dial_sched_time and Call_time
« Reply #8 on: July 11, 2011, 06:29:48 PM »
Hi Rene,

  GAD : 7.6.304.08
  OCS : 8.0.001.20

Cav: as i said earlier am not passing any KVP to GAD. am juz using "send_attribute" option on each fields section so, that the field can display that data on custom data on GAD

Thanks,
S

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: dial_sched_time and Call_time
« Reply #9 on: July 11, 2011, 08:38:11 PM »
Well my friend, you are sending Key Value Pairs, maybe not from IRD perse as you are maybe used to, but you are instructing OCS to do it so. You can attach KVP from many points, not only IRD, that is why TLib exists.
Again, I think you must format them

OCS > Contacts customer > Transfer data to RP > RP catchs KVP with UnixTimeStamp > Strategy converts into readable format > IRD attachs new KVP > GAD displays new KVPs