mirror of
https://github.com/jambonz/jambonz-api-server.git
synced 2025-12-19 05:47:46 +00:00
69 lines
2.1 KiB
XML
69 lines
2.1 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
|
<!DOCTYPE scenario SYSTEM "sipp.dtd">
|
|
|
|
<scenario name="UAC with media">
|
|
<send retrans="500">
|
|
<![CDATA[
|
|
|
|
INVITE sip:+15083871234@echo.sip.jambonz.org SIP/2.0
|
|
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
|
|
From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[pid]SIPpTag09[call_number]
|
|
To: <sip:15083871234@echo.sip.jambonz.org>
|
|
Call-ID: 685cd008-0a66-4974-b37a-bdd6d9a3c4a-0
|
|
CSeq: 1 INVITE
|
|
Contact: sip:sipp@[local_ip]:[local_port]
|
|
Max-Forwards: 70
|
|
Content-Type: application/sdp
|
|
Content-Length: [len]
|
|
|
|
v=0
|
|
o=user1 53655765 2353687637 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 8 101
|
|
a=rtpmap:8 PCMA/8000
|
|
a=rtpmap:101 telephone-event/8000
|
|
a=fmtp:101 0-11,16
|
|
|
|
]]>
|
|
</send>
|
|
|
|
<recv response="100" optional="true">
|
|
</recv>
|
|
|
|
|
|
<!-- By adding rrs="true" (Record Route Sets), the route sets -->
|
|
<!-- are saved and used for following messages sent. Useful to test -->
|
|
<!-- against stateful SIP proxies/B2BUAs. -->
|
|
<recv response="503" rtd="true" crlf="true">
|
|
</recv>
|
|
|
|
<!-- Packet lost can be simulated in any send/recv message by -->
|
|
<!-- by adding the 'lost = "10"'. Value can be [1-100] percent. -->
|
|
<send>
|
|
<![CDATA[
|
|
|
|
ACK sip:15083871234@echo.sip.jambonz.org SIP/2.0
|
|
[last_Via]
|
|
From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[pid]SIPpTag09[call_number]
|
|
To: <sip:15083871234@echo.sip.jambonz.org>[peer_tag_param]
|
|
Call-ID: 685cd008-0a66-4974-b37a-bdd6d9a3c4a-0
|
|
CSeq: 1 ACK
|
|
Max-Forwards: 70
|
|
Subject: uac-pcap-carrier-max-call-limit
|
|
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>
|
|
|