thank you,
the main goal is to check if a message arrived or not and is its content
compliant to the relevant standard. In all cases sipp should to report the
result (pass/fail/inconc), see the new attachment.
Using a global timeout isn't beable because all scenarios must be run in
the background and therefore I don't obtain any results.
Which conditions are necessary to establish a instance for a successfull
timeout handling?
Wolfgang
Deutsche Telekom AG
Zentrum Technik Einführung
Wolfgang Kanngießer
Winterfeldtstraße 21, D-10781 Berlin
-----Ursprüngliche Nachricht-----
Von: Charles P Wright [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 1. April 2008 14:08
An: Kanngießer, Wolfgang
Cc: [email protected]; [EMAIL PROTECTED]
Betreff: Re: [Sipp-users] About branchig due ontimeout
The timeout on the first recv will not work because SIPp does not
instantiate the call until that message has already been received. Can
you provide a few more details about what you are trying to do? If you
are just trying to set a global run time limit you can do -timeout 60s on
the command line.
Charles
"Kanngiesser, Wolfgang" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
04/01/2008 03:53 AM
To
<[email protected]>
cc
Subject
[Sipp-users] About branchig due ontimeout
Hi All
I'm running a scenario as follows, but it seems no timeout event occurs:
<recv request="REGISTER" rrs="true" timeout="60000" ontimeout="1">
</recv>
....any other messages.....
<label id="1"/>
<nop> ....
</nop>
The complete scenario see attachement and I'm using the following
cmd-line:
sipp -i 192.168.1.10 -sf msan_reg_bv-001.xml 192.168.1.24 -m 1 -nd -inf
defvar.csv -trace_msg
What I'm doing wrong - any clue?
thanks Wolfgang
Deutsche Telekom AG
Zentrum Technik Einführung
Wolfgang Kanngießer
Winterfeldtstraße 21, D-10781 Berlin
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- Referenz: ETSI TS 102 027
TPId: SIP_RG_RT_V_001
Status: Mandatory
Ref: RFC 3261 [1] section 10.2.
Purpose: Ensure that the IUT, in order to be registered, sends a REGISTER request to its registrar,
without user name in the Request URI and with a SIP URI as request URI. -->
<scenario name="msan_reg_bv-001">
<recv request="REGISTER" rrs="true" timeout="6000" ontimeout="1">
<action>
<ereg regexp="SIP/2.0" search_in="hdr" header="REGISTER"
check_it="true" assign_to="10"/>
</action>
</recv>
<send next="2" test="10">
<![CDATA[
SIP/2.0 200 OK
[last_Via:]
[last_From:]
[last_To:];tag=[call_number]
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Content-Length: 0
Expires: 30
]]>
</send>
<nop>
<action>
<exec command="echo 'msan_reg_bv-001:fail' | nc -unq0 [field0] [field1]"/>
<exec int_cmd="stop_now"/>
</action>
</nop>
<label id="2"/>
<nop>
<action>
<exec command="echo 'msan_reg_bv-001:pass' | nc -unq0 [field0] [field1]"/>
<exec int_cmd="stop_now"/>
</action>
</nop>
<label id="1"/>
<nop>
<action>
<exec command="echo 'msan_reg_bv-001:inconc' | nc -unq0 [field0] [field1]"/>
</action>
</nop>
</scenario>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users