Ask a questionAsk a question
 

AnswerExchange 2010 UM Problem

  • Wednesday, November 04, 2009 1:56 AMLeslie Xia Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    After setup 2010 UM OK, I want to test SIP call form my SIP-PBX to UM 2010, I just make a SIP call to UM, UM response me with 403 Forbidden, and I check the event log in Exchange 2010, I find the following three errors by order:

    --------------------------------------------------------------------------------------------------------------------

    The Telephony Manager declined a call with Call Id '5090_1257295522@10.40.1.85' for the following reason in component telephony session: 'The application has requested that the call be declined during media negotiation.'. 
     
    Further trace information for support personnel follows:
     
    System.InvalidOperationException: The application has requested that the call be declined during media negotiation.
       at Microsoft.SpeechServer.Core.SessionInfo.ApplicationRequiresSecureRtp(RemoteRtpOffer rtpOffer, IPEndPoint mediaEndpoint, IPEndPoint sipPeerEndpoint, CallInfo callInfo, Boolean& receiveRTAudio)
       at Microsoft.SpeechServer.Core.TelephonySessionInbound.CreateMediaNegotiation(ContentDescription rtcMediaDescription, SessionInfo sessionInfo, CallInfo callInfo, IPEndPoint sipPeerEndpoint)
       at Microsoft.SpeechServer.Core.TelephonySessionInbound.Initialize(SessionInfo sessionInfo, SessionReceivedEventArgs e, CallInfo callInfo, EventSerializer serializer, SpeechSession speechSession, Boolean isTlsConnection)
       at Microsoft.SpeechServer.Core.TelephonySessionInbound..ctor(SessionInfo sessionInfo, SessionReceivedEventArgs e, CallInfo callInfo)
       at Microsoft.SpeechServer.Core.TelephonyManager.CreateSession(Int32 inviteReceivedTickCount, SessionReceivedEventArgs e)
       at Microsoft.SpeechServer.Core.TelephonyManager.SignalingSessionReceived(Object sender, SessionReceivedEventArgs e)

    --------------------------------------------------------------------------------------------------------------------

    The Unified Messaging server rejected an incoming call with the ID "5090_1257295522@10.40.1.85". Reason: "A non-fatal exception occurred.  Please see the inner exception for details."

    --------------------------------------------------------------------------------------------------------------------

    Watson report about to be sent for process id: 4456, with parameters: E12, c-RTL-AMD64, 14.00.0639.011, UMworkerprocess, M.E.UM.UMCommon, M.E.U.U.ValidateArgument.NotNullOrEmpty, System.ArgumentException, 893e, 14.00.0639.011.
    ErrorReportingEnabled: False

    --------------------------------------------------------------------------------------------------------------------

    Anyone experienced the same problem before? Or who can tell me how to check the inner exception for details?
    Thanks.

    leslie

Answers

  • Tuesday, November 10, 2009 6:26 PMLeslie Xia Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Finally, I figure this problem out, the reason is the SIP INVITE message sent from IPPBX to UM2010, include one field without content, like below:

    INVITE sip:1001@10.40.1.5 SIP/2.0
    CSeq: 2 INVITE
    To: <sip:1001@10.40.1.5>
    From: "Leslie Xia" <sip:1001@10.40.1.85>;tag=113_1257814439
    Call-ID: 5055_1257814439@10.40.1.85
    Via: SIP/2.0/TCP 10.40.1.85:10060;rport;branch=z9hG4bK71_1257814439
    User-Agent: RSRRCCR
    Max-Forwards: 70
    SessionID:
    Contact: sip:1001@10.40.1.85:5060
    Subject: No Subject
    Content-Type: application/sdp
    Content-Length: 226

    v=0
    o=- 0 0 IN IP4 10.40.1.85
    s=session
    c=IN IP4 10.40.1.85
    t=0 0
    m=audio 49676 RTP/AVP 0 8 101 13
    a=rtpmap:0 PCMU/8000/1
    a=rtpmap:8 PCMA/8000/1
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=rtpmap:13 CN/8000

    The field of "Session" is empty, after I remove it, 2010 UM start working,
    It may a problem of 2010? Because it works fine in 2007.

    leslie
    • Marked As Answer byLeslie Xia Tuesday, November 10, 2009 6:26 PM
    •  

All Replies

  • Thursday, November 05, 2009 5:06 AMSean van Osnabrugge Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    It appears like you are having an authentication issue.  What are you using as your SIP gateway?

    If it is OCS, then you need to make sure your dial plan is set to secured (for LCS2005) or SIP secured (for OCS2007/R2) and that both the OCS Front-End servers and the Unified Messaging servers trust each others certificates and certificate chains.  You also need to make sure that you have run the: C:\Program Files\Microsoft\Exchange Server\V14>ExchUCUtil.ps1 from the Exchange Management Shell on your UM server.

    If you are using a 3rd party gateway, similar applies for authentication or you may need to set your dial plan to unsecured.  Refer to the vendor to determine this.


    Sean | http://seanv.wordpress.com
  • Thursday, November 05, 2009 11:03 PMLeslie Xia Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Mine is 3rd party gateway, and my dial plan is already unsecured.
    BTW, why you say it is authentication issue?
    Thanks.

    leslie
  • Friday, November 06, 2009 12:04 AMSean van Osnabrugge Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    403 Authentication issue means that UM server is dropping the call.  My first thought was OCS integration --> certificate issue, but it could also be that you don't have the right dial plan set for your PBX.

    So, your dial plan is SIP Unsecured?  Try using E.164 or Extension.

    If it still not working, then increase your Event Logging on the UM server: http://technet.microsoft.com/en-us/library/bb430783(EXCHG.140).aspx and let's see if the event viewer gives us any more detailed information.
    Sean | http://seanv.wordpress.com
  • Friday, November 06, 2009 5:31 PMLeslie Xia Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    My dial plan is already telephone extension, and I have changed the event log level of UMWorkProcess, UMCore, UMService, UMCallData to expert before I put this question.
    I think maybe Exchange 2010 UM has some problem, because it works fine in 2007.
  • Friday, November 06, 2009 8:31 PMSean van Osnabrugge Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I am sure you did this already, but I want to make sure.  As you are upgrading from Exchange 2007 to 2010 and I assume it is the same dial plan, then have you associated the Exchange 2010 UM Server(s) to the existing dial plan?

    Also, if your dial plan is unsecured telephone extention, then you need to make sure that your UM server is in TCP startup mode.


    Out of curiosity, what PBX are you using?
    Sean | http://seanv.wordpress.com
  • Tuesday, November 10, 2009 6:26 PMLeslie Xia Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Finally, I figure this problem out, the reason is the SIP INVITE message sent from IPPBX to UM2010, include one field without content, like below:

    INVITE sip:1001@10.40.1.5 SIP/2.0
    CSeq: 2 INVITE
    To: <sip:1001@10.40.1.5>
    From: "Leslie Xia" <sip:1001@10.40.1.85>;tag=113_1257814439
    Call-ID: 5055_1257814439@10.40.1.85
    Via: SIP/2.0/TCP 10.40.1.85:10060;rport;branch=z9hG4bK71_1257814439
    User-Agent: RSRRCCR
    Max-Forwards: 70
    SessionID:
    Contact: sip:1001@10.40.1.85:5060
    Subject: No Subject
    Content-Type: application/sdp
    Content-Length: 226

    v=0
    o=- 0 0 IN IP4 10.40.1.85
    s=session
    c=IN IP4 10.40.1.85
    t=0 0
    m=audio 49676 RTP/AVP 0 8 101 13
    a=rtpmap:0 PCMU/8000/1
    a=rtpmap:8 PCMA/8000/1
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=rtpmap:13 CN/8000

    The field of "Session" is empty, after I remove it, 2010 UM start working,
    It may a problem of 2010? Because it works fine in 2007.

    leslie
    • Marked As Answer byLeslie Xia Tuesday, November 10, 2009 6:26 PM
    •