优化国标信令
parent
f306937616
commit
fec69c714c
|
@ -214,6 +214,7 @@ public class SIPCommanderFroPlatform implements ISIPCommanderForPlatform {
|
||||||
continue;
|
continue;
|
||||||
}else {
|
}else {
|
||||||
if (channel.getChannelId().length() != 20) {
|
if (channel.getChannelId().length() != 20) {
|
||||||
|
catalogXml.append("</Item>\r\n");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
switch (Integer.parseInt(channel.getChannelId().substring(10, 13))){
|
switch (Integer.parseInt(channel.getChannelId().substring(10, 13))){
|
||||||
|
|
|
@ -102,7 +102,7 @@ public class RegisterResponseProcessor extends SIPResponseProcessorAbstract {
|
||||||
SipTransactionInfo sipTransactionInfo = new SipTransactionInfo(response);
|
SipTransactionInfo sipTransactionInfo = new SipTransactionInfo(response);
|
||||||
platformService.online(parentPlatform, sipTransactionInfo);
|
platformService.online(parentPlatform, sipTransactionInfo);
|
||||||
}else {
|
}else {
|
||||||
platformService.offline(parentPlatform, false);
|
platformService.offline(parentPlatform, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 注册/注销成功移除缓存的信息
|
// 注册/注销成功移除缓存的信息
|
||||||
|
|
Loading…
Reference in New Issue