Share via


SIP response code 504

This article provides troubleshooting information for various combinations of the SIP 504 error and Microsoft response codes.

549002 504 Unable to deliver INVITE: TlsTransport is not connected, State=Disconnected

  • Microsoft response code: 549002
  • SIP response code: 504
  • Suggested actions:
    • Check whether the Session Border Controller (SBC) is functional.
    • Check whether the SBC is reachable through the specific IP and port. Also, check your firewall settings to make sure that connection to SBC isn't blocked.

549002 504 Unable to deliver INVITE: Invalid Request/Response line

  • Microsoft response code: 549002
  • SIP response code: 504
  • Suggested actions:
    • Make sure that requests and responses include SIP version "SIP/2.0" in the Request-URI, Via header, and other relevant headers. For more information, see Direct Routing - SIP protocol.

569002 504 Unable to deliver INVITE: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

  • Microsoft response code: 569002
  • SIP response code: 504
  • Suggested actions:
    • Check whether the SBC is functional.
    • Check whether the SBC is reachable through the specific IP and port. Also, check your firewall settings to make sure that connection to SBC isn't blocked.

569002 504 Unable to deliver INVITE: No connection could be made because the target machine actively refused it

  • Microsoft response code: 569002
  • SIP response code: 504
  • Suggested actions:
    • Check whether the SBC is functional.
    • Check whether the SBC is reachable through the specific IP and port. Also, check your firewall settings to make sure that connection to SBC isn't blocked.

569002 504 Unable to deliver INVITE: outgoing TLS negotiation failed; HRESULT=0x80096004

  • Microsoft response code: 569002
  • SIP response code: 504
  • Suggested actions:
    • Check whether the SBC is functional.
    • Check whether the SBC is reachable through the specific IP and port. Also, check your firewall settings to make sure that connection to SBC isn't blocked.

569002 504 Unable to deliver INVITE: outgoing TLS negotiation failed; Wrong target principal name configured. HRESULT=0x80090322 CERT_E_WRONG_USAGE

  • Microsoft response code: 569002
  • SIP response code: 504
  • Suggested actions:

569002 504 Unable to deliver INVITE: TLS decryption failed; HRESULT=590615

  • Microsoft response code: 569002
  • SIP response code: 504
  • Suggested actions:
    • The TLS context is responsible for encrypting and decrypting SIP signaling messages. This error indicates that the TLS context is expired and can no longer be used for secure communication. Work with the SBC vendor to troubleshoot the TLS context expiration issue.

569002 504 Unable to deliver ACK: outgoing TLS negotiation failed; Wrong target principal name configured. HRESULT=0x80090322 CERT_E_WRONG_USAGE

  • Microsoft response code: 569002
  • SIP response code: 504
  • Suggested actions:

569002 504 Unable to deliver ACK: No connection could be made because the target machine actively refused it

  • Microsoft response code: 569002
  • SIP response code: 504
  • Suggested actions:
    • Check whether the SBC is functional.
    • Check whether the SBC is reachable through the specific IP and port. Also, check your firewall settings to make sure that connection to SBC isn't blocked.

569003 504 Unable to deliver INVITE: outgoing TLS negotiation failed; HRESULT=0x80090326

  • Microsoft response code: 569003
  • SIP response code: 504
  • Suggested actions:
    • Verify that the SBC certificate is signed by a trusted certificate authority (CA) and isn't expired. For more information, see TLS connection issues.

569008 504 Unable to deliver INVITE: Outgoing TLS negotiation failed. Remote certificate expired; HRESULT=0x80090328 SEC_E_CERT_EXPIRED

  • Microsoft response code: 569008

  • SIP response code: 504

  • Suggested actions:

    • Renew the SBC certificate.

    Note: When you renew the SBC certificate, you must remove the TLS connections that were established from the SBC to Microsoft by using the old certificate, and re-establish them by using the new certificate. Doing this will make sure that certificate expiration warnings aren't triggered in the Microsoft Teams admin center. To remove the old TLS connections, restart the SBC during a timeframe that has low traffic, such as a maintenance window. If you can't restart the SBC, contact the vendor for instructions to force the closure of all old TLS connections.

569009 504 Unable to deliver INVITE: outgoing TLS negotiation failed; HRESULT=0x80090325 SEC_E_UNTRUSTED_ROOT

  • Microsoft response code: 569009

  • SIP response code: 504

  • Suggested actions:

    If you have multiple TLS profiles, check that you're using a profile that has the correct certificate when you connect to the Direct Routing interface. If you have multiple TLS profiles on the SBC, make sure that you select a profile that's signed by using a certificate that's trusted by Direct Routing.