cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1698
Views
0
Helpful
3
Replies

Active CTI deskphone Jabber users??

drbabbers
Level 3
Level 3

All,

Is it possible to obtain how many users are logged in using Jabber?

  • This deployment is not IM&P enabled
  • This are CTI/deskphone enabled users

Thanks

D

1 Accepted Solution

Accepted Solutions

I logged this with TAC eventually and their official response was that there is not a way of doing this when in Deskphone CTI mode. Only for Softphone mode or XMPP client.

D

View solution in original post

3 Replies 3

Manish Gogna
Cisco Employee
Cisco Employee

Hi,

The Real Time Monitoring Tool can provide you the following info:

IM and Presence and Cisco Jabber summary monitoring

The Real-Time Monitoring Tool provides a set of important performance counters that assist you in monitoring the overall performance of the IM and Presence service and Cisco Jabber. The IM and Presence and Cisco Jabbersummaries in RTMT allow you to monitor important common information in a single monitoring pane.

To display information on important performance counters that reflect the overall performance of IM and Presence andCisco Jabber, select IM and Presence > IM and Presence Summary or IM and Presence > Cisco Jabber Summary.

Under IM and Presence Summary, review the following information:

  • PE Active JSM Sessions

  • XCP JSM IM Sessions

  • Total IMs Handled

  • Current XMPP Clients Connected

  • Total Ad hoc Chat Rooms

  • Total Persistant Chat Rooms

Under Cisco Jabber Summary, review the following information:

  • Client Soap interface

  • SIP Client Registered Users

  • SIP Client Registered User Failures

  • SIP Client IM Messages

http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/service/9_0/rtmt/CUCM_BK_CA3A517A_00_cisco-unified-rtmt-administration-90/CUCM_BK_CA3A517A_00_cisco-unified-real-time-monitoring-tool_chapter_01001.html#CUP0_RF_C4E94E1A_00

HTH

Manish

I logged this with TAC eventually and their official response was that there is not a way of doing this when in Deskphone CTI mode. Only for Softphone mode or XMPP client.

D

George Paxson
Level 1
Level 1

I had a similar question... I need a list of users that control their phones with the Jabber client.

risport70 provides cti devices including device, state, and user. You have to access risport70 with Python or PHP. I was hoping someone else would have posted the code. I put the following code together. I need a list of users that control their phones with CTI. You will have to manipulate the zeep response my_service dictionary to fit your needs.

#Python script to accumulate set of open CTI devices pulled from RISService70 when script is run several times a week. Script assumes there are Open CTI connections in PHONELIST
from requests import Session
from requests.auth import HTTPBasicAuth # or HTTPDigestAuth, or OAuth1, etc.
from zeep import Client
from zeep.transports import Transport

PHONELIST = 'SEPBADCEEF00D10,SEPBADCEEF00D11,SEPBADCEEF00D12,SEPBADCEEF00D13'
user_list = []

for item in open('userlist.txt', 'r'):
item.rstrip()
user_list.append(item.rstrip())

session = Session()
session.auth = HTTPBasicAuth('admin', 'password')
session.verify = False
client = Client('https://yourserver.yourdomain.com:8443/realtimeservice2/services/RISService70?wsdl',
transport=Transport(session=session))
client.set_ns_prefix('soap', 'http://schemas.cisco.com/ast/soap')

my_service = client.service.selectCtiItem('', {
'MaxReturnedItems':'1000',
'CtiMgrClass':'Line',
'Status':'Open',
'NodeName':'',
'SelectAppBy':'UserId',
'AppItems':{},
'DevNames':{
'item':{'DevName':PHONELIST},},
'DirNumbers':{},
})

my_list = []

cucm1 = my_service['SelectCtiItemResult']['CtiNodes']['item'][0]
cucm2 = my_service['SelectCtiItemResult']['CtiNodes']['item'][1]
cucm3 = my_service['SelectCtiItemResult']['CtiNodes']['item'][2]

for j in cucm1['CtiItems']['item']:
my_list.append(j['UserId'])
for j in cucm2['CtiItems']['item']:
my_list.append(j['UserId'])
for j in cucm3['CtiItems']['item']:
my_list.append(j['UserId'])

my_set = set(my_list + user_list)

outfile = open('userlist.txt', 'w')
for item in my_set:
item += '\n'
outfile.write(item)


outfile.close()