mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
major merge of features from the hosted branch that was created temporarily during the initial launch of jambonz.org
89 lines
2.5 KiB
XML
89 lines
2.5 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
|
<!DOCTYPE scenario SYSTEM "sipp.dtd">
|
|
|
|
|
|
<scenario name="Basic Sipstone UAC">
|
|
<!-- In client mode (sipp placing calls), the Call-ID MUST be -->
|
|
<!-- generated by sipp. To do so, use [call_id] keyword. -->
|
|
<send retrans="500">
|
|
<![CDATA[
|
|
|
|
INVITE sip:16174000005@[remote_ip]:[remote_port] SIP/2.0
|
|
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
|
|
From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[pid]SIPpTag00[call_number]
|
|
To: <sip:16174000005@[remote_ip]:[remote_port]>
|
|
Call-ID: [call_id]
|
|
CSeq: 1 INVITE
|
|
Contact: sip:sipp@[local_ip]:[local_port]
|
|
Max-Forwards: 70
|
|
X-Account-Sid: 2a14b9ef-2d01-4b50-8123-fa79f56ab684
|
|
Subject: uac-transcribe-our-creds-fail-low-balance
|
|
Content-Type: application/sdp
|
|
Content-Length: [len]
|
|
|
|
v=0
|
|
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
|
|
|
|
]]>
|
|
</send>
|
|
|
|
<recv response="100"
|
|
optional="true">
|
|
</recv>
|
|
|
|
<recv response="180" optional="true">
|
|
</recv>
|
|
|
|
<recv response="183" 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="200" rtd="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:16174000005@[remote_ip]:[remote_port] SIP/2.0
|
|
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
|
|
From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[pid]SIPpTag00[call_number]
|
|
To: 16174000005 <sip:16174000004@[remote_ip]:[remote_port]>[peer_tag_param]
|
|
Call-ID: [call_id]
|
|
CSeq: 1 ACK
|
|
Contact: sip:sipp@[local_ip]:[local_port]
|
|
Max-Forwards: 70
|
|
Subject: uac-transcribe-our-creds-fail-low-balance
|
|
Content-Length: 0
|
|
|
|
]]>
|
|
</send>
|
|
|
|
<recv request="BYE">
|
|
</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: 0
|
|
|
|
]]>
|
|
|
|
</scenario>
|
|
|