01-08-2015 06:45 AM
Hi
how can I automatically dial a phone number with an extension using the Cisco Finesse API?
E.g. I would like to dial company phone 555-1122 and extension 1234.
Can I include a special character like a comma (,) to insert a pause? Then I could use the string "5551122,1234"
Thanks,
Pat
Solved! Go to Solution.
03-03-2015 11:14 AM
There is a Make Call sample gadget that shows how to use the MakeCall method. It uses the Finesse JS library, which is preferred over a direct API call.
Here's how it works...
Initialize the Finesse JavaScript library and assign a User object...
user = new finesse.restservices.User({
id: id,
onLoad : handleUserLoad,
onChange : handleUserChange
});
then, call the makeCall method from a local JavaScript function...
<button onClick="finesse.modules.SampleGadget.makeCall('41008');">Make Call to 41008</button>
the local makeCall function is defined here...
makeCall : function (number) {
user.makeCall(number, {
success: makeCallSuccess,
error: makeCallError
});
},
03-03-2015 11:14 AM
There is a Make Call sample gadget that shows how to use the MakeCall method. It uses the Finesse JS library, which is preferred over a direct API call.
Here's how it works...
Initialize the Finesse JavaScript library and assign a User object...
user = new finesse.restservices.User({
id: id,
onLoad : handleUserLoad,
onChange : handleUserChange
});
then, call the makeCall method from a local JavaScript function...
<button onClick="finesse.modules.SampleGadget.makeCall('41008');">Make Call to 41008</button>
the local makeCall function is defined here...
makeCall : function (number) {
user.makeCall(number, {
success: makeCallSuccess,
error: makeCallError
});
},
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide