Hi all
I am getting the error “ Unknown element 'init' in xml scenario file.”
When I am running the script below
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--<init>
<nop>
<assign assign_to="VAL" value="4">
</nop>
</init>-->
<scenario name="REGISTER" label="0">
<init>
<nop>
<assign assign_to="VAL" value="4">
</nop>
</init>
<send>
<![CDATA[
REGISTER sip:[field0] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Max-Forwards: 70
From: <sip:[fiel...@[field0]>;tag=[call_number]
To: <sip:[fiel...@[field0]>
Call-ID: [call_id]
CSeq: 1 REGISTER
Contact:
<sip:[fiel...@[local_ip]:[local_port];transport=[transport]>;audio;video
Expires: 3600
Content-Length: 0
Authorization: Digest username="[fiel...@[field0]", realm="[field0]",
nonce="" , response="", uri="sip:[field0]"
]]>
<nop>
<!-- <assignstr assign_to="var" value="dsh"/> -->
<!--<todouble assign_to="var" value="34">-->
<add assign_to="VAL" value="1"/>
<assign assign_to="var" variable="VAL">
</nop>
</send>
<!---Authorization: Digest username="[field0]", realm="[field2]", nonce="1",
uri="sip:[field2]", response="1", integrity-protected=yes-->
<recv response="401" auth="true">
</recv>
<nop>
<action>
<jump variable="VAL" />
</action>
</nop>
<--! START OF LABEL 1 --->
<send label="5">
<![CDATA[
REGISTER sip:[field0] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Max-Forwards: 70
From: <sip:[fiel...@[field0]>;tag=[call_number]
To: <sip:[fiel...@[field0]>
Call-ID: [call_id]
CSeq: 1 REGISTER
Contact:
<sip:[fiel...@[local_ip]:[local_port];transport=[transport]>;audio;video
Expires: 3600
Content-Length: 0
Authorization: Digest username="[fiel...@[field0]", realm="[field0]",
nonce="" , response="", uri="sip:[field0]"
]]>
</send>
<!--
<recv respose="403" next="0">
</recv>-->
<--! END OF LABEL 1 --->
</scenario>
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users