Hello All,
Please find attached xml file and let me know what's goes wrong.
Thanks
-Sumeet
From: Dushyant Dhalia [mailto:[email protected]]
Sent: Thursday, January 07, 2010 3:34 PM
To: Sumeet Bhardwaj
Cc: Peter Higginson; sipp_users
Subject: Re: [Sipp-users] Help- ontimeout is not working
Can you send the xml script?
Sumeet Bhardwaj wrote:
Hello Peter,
I have tried your suggestion, but still it's not working. I have also tried
after removing the optional part still it's not jumping to the label.
Please provide any other suggestion.
Thanks
-Sumeet
From: Peter Higginson [mailto:[email protected]]
Sent: Thursday, January 07, 2010 3:00 PM
To: Sumeet Bhardwaj; sipp_users
Subject: RE: [Sipp-users] Help- ontimeout is not working
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: [email protected]<mailto:[email protected]>
To: [email protected]<mailto:[email protected]>
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:[email protected];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:[email protected];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.
________________________________
New! Receive and respond to mail from other email accounts from within Hotmail
Find out how.<http://clk.atdmt.com/UKM/go/186394593/direct/01/%20>
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.
--
"When work is a pleasure, life is a joy! When work is duty, life is slavery."
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.
<?xml version="1.0" encoding="ISO-8859-1" ?>
<scenario name="Basic Sipstone UAC">
<!-- Sending requests -->
<send start_txn="invite" retrans="500">
<![CDATA[
INVITE sip:[email protected];user=phone SIP/2.0
To: <sip:[email protected];user=phone>
From:<sip:[[email protected];user=phone>;tag=[call_number]
Call-ID:[call_id]
CSeq: [cseq] INVITE
Max-Forwards: 68
Timestamp: 54
Content-Length:[len]
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Route: <sip:sbc.atlanta.com;lr;call=orig>
Contact: <sip:[fiel...@[local_ip]:[local_port];transport=[transport]>
Content-Type: application/sdp
Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, INFO, REGISTER, PRACK, UPDATE, MESSAGE, REFER, NOTIFY, PING
Session-Expires: 120
Min-SE: 120
v=0
o=ZTE-IAD 50376 50376 IN IP4 10.78.246.36
s=Phone Call via ZXSS10 IAD
c=IN IP4 10.78.246.36
t=0 0
m=audio 57938 RTP/AVP 0 8 18 4 101 96
a=sendrecv
a=rtpmap:101 telephone-event/8000
a=rtpmap:96 red/8000
a=fmtp:96 101
]]>
</send>
<!-- Receive 100 Trying response -->
<recv response="100" optional="false" timeout="20" ontimeout="2">
</recv>
<!-- Receive 183 -->
<recv response="183" optional="false" next="3" timeout="20" ontimeout="3" response_txn="invite">
</recv>
<label id="2"/>
<send>
<![CDATA[
CANCEL sip:[email protected];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" timeout="20000" ontimeout="3"/>
<recv response="487" optional="false" next="2" timeout="20000" ontimeout="3"/>
<label id="3"/>
<send ack_txn="invite">
<![CDATA[
ACK sip:[email protected];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>
</scenario>
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users