Linux-SIPp3.3测试FreeSwitch-(三)UAC-3

上一篇 / 下一篇  2013-11-28 16:16:26 / 个人分类:sipp

# Author:fairylly

接“Linux-SIPp3.3测试FreeSwitch-(三)UAC-2”的uac.xml(blog字数限制太小了。。。):

 

  <!-- ack(2) -->

  <label id="4"/>

  <send>

    <![CDATA[

        ACK sip:[field1]@[remote_ip]:[remote_port] SIP/2.0

[last_Via:]

        From: [field0] <sip:[field0]@[local_ip]:[local_port]>;tag=[call_number]

        To: [field1] <sip:[field1]@[remote_ip]:[remote_port]>[peer_tag_param]

        Call-ID: [call_id]

        CSeq: 2 ACK

        Contact: sip:[field0]@[local_ip]:[local_port]

        Max-Forwards: 70

        Subject: Performance Test

        Content-Length: 0

    ]]>

  </send>

 

  <pause milliseconds="5000"/>

  <nop>

     <action>

       <exec play_pcap_audio="pcap/cc.pcap"/>

     </action>

  </nop>

  <pause milliseconds="50000"/>

 

 

  <!-- bye -->

  <send retrans="500">

    <![CDATA[

BYE sip:[field1]@[remote_ip]:[remote_port] SIP/2.0

Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]

From: [field0] <sip:[field0]@[local_ip]:[local_port]>;tag=[call_number]

To: [field1] <sip:[field1]@[remote_ip]:[remote_port]>[peer_tag_param]

Call-ID: [call_id]

CSeq: 2 BYE

Contact: sip:[field0]@[local_ip]:[local_port]

Max-Forwards: 70

Subject: Performance Test

Content-Length: 0

    ]]>

  </send>

  <recv response="200" crlf="true"></recv>

 

  <!-- 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>

 

说明:

pcap/cc.pcap:指定播放的录音文件,文件必须存在,方法见:四、注意事项-5pcap语音数据包;

 

uac.csv文件内容如下:

SEQUENTIAL

152;19002;[authentication username=152 password=7d83c157ea9c4c21da1a0e7ab05c21b9]

153;138721;[authentication username=153 password=7d83c157ea9c4c21da1a0e7ab05c21b9]

 


TAG: freeswitch Linux linux sipp SIPP uac 测试

 

评分:0

我来说两句

Open Toolbar