Class SipResponseProvider
java.lang.Object
io.github.lunasaw.sip.common.transmit.response.SipResponseProvider
- Author:
- luna
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic javax.sip.message.Response
createOkResponse
(FromDevice fromDevice, ToDevice toDevice, String method, Integer statusCode, String callId) 创建响应static javax.sip.message.Response
createSipResponse
(FromDevice fromDevice, ToDevice toDevice, SipMessage sipMessage)
-
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
-