flykiller 发表于 2008-11-12 11:42:36

用过SIPP这个开源软件的大虾帮忙看看

sipp注册流程不能返回200OK    (redhat环境编译的 make ossl)
在收到401后发送第2个REG消息后没有返回200OK(是不是MD5加密有问题)
用到的XML文件:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="branch_client">
<send retrans="500">
    <![CDATA[

      REGISTER sip: SIP/2.0
      Via: SIP/2.0/ :;branch=
      From: <sip:@:>;tag=
      To: <sip:@:>
      Call-ID:
      CSeq: 1 REGISTER
      Contact: sip:@:
      Content-Length: 0
      Expires: 300

    ]]>
   </send>
      
<recv response="401" auth="true" next="1">
</recv>
   
<!--send invite with authentication messages -->
<label id="1"/>
<send retrans="500">
<![CDATA[

      REGISTER sip:@: SIP/2.0
      Via: SIP/2.0/ :
      From: <sip:@:>;tag=
      To: <sip:@:>
      Call-ID:
      CSeq: 2 REGISTER
      Contact: sip:@:
      
      Content-Length:
      Expires: 3600
    ]]>
</send>

<recv response="200"next="2">
</recv>

<label id="2"/>
<pause milliseconds="1000"/>
   
   
<!-- definition of the response time repartition table (unit is ms)   -->
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>

<!-- definition of the call length repartition table (unit is ms)   -->
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>

</scenario>

CSV文件内容:
RANDOM
8000;
8001;
8002;
8003;
8004;

xingcyx 发表于 2009-6-19 10:45:26

抓包看一下,如果的认证密码没有加密,那就是MD5没有生效了。
页: [1]
查看完整版本: 用过SIPP这个开源软件的大虾帮忙看看