« Back to Installation

trying to get any sample working

Combination View Flat View Tree View
Threads [ Previous | Next ]
I am just trying to get some sample code running that connects to a server. I am looking to use any public Xmpp server. I tried

var connArgs = {
 httpBindingURL: "https://im.ciscowebex.com/http-bind"
}
client.connect('user@example.com', 'password', connArgs);

but how do I get an account ? Or is there another public xmpp server I can create an account on and use? I'm just trying to get something up and running.
Also, when I do try the above I get "service unavailable" error. Ok, I understand that it wouldn't work without an account, but shouldn't I get unknown user/password? This makes me think there are at least two things preventing this from working.

Adam,
You can request a shared Jabber SandBox account to do the testing.
Howard

Ok, thanks. I have been given a login+pass. I am following the steps from Connecting to and testing the Jabber Web Video Softphone page. I've installed the plugin as per step 2.

Now step 3 says to download the SDK and open 'sample.html'. The download I get is a zip file tha does not contain the any such file. In fact it only contains 2 VS solutions, neither of which build (complaining about

opensdktestclient\stdafx.h(85): error C3506: there is no typelib registered for LIBID '{547820CC-0549-40f4-A5F6-41FF107A30DB}')

Skipping this for a minute, I go to step 4 which says to go to https://64.103.37.6/.

I do so and enter my user/password. In IE 9 it blinks and then just returns me to the login page. It is the correct login because if I add a character I get Login failed message. In Firefox 15, it stops at the Sun Java step but nothing happens, no popups etc.

Any help would be much appreciated.

Adam,
The Voice/Video SDK you downladed seems not right.I have emailed you the correct one.
For IM/Presence, please go to IM & Presence - On Premise Deployment and download either debug or release version
Howard

I am following the steps from the page 'Connecting to and testing Jabber IM and Presence'. Now that I have credentials for the Shared UC env, I perform step 5 by editing the docs\examples\sampleclient.html page with the following values
However when I run it I get
with the following values
var demo_config = {
domain: "psdtemea.cisco.com",
maxGraphAge: 5,
unsecureAllowed: true,
atSymbolAllowed: false,
logPersistence: false,
serviceDiscoveryEnabled: false,
httpBindingURL: "http://cup02:7335/httpbinding",
httpBindingURL_secondary: "/httpbinding"
}
However when I run it I get
Log    13:49:53:661    User home node is : undefined
Log    13:49:53:665    _connectSecondaryBindingURL= false
Log    13:49:53:670    Stored home node is : null
Log    13:49:53:673    Stored backup node is : null
Log    13:49:53:677    _connectToNode node is : null
Log    13:49:53:680    Initializing candidate nodes array.
Log    13:49:53:683    Cross site is true.
Log    13:49:53:685    Update _connectToNode = cup02
Log    13:49:53:687    Bosh URL is: file://cup02:7335/httpbinding
Log    13:49:53:691    network timeout retry 1
Log    13:50:28:697    network timeout retry 2
Log    13:50:29:201    network timeout retry 3
Log    13:51:04:212    Stream closedwith erroremoticonperation failed ()
Log    13:51:04:218    closed:
Log    13:51:04:221    Failed to connect to SD-Primary Node, binding URL =cup02:7335/httpbinding, and now try the SD-Secondary Node binding URL=/httpbinding