Skip to content

Commit

Permalink
整理代码
Browse files Browse the repository at this point in the history
  • Loading branch information
DigitalPlatform committed Mar 24, 2022
1 parent 4226bad commit c41dc10
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ChordInstaller/ChordInstaller.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<SuiteName>Chord</SuiteName>
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
<WebPage>publish.htm</WebPage>
<ApplicationRevision>56</ApplicationRevision>
<ApplicationRevision>57</ApplicationRevision>
<ApplicationVersion>1.2.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
Expand Down
17 changes: 17 additions & 0 deletions dp2Capo/SipProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,12 @@ private static void Sip_server_ProcessRequest(object sender, ProcessSipRequestEv
strResponse = SCStatus(sip_channel, strRequest);
break;
}
case "D1":
{
// 列出通道信息
strResponse = ListChannel(sip_channel, strRequest);
break;
}
default:
strResponse = "无法识别的命令'" + strMessageIdentifiers + "'";
break;
Expand Down Expand Up @@ -3620,6 +3626,17 @@ static string SCStatus(SipChannel sip_channel, string message)
}
}

/// <summary>
/// 列出通道信息
/// </summary>
/// <param name="sip_channel">SIP 通道</param>
/// <param name="message">SIP 请求消息</param>
/// <returns></returns>
static string ListChannel(SipChannel sip_channel, string message)
{
return "not implemented";
}

// 确保获得所连接的 dp2library 服务器的版本号
static int EnsureGetVersion(LibraryChannel channel,
out string strError)
Expand Down

0 comments on commit c41dc10

Please sign in to comment.