cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1552
Views
0
Helpful
2
Replies

Pidgin configuration to connect to Social Miner 11.6 XMPP Bosch service for event monitoring

Good afternoon,

 

my goal is to use XMPP eventing to monitor Task campaign events on Cisco Social Miner.

In particular, I'm trying to obtain task status updates via bosh/xmpp from Social Miner, release 11.6.2.

As xmpp client I'm using Pidgin but I still haven't found the correct configuration to do so.

As a reference doc, I'm following Social Miner Developer Guide 11.6.2, chapter "XMPP BOSH Eventing".

 

Pidgin has the following fields available to  be configured:

 

Basic

Protocol: xmpp

Username: SCMAdministrator <--- is this a jabber id? should it be formatted as <socialminerusername>@127.0.0.1/<resourceId> ?

Domain: 127.0.0.1 <--- on the dev guide, I found: "SocialMiner uses a domain of 127.0.0.1"

Resource: ??? ccp.contacts.chat node ? ccp.campaign.updates.Cisco_Default_Task_Campaign ? Blank maybe?

 

Advanced

Connection Security: Use Encryption if available

Allow Plaintext auth over unencrypted streams: checked

Connect port: 7071 <--- Port 7071 for unsecure XMPP BOSH connections

Connect server: <fqdn_of_social_miner>

BOSH URL: http://<fqdn_of_social_miner>:7071/http-bind/ <--- do I need to fill Connect port/Connect server if the bosh url is compiled like this?

 

Thanks a lot

 

1 Accepted Solution

Accepted Solutions

Thanks. I figured it out.

 

First off, it seems XMPP BOSH Eventing can be done in plain xmpp too, not only in xmpp over bosch. The dev guide is not clear about this.

 

Anyway, leaving here my working settings:

 

BOSH connection:

 

Basic

Protocol: xmpp

Username: SCMAdministrator <--- this is the same user you use to log in on the social miner web interface

Domain: 127.0.0.1 <--- fine

Resource: empty

 

Advanced

Connection Security: Use Encryption if available

Allow Plaintext auth over unencrypted streams: checked

Connect port: 0

Connect server: empty

BOSH URL: http://<fqdn_of_social_miner>:7071/http-bind/

 

Plain xmpp:

 

Basic

Protocol: xmpp

Username: SCMAdministrator <--- this is the same user you use to log in on the social miner web interface

Domain: 127.0.0.1 <--- fine

Resource: empty

 

Advanced

Connection Security: Use Encryption if available

Allow Plaintext auth over unencrypted streams: checked

Connect port: 5222

Connect server: <fqdn_of_social_miner>

BOSH URL: empty

 

 

View solution in original post

2 Replies 2

dekwan
Cisco Employee
Cisco Employee

Hi,

 

I've never connected to the SocialMiner BOSH, but I know that the domain should not be an IP address. So if your FQDN is socialminer.cisco.com, the domain is cisco.com. The resource can be anything.

 

This doc for connecting with Pidgin to Finesse might help: https://developer.cisco.com/docs/finesse/#!pidgin-for-windows/pidgin-for-windows

 

They use similar XMPP servers.

 

Thanx,

Denise

Thanks. I figured it out.

 

First off, it seems XMPP BOSH Eventing can be done in plain xmpp too, not only in xmpp over bosch. The dev guide is not clear about this.

 

Anyway, leaving here my working settings:

 

BOSH connection:

 

Basic

Protocol: xmpp

Username: SCMAdministrator <--- this is the same user you use to log in on the social miner web interface

Domain: 127.0.0.1 <--- fine

Resource: empty

 

Advanced

Connection Security: Use Encryption if available

Allow Plaintext auth over unencrypted streams: checked

Connect port: 0

Connect server: empty

BOSH URL: http://<fqdn_of_social_miner>:7071/http-bind/

 

Plain xmpp:

 

Basic

Protocol: xmpp

Username: SCMAdministrator <--- this is the same user you use to log in on the social miner web interface

Domain: 127.0.0.1 <--- fine

Resource: empty

 

Advanced

Connection Security: Use Encryption if available

Allow Plaintext auth over unencrypted streams: checked

Connect port: 5222

Connect server: <fqdn_of_social_miner>

BOSH URL: empty