Class SipResponseProvider

java.lang.Object
io.github.lunasaw.sip.common.transmit.response.SipResponseProvider

public class SipResponseProvider extends Object
Author:
luna
  • Constructor Details

    • SipResponseProvider

      public SipResponseProvider()
  • Method Details

    • createSipResponse

      public static javax.sip.message.Response createSipResponse(FromDevice fromDevice, ToDevice toDevice, SipMessage sipMessage)
    • createOkResponse

      public static javax.sip.message.Response createOkResponse(FromDevice fromDevice, ToDevice toDevice, String method, Integer statusCode, String callId)
      创建响应
      Parameters:
      fromDevice - 发送设备
      toDevice - 发送目的设备
      callId - callId
      Returns:
      Request