mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-24 22:17:49 +08:00
修复创建SIP回复时使用了错误的状态码
This commit is contained in:
parent
b37b9f3b03
commit
90e5c35975
@ -164,7 +164,7 @@ public class InviteRequestProcessor extends SIPRequestProcessorParent implements
|
|||||||
channelPlayService.start(channel, inviteInfo, platform, ((code, msg, streamInfo) -> {
|
channelPlayService.start(channel, inviteInfo, platform, ((code, msg, streamInfo) -> {
|
||||||
if (code != InviteErrorCode.SUCCESS.getCode()) {
|
if (code != InviteErrorCode.SUCCESS.getCode()) {
|
||||||
try {
|
try {
|
||||||
responseAck(request, code, msg);
|
responseAck(request, Response.BUSY_HERE , msg);
|
||||||
} catch (SipException | InvalidArgumentException | ParseException e) {
|
} catch (SipException | InvalidArgumentException | ParseException e) {
|
||||||
log.error("[命令发送失败] 上级Invite 点播失败: {}", e.getMessage());
|
log.error("[命令发送失败] 上级Invite 点播失败: {}", e.getMessage());
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user