1) You cannot do optional="true" and have any other next line than a recv.

 

2) You can (or should because I think my changes got accepted) with recent
versions be able to add timeout="10000" on_timeout="2" to the recv.

 

Peter

 

Peter Higginson

Newport Networks Ltd,

Direct line 01494 470694

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

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Casero, Jaime
(Jaime)** CTR **
Sent: 12 February 2007 11:18
To: [email protected]
Subject: [Sipp-users] adding time out to recv

 

Hello all,

 

            I have read the documentation and browse the mailing archive,
but I have failed to find what I'm searching. I guess the mail subject is
quite clear, since the feature I'm asking is quite usual when building
protocol tests.

 

I would like to receive a SIP message, specifying a certain time-out. If the
message is received, then fork to branch 1.  If the time-out is fired, then
fork to branch 2.

 

I have tried something like this in the client side:

  <!-- Wait a random time for the busy, if not, cancel the call -->

  <recv response="486" optional="true" next="1"></recv>

  <pause normal="true" milliseconds="5000" stdev="4000" next="2"/>

 

Of course this is not syntactically correct for sipp.

 

Is there any other way to express this using sipp?

 

I'm attaching my two sipp scripts (client a server sides). Alice is calling
Bod, Bob is always busy. The purpose of the test is to create a random
cancellation call generator, sometimes cancels the calls, sometimes not. The
scripts are not totally debugged, so please focus on functionality rather
than correctness.

 

Thanks in advance.




---------------------------------------------------------------------------------------------
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
---------------------------------------------------------------------------------------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to