`
阿尔萨斯
  • 浏览: 4178793 次
社区版块
存档分类
最新评论

[LCS]启用WindowsMessenger5.0的调试日志功能来诊断登录LCS服务器

 
阅读更多
<iframe align="center" marginwidth="0" marginheight="0" src="http://www.zealware.com/csdnblog336280.html" frameborder="0" width="336" scrolling="no" height="280"></iframe>

编写者:郑昀@UltraPower

摘要:Windows Messenger 5.0有一个注册表项设置,可以用来启用日志文件,该文件中记录了Windows Messenger 5.0登录LCS Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting。

MS KB
文章详见《http://support.microsoft.com/default.aspx?scid=kb;EN-US;871023

步骤是:

第一步,运行regedit

第二步,找到注册表项:

HKEY_CURRENT_USER/

Software/

Microsoft/

Tracing/

RTCDLL

第三步,在该项下,找到名为EnableFileTracingDWORD项,将其原来的数值0改为1,表明启动文件日志;

第四步,重新启动Windows Messenger 5.0/5.1,登录LCS 2005服务器;

第五步,到%USERPROFILE%/Tracing文件夹下察看日志,比如说我的日志文件在“C:/Documents and Settings/VictorZheng/Tracing”文件夹下的一个“RTCDLL0.log”文件。

这个文件中记录了WinMsg登录SIP Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting

第六步,最后要将EnableFileTracing项数值改回为0

从该日志文件可以看出:
具体的包体示范如下:
登录请求(第一次握手):
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


服务器打回请求:
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 401 Unauthorized

Date: Thu, 21 Apr 2005 02:38:50 GMT

WWW-Authenticate: NTLM realm="SIP Communications Service", targetname="helen.add.com.cn"

WWW-Authenticate: Kerberos realm="SIP Communications Service", targetname="sip/helen.add.com.cn"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


第二次握手:
10:38:59.231 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER<p></p></yun.zheng></yun.zheng>


第三次握手,登录成功:
10:38:59.372 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 200 OK

Authentication-Info: Kerberos rspauth="<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="602306092" unitname="a">602306092A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="864886" unitname="F">864886F</chmetcnv>71201020201011100FFFFFFFF504E32397263D<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="69" unitname="a">69A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="54" unitname="a">54A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="5" unitname="F">5F</chmetcnv>6078116BE2D",
srand="04BA1FD9", snum="1",
opaque="0378BD56", qop="auth", targetname="sip/helen.add.com.cn", realm="SIP Communications Service"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER <br><br>Contact: ;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, <br>OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER";expires=600 <br><br>Expires: 600<p></p>192.168.511.39:7519&gt;</yun.zheng></yun.zheng>

编写者:郑昀@UltraPower




编写者:郑昀@UltraPower

摘要:Windows Messenger 5.0有一个注册表项设置,可以用来启用日志文件,该文件中记录了Windows Messenger 5.0登录LCS Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting。

MS KB
文章详见《http://support.microsoft.com/default.aspx?scid=kb;EN-US;871023

步骤是:

第一步,运行regedit

第二步,找到注册表项:

HKEY_CURRENT_USER/

Software/

Microsoft/

Tracing/

RTCDLL

第三步,在该项下,找到名为EnableFileTracingDWORD项,将其原来的数值0改为1,表明启动文件日志;

第四步,重新启动Windows Messenger 5.0/5.1,登录LCS 2005服务器;

第五步,到%USERPROFILE%/Tracing文件夹下察看日志,比如说我的日志文件在“C:/Documents and Settings/VictorZheng/Tracing”文件夹下的一个“RTCDLL0.log”文件。

这个文件中记录了WinMsg登录SIP Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting

第六步,最后要将EnableFileTracing项数值改回为0

从该日志文件可以看出:
具体的包体示范如下:
登录请求(第一次握手):
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


服务器打回请求:
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 401 Unauthorized

Date: Thu, 21 Apr 2005 02:38:50 GMT

WWW-Authenticate: NTLM realm="SIP Communications Service", targetname="helen.add.com.cn"

WWW-Authenticate: Kerberos realm="SIP Communications Service", targetname="sip/helen.add.com.cn"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


第二次握手:
10:38:59.231 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER<p></p></yun.zheng></yun.zheng>


第三次握手,登录成功:
10:38:59.372 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 200 OK

Authentication-Info: Kerberos rspauth="<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="602306092" unitname="a">602306092A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="864886" unitname="F">864886F</chmetcnv>71201020201011100FFFFFFFF504E32397263D<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="69" unitname="a">69A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="54" unitname="a">54A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="5" unitname="F">5F</chmetcnv>6078116BE2D",
srand="04BA1FD9", snum="1",
opaque="0378BD56", qop="auth", targetname="sip/helen.add.com.cn", realm="SIP Communications Service"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER <br><br>Contact: ;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, <br>OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER";expires=600 <br><br>Expires: 600<p></p>192.168.511.39:7519&gt;</yun.zheng></yun.zheng>

编写者:郑昀@UltraPower




编写者:郑昀@UltraPower

摘要:Windows Messenger 5.0有一个注册表项设置,可以用来启用日志文件,该文件中记录了Windows Messenger 5.0登录LCS Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting。

MS KB
文章详见《http://support.microsoft.com/default.aspx?scid=kb;EN-US;871023

步骤是:

第一步,运行regedit

第二步,找到注册表项:

HKEY_CURRENT_USER/

Software/

Microsoft/

Tracing/

RTCDLL

第三步,在该项下,找到名为EnableFileTracingDWORD项,将其原来的数值0改为1,表明启动文件日志;

第四步,重新启动Windows Messenger 5.0/5.1,登录LCS 2005服务器;

第五步,到%USERPROFILE%/Tracing文件夹下察看日志,比如说我的日志文件在“C:/Documents and Settings/VictorZheng/Tracing”文件夹下的一个“RTCDLL0.log”文件。

这个文件中记录了WinMsg登录SIP Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting

第六步,最后要将EnableFileTracing项数值改回为0

从该日志文件可以看出:
具体的包体示范如下:
登录请求(第一次握手):
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


服务器打回请求:
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 401 Unauthorized

Date: Thu, 21 Apr 2005 02:38:50 GMT

WWW-Authenticate: NTLM realm="SIP Communications Service", targetname="helen.add.com.cn"

WWW-Authenticate: Kerberos realm="SIP Communications Service", targetname="sip/helen.add.com.cn"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


第二次握手:
10:38:59.231 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER<p></p></yun.zheng></yun.zheng>


第三次握手,登录成功:
10:38:59.372 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 200 OK

Authentication-Info: Kerberos rspauth="<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="602306092" unitname="a">602306092A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="864886" unitname="F">864886F</chmetcnv>71201020201011100FFFFFFFF504E32397263D<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="69" unitname="a">69A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="54" unitname="a">54A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="5" unitname="F">5F</chmetcnv>6078116BE2D",
srand="04BA1FD9", snum="1",
opaque="0378BD56", qop="auth", targetname="sip/helen.add.com.cn", realm="SIP Communications Service"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER <br><br>Contact: ;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, <br>OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER";expires=600 <br><br>Expires: 600<p></p>192.168.511.39:7519&gt;</yun.zheng></yun.zheng>

编写者:郑昀@UltraPower




编写者:郑昀@UltraPower

摘要:Windows Messenger 5.0有一个注册表项设置,可以用来启用日志文件,该文件中记录了Windows Messenger 5.0登录LCS Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting。

MS KB
文章详见《http://support.microsoft.com/default.aspx?scid=kb;EN-US;871023

步骤是:

第一步,运行regedit

第二步,找到注册表项:

HKEY_CURRENT_USER/

Software/

Microsoft/

Tracing/

RTCDLL

第三步,在该项下,找到名为EnableFileTracingDWORD项,将其原来的数值0改为1,表明启动文件日志;

第四步,重新启动Windows Messenger 5.0/5.1,登录LCS 2005服务器;

第五步,到%USERPROFILE%/Tracing文件夹下察看日志,比如说我的日志文件在“C:/Documents and Settings/VictorZheng/Tracing”文件夹下的一个“RTCDLL0.log”文件。

这个文件中记录了WinMsg登录SIP Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting

第六步,最后要将EnableFileTracing项数值改回为0

从该日志文件可以看出:
具体的包体示范如下:
登录请求(第一次握手):
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


服务器打回请求:
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 401 Unauthorized

Date: Thu, 21 Apr 2005 02:38:50 GMT

WWW-Authenticate: NTLM realm="SIP Communications Service", targetname="helen.add.com.cn"

WWW-Authenticate: Kerberos realm="SIP Communications Service", targetname="sip/helen.add.com.cn"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


第二次握手:
10:38:59.231 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER<p></p></yun.zheng></yun.zheng>


第三次握手,登录成功:
10:38:59.372 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 200 OK

Authentication-Info: Kerberos rspauth="<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="602306092" unitname="a">602306092A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="864886" unitname="F">864886F</chmetcnv>71201020201011100FFFFFFFF504E32397263D<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="69" unitname="a">69A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="54" unitname="a">54A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="5" unitname="F">5F</chmetcnv>6078116BE2D",
srand="04BA1FD9", snum="1",
opaque="0378BD56", qop="auth", targetname="sip/helen.add.com.cn", realm="SIP Communications Service"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER <br><br>Contact: ;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, <br>OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER";expires=600 <br><br>Expires: 600<p></p>192.168.511.39:7519&gt;</yun.zheng></yun.zheng>

编写者:郑昀@UltraPower




编写者:郑昀@UltraPower

摘要:Windows Messenger 5.0有一个注册表项设置,可以用来启用日志文件,该文件中记录了Windows Messenger 5.0登录LCS Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting。

MS KB
文章详见《http://support.microsoft.com/default.aspx?scid=kb;EN-US;871023

步骤是:

第一步,运行regedit

第二步,找到注册表项:

HKEY_CURRENT_USER/

Software/

Microsoft/

Tracing/

RTCDLL

第三步,在该项下,找到名为EnableFileTracingDWORD项,将其原来的数值0改为1,表明启动文件日志;

第四步,重新启动Windows Messenger 5.0/5.1,登录LCS 2005服务器;

第五步,到%USERPROFILE%/Tracing文件夹下察看日志,比如说我的日志文件在“C:/Documents and Settings/VictorZheng/Tracing”文件夹下的一个“RTCDLL0.log”文件。

这个文件中记录了WinMsg登录SIP Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting

第六步,最后要将EnableFileTracing项数值改回为0

从该日志文件可以看出:
具体的包体示范如下:
登录请求(第一次握手):
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


服务器打回请求:
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 401 Unauthorized

Date: Thu, 21 Apr 2005 02:38:50 GMT

WWW-Authenticate: NTLM realm="SIP Communications Service", targetname="helen.add.com.cn"

WWW-Authenticate: Kerberos realm="SIP Communications Service", targetname="sip/helen.add.com.cn"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


第二次握手:
10:38:59.231 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER<p></p></yun.zheng></yun.zheng>


第三次握手,登录成功:
10:38:59.372 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 200 OK

Authentication-Info: Kerberos rspauth="<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="602306092" unitname="a">602306092A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="864886" unitname="F">864886F</chmetcnv>71201020201011100FFFFFFFF504E32397263D<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="69" unitname="a">69A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="54" unitname="a">54A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="5" unitname="F">5F</chmetcnv>6078116BE2D",
srand="04BA1FD9", snum="1",
opaque="0378BD56", qop="auth", targetname="sip/helen.add.com.cn", realm="SIP Communications Service"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER <br><br>Contact: ;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, <br>OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER";expires=600 <br><br>Expires: 600<p></p>192.168.511.39:7519&gt;</yun.zheng></yun.zheng>

编写者:郑昀@UltraPower




编写者:郑昀@UltraPower

摘要:Windows Messenger 5.0有一个注册表项设置,可以用来启用日志文件,该文件中记录了Windows Messenger 5.0登录LCS Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting。

MS KB
文章详见《http://support.microsoft.com/default.aspx?scid=kb;EN-US;871023

步骤是:

第一步,运行regedit

第二步,找到注册表项:

HKEY_CURRENT_USER/

Software/

Microsoft/

Tracing/

RTCDLL

第三步,在该项下,找到名为EnableFileTracingDWORD项,将其原来的数值0改为1,表明启动文件日志;

第四步,重新启动Windows Messenger 5.0/5.1,登录LCS 2005服务器;

第五步,到%USERPROFILE%/Tracing文件夹下察看日志,比如说我的日志文件在“C:/Documents and Settings/VictorZheng/Tracing”文件夹下的一个“RTCDLL0.log”文件。

这个文件中记录了WinMsg登录SIP Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting

第六步,最后要将EnableFileTracing项数值改回为0

从该日志文件可以看出:
具体的包体示范如下:
登录请求(第一次握手):
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


服务器打回请求:
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 401 Unauthorized

Date: Thu, 21 Apr 2005 02:38:50 GMT

WWW-Authenticate: NTLM realm="SIP Communications Service", targetname="helen.add.com.cn"

WWW-Authenticate: Kerberos realm="SIP Communications Service", targetname="sip/helen.add.com.cn"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


第二次握手:
10:38:59.231 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER<p></p></yun.zheng></yun.zheng>


第三次握手,登录成功:
10:38:59.372 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 200 OK

Authentication-Info: Kerberos rspauth="<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="602306092" unitname="a">602306092A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="864886" unitname="F">864886F</chmetcnv>71201020201011100FFFFFFFF504E32397263D<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="69" unitname="a">69A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="54" unitname="a">54A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="5" unitname="F">5F</chmetcnv>6078116BE2D",
srand="04BA1FD9", snum="1",
opaque="0378BD56", qop="auth", targetname="sip/helen.add.com.cn", realm="SIP Communications Service"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER <br><br>Contact: ;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, <br>OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER";expires=600 <br><br>Expires: 600<p></p>192.168.511.39:7519&gt;</yun.zheng></yun.zheng>

编写者:郑昀@UltraPower




编写者:郑昀@UltraPower

摘要:Windows Messenger 5.0有一个注册表项设置,可以用来启用日志文件,该文件中记录了Windows Messenger 5.0登录LCS Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting。

MS KB
文章详见《http://support.microsoft.com/default.aspx?scid=kb;EN-US;871023

步骤是:

第一步,运行regedit

第二步,找到注册表项:

HKEY_CURRENT_USER/

Software/

Microsoft/

Tracing/

RTCDLL

第三步,在该项下,找到名为EnableFileTracingDWORD项,将其原来的数值0改为1,表明启动文件日志;

第四步,重新启动Windows Messenger 5.0/5.1,登录LCS 2005服务器;

第五步,到%USERPROFILE%/Tracing文件夹下察看日志,比如说我的日志文件在“C:/Documents and Settings/VictorZheng/Tracing”文件夹下的一个“RTCDLL0.log”文件。

这个文件中记录了WinMsg登录SIP Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting

第六步,最后要将EnableFileTracing项数值改回为0

从该日志文件可以看出:
具体的包体示范如下:
登录请求(第一次握手):
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


服务器打回请求:
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 401 Unauthorized

Date: Thu, 21 Apr 2005 02:38:50 GMT

WWW-Authenticate: NTLM realm="SIP Communications Service", targetname="helen.add.com.cn"

WWW-Authenticate: Kerberos realm="SIP Communications Service", targetname="sip/helen.add.com.cn"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


第二次握手:
10:38:59.231 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER<p></p></yun.zheng></yun.zheng>


第三次握手,登录成功:
10:38:59.372 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 200 OK

Authentication-Info: Kerberos rspauth="<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="602306092" unitname="a">602306092A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="864886" unitname="F">864886F</chmetcnv>71201020201011100FFFFFFFF504E32397263D<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="69" unitname="a">69A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="54" unitname="a">54A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="5" unitname="F">5F</chmetcnv>6078116BE2D",
srand="04BA1FD9", snum="1",
opaque="0378BD56", qop="auth", targetname="sip/helen.add.com.cn", realm="SIP Communications Service"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER <br><br>Contact: ;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, <br>OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER";expires=600 <br><br>Expires: 600<p></p>192.168.511.39:7519&gt;</yun.zheng></yun.zheng>

编写者:郑昀@UltraPower




编写者:郑昀@UltraPower

摘要:Windows Messenger 5.0有一个注册表项设置,可以用来启用日志文件,该文件中记录了Windows Messenger 5.0登录LCS Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting。

MS KB
文章详见《http://support.microsoft.com/default.aspx?scid=kb;EN-US;871023

步骤是:

第一步,运行regedit

第二步,找到注册表项:

HKEY_CURRENT_USER/

Software/

Microsoft/

Tracing/

RTCDLL

第三步,在该项下,找到名为EnableFileTracingDWORD项,将其原来的数值0改为1,表明启动文件日志;

第四步,重新启动Windows Messenger 5.0/5.1,登录LCS 2005服务器;

第五步,到%USERPROFILE%/Tracing文件夹下察看日志,比如说我的日志文件在“C:/Documents and Settings/VictorZheng/Tracing”文件夹下的一个“RTCDLL0.log”文件。

这个文件中记录了WinMsg登录SIP Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting

第六步,最后要将EnableFileTracing项数值改回为0

从该日志文件可以看出:
具体的包体示范如下:
登录请求(第一次握手):
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


服务器打回请求:
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 401 Unauthorized

Date: Thu, 21 Apr 2005 02:38:50 GMT

WWW-Authenticate: NTLM realm="SIP Communications Service", targetname="helen.add.com.cn"

WWW-Authenticate: Kerberos realm="SIP Communications Service", targetname="sip/helen.add.com.cn"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


第二次握手:
10:38:59.231 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER<p></p></yun.zheng></yun.zheng>


第三次握手,登录成功:
10:38:59.372 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 200 OK

Authentication-Info: Kerberos rspauth="<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="602306092" unitname="a">602306092A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="864886" unitname="F">864886F</chmetcnv>71201020201011100FFFFFFFF504E32397263D<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="69" unitname="a">69A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="54" unitname="a">54A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="5" unitname="F">5F</chmetcnv>6078116BE2D",
srand="04BA1FD9", snum="1",
opaque="0378BD56", qop="auth", targetname="sip/helen.add.com.cn", realm="SIP Communications Service"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER <br><br>Contact: ;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, <br>OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER";expires=600 <br><br>Expires: 600<p></p>192.168.511.39:7519&gt;</yun.zheng></yun.zheng>

编写者:郑昀@UltraPower




编写者:郑昀@UltraPower

摘要:Windows Messenger 5.0有一个注册表项设置,可以用来启用日志文件,该文件中记录了Windows Messenger 5.0登录LCS Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting。

MS KB
文章详见《http://support.microsoft.com/default.aspx?scid=kb;EN-US;871023

步骤是:

第一步,运行regedit

第二步,找到注册表项:

HKEY_CURRENT_USER/

Software/

Microsoft/

Tracing/

RTCDLL

第三步,在该项下,找到名为EnableFileTracingDWORD项,将其原来的数值0改为1,表明启动文件日志;

第四步,重新启动Windows Messenger 5.0/5.1,登录LCS 2005服务器;

第五步,到%USERPROFILE%/Tracing文件夹下察看日志,比如说我的日志文件在“C:/Documents and Settings/VictorZheng/Tracing”文件夹下的一个“RTCDLL0.log”文件。

这个文件中记录了WinMsg登录SIP Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting

第六步,最后要将EnableFileTracing项数值改回为0

从该日志文件可以看出:
具体的包体示范如下:
登录请求(第一次握手):
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


服务器打回请求:
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 401 Unauthorized

Date: Thu, 21 Apr 2005 02:38:50 GMT

WWW-Authenticate: NTLM realm="SIP Communications Service", targetname="helen.add.com.cn"

WWW-Authenticate: Kerberos realm="SIP Communications Service", targetname="sip/helen.add.com.cn"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


第二次握手:
10:38:59.231 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER<p></p></yun.zheng></yun.zheng>


第三次握手,登录成功:
10:38:59.372 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 200 OK

Authentication-Info: Kerberos rspauth="<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="602306092" unitname="a">602306092A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="864886" unitname="F">864886F</chmetcnv>71201020201011100FFFFFFFF504E32397263D<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="69" unitname="a">69A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="54" unitname="a">54A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="5" unitname="F">5F</chmetcnv>6078116BE2D",
srand="04BA1FD9", snum="1",
opaque="0378BD56", qop="auth", targetname="sip/helen.add.com.cn", realm="SIP Communications Service"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER <br><br>Contact: ;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, <br>OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER";expires=600 <br><br>Expires: 600<p></p>192.168.511.39:7519&gt;</yun.zheng></yun.zheng>

编写者:郑昀@UltraPower




编写者:郑昀@UltraPower

摘要:Windows Messenger 5.0有一个注册表项设置,可以用来启用日志文件,该文件中记录了Windows Messenger 5.0登录LCS Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting。

MS KB
文章详见《http://support.microsoft.com/default.aspx?scid=kb;EN-US;871023

步骤是:

第一步,运行regedit

第二步,找到注册表项:

HKEY_CURRENT_USER/

Software/

Microsoft/

Tracing/

RTCDLL

第三步,在该项下,找到名为EnableFileTracingDWORD项,将其原来的数值0改为1,表明启动文件日志;

第四步,重新启动Windows Messenger 5.0/5.1,登录LCS 2005服务器;

第五步,到%USERPROFILE%/Tracing文件夹下察看日志,比如说我的日志文件在“C:/Documents and Settings/VictorZheng/Tracing”文件夹下的一个“RTCDLL0.log”文件。

这个文件中记录了WinMsg登录SIP Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting

第六步,最后要将EnableFileTracing项数值改回为0

从该日志文件可以看出:
具体的包体示范如下:
登录请求(第一次握手):
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


服务器打回请求:
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 401 Unauthorized

Date: Thu, 21 Apr 2005 02:38:50 GMT

WWW-Authenticate: NTLM realm="SIP Communications Service", targetname="helen.add.com.cn"

WWW-Authenticate: Kerberos realm="SIP Communications Service", targetname="sip/helen.add.com.cn"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


第二次握手:
10:38:59.231 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER<p></p></yun.zheng></yun.zheng>


第三次握手,登录成功:
10:38:59.372 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 200 OK

Authentication-Info: Kerberos rspauth="<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="602306092" unitname="a">602306092A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="864886" unitname="F">864886F</chmetcnv>71201020201011100FFFFFFFF504E32397263D<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="69" unitname="a">69A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="54" unitname="a">54A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="5" unitname="F">5F</chmetcnv>6078116BE2D",
srand="04BA1FD9", snum="1",
opaque="0378BD56", qop="auth", targetname="sip/helen.add.com.cn", realm="SIP Communications Service"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER <br><br>Contact: ;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, <br>OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER";expires=600 <br><br>Expires: 600<p></p>192.168.511.39:7519&gt;</yun.zheng></yun.zheng>

编写者:郑昀@UltraPower




编写者:郑昀@UltraPower

摘要:Windows Messenger 5.0有一个注册表项设置,可以用来启用日志文件,该文件中记录了Windows Messenger 5.0登录LCS Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting。

MS KB
文章详见《http://support.microsoft.com/default.aspx?scid=kb;EN-US;871023

步骤是:

第一步,运行regedit

第二步,找到注册表项:

HKEY_CURRENT_USER/

Software/

Microsoft/

Tracing/

RTCDLL

第三步,在该项下,找到名为EnableFileTracingDWORD项,将其原来的数值0改为1,表明启动文件日志;

第四步,重新启动Windows Messenger 5.0/5.1,登录LCS 2005服务器;

第五步,到%USERPROFILE%/Tracing文件夹下察看日志,比如说我的日志文件在“C:/Documents and Settings/VictorZheng/Tracing”文件夹下的一个“RTCDLL0.log”文件。

这个文件中记录了WinMsg登录SIP Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting

第六步,最后要将EnableFileTracing项数值改回为0

从该日志文件可以看出:
具体的包体示范如下:
登录请求(第一次握手):
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


服务器打回请求:
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 401 Unauthorized

Date: Thu, 21 Apr 2005 02:38:50 GMT

WWW-Authenticate: NTLM realm="SIP Communications Service", targetname="helen.add.com.cn"

WWW-Authenticate: Kerberos realm="SIP Communications Service", targetname="sip/helen.add.com.cn"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


第二次握手:
10:38:59.231 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER<p></p></yun.zheng></yun.zheng>


第三次握手,登录成功:
10:38:59.372 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 200 OK

Authentication-Info: Kerberos rspauth="<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="602306092" unitname="a">602306092A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="864886" unitname="F">864886F</chmetcnv>71201020201011100FFFFFFFF504E32397263D<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="69" unitname="a">69A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="54" unitname="a">54A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="5" unitname="F">5F</chmetcnv>6078116BE2D",
srand="04BA1FD9", snum="1",
opaque="0378BD56", qop="auth", targetname="sip/helen.add.com.cn", realm="SIP Communications Service"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER <br><br>Contact: ;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, <br>OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER";expires=600 <br><br>Expires: 600<p></p>192.168.511.39:7519&gt;</yun.zheng></yun.zheng>

编写者:郑昀@UltraPower




编写者:郑昀@UltraPower

摘要:Windows Messenger 5.0有一个注册表项设置,可以用来启用日志文件,该文件中记录了Windows Messenger 5.0登录LCS Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting。

MS KB
文章详见《http://support.microsoft.com/default.aspx?scid=kb;EN-US;871023

步骤是:

第一步,运行regedit

第二步,找到注册表项:

HKEY_CURRENT_USER/

Software/

Microsoft/

Tracing/

RTCDLL

第三步,在该项下,找到名为EnableFileTracingDWORD项,将其原来的数值0改为1,表明启动文件日志;

第四步,重新启动Windows Messenger 5.0/5.1,登录LCS 2005服务器;

第五步,到%USERPROFILE%/Tracing文件夹下察看日志,比如说我的日志文件在“C:/Documents and Settings/VictorZheng/Tracing”文件夹下的一个“RTCDLL0.log”文件。

这个文件中记录了WinMsg登录SIP Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting

第六步,最后要将EnableFileTracing项数值改回为0

从该日志文件可以看出:
具体的包体示范如下:
登录请求(第一次握手):
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


服务器打回请求:
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 401 Unauthorized

Date: Thu, 21 Apr 2005 02:38:50 GMT

WWW-Authenticate: NTLM realm="SIP Communications Service", targetname="helen.add.com.cn"

WWW-Authenticate: Kerberos realm="SIP Communications Service", targetname="sip/helen.add.com.cn"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


第二次握手:
10:38:59.231 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER<p></p></yun.zheng></yun.zheng>


第三次握手,登录成功:
10:38:59.372 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 200 OK

Authentication-Info: Kerberos rspauth="<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="602306092" unitname="a">602306092A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="864886" unitname="F">864886F</chmetcnv>71201020201011100FFFFFFFF504E32397263D<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="69" unitname="a">69A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="54" unitname="a">54A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="5" unitname="F">5F</chmetcnv>6078116BE2D",
srand="04BA1FD9", snum="1",
opaque="0378BD56", qop="auth", targetname="sip/helen.add.com.cn", realm="SIP Communications Service"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER <br><br>Contact: ;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, <br>OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER";expires=600 <br><br>Expires: 600<p></p>192.168.511.39:7519&gt;</yun.zheng></yun.zheng>

编写者:郑昀@UltraPower




编写者:郑昀@UltraPower

摘要:Windows Messenger 5.0有一个注册表项设置,可以用来启用日志文件,该文件中记录了Windows Messenger 5.0登录LCS Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting。

MS KB
文章详见《http://support.microsoft.com/default.aspx?scid=kb;EN-US;871023

步骤是:

第一步,运行regedit

第二步,找到注册表项:

HKEY_CURRENT_USER/

Software/

Microsoft/

Tracing/

RTCDLL

第三步,在该项下,找到名为EnableFileTracingDWORD项,将其原来的数值0改为1,表明启动文件日志;

第四步,重新启动Windows Messenger 5.0/5.1,登录LCS 2005服务器;

第五步,到%USERPROFILE%/Tracing文件夹下察看日志,比如说我的日志文件在“C:/Documents and Settings/VictorZheng/Tracing”文件夹下的一个“RTCDLL0.log”文件。

这个文件中记录了WinMsg登录SIP Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting

第六步,最后要将EnableFileTracing项数值改回为0

从该日志文件可以看出:
具体的包体示范如下:
登录请求(第一次握手):
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


服务器打回请求:
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 401 Unauthorized

Date: Thu, 21 Apr 2005 02:38:50 GMT

WWW-Authenticate: NTLM realm="SIP Communications Service", targetname="helen.add.com.cn"

WWW-Authenticate: Kerberos realm="SIP Communications Service", targetname="sip/helen.add.com.cn"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


第二次握手:
10:38:59.231 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER<p></p></yun.zheng></yun.zheng>


第三次握手,登录成功:
10:38:59.372 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 200 OK

Authentication-Info: Kerberos rspauth="<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="602306092" unitname="a">602306092A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="864886" unitname="F">864886F</chmetcnv>71201020201011100FFFFFFFF504E32397263D<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="69" unitname="a">69A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="54" unitname="a">54A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="5" unitname="F">5F</chmetcnv>6078116BE2D",
srand="04BA1FD9", snum="1",
opaque="0378BD56", qop="auth", targetname="sip/helen.add.com.cn", realm="SIP Communications Service"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER <br><br>Contact: ;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, <br>OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER";expires=600 <br><br>Expires: 600<p></p>192.168.511.39:7519&gt;</yun.zheng></yun.zheng>

编写者:郑昀@UltraPower




编写者:郑昀@UltraPower

摘要:Windows Messenger 5.0有一个注册表项设置,可以用来启用日志文件,该文件中记录了Windows Messenger 5.0登录LCS Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting。

MS KB
文章详见《http://support.microsoft.com/default.aspx?scid=kb;EN-US;871023

步骤是:

第一步,运行regedit

第二步,找到注册表项:

HKEY_CURRENT_USER/

Software/

Microsoft/

Tracing/

RTCDLL

第三步,在该项下,找到名为EnableFileTracingDWORD项,将其原来的数值0改为1,表明启动文件日志;

第四步,重新启动Windows Messenger 5.0/5.1,登录LCS 2005服务器;

第五步,到%USERPROFILE%/Tracing文件夹下察看日志,比如说我的日志文件在“C:/Documents and Settings/VictorZheng/Tracing”文件夹下的一个“RTCDLL0.log”文件。

这个文件中记录了WinMsg登录SIP Server的详细来往包,可从其中得到通讯细节,从而作troubleshooting

第六步,最后要将EnableFileTracing项数值改回为0

从该日志文件可以看出:
具体的包体示范如下:
登录请求(第一次握手):
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


服务器打回请求:
10:38:58.520 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 401 Unauthorized

Date: Thu, 21 Apr 2005 02:38:50 GMT

WWW-Authenticate: NTLM realm="SIP Communications Service", targetname="helen.add.com.cn"

WWW-Authenticate: Kerberos realm="SIP Communications Service", targetname="sip/helen.add.com.cn"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 1 REGISTER<p></p></yun.zheng></yun.zheng>


第二次握手:
10:38:59.231 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: REGISTER sip:add.com.cn SIP/2.0

Via: SIP/2.0/TCP 192.168.511.39:7519

Max-Forwards: 70

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng><br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER<p></p></yun.zheng></yun.zheng>


第三次握手,登录成功:
10:38:59.372 <chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="33" unitname="C">33C</chmetcnv>:B00 INFO :: SIP/2.0 200 OK

Authentication-Info: Kerberos rspauth="<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="602306092" unitname="a">602306092A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="864886" unitname="F">864886F</chmetcnv>71201020201011100FFFFFFFF504E32397263D<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="69" unitname="a">69A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="54" unitname="a">54A</chmetcnv><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="5" unitname="F">5F</chmetcnv>6078116BE2D",
srand="04BA1FD9", snum="1",
opaque="0378BD56", qop="auth", targetname="sip/helen.add.com.cn", realm="SIP Communications Service"

Via: SIP/2.0/TCP 192.168.511.39:7519;ms-received-port=1129;ms-received-cid=<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="6" unitname="C">6c</chmetcnv>00

From: <yun.zheng>;tag=8688ecc<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="F">2f</chmetcnv>3dc4391b7e8685694782624;epid=8aecaf3d1e <br><br>To: <yun.zheng>;tag=EB19D8FDF171B11E64D2FC<chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="51" unitname="a">51A</chmetcnv>4E2CDE2 <br><br>Call-ID: <a href="mailto:48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39"><span style="COLOR: navy; mso-bidi-font-size: 12.0pt">48bbcb49bf9e4e5cbff05e1711dd829f@192.168.511.39</span></a> <br><br>CSeq: 2 REGISTER <br><br>Contact: ;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, <br>OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER";expires=600 <br><br>Expires: 600<p></p>192.168.511.39:7519&gt;</yun.zheng></yun.zheng>

编写者:郑昀@UltraPower




分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics