Get presence from Cisco phones that don’t support CTI
Kun slutbruger-hjælpen er for tiden oversat til dansk. Hjælp til installation og administration af Zylinc-løsninger er for tiden på engelsk.
Dette emne er fortrinsvis for administratorer og/eller folk som bestyrer en Zylinc-løsning
If your organization uses Cisco phones that don’t support CTI (Computer Telephony Integration), for example Cisco 3905, you can use SIP User Proxy to make presence status from such phones available in your Zylinc solution.
Non-CTI phones aren't suitable for agents who answer calls from queues. Call control will not work, and the range of available presence states is limited.

You must add a new SIP trunk with a destination address that points to the server on which SIP User Proxy is runs (that's the Zylinc Windows Application Server).
Sip Profile should support Redirect by Application, and SIP security Profile should support Accept presence subscription and Accept unsolicited notification.
Inbound calls Calling Search Space and SIP Information SUBSCRIBE Calling Search Space should support the phones from which you’re going to get SIP presence.
- Log in to the Cisco Unified CM Administration (CCMAdmin) web page (typical user name: ccmadmin)
- Add a new SIP Trunk Security Profile
- In the menu, select System > Security > SIP Trunk Security Profile
- Click Add New
- In Name, enter ZylincPresence
- In Device Security Mode, select Non Secure
- In Incoming Transport Type, select TCP+UDP
- In Outgoing Transport Type, select TCP
- In Incoming Port, enter 5060
- Select Accept presence subscription
- Select Accept unsolicited notification
- Click Save
- Add new SIP Profile
- In the menu, select Device > Device Settings > SIP Profile
- Click Add New
- In Name, enter ZylincPresence
- Select Redirect by Application
- Click Save
- Add new SIP Trunk
- In the menu, select Device > Trunk
- Click Add New
- In Trunk Type, select SIP Trunk
- In Device Protocol, select SIP
- In Trunk Service Type, select None(Default)
- Click Next
- In Device Name, enter ZylincPresence
- In Device Pool, enter the value provided by the customer (typical value: Default)
- In Inbound Calls:
- In Calling Search Space, enter the information provided by the customer (typical value: Phones-CSS)
- In SIP Information:
- In Destination Address, enter the IP address or fully qualified DNS name of the Zylinc Windows Application Server, for example winappserver.domain.local
- In Destination Port, enter 5060
- In SIP Trunk Security Profile, select ZylincPresence
- In SUBSCRIBE Calling Search Space, enter the information provided by the customer (typical value: Phones-CSS)
- In SIP Profile, select ZylincPresence
- Click Save
- Click Reset
- In Device Reset
- Click Reset
- Click Close

- In the Zylinc Administration Portal menu, select USERS > ZyDesk Users
- Click the name of a user whose Cisco presence should be collected via SIP
- In the User (Operator) section:
- Clear Default
- In Device, select SIP
- In both ID and Office Number, enter the user’s short Cisco phone number (example: 1901)
- Click Save
Clear Client Manager cache:
-
Open the following URL in a browser: https://<Zylinc Windows Application Server>:8443/ClientManager/
Example: https://WinAppServer:8443/ClientManager
-
Ignore the security warning about the certificate, and continue to the website
-
Click Configuration
-
Log in with user name admin and the password for Tomcat instance ZyTomcat1-8080-8443 user admin
-
Click Reload Settings

- In the Administration Portal menu, select INSTALL > Portal Configuration
- Check that SIP Presence is selected.
- In the Administration Portal menu, select NETWORK > Sip User Proxy
- In SIP connection settings, select Enable Service
- In Local IP, enter the hostname or IP address of the Zylinc Windows Application Server
- In Port, enter 35056
- Click Save

- In the Administration Portal menu, select NETWORK > Sip User Proxy
- Click the Add SIP Provider link
- In SIP Provider Connection:
- Select Enable SIP provider
- In SIP display name, enter a name for the SIP provider, for example: CiscoPresence
- In Adapter Address, enter the hostname or IP address of the Cisco Call Manager Server that you previously created a SIP trunk on
- In Port, enter 5060
- In Protocol, select TCP
- In XML Format, Select PIDF (rfc3863)
- In SIP Simple Subscription:
- In Subscription Type, select Single Subscriptions
- In Timeout, enter 3600
- In Userpart Mobile - Db Column, select None
- In Userpart Office - Db Column, select Office Number
- In Userdomain, enter the IP address or host name of your Cisco Call Manager Server
- Click Save

- In the Zylinc Deployment Manger menu, select Deployment > Installation
- In Installers, select SIP User Proxy
- Click Install Applications
- In the Deployment Manager menu, select Deployment > Windows Services
- Select SIP User Proxy
- In Change Startup Type, select AutomaticDelayed
- Click Change Startup Type
- Select SIP User Proxy
- Click Start Services

-
Decide which user you’re going to use for this test. It should be one of the users you’ve set up for Cisco presence via SIP.
-
Make sure that the test user is logged in to a Cisco softphone, or that a connected and working desktop phone is mapped to the test user. This is because you’ll not see a presence icon for users who aren’t logged in to a softphone or desktop phone.
-
Log in to ZyDesk as a normal end user.
-
In ZyDesk, make a search that returns the test user.
-
In the search results, you should see a presence icon in the Line State column, next to the test user’s name.
-
Make a call from the test user’s Cisco phone. The line state icon should change to Busy.
-
End the call. The line state icon should change to Idle.

If the presence icon for the test user is missing, or if the icon doesn’t change state when the test user becomes idle or busy, do the following:
-
Make sure that the user is actively logged in to a working desktop phone or softphone.
-
In the Administration Portal menu, select USERS > ZyDesk Users, and click the name of the user whose presence icon doesn't work. Check that User (Operator), Device is set to SIP, and that both ID and Office Number contains the user’s Cisco short number.
-
Clear Client Manager cache:
-
Open the following URL in a browser: https://<Zylinc Windows Application Server>:8443/ClientManager/
Example: https://WinAppServer:8443/ClientManager
-
Ignore the security warning about the certificate, and continue to the website
-
Click Configuration
-
Log in with user name admin and the password for Tomcat instance ZyTomcat1-8080-8443 user admin
-
Click Reload Settings
-
-
Restart ZyGo. This will clear old presence data that may not be current.
-
Restart SIP User Proxy.
-
Make a call from one of the phones that you've set up for Cisco presence via SIP.
-
Open SIP User Proxy log file (see Open latest log file from specific Zylinc module), and look for lines that contain the following phrases:
Contents of line in SIP User Proxy log file Type Action to take Search for lines that contain the words error or exception
Error Lines that contain one of those words will often also contain additional information about the possible causes of the error, and what to do to resolve it. Lines that contain the phrase No data rows found Error The log file line means SIP User Proxy doesn't have any users to work with, and effectively doesn’t do anything.
Make sure that users exist in the Administration Portal with User (Operator), Device set to SIP.
Lines that contain the phrase SUBSCRIBE sip: Ok SIP User Proxy found a user and will (try to) subscribe to the SIP URI (user) that you can see in the line.
This is expected and indicates normal operation, but the SIP URI is useful when you need to check number mappings.
You can compare the phone number and the domain part of the SIP URI against the expected value on the presence provider. If the numbers don’t match, you can add a suffix or prefix, or update Userdomain in the Administration Portal, to make the numbers and domain match what the presence provider expects.
Lines that contain the phrase Request received (Remote tcp: Ok SIP User Proxy correctly receives data from the presence provider.
This is expected and indicates normal operation.
If no line contains this, you need to find out what prevents SIP User Proxy from receiving notifications from the presence provider. Use log files from the presence provider or Wireshark to verify that the provider sends the presence data, and check that your network allows the data to pass through routers and firewalls.
Lines that contain the phrase Sending Zylinc presence info to server: Ok Presence changed for a user, and SIP User Proxy correctly received presence data. The line also contains an XML representation of the presence data. <ContactID> contains the phone number for the user, and <State> contains the state, for example: busy or idle.
This is expected and indicates normal operation.
If no line contains this, no calls were made within the time window of the log file.
Lines that contain the phrase ErrorCode: 404[tab]Reason: NotFound Error Userdomain is wrong.
- In the Administration Portal menu, select NETWORK > SIP User Proxy
- Go to the relevant SIP provider
- Change Userdomain to either the IP address or hostname of your Cisco Call Manager Server
Dette er hjælp til Zylinc version 6.5. Du kan vælge hjælp til andre versioner her.
© 2021 Zylinc A/S • Ansvarsfraskrivelse
Zylinc unified help har vundet UK Technical Communication Awards
Hjælpeversion: 24 februar 2021 15:41:38
Del denne side med andre: