cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2902
Views
0
Helpful
1
Replies

Automatically Call a Number with an Extension in Cisco Finesse?

riesp
Level 5
Level 5

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

1 Accepted Solution

Accepted Solutions

ewindgat
Level 5
Level 5

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

      });    

     },

View solution in original post

1 Reply 1

ewindgat
Level 5
Level 5

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

      });    

     },