Errors & Solutions

Introduction

The Anywhere365 tool uses different applications to provide its features. For example, SharePoint for the configuration page, SQL for the Call Detail Information. In some scenario's an error can occur, for example with misconfiguration. Below an overview over different error messages (in no particular order) and their solutions.

 

UCC Logs

Error Message

Meaning

Possible Solution

System.Exeption: UCCUCC stands for Unified Contact Center and consists of a queue that can be handled by Agents Each Contact Center has its own settings, interactive voice response questions and Agent with specific skills. Agents can be member of, or sign up to, one or more Contact Centers. Init Failed; StartCollaborationPlatform Microsoft.Rtc.Collaboration.ProvisioningFailureException:Application has not been configured with a certificate for Mutual TLS communication for this machine.

The trusted application cannot be started because of a certificate issue.

Local certificate has been removed / expired. A new certificate needs to be requested using the Skype for BusinessSkype for Business (formerly Microsoft Office Communicator and Microsoft Lync) is an instant-messaging client used by Anywhere365. In order to use SFB, a Microsoft Skype for Business Server is required. Skype for Business is enterprise software; compared to Skype, it has different features that target businesses. deployment wizard.

Try setting skills for agent, agent = null

In the Skills per Agent list there is a item where the Agent value is NULL.

Agent has been removed from Agent list, but not from the Skills per Agent list. The null values need to be removed from the Skills per Agent list.

Encoding {Audiofile} unsuccessful, upload in other format

An Audiofile is being used where the format isn't supported.

Verify if the format / codex supported in the Audio Files list and upload a valid format.

Found loop in escapable skill {Skill}, please fix this. This skill will not be added or updated

The callflow contains a loop where 2 or more skill have each other as escape, resulting in a endless loop.

Make sure escape skill are not looped, for example end with a default skill of forward skill.

{IVRInteractive Voice Response (IVR) is a telephone application to take orders via telephone keypad or voice through a computer. By choosing menu options the caller receives information, without the intervention of a human operator, or will be forwarded to the appropriate Agent. Question} has actiontype:skill but no skill configured

The action skill is selected, but the field Skill is empty.

Remove action skill or select a skill.

Session ended. CallbackWith CallBack the customer can leave his / her number to be called back by an available agent during business hours. action configured without a mandatory Skill. Please check IVR configuration.

The action callback is selected, but the field Skill is empty.

Remove action callback or select a skill.

Holiday {Holiday Item} has null value in Start or End, holiday skipped.

A holiday item isn't fill correctly.

Check the holiday list and remove or complete the incomplete holiday item.

Call will work, but participants may hear conference announcements.

The application endpoints have a conference policy where conference announcements are activated.

Use the default UCC conference policies or disable conference announcements on the used conference policy.

Writing Bulk Failed

The UCC was unable to write its bulk in the SQL database.

Connection between the Anywhere365 Service and SQL server is not correctly configured or disconnected. Verify the setting CDRConnectionString setting, the SQL server is accessible and the service account have permissions on the database.

No available huntendpoints in this session.

The UCC doesn’t have an endpoint available to initiate a hunt.

The default 4 endpoints are enough to do all the actions. Most likely not all endpoint (Main Endpoint and System Endpoints) are configured correctly.

Call received on endpoint which is not configured. {Application Endpoint}

The UCC received a call on an endpoint connected to that application, but the application isn't configured.

Make sure the endpoint is configured correctly in the endpoint list.

SharePointHelper using unsupported combination of configuration version and SharePoint templateSettings and Content Management for Anywhere365, based on SharePoint server or SharePoint Office 365 version

The SharePoint template version is newer and therefor not supported in the CoreThe Core is the center of Anywhere365. It manages all the Dialogues..

Update the Core the a version where this SharePoint template is supported.

KeepAlive: Could not setup keepalive, no endpoints available

Endpoint are (no longer) established.

Quick solution is to restart the UCC. To pinpoint the reason check when the endpoint were de-established and what happend on the enviorment at that time. (Backup, Snapshot, Restarts, Network issues)

There is/are 1 presence subscription(s) with more then 10 failures, please check and clean the Agents list for wrong/deleted sipThe Session Initiation Protocol (SIP) is a protocol to make multimedia communication (audio, video and other data communication) possible and it is also used for Voice over IP (VoIP). SIP has similarities with other Internet protocols such as HTTP and SMTP. addresses. {sipaddress]

Cannot subscribe to the agent, because agent uri doesn't exist.

Remove or correct the agent sipuri.

SharePointOnlineHelper:changesSinceToken:

System.Net.WebException: The operation has timed out

The SharePoint connection has been lost between SharePoint and the Application Server.

Verify if SharePoint is available. Connection will automatically restore when SharePoint is available again.

GetCallActivities

System.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

When requesting the Call Activities the SQL Server reacted with a timeout.

Check the performance of the SQL Server. Does the server meet the Server Requirements.

If the software has been running for a long time, consider moving old data to an archive or enabling a retention policy.

CallDetailRetriever not set

A service (Attendant Service for example) is trying to retrieve data from the database, but CallDetail Recording is not active.

Change the setting "UseCallDetailRecording" to true and restart the UCC.

Cleaning up this call, because agent: 'sip:user@domain.com' presence didn't turn busy

The presence status of the agent is not received by the UCC

Restart the UCC service, or remove/add the agent, to have the UCC SUBSCRIBE (again) on the Presence of a Skype user.

(more information about Presence in Skype for Business, visit: http://blogs.technet.com/b/11/archive/2014/10/03/lync-2013-explained-understanding-presence-flow.aspx)

subscriptionChanged: PreviousState = Subscribed, State = WaitingForRetry, TransitionReason = None

The presence subscription of the agent is no longer valid

Restart the UCC service, or remove/add the agent, to have the UCC SUBSCRIBE (again) on the Presence of a Skype user.

(more information about Presence in Skype for Business, visit: http://blogs.technet.com/b/11/archive/2014/10/03/lync-2013-explained-understanding-presence-flow.aspx)

ucc_name ERROR ucc_name SharePointOnlineHelper:changesSinceToken:https://contoso.sharepoint.com/sites/SiteCollection/ucc_name/UCCConfigTemplate/

ucc_name ERROR ucc_name
System.Net.WebException: The operation has timed out
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute()
at Microsoft.SharePoint.Client.ClientContext.GetFormDigestInfoPrivate()
at Microsoft.SharePoint.Client.ClientContext.EnsureFormDigest()
at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
at gs.h.d()

ucc_name INFO ucc_name Sharepoint: Connection failed Suspend for 15 seconds

ucc_name WARN ucc_name Error in sharepoint

There is a connection drop between the UCC service and SharePoint (in thise case SharePoint Online)

This indicates that SharePoint (Online) is getting to much requests and cannot handle them all.

Use UCC version 6.0 or higher (this has enhancements for communication with SharePoint). Set the UpdateSettingsTimeout setting to 60 (or higher, default is 11) to minimize the amount of updates requested by the UCC.

Connection attempt to at least one service in a pool failed. Service Address: anywhereserver2.domain.com:6004; Pool FQDNA fully qualified domain name (FQDN), sometimes also referred as an absolute domain name, is a domain name that specifies its exact location in the tree hierarchy of the Domain Name System (DNS).: anywhere365pool.domain.com; Down Time: 4:50

A connection has been tried to make to the Failover server to check the configured port, but is not available

Because the failover is turned off, a connection over this port cannot be made. This is no further issue.

AttendantMsmqHandler ERROR AttendantMsmqHandler AttendantMsmsqHandler:HandleGetAgentRoles: Message Queue Send Message

System.NullReferenceException: Object reference not set to an instance of an object.

at l2.m7(String A_0)

at rs.a.e(dl A_0)

at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)

at rs.ae0(Message A_0)

ERROR e99e9868-6136-4973-b352-b5ca414e8d3a ProcessMessage failed::

System.NullReferenceException: Object reference not set to an instance of an object.

at l2.m7(String A_0)

at vg.w.b(dl A_0)

at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)

at vg.ah0(String A_0)

at sq.cn()

at sq.cj()

at sq.h.e()

MSMQ not able to process a message.

Restart UCC Service without cache or delete/empty the MSMQ messages of the UCC manually.

CallSession:B2BInboundCallToConference:Join

Microsoft.Rtc.Signaling.ConnectionFailureException:Operation failed because the network connection was not available. ---> System.Net.Sockets.SocketException (0x80004005): Only one usage of each socket address (protocol/network address/port) is normally permitted x.x.x.x:5061

at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)

at Microsoft.Rtc.Internal.Sip.TcpTransport.OnConnected(Object arg)

All dynamic ports are in use, effecting the calls.

System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted

Changing the Dynamic Port Range

  1. Open regedit.
  2. Open key HKLM\System\CurrentControlSet\Services\Tcpip\Parameters
  3. Edit (or create as DWORD) the MaxUserPort value.
  4. Set it to a higher number. (i.e. 65534) (decimal)

Changing the TIME_WAIT delay

  1. Open regedit.
  2. Open key HKLM\System\CurrentControlSet\Services\Tcpip\Parameters
  3. Edit (or create as DWORD) the TcpTimedWaitDelay.
  4. Set it to a lower number. Value is in seconds. (i.e. 60 for 1 minute delay) (decimal)

Afterwards reboot the Anywhere365 Application server.

WARN wv UserEndpointHelper:Establish: user endpoint failed. Uri:

WARN wv Automatic server discovery for the given sip user uri failed., Unknown

The user endpoint (agent) could not be established, because it cannot be found.

Check if the SIP uri is correct or if the user still exists.