Skip to main content
CallTower Solutions Center

When being transferred via a call flow in Clarity Connect, the call disconnects unexpectedly

Description: When being transferred via a call flow in Clarity Connect, the call disconnects unexpectedly.

Error (from portal logs)

Unexpected error after attendant ivr completed.
System.ArgumentException: Invalid Uri: mismatched token found:  
Parameter name: value ---> Microsoft.Rtc.Internal.Sip.SipException: Invalid Uri: mismatched token found:  
   at Microsoft.Rtc.Internal.Sip.SipUri.ParseUriString()
   at Microsoft.Rtc.Internal.Sip.SipUri..ctor(String uri)
   at Microsoft.Rtc.Signaling.SipUriParser..ctor(String value)
   --- End of inner exception stack trace ---
   at Microsoft.Rtc.Signaling.SipUriParser..ctor(String value)
   at Microsoft.Rtc.Signaling.RealTimeAddress..ctor(String uri, String defaultDomain, String phoneContext, Boolean isStrict)
   at Microsoft.Rtc.Collaboration.Call.BeginTransfer(String targetUri, CallTransferOptions options, AsyncCallback userCallback, Object state)
   at Clarity.Connect.Portal.Activities.RunAttendantIVR.OnWorkflowCompleted(Object sender, IncomingConnectAttendantEventArgs args)

Solution: Check the transfer node in the call flow.  If the number it's attempting to transfer to contains a +1, remove it, save the call flow, and perform another test call.