hj all!
this's my sript, i don't know how to tranfer INVITE message when sipp
recieved from phone to another phone.
i do not know what's problem happen??? someone help me!please!
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="Basic UAS call">
<recv request="INVITE" >
- Ẩn nội dung trích dẫn-
</recv>
<send>
<![CDATA[
SIP/2.0 100 Trying
[last_To:];tag=[call_number]
[last_From:]
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:[local_ip]:[local_port]>
[last_Via:]
User-Agent: uas
Content-Length: 0
]]>
</send>
<send>
<![CDATA[
INVITE sip:[field2]@[field3] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port]
Call-ID: [call_id]
To: <sip:[field2]@[field3]>
From: <sip:[field0]@[field1]>;tag=[call_number]
CSeq: [cseq] INVITE
Accept: application/sdp
Expires: 180
Contact: <sip:[field0]@[local_ip]:[local_port]>
User-Agent: SIPp
Allow: REFER
Subject: Performance Test
Accept-Language: en-us
c: application/sdp
l: [len]
v=0
o=[field0] 115691 123456 IN IP[local_ip_type] [local_ip]
s=-
c=IN IP[local_ip_type] [local_ip]
t=0 0
m=audio [auto_media_port] RTP/AVP 0 8 110 111
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:110 telephone-event/8000
a=rtpmap:111 x-nt-inforeq/8000
a=ptime:30
]]>
</send>
<recv response="180">
</recv>
<send>
<![CDATA[
SIP/2.0 180 Ringing
Via: SIPP/2.0/[transport][local_ip]:[local_port]
From: sipp <sip:sipp@[local_ip]:[local_port]>; tag=[call_number]
To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
Call_ID: [call_id]
Cseq: 1 ACK
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Max-Forwards: 70
Subject: Perfomance Test
Content-Length: 0
]]>
</send>
<recv response="200">
</recv>
<send>
<![CDATA[
ACK [next_url] SIP/2.0
[last_Via:]
[last_From:]
[last_To:]
[last_Call-ID:]
CSeq: [cseq] ACK
Max-Forwards: 70
Subject: Performance Test
Content-Length: 0
[routes]
]]>
</send>
<send>
<![CDATA[
SIP/2.0 200 OK
Via: SIPP/2.0/[transport][local_ip]:[local_port]
From: sipp <sip:sipp@[local_ip]:[local_port]>; tag=[call_number]
To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
Call_ID: [call_id]
Cseq: 1 ACK
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Max-Forwards: 70
Subject: Perfomance Test
Content-Length: 0
Expires: 300
]]>
</send>
<recv request="ACK">
</recv>
<recv request="BYE">
</recv>
<send>
<![CDATA[
SIP/2.0 200 OK
[last_Via:]
[last_From:]
[last_To:];tag=[call_number]
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Content-Length: 0
Expires: 300
]]>
</send>
<send retrans="500">
<![CDATA[
BYE sip: [service] @[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0 / [transport] [local_ip] : [local_port]
From: Sipp <sip:sipp @ [local_ip]:[local_port]> ; tag=[call_number]
To : sut <sip:[service]@[remote_ip]:[remote_port]> [peer_tag_param]
CAll_ID: [call_id]
Cseq: 2 BYE
Contact: sip : sipp @ [local_ip] : [local_ip]
Max-Forwards: 70
Subject: Performance Test
Content-Length: 0
]]>
</send>
<!-- definition of the response time repartition table (unit is ms) -->
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
<!-- definition of the call length repartition table (unit is ms) -->
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
</scenario>
thanks
regard
--
Thắng
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users