Thank you Peter…With your suggested changes, it worked fine. Can you
make it part of the official build?

 

Once again thank you for the help.

 

Geo

 

  _____  

From: Peter Higginson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 19, 2007 4:37 PM
To: Geo Paul; 'sipp-users'
Subject: RE: [Sipp-users] Start a uas script with <recv response="200">

 

 

My guess is that the problem is the attempt to CSeq match responses. I
have removed most of this on my local version, for the public code try
this:

 

In call.cpp there is this section of code in a routine called
call::matches_scenario

 

  if ((reply_code) && ((scenario[index] -> recv_response) == reply_code)
&&

     (scenario[index]->recv_response_for_cseq_method_list) &&

     (strstr(scenario[index]->recv_response_for_cseq_method_list,
responsecseqmethod))) {

        return true;

  }   

 

Clearly there cannot be method list for the first response.

 

I would try changing it to something like this:

 

  if ((reply_code) && ((scenario[index] -> recv_response) == reply_code)
&&

     (index == 0 ||
((scenario[index]->recv_response_for_cseq_method_list) &&

     (strstr(scenario[index]->recv_response_for_cseq_method_list,
responsecseqmethod))))) {

        return true;

  }

 

Let the list know if this works and someone may add it.

Peter

 

Peter Higginson

Newport Networks Ltd,

http://www.newport-networks.com/

 

-----Original Message-----
From: Geo Paul [mailto:[EMAIL PROTECTED] 
Sent: 19 June 2007 14:32
To: Peter.Higginson; sipp-users
Subject: RE: [Sipp-users] Start a uas script with <recv response="200">

 

In my case..  the script is failing wit error saying received "SIP/2.0
200 OK" while waiting for "200" response. I tried changing the recv to
the following formats but nothing worked

 response="200 OK"

 response="200OK"

response="sip/2.0 200 OK"

 

Thank for your response.

 

Geo

 

-----Original Message-----

From: Peter Higginson [mailto:[EMAIL PROTECTED] 

Sent: Monday, June 18, 2007 7:52 PM

To: Geo Paul; 'sipp-users'

Subject: RE: [Sipp-users] Start a uas script with <recv response="200">

 

 

I don't believe it makes any difference.

 

Peter Higginson

Newport Networks Ltd,

http://www.newport-networks.com/

 

-----Original Message-----

From: [EMAIL PROTECTED]

[mailto:[EMAIL PROTECTED] On Behalf Of Geo Paul

Sent: 18 June 2007 22:57

To: sipp-users

Subject: [Sipp-users] Start a uas script with <recv response="200">

 

Hi All,

 

I am in situation where I need to start a sipp uas script with <rec

response="200"> instead any normal requests.

 

Does any one know is this possible with sipp scripts ?

 

Here is the script:

 

scenario name="Basic Call Flow UAS">

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

  </recv>

  <pause milliseconds="10"/>

  <send>

    <![CDATA[

      ACK sip:[EMAIL PROTECTED]:[remote_port] SIP/2.0

      

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

      Max-Forwards: 70

      Contact:

<sip:[local_ip]:[local_port];+g.3gpp.cs-voice>;+g.3gpp.cs-voice

      [last_To:]

      [last_From:]

      Call-ID: [call_id]

      Cseq: 1 ACK

      Content-Length: 0

    ]]>

  </send>

 

------------------------------------------------------------------------
-

This SF.net email is sponsored by DB2 Express

Download DB2 Express C - the FREE version of DB2 express and take

control of your XML. No limits. Just data. Click to get it now.

http://sourceforge.net/powerbar/db2/

_______________________________________________

Sipp-users mailing list

[email protected]

https://lists.sourceforge.net/lists/listinfo/sipp-users

 

 

 

 

 

------------------------------------------------------------------------
---------------------

This e-mail may contain confidential and/or privileged information.

If you are not the intended recipient (or have received this e-mail in
error) please

notify the sender immediately and delete this e-mail. Any unauthorized
copying,

disclosure or distribution of the contents in this e-mail is strictly
forbidden.

------------------------------------------------------------------------
---------------------

Newport Networks Limited is registered in England. Registration number
4067591.

Registered office: 6 St. Andrew Street, London EC4A 3LX

------------------------------------------------------------------------
---------------------

 

 

 

 

  _____  

------------------------------------------------------------------------
---------------------
This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail in
error) please
notify the sender immediately and delete this e-mail. Any unauthorized
copying,
disclosure or distribution of the contents in this e-mail is strictly
forbidden.
------------------------------------------------------------------------
---------------------
Newport Networks Limited is registered in England. Registration number
4067591.
Registered office: 6 St. Andrew Street, London EC4A 3LX
------------------------------------------------------------------------
---------------------


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to