修复创建SIP回复时使用了错误的状态码
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