Forums
« Back to Installation

Unable to connect using sample.html

Combination View Flat View Tree View
Threads [ Previous | Next ]
When I use sample.html, I am able to login successfully and the device "ECPwooitan" is shown in the Device. When I click on the connect button, I get the "Unable to login: Login Error eUnknownFailure" error. Can anyone help me to troubleshoot or rectify this?
Thank you

I have the sample problem. Can someone help? BTW my UCM version is System version: 7.1.3.20000-2.
Could this UCM work with the development tool? Thank you!

Hi Pi-Feng,

The SDK phone plugin supports any version of CUCM which has the CSF (Cisco Unified Client Services Framework) device type, which is the case of CUCM 7.1.3.

I guess you are using the SDK sample application ? What login parameters did you specify for user, password, cucm, authentication (check box) and mode ?
It would be helpful to send your log file to jabbersdk-support@cisco.com. The native plugin writes logs to:
XP: C:\Documents And Settings\{user}\Local Settings\Application Data\softphone.log
Vista, 7: C:\Users\{user}\AppData\Local\softphone.log
Mac: /Users/{user}/Library/Application Support/softphone.lo
g
where {user} is the Windows or Mac user id.

Thanks, Thomas

I also attach the screenshot of sample.html output in FireFox.

Pi-Feng

From: Lin, Pi-Feng
Sent: Tuesday, May 15, 2012 10:12 AM
To: 'cdicuser@developer.cisco.com'
Subject: RE: New Message from Thomas Vanier in 4556507 - Installation: RE: Unable to connect using sample.html

Thank you for your help! Attached is the softphone.log.


From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Tuesday, May 15, 2012 5:30 AM
To: cdicuser@developer.cisco.com
Subject: New Message from Thomas Vanier in 4556507 - Installation: RE: Unable to connect using sample.html

Thomas Vanier has created a new message in the forum "Installation":

--------------------------------------------------------------
Hi Pi-Feng,

The SDK phone plugin supports any version of CUCM which has the CSF (Cisco Unified Client Services Framework) device type, which is the case of CUCM 7.1.3.

I guess you are using the SDK sample application ? What login parameters did you specify for user, password, cucm, authentication (check box) and mode ?
It would be helpful to send your log file to jabbersdk-support@cisco.com. The native plugin writes logs to:
XP: C:\Documents And Settings\{user}\Local Settings\Application Data\softphone.log
Vista, 7: C:\Users\{user}\AppData\Local\softphone.log
Mac: /Users/{user}/Library/Application Support/softphone.log
where {user} is the Windows or Mac user id.

Thanks, Thomas
--
To respond to this post, please click the following link:

<http://developer.cisco.com/web/jabber-developer/jabber-voice-forum/-/message_boards/view_message/5731212>

or simply reply to this email.
Attachments:

Hi Pi-Feng,

Thanks for the screen shot, could you send your log file (softphone.log, see path in my previous post) to this different mailer: jabbersdk-support@cisco.com

What OS are you using ? Windows XP or 7, 32 or 64 bits ?
Could you try the sample application in another browser (Chrome and/or IE) ?

Thanks, Thomas

I am using Windows XP & Windows 7. I try different browsers but I get the same result.

My configuration
Attachments:

My log
Attachments:

After trying to this sample.html for a week, I am guessing the problem could be that my UCM version is too old - System version: 7.1.3.20000-2..

Hi Pi-Feng,

Apologies for not replying earlier.

On the CUCM admin page, open System => Server and click Find, what servers are displayed ?
From the logs, the ECPjabbertest device is configured to register with host "ucm", is this hostname known on your PC ? Can you successfully "ping ucm" from a command prompt ?
If not, add this line to your local hosts file (usually under %SystemRoot%\system32\drivers\etc\hosts):
147.177.255.115 ucm
Save the hosts file, open a command prompt and "ping ucm" again. If ping is ok, restart the browser and reopen the sample application (sample.html).

Hope this helps, Thomas

Hi, Thomas,

It is awesome for your reply. It is now working perfectly with UCM and Jabber SDK.

Pi-Feng

From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Thursday, May 24, 2012 5:19 AM
To: cdicuser@developer.cisco.com
Subject: New Message from Thomas Vanier in 4556507 - Installation: RE: Unable to connect using sample.html

Thomas Vanier has created a new message in the forum "Installation":

--------------------------------------------------------------
Hi Pi-Feng,

Apologies for not replying earlier.

On the CUCM admin page, open System => Server and click Find, what servers are displayed ?
From the logs, the ECPjabbertest device is configured to register with host "ucm", is this hostname known on your PC ? Can you successfully "ping ucm" from a command prompt ?
If not, add this line to your local hosts file (usually under %SystemRoot%\system32\drivers\etc\hosts):
147.177.255.115 ucm
Save the hosts file, open a command prompt and "ping ucm" again. If ping is ok, restart the browser and reopen the sample application (sample.html).

Hope this helps, Thomas
--
To respond to this post, please click the following link:

<http://developer.cisco.com/web/jabber-developer/jabber-voice-forum/-/message_boards/view_message/5776396>

or simply reply to this email.

The name of CUCM System ==> Server is ucm. Is there a way to put the ip address (147.177.255.115) in the CUCM so that we can avoid to put the lookup table in every deployed client machines (hosts file)?

Pi-Feng

From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Thursday, May 24, 2012 5:19 AM
To: cdicuser@developer.cisco.com
Subject: New Message from Thomas Vanier in 4556507 - Installation: RE: Unable to connect using sample.html

Thomas Vanier has created a new message in the forum "Installation":

--------------------------------------------------------------
Hi Pi-Feng,

Apologies for not replying earlier.

On the CUCM admin page, open System => Server and click Find, what servers are displayed ?
From the logs, the ECPjabbertest device is configured to register with host "ucm", is this hostname known on your PC ? Can you successfully "ping ucm" from a command prompt ?
If not, add this line to your local hosts file (usually under %SystemRoot%\system32\drivers\etc\hosts):
147.177.255.115 ucm
Save the hosts file, open a command prompt and "ping ucm" again. If ping is ok, restart the browser and reopen the sample application (sample.html).

Hope this helps, Thomas
--
To respond to this post, please click the following link:

<http://developer.cisco.com/web/jabber-developer/jabber-voice-forum/-/message_boards/view_message/5776396>

or simply reply to this email.

Hi Pi-Feng,

On the CUCM admin page, in System => Server, click Find to list all servers. Click the one you want to rename, enter a new name or IP address and click Save.
Be aware this can have side effects to other CUCM services, especially if this is a production CUCM.
An alternative would be to add a "ucm" entry to your network DNS settings, so all clients can automatically resolve the host name "ucm" to address 147.177.255.115, without modifying the local etc/hosts file on each PC.

Hope this helps, Thomas