You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kamailio-config-tests/scenarios/invite_locmap_forward/sipp_scenario_responder00.xml

78 lines
1.6 KiB

<?xml version="1.0" encoding="UTF-8" ?>
<scenario name="Sipwise NGCP Benchmark UAS Responder">
<recv request="INVITE" crlf="true" rrs="true">
<action>
<ereg regexp=".*" search_in="hdr" header="CSeq:"
check_it="true" assign_to="1" />
</action>
</recv>
<send>
<![CDATA[
SIP/2.0 180 Ringing
[last_Via:]
[last_From:]
[last_To:];tag=[pid]SIPpTag01[call_number]
[last_Call-ID:]
[last_CSeq:]
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Call-Info: <sip:[field3 file="callee.csv" line=1]>;appearance-index=1
Allow-Events: talk,hold,conference,refer,check-sync
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Content-Length: 0
]]>
</send>
<nop>
<action>
<assignstr assign_to="2" value="[last_Via:]"/>
<assignstr assign_to="3" value="[last_Record-Route:]"/>
</action>
</nop>
<pause milliseconds="500"/>
<recv request="CANCEL">
</recv>
<send>
<![CDATA[
SIP/2.0 200 OK
[last_Via:]
[last_From:]
[last_To:]
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Content-Length: [len]
]]>
</send>
<send>
<![CDATA[
SIP/2.0 487 Request terminated
[$2]
[last_From:]
[last_To:]
[last_Call-ID:]
[$3]
CSeq:[$1]
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Content-Length: [len]
]]>
</send>
<recv request="ACK">
</recv>
</scenario>