Hello Guido,

You must allow SIPp to generate and handle all Call-ID's! You also seem to
be hard coding many fields that you should allow SIPp to handle. See the
attached registration file as an example of using SIPps built-in "keywords".
Also please refer to the official documentation.

HTH,

Simon


On 8/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Hi there,
>
> I have a problem with my sipp tests.
> Every response I get on REGISTER or INVITES are discarded. I don't know
> why this happens.
> Can you please give me a hint. Thx.
> Traces and logs are attached.
>
> I start sipp with sipp -i <localip> <remoteip> -l 1 -nr
>
> Call-ID and tags in the messages are equal, so I dont understand why the
> responses are discarded.
>
> Regards, Guido
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>   http://get.splunk.com/
> _______________________________________________
> Sipp-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sipp-users
>
>
>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">

<scenario name="UAC Basic Registration">
  <!-- In client mode (sipp placing calls), the Call-ID MUST be 
       generated by sipp. To do so, use [call_id] token. -->

  <label id="0" />

  <send retrans="500" start_rtd="true">
    <![CDATA[

      REGISTER sip:[field1] SIP/2.0
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
      From: [field0] <sip:[EMAIL PROTECTED]>;tag=[call_number]
      To: [field0] <sip:[EMAIL PROTECTED]>
      Call-ID: [call_id]
      CSeq: [cseq] REGISTER
      Contact: [field0] <sip:[EMAIL PROTECTED]:[local_port]>;expires=86400
      Max-Forwards: 70
      Content-Length: 0

    ]]>
  </send>

  <recv response="200" rtd="true" next="3" optional="true" />

  <recv response="401" rtd="true" next="1" auth="true" crlf="true" />

  <recv response="403" rtd="true" next="2" optional="true" />
  
  <recv response="404" rtd="true" next="2" optional="true" />

  <recv response="500" rtd="true" next="2" optional="true" />
 
  <recv response="501" rtd="true" next="2" optional="true" />
 
  <recv response="502" rtd="true" next="2" optional="true" />

  <recv response="503" rtd="true" next="2" optional="true" />

  <recv response="504" rtd="true" next="2" optional="true" />

  <label id="1" />

  <send retrans="500" start_rtd="true">
    <![CDATA[

      REGISTER sip:[field1] SIP/2.0
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
      From: [field0] <sip:[EMAIL PROTECTED]>;tag=[call_number]
      To: [field0] <sip:[EMAIL PROTECTED]>
      Call-ID: [call_id]
      CSeq: [cseq] REGISTER
      Contact: [field0] <sip:[EMAIL PROTECTED]:[local_port]>;expires=86400
      [field2]
      Max-Forwards: 70
      Content-Length: 0

    ]]>
  </send>

  <recv response="200" rtd="true" next="3" crlf="true" />

  <recv response="400" rtd="true" next="2" optional="true" />

  <recv response="403" rtd="true" next="2" optional="true" />
  
  <recv response="404" rtd="true" next="2" optional="true" />
  
  <recv response="500" rtd="true" next="2" optional="true" />
  
  <recv response="501" rtd="true" next="2" optional="true" />
  
  <recv response="502" rtd="true" next="2" optional="true" />

  <recv response="503" rtd="true" next="2" optional="true" />

  <recv response="504" rtd="true" next="2" optional="true" />

  <label id="2" />

  <nop>
    <action>
      <exec int_cmd="stop_call" />
    </action>
  </nop>

  <label id="3" />

  <!-- Definition of the response time repartition table (unit is ms). -->
  <ResponseTimeRepartition value="30, 50, 80, 100, 150, 200, 300, 400, 500, 600, 700, 1000, 1200, 1400, 1500" />

  <!-- Definition of the call length repartition table (unit is ms). -->
  <CallLengthRepartition value="30, 50, 80, 100, 150, 200, 300, 400, 500, 600, 700, 1000, 1200, 1400, 1500" />

</scenario>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">

<scenario name="UAC Basic Registration">
  <!-- In client mode (sipp placing calls), the Call-ID MUST be 
       generated by sipp. To do so, use [call_id] token. -->

  <label id="0" />

  <send retrans="500" start_rtd="true">
    <![CDATA[

      REGISTER sip:[field1] SIP/2.0
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
      From: [field0] <sip:[EMAIL PROTECTED]>;tag=[call_number]
      To: [field0] <sip:[EMAIL PROTECTED]>
      Call-ID: [call_id]
      CSeq: [cseq] REGISTER
      Contact: [field0] <sip:[EMAIL PROTECTED]:[local_port]>;expires=60
      Max-Forwards: 70
      Content-Length: 0

    ]]>
  </send>

  <recv response="200" rtd="true" next="3" optional="true" />

  <!-- Interval Too Brief -->
  <recv response="423" rtd="true" next="1" auth="true" crlf="true">
    <action>
      <ereg regexp="[0-9]+" search_in="hdr" header="Min-Expires:" check_it="true" assign_to="1" />
    </action>
  </recv>

  <recv response="403" rtd="true" next="2" optional="true" />
  
  <recv response="404" rtd="true" next="2" optional="true" />

  <recv response="500" rtd="true" next="2" optional="true" />
 
  <recv response="501" rtd="true" next="2" optional="true" />
 
  <recv response="502" rtd="true" next="2" optional="true" />

  <recv response="503" rtd="true" next="2" optional="true" />

  <recv response="504" rtd="true" next="2" optional="true" />

  <label id="1" />

  <send retrans="500" start_rtd="true">
    <![CDATA[

      REGISTER sip:[field1] SIP/2.0
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
      From: [field0] <sip:[EMAIL PROTECTED]>;tag=[call_number]
      To: [field0] <sip:[EMAIL PROTECTED]>
      Call-ID: [call_id]
      CSeq: [cseq] REGISTER
      Contact: [field0] <sip:[EMAIL PROTECTED]:[local_port]>;expires=[$1]
      [field2]
      Max-Forwards: 70
      Content-Length: 0

    ]]>
  </send>

  <recv response="200" rtd="true" next="3" crlf="true" />

  <recv response="400" rtd="true" next="2" optional="true" />

  <recv response="403" rtd="true" next="2" optional="true" />
  
  <recv response="404" rtd="true" next="2" optional="true" />
  
  <recv response="500" rtd="true" next="2" optional="true" />
  
  <recv response="501" rtd="true" next="2" optional="true" />
  
  <recv response="502" rtd="true" next="2" optional="true" />

  <recv response="503" rtd="true" next="2" optional="true" />

  <recv response="504" rtd="true" next="2" optional="true" />

  <label id="2" />

  <nop>
    <action>
      <exec int_cmd="stop_call" />
    </action>
  </nop>

  <label id="3" />

  <!-- Definition of the response time repartition table (unit is ms). -->
  <ResponseTimeRepartition value="30, 50, 80, 100, 150, 200, 300, 400, 500, 600, 700, 1000, 1200, 1400, 1500" />

  <!-- Definition of the call length repartition table (unit is ms). -->
  <CallLengthRepartition value="30, 50, 80, 100, 150, 200, 300, 400, 500, 600, 700, 1000, 1200, 1400, 1500" />

</scenario>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to