Author Topic: I need a Sample Code on Rescheduling an Outbound Call  (Read 8590 times)

This topic contains a post which is marked as Best Answer. Press here if you would like to see it.

tkardaridis

  • Guest
I need a Sample Code on Rescheduling an Outbound Call
« on: May 21, 2007, 02:50:04 PM »
Hello,
I am new on this forum but not on Genesys. I had develop two months ago a softphone and now i have to implement also Rescheduling Outbound Call. I create a KeyValueCollection with the required parameters.
I don't know two things.

1. How should i retreive the GSW_RECORD_HANDLE in order to attach it on the KeyValueCollection? From where can i find it? Does it exists on the AnswerCall and How should i found it?

2. Which Request should i use in order to fire the Request on T-Server in order to Reschedule the Call?

Any sample code would be very very helpfull.


Thanks

Thomas

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: I need a Sample Code on Rescheduling an Outbound Call
« Reply #1 on: May 21, 2007, 07:01:19 PM »
The record handle arrives on the Event_Ringing for example.
It will be a good idea that you add a eventlog object so you can see all what happens on your DN.
To reschedule just send the event any time with the required format.
Search here, there a couple of codes for examples

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1416
  • Karma: 18
Re: I need a Sample Code on Rescheduling an Outbound Call
« Reply #2 on: May 23, 2007, 07:51:50 AM »
There is a sample VB application with source code that I have posted here a while back that will do just that. Take a look at it because it should cover most of your questions. Please tell me if you cannot find it and I will upload it again.

Needless to say, please ask questions about the source code, if something seems weird :) (Please remember that I put it together in less than an hour, so please do not expect it to work perfectly in a full production environment!) ;)

Best regards,
Vic

tkardaridis

  • Guest
Re: I need a Sample Code on Rescheduling an Outbound Call
« Reply #3 on: May 23, 2007, 01:37:30 PM »
Thanks a lot for your replies. Victor i cannot find the sample VB application. Could you please upload it again and send me the url i can download it?


Best Regards,

Thomas

Marked as best answer by on October 24, 2024, 08:37:27 PM

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
search for visual + basic + code it's not a file, it's plain text.

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1416
  • Karma: 18
Re: I need a Sample Code on Rescheduling an Outbound Call
« Reply #5 on: May 24, 2007, 10:23:59 AM »
Ok, here we go - I put together something for you - I did not have time to play with date/time yet, but all you need to do is add the time field and you are set.

This application will let you login.logout, join/leave campaign, ask for the next record, enter the data, update the status of the record.  So, what you need to do is just one more field for date :)

Needless to say, please re-write it to make it more useful for you - I only spent about 15 minutes on it.

I will try to play with the date tomorrow if you need more help :)

Best regards,
Vic

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1416
  • Karma: 18
Re: I need a Sample Code on Rescheduling an Outbound Call
« Reply #6 on: May 29, 2007, 01:35:24 AM »
Hi,

did you have any luck with GIS reschedule? I did not get a chance to install or play with it so far. :(
Did you manage to do it on your own?