Hello all
I have some problems with my xml-scenario. My branchings seem not to work. It
terminates after one loop. Is something wrong with my scenario file? (sipp
2.0.1...)
Another question: Isn't it possible to 'execute' a NOP in the very beginning?
The first NOP is only executed just when an INVITE comes in. I want to execute
the <action> once at initialisation. Thanks for your answer.
Best regards
André
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario>
<nop>
<action>
<exec command="echo '[phys] is waiting for calls' >> /tmp/testresult.log
"/>
</action>
</nop>
<label id="8"/>
<recv request="INVITE" crlf="true">
</recv>
<pause milliseconds="50"/>
<nop>
<action>
<exec command="echo '[local_ip] mapped number to [phys]' >>
/tmp/testresult.log "/>
</action>
</nop>
<send>
<![CDATA[
SIP/2.0 180 Ringing sip:[local_ip] SIP/2.0
[last_Via:]
Max-Forwards:10
[last_To:]
[last_From:]
Call-ID: [call_id]
[last_CSeq:]
Contact: <sip:[EMAIL PROTECTED]>
Expires: 10
Content-Length:[len]
]]>
</send>
<send>
<![CDATA[
SIP/2.0 200 OK sip:[local_ip]
[last_Via:]
Max-Forwards:10
To:[last_From]
From:[EMAIL PROTECTED];tag=[phys]
Call-ID: [call_id]
[last_CSeq:]
Contact:<sip:[EMAIL PROTECTED]>
Content-Length:0
]]>
</send>
<recv request="ACK">
</recv>
<recv request="BYE">
</recv>
<send next="8">
<![CDATA[
SIP/2.0 200 OK sip:[local_ip]
[last_Via:]
Max-Forwards:10
To:[last_From]
From:[EMAIL PROTECTED];tag=[phys]
Call-ID: [call_id]
[last_CSeq:]
Contact:<sip:[EMAIL PROTECTED]>
Content-Length:0
]]>
</send>
</scenario>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users