cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Walkthrough Wednesdays
238
Views
5
Helpful
1
Replies

Transfer a direct call

I am using uccx 11.6 getting problem to code transfer call action i tried to use https://github.com/CiscoDevNet/finesse-sample-code/tree/master/ClickToCallSampleGadget  api but unfortunately it is a consult call api i want to directly transfer my call to a certain extension how do i code that ?

1 ACCEPTED SOLUTION

Accepted Solutions
Amer rajai Sha'er
Rising star

Here is a link to a gadget i have used before for single step transfer.

https://www.dropbox.com/s/mbjz52dx1wepgqj/csltxferbuttonsv12.rar?dl=0

This gadget is designed to transfer the call to 2852 and also places the agent in not ready state with reason code 10 (in my setup it is called IVR payment reason code)

 

so what you have to do is to edit this line

$("#button1").text('Transfer to Payment IVR').data('xferdest', '2852');

the text is what will appear on the button and number 2852 is where you want to send the call.

 

Secondly you need to clear the reason code 10 unless you want to use it

var state = "NOT_READY";
rc = {id: '10'} ;
user.setState(state,rc, {
error : handleChangeStateError
});

This function will set the agent to not ready with reason code 10 , that is only required from you if you want the agent to go to not ready after the transfer.

 

 

View solution in original post

1 REPLY 1
Amer rajai Sha'er
Rising star

Here is a link to a gadget i have used before for single step transfer.

https://www.dropbox.com/s/mbjz52dx1wepgqj/csltxferbuttonsv12.rar?dl=0

This gadget is designed to transfer the call to 2852 and also places the agent in not ready state with reason code 10 (in my setup it is called IVR payment reason code)

 

so what you have to do is to edit this line

$("#button1").text('Transfer to Payment IVR').data('xferdest', '2852');

the text is what will appear on the button and number 2852 is where you want to send the call.

 

Secondly you need to clear the reason code 10 unless you want to use it

var state = "NOT_READY";
rc = {id: '10'} ;
user.setState(state,rc, {
error : handleChangeStateError
});

This function will set the agent to not ready with reason code 10 , that is only required from you if you want the agent to go to not ready after the transfer.

 

 

View solution in original post

Content for Community-Ad

Spotlight Awards 2021