Hi Karna,
Actually there is an action tag follows :-)
<recv response="100" rrs="true" crlf="true" optional="true" />
<recv response="200" rtd="true"/>
<action optional="true">
<ereg regexp="fid=([[:alnum:]]*)_([[:alnum:]]*)"
search_in="hdr" header="Contact:" check_it="true" assign_to="1" />
<ereg
regexp="bekey=([[:alnum:]]*)-([[:alnum:]]*)%([[:alnum:]]*).([[:alnum:]]*).([[:alnum:]]*).([[:alnum:]]*)"
search_in="hdr" header="Contact:" check_it="true" assign_to="2" />
</action>
</recv>
--
Regards,
SriNarayanan
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="Success Call Establishment. Office Zone Announcement. CALLING SIDE">
<!--
SEND: INVITE
-->
<send crlf="true">
<![CDATA[
INVITE sip:41910223...@ims.telef-data.es SIP/2.0
From: Alice <sip:1234...@atlanta.example.com>;tag=121212
To: Bob <sip:fixed_onl...@ims.telef-data.es;user=phone>
P-Asserted-Identity: "Mapachito" <sip:113...@ims.telef-data.es>
X-BTNG: PBXCapabilities=EarlyStart
FT-Ignore: Ignore this header. It is used to reduce scenarios overhead.
P-Charging-Vector: icid-value=[clock_tick][pid];icid-generated-at=[local_ip];orig-ioi=home1.net
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Route: <sip:[remote_ip]:[remote_port];lr>, <sip:[local_ip]:[local_port+1];lr>
Call-ID: [call_id]
CSeq: [cseq] INVITE
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Max-Forwards: 5
Content-Type: application/sdp
Content-Length: [len]
o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
s=-
c=IN IP[media_ip_type] [media_ip]
t=0 0
m=audio [media_port] RTP/AVP 0
a=rtpmap:0 PCMU/8000
b=TIAS:8480
v=0
]]>
</send>
<recv response="100" rrs="true" crlf="true" optional="true" />
<recv response="200" rtd="true"/>
<action optional="true">
<ereg regexp="fid=([[:alnum:]]*)_([[:alnum:]]*)" search_in="hdr" header="Contact:" check_it="true" assign_to="1" />
<ereg regexp="bekey=([[:alnum:]]*)-([[:alnum:]]*)%([[:alnum:]]*).([[:alnum:]]*).([[:alnum:]]*).([[:alnum:]]*)" search_in="hdr" header="Contact:" check_it="true" assign_to="2" />
</action>
</recv>
<send>
<![CDATA[
ACK sip:41910223...@ims.telef-data.es;[$1];[$2] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
[last_From:]
[last_To:]
[last_Call-ID:]
CSeq: [cseq] ACK
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Max-Forwards: 5
Content-Length: [len]
]]>
</send>
<send>
<![CDATA[
INFO sip:[remote_ip]:[remote_port];[$1];[$2] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
[last_From:]
[last_To:]
[last_Call-ID:]
CSeq: [cseq] INFO
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Max-Forwards: 5
Content-Type: application/csta+xml
Content-Length: [len]
<?xml version="1.0"?>
<MonitorStart xmlns="<http://www.ecma-international.org/standards/ecma-323/csta/ed3>;><monitorObject><deviceObject>tel:+123456789</deviceObject></monitorObject></MonitorStart>
]]>
</send>
<recv response = "200" crlf = "true" optional="true"/>
<!-- Get INFO 1 -->
<recv request="INFO" rrs="true" crlf="true" />
<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-Type: application/sdp
Content-Length: [len]
]]>
</send>
<!-- Get INFO 2 -->
<recv request="INFO" rrs="true" crlf="true"/>
<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-Type: application/sdp
Content-Length: [len]
]]>
</send>
<!-- Get INFO 3 -->
<recv request="INFO" rrs="true" crlf="true"/>
<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-Type: application/sdp
Content-Length: [len]
]]>
</send>
<!-- Get INFO 4 -->
<recv request="INFO" rrs="true" crlf="true"/>
<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-Type: application/sdp
Content-Length: [len]
]]>
</send>
<send>
<![CDATA[
BYE sip:41910223...@ims.telef-data.es;[$1];[$2] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
[last_From:]
[last_To:]
[last_Call-ID:]
CSeq: [cseq] BYE
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Max-Forwards: 5
Content-Length: [len]
]]>
</send>
<recv response = "200" crlf = "true"/>
</scenario>
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users