The most likely cause is:
If you use ontimeout with optional="true" you need to make sure that the
ontimeout is in every member of the optional receive block.
Peter
From: sumeet_bhard...@persistent.co.in
To: sipp-users@lists.sourceforge.net
Date: Thu, 7 Jan 2010 12:31:27 +0530
Subject: [Sipp-users] Help- ontimeout is not working
Hello All,
I am using sipp 3.1 version, I am using ontimeout event to jump at defined
label, but sipp is not jumping at that label.
Please find below sample script in which it is suppose to jump at label 14 if
it doesn’t receive 100 trying response in 20s, But unfortunately it is not
working. Please help me out.
<recv response="100" timeout="20000" ontimeout="14" optional="true"
response_txn="invite">
</recv>
<Others recv tags to jump at lable 13>
<label id="14"/>
<send>
<![CDATA[
CANCEL sip:9...@sprint.com;user=phone SIP/2.0
[last_Via:]
[last_From:]
[last_To:]
[last_Call-ID:]
Max-Forwards: 68
CSeq: [cseq] CANCEL
Contact: <sip:s...@[local_ip]:[local_port];transport=udp>
Content-Length: 0
]]>
</send>
<recv response="200" optional="false" rtd="true" crlf="true" timeout="20000"
ontimeout="15"/>
<recv response="487" optional="false" rtd="true" crlf="true" next="15"
timeout="20000" ontimeout="15"/>
<label id="13"/>
<send ack_txn="invite">
<![CDATA[
ACK sip:9...@sprint.com;user=phone SIP/2.0
[last_Via:]
[last_From:]
[last_To:]
[last_Call-ID:]
Max-Forwards: 68
CSeq: [cseq] ACK
Contact: <sip:s...@[local_ip]:[local_port];transport=udp>
Content-Length: 0
]]>
</send>
<label id="15"/>
Thanks
-Sumeet
DISCLAIMER ========== This e-mail may contain privileged and confidential
information which is the property of Persistent Systems Ltd. It is intended
only for the use of the individual or entity to which it is addressed. If you
are not the intended recipient, you are not authorized to read, retain, copy,
print, distribute or use this message. If you have received this communication
in error, please notify the sender and delete all copies of this message.
Persistent Systems Ltd. does not accept any liability for virus infected mails.
_________________________________________________________________
Got more than one Hotmail account? Save time by linking them together
http://clk.atdmt.com/UKM/go/186394591/direct/01/
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users