Hi,
I'm using SIPp for testing and I have a question regarding labels.
In the documentation there is the warning: "If you add special cases at the
end, don’t forget to put a label at the real end and jump to it at the end
of the normal flow"
Which I tried to use in the following script and the script works as I
expected but - it never ends (never gets to the end of the script -
</scenario>):
<scenario name="test">
<send >
<![CDATA[
SUBSCRIBE
sip:[EMAIL PROTECTED]:[remote_port];transport=[transport]
SIP/2.0
Via: SIP/2.0/[transport]
[local_ip]:[local_port];branch=z9hG4bK[call_id]
From: <sip:[EMAIL PROTECTED]>;tag=[call_number]
To: <sip:[EMAIL PROTECTED]>
Call-ID: [call_id]
CSeq: 1 SUBSCRIBE
Max-Forwards: 70
Expires: 1800
Contact: sip:[EMAIL PROTECTED]:5080;transport=[transport]
Event: presence
Content-Length: 0
]]>
</send>
<recv response="200" optional="false">
</recv>
<label id="7"/>
<recv request="NOTIFY">
<action>
<ereg regexp="terminated"
search_in="hdr"
header="Subscription-State:"
check_it="false"
assign_to="1"/>
</action>
</recv>
<send next="5" test="1">
<![CDATA[
SIP/2.0 200 OK
[last_Via:]
[last_From:]
[last_To:]
[last_Call-ID:]
[last_CSeq:]
Content-Length: 0
]]>
</send>
<pause next="7"/>
<label id="5"/>
<pause milliseconds="4000"/>
</scenario>
I hope I reached to the right place for help issues, but if not - could you
please point me to the right one?
Thanks,
Einat
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users