Only an idea ok?

Why don not you change rtd value? I mean, for example 3 instead of true.



On Thu, Oct 16, 2008 at 11:13 AM, ZHOU Gaofeng A <
[EMAIL PROTECTED]> wrote:

>  Hi :
>     who can help me?, Now I try to write a xml scenario simulated registrar
> server, but I cannot run it ok with the following error. How can I modify
> it?
>
> C:\Program Files\SIPp>sipp -d 10 -i 135.251.25.238 -p 5060 -sf
> D:\call-flow\pack\
> registrar.xml
> 2008-10-16      17:04:52:334    1224147892.334594: You have started
> Response Time
>  Duration 1, but have never stopped it!.
>
> C:\Program Files\SIPp>
>
> registrar.xml:
>
>
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <!DOCTYPE scenario SYSTEM "sipp.dtd">
>
> <!-- This program is free software; you can redistribute it and/or      -->
> <!-- modify it under the terms of the GNU General Public License as     -->
> <!-- published by the Free Software Foundation; either version 2 of the -->
> <!-- License, or (at your option) any later version.                    -->
> <!--                                                                    -->
> <!-- This program is distributed in the hope that it will be useful,    -->
> <!-- but WITHOUT ANY WARRANTY; without even the implied warranty of     -->
> <!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the      -->
> <!-- GNU General Public License for more details.                       -->
> <!--                                                                    -->
> <!-- You should have received a copy of the GNU General Public License  -->
> <!-- along with this program; if not, write to the                      -->
> <!-- Free Software Foundation, Inc.,                                    -->
> <!-- 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA             -->
> <!--                                                                    -->
> <!--                 Sipp default 'branchs' scenario.                   -->
> <!--                                                                    -->
>
> <scenario name="Registrar Server">
> <!--<recv request="REGISTER" start_rtd="true">
> -->
>   <recv request="REGISTER" start_rtd="true">
>     <action>
>        <ereg regexp="^5[0-9]*[0-9]$" search_in="hdr" header="Contact:"
> check_it="true" assign_to="4"/>
>        <ereg regexp="^\<?.*\>?$" search_in="hdr" header="From:"
> check_it="true" assign_to="5"/>
>      </action>
>   </recv>
>
>   <send>
>     <![CDATA[
>
>       SIP/2.0 200 OK
>       [last_Via:]
>       [last_From:]
>       [last_To:];tag=[call_number]
>       [last_Call-ID:]
>       [last_CSeq:]
>       Contact:
> <sip:[EMAIL PROTECTED]:[local_port];transport=[transport]>;expires=3600
>       Content-Length: 0
>       Allow-Events: reg
>       P-Associated-URI: [$5]
>       Path: <sip:pcsf-stdn.imsgroup0-000.fs5k8.shanghai.com:5060
> ;lr;bidx=0>
>
>     ]]>
>   </send>
>
>   <nop rtd="true">
>
>   <!-- definition of the response time repartition table (unit is ms)   -->
>   <ResponseTimeRepartition value="1000, 1040, 1080, 1120, 1160, 1200"/>
>
>   <!-- definition of the call length repartition table (unit is ms)     -->
>   <CallLengthRepartition value="1000, 1100, 1200, 1300, 1400"/>
>
> </scenario>
>
>
> Thanks!
>
> Jack
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Sipp-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sipp-users
>
>


-- 

    Vanessa Tejada
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to