Some of Lync’s Client-side error messages don’t really explain the reason for the failure. Here are a few and what they might be indicating. I hope they make your life a little easier:
“<username> could not be found and this message was not delivered”
1) There is no such user at the recipient’s domain. There’s an instance of OCS/Lync there, they have an Edge, but you’ve simply nominated an invalid user – or guessed their e-mail naming format wrong.
2) There *is* such a user at the recipient’s domain – but they’re not enabled for Federation. There’s an instance of OCS/Lync there & they have an Edge. [TBC]
3) There *may be* such a user at the recipient’s domain – but they don’t have open Federation and THEY don’t trust YOUR domain. [In this example, my lab domain is not Federated with Microsoft].
“<username> could not be reached and this message was not delivered”
Slightly different to the above: could not be reached, rather than could not be found.
1) Run “Get-CsArchivingConfiguration” and check you’re not set to block IM’s if Archiving fails. Now go check your Archiving server. :-p
“This message was not delivered to <username> because the address is outside of your organization and is not federated with your company, or the address is incorrect. Please contact your support team with this information”
The domain is invalid, is not Lync/OCS, has no Edge/Federation, or your domain is blocked. Take your pick. Please don’t contact your support team with this information!
“Forbidden”. You’ve found a valid Lync/OCS user, but they’re not allowed to talk to you. (They’re not enabled for Federation).
“When contacting your support team, reference error ID 504 (source ID 239)”
1) If you’re trying to contact a Federated party, your Edge server is down. (Try a different Federated partner to check this).
2) If you’re trying to contact a Federated party, then their Edge server is down. (Try a different Federated partner to check this).
3) If you’re trying to contact a Federated party, this might be because you’ve added a new SBA or Front-End server to your Lync deployment but you’re still using an OCS Edge, and you haven’t added the new server to the Edge’s “trusted servers” list. (All the instances of Error 14502 in the Event Log on the new Lync server are a giveaway too!)
4) Asynchronous routing / bad config. If you can receive IM’s from someone and get this error when you reply, check their system’s external DNS or Edge config. Look for wrong or mis-configured DNS or NAT in the Topology.
5) Check ALL the certificates in the chain between you and the other end. In a recent example, one of the intermediate certificates in the initiating party’s cert chain had been renewed, and this new cert wasn’t trusted by the remote end. Error 14428 on the recipient’s Edge server confirms this issue – “The certificate chain was issued by an authority that is not trusted”. (This is an ongoing drama at the time of writing, as it seems very few Lync Edge servers trust this new intermediate cert).
6) The Edge at the far end doesn’t have a Hosts file entry for that user’s front-End or SBA. (This scenario will manifest itself as “1-way IMs” – you can start an IM conversation with the remote party all OK, but if THEY initiate a conversation to you, YOUR IMs will always receive a 504/239 – but you’ll still receive their messages. This occurs because if you initiate, your establishing IM goes to the remote Edge’s Next-hop server, which IS known to the remote end’s Edge, and from there it’s on forwarded to their registrar).
“This message may not have been delivered to <recipient> because the server sent the message to this person but it timed out.”
This is a Mobility message – but not necessarily an error.
In this scenario, I had switched tasks on my iPhone to another application and ignored the push message that had come through. So I’d received the message OK, but no acknowledgement had gone back to Lync. Similarly, if you lock/close the iPhone and ignore (or simply don’t see) a subsequent push notification, the same will occur. This message is likely to be a cause of some irritation to IT departments around the globe!
“+<E.164> cannot answer this call”
1) Your SIP trunks to the Gateway are down. Perhaps the Mediation server or the SBA is dead?
2) Your PSTN Gateway is dead.
3) Mediation and your PSTN Gateway are UP, but the PSTN/ISDN trunk is dead. [TBC]
“Call was not completed or has ended”
1) There is no route to this number, or you’re not allowed to dial it (it’s not in your Policy). Click the error message and the popup will report “error ID 403” – ‘forbidden’, as above.
2) No available trunk to handle the call. (In this staged example, the one CO trunk on my Tenor ASM200 was in use. The Tenor reported “SIP/2.0 503 Service Unavailable” back to Lync when it gave up).
“Call was not completed or has ended.”
“When contacting your support team, reference error ID 500 (source ID 239).”
1) We received this when dialling into an overseas conference bridge. The number turned out to be incorrect. It’s not a Lync error.
This is a variation on “Call was not completed or has ended”: “… reference error ID 10001 (source ID 243).”
1) In this case, I’d missed a step in the setup. I had all of my ducks in a line: normalisation, usage, policy and route – but I’d not actually specified a PSTN Gateway on the route!
2) I saw this same scenario reported on another Lync as a “ID 403 (source ID 239).” so if that’s your problem, I’d go checking your voice config. Here the “Test Voice Routing” tool might lead you astray: it’s not clever enough to know if you do or don’t have a Gateway assigned to a route.
“Please check the number and try again”
The visual clue in the image is that the number’s not been normalised. This indicates that what the user dialled isn’t catered for in the Dial Plan.
“The call cannot be completed as dialled”
1) A gateway-related problem. (In this staged example, I’d unplugged the trunk from the back of my Tenor ASM200. The Tenor reported “SIP/2.0 400 Bad Request” back to Lync when it gave up).
“+<E.164> is not in service. Please check the number…”
1) In this example it was a (my) RegEx error in the Gateway that resulted in a genuine number being reported as invalid. The Gateway (in this case a UX2000) reported “SIP/2.0 404 Not Found”.
2) My SIP trunk wasn’t registering correctly with the carrier, so all call attempts were being rejected (with “SIP/2.0 404 Not Found”).
“Operation was unsuccessful”
“The calling service did not respond. Wait and then try again. If the problem continues, contact your support team with this information.”
1) In this staged example, the Mediation service on my Front-end was stopped.
2) If you’re trying to call a Federated user and you receive this message, check the Access Edge service isn’t stopped on your Edge server.
“Call failed due to network issues”
Note the little globe next to the called party’s name – this is a call to a Federated party.
“The call could not connect due to network issues. Try logging out of Lync and logging back in, or try again later.”
1) This is usually a media issue. If you have presence and IM, but can’t establish media (audio or video) it’s a problem related to the A/V Edge. Perhaps port 3478 and/or the 50k range is blocked, or maybe you have a faulty NAT?
“<username” is unavailable or maybe offline”
1) They didn’t answer your call, and they aren’t enabled for UM or don’t have any call-forwarding settings enabled.
“<username> did not answer”
“Call was not completed because <username> did not answer at this time. Try your call again later.”
1) Lync is telling a little white lie to protect your feelings. The other party declined your call, but isn’t enabled for UM! (If their status has just coincidentally changed to DND they might have clicked “Redirect / Set to Do Not Disturb”).
“<E.164> did not answer”
I’ve only ever seen this one once, and it’s on a currently faulty SIP trunk service to Australia’s Telstra, through an NET VX1200e gateway.
The call is initiated: we send an INVITE to the carrier, receive a TRYING back from them, followed by a 401 UNAUTHORIZED. I’ll update this post if/when I have some resolution info.
“Call may take longer…”
This one is not strictly an error message, but an indicator that you’ve been blocked by Call Admission Control and are re-routing via the PSTN. (Your voice policy has “PSTN reroute” enabled).
“Could not complete the call because the network is busy. Try again later.”
1) You’ve been blocked by Call Admission Control, and either your voice policy doesn’t have “PSTN reroute” enabled, or the called party can’t be reached via that means. Trying again later won’t help if you’re trying to reach a travelling user and the WAN is congested or artificially “CAC-blocked” to force inter-site calls via the PSTN. Your only way of reaching them will be to send an IM and ask them to call you (assuming you’re in your home site and accessible on your DID number) – or call them on their mobile.
“Your microphone is capturing too much noise.”
1) You live under the flight path in Sydney, and clearly you’re working from home again. Busted.
“Cannot park call right now. Please try again later.”
1) This one’s for the “strange but true” category. In this scenario I called in from the mobile via PSTN Gateway A to my Lync user, answered the call and attempted unsuccessfully to transfer it to Call Park. Tracing on the FE and Client were inconclusive, but I kept noticing 503 errors tattling on “Gateway B”, which I’d removed from all my call routes and powered-off but retained in the Topology. Turns out that for some strange reason, Lync wants to talk to the Gateway I’ve defined in the Topology as the Default Gateway prior to parking a call! So, the moral of the story: Don’t turn off the “Default Gateway” in your Topology without selecting a new Default.
The HTML Error codes are taken from this Wikipedia page.