O365 UM integration with Lync 2013 on premises RRS feed

  • Question

  • Hi All,

    We have Exchange 2013 Hybrid, we have 1300 users in which 100 users are moved and gradually users will be moved to O365, now we have integrated Lync 2013 with O365 UM, I have created all the steps provided on TechNet and other blogs, I have created UM contact for O365 for SA, I have assigned separate number for O365 UM SA and there is a separate number for Exchange on premises SA. I have not configured any AA on O365 UM, AA is only configured for Exchange on premises.

    I have enabled O365 user on O365 Exchange UM assigned voice policy, now the behavior is as follows:

    1. User has activated his pin and he is able to access his voice mail by dialing Subscriber access number or voice mail option from Lync (O365 SA)

    2. Another Lync user (not enabled for any voice mail) can call O365 UM SA successfully

    3. User which is activated for voice mail on O365 Exchange UM can redirect his call to voice mail and if internal user calls the O365 UM enabled user then call goes to voice mail successfully.

    4. If a user dials from landline or mobile to O365 UM enabled user Lync number and user redirects call to voice mail the call is not being forwarded and the call disconnectes immediately

    5. If a user dials from landline or mobile to O365 UM SA number directly call does not establish and the call disconnects immediately.

    6. It is really strange that voice mail works directly from Lync but not for outside users.

    7.. Company SRV record is already created I have verified it

    8. all ports for Exchange online and O365 are open and nothing is blocked

    9. On Lync server topology builder sip federation routing and next hop every thing is defined

    When a user dials from landline or mobile to O365 UM SA number directly or a um enabled user redirects external calls to O365 UM voice mail I receive below error on Lync Servers.

    No server in the dialplan [] accepted the call with id [5ef2a5858fb0511a47b185df01b29596].
    Cause: Dialplan is not configured properly.
    Check the configuration of the dialplan on Exchange UM Servers.

    On Lync server if I enable tracing I am receiving below

     SIP/2.0 480 Temporarily Unavailable
    FROM: <sip:+97466106903@;user=phone>;tag=a00033b-64ae3
    TO: <;user=phone>;tag=d38695f4;epid=0600CCF23F
    CALL-ID: call-2C141B30-0100-0010-1317-8CEC@
    VIA: SIP/2.0/TLS;branch=z9hG4bK-UX-0a00-033b-e5a68


    ?xml version="1.0" encoding="us-ascii"?><reportError xmlns=""><error callId="e4524ab3-50a4-47e9-af69-86ebe7849b45" fromUri=";user=phone" toUri=";user=phone" fromTag="706eac941" toTag="35C362B6877EF5F87B7D3A391FF51F93" requestType="INVITE" contentType="application/sdp;call-type=audio" responseCode="480"><diagHeader>15030;reason="Failed to route to Exchange Server";source="";dialplan="";appName="ExumRouting"</diagHeader><progressReports><progressReport><diagHeader>13004;reason="Request was proxied to one or more registered endpoints";source="";Count="1";appName="InboundRouting"</diagHeader></progressReport><progressReport><diagHeader>15008;reason="Routing to UM for Subscriber Access";source="";dialplan="";umserver="";appName="ExumRouting"</diagHeader></progressReport><progressReport><diagHeader>1008;reason="Unable to resolve DNS SRV record";source="";dialplan="";umserver="";responsecode="504";msexchdomain="";msexchdns-srv-result="NegativeResult";msexchdns-source="WireQuery";msexchsource="";appName="ExumRouting"</diagHeader></progressReport></progressReports></error></reportError>
    ------------EndOfOutgoing SipMessage


    Please help me to resolve this issue.

    If answer is helpful, please hit the green arrow on the left, or mark as answer. Salahuddin | Blogs: | MCITP Microsoft Lync

    Sunday, February 22, 2015 4:17 PM


All replies

  • Hi,

    I have done some logging on Lync Edge server and found two things:

    When a user calls from Lync client to O365 UM Subscriber access the call establish successfully and when I see the call logs I am seeing the and SRV record for the is verified

    When a user calls from outside the organization (Landline or mobile) to O365 UM subscriber access the call doesn't establish and when I see the call logs I am seeing and subscriber access number as and the error says Unable to resolve DNS SRV record for domain

    Please note our internal domain is and our external or smtp domain is

    In Lync 2013 the default sip domain is also and additional sip domain is

    Pleasae help me to resolve the issue.


    If answer is helpful, please hit the green arrow on the left, or mark as answer. Salahuddin | Blogs: | MCITP Microsoft Lync

    Monday, February 23, 2015 11:41 AM
  • Hi,

    Please check if you setup the the Lync Edge for EUM to use the Edge authentication listening service on port 5062

    Set-UMServer ExchangeUMServer -SIPAccessService edgeinternal.domain.local:5062  

    As the issue only happen for external users, please double check the Edge Server settings in Topology, make sure there is no wrong IP address for NAT.

    Here is a similar case may help you:

    Best Regards,
    Eason Huang

    Eason Huang
    TechNet Community Support

    Tuesday, February 24, 2015 8:55 AM