10-05-2016 07:07 AM
I need to connect to jabber client application to enable call accept/reject from a web application.
Can anyone guide to do the same using web sdk.
Tried sample code available from internet. But the cwic.LoginController.setCUCMServers() itself throws a systemException.
Unable to proceed further.
10-05-2016 09:28 AM
It seems the plugin is not properly loaded(Using chrome).
o.sendMessage and setCTIServers/setCUCMServers/setTFTPServers methods are returning exception.
Unable to figure out the issue. Anyone there to help?
10-05-2016 03:40 PM
Assuming you have the 11.7 version of the plugin installed (and if using Chrome, have installed the Chrome add-in)...
Note that in order to fully initialize the cwic object for API interaction, you need to call the cwic.initialize() method, and handle the corresponding onInitialized and onAuthorised events.
Are you able to get the sample application contained in the SDK to work (or at least display the component versions in the lower-right corner?) Inspecting how the sample handles init of the cwic object will likely be very helpful...
10-06-2016 04:22 AM
@dstaudt Thanks for the response. Yes, I am using JabberSDK-voice-video-Web-11.7 SDK only.
But, Unable to figure out where the cucm ip, username and password are configured in the same file.
Hence I am trying to connect manually, but unable to..
Also, to answer your question, cwic and addon version are not displayed under 'System Information'.
On loading the sample.html file,"ERROR,Lost connection with add-on" error is displayed.
Console logs for your reference:
[cwic][ERROR][20:45:30.973] Connection with add-on has been lost
cwic.js:2 [cwic][ERROR][20:45:31.026] Connection with add-on has been lost
cwic.js:4
Uncaught TypeError: Cannot read property 'uninitialize' of nulln @ cwic.js:4
onChannelMessage @ cwic.js:2
onMessageReceived @ cwic.js:2
i.onMessageReceived @ cwic.js:4
receiveMessage @ cwic_plugin.js:1
Can you pls suggest the way to proceed?
10-06-2016 02:02 PM
Sounds like there may be an issue with the plugin and your environment (OS, browser, other plugins, etc.) I would suggest going ahead and opening a ticket with DevNet developer support so we can work with you directly to troubleshoot: https://developer.cisco.com/site/devnet/support/
05-03-2017 08:51 AM
Was this issue ever resolved? I am having the exact same problem.
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