drachtio-srf 4.5.20 → 4.5.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "drachtio-srf-benchmark",
3
+ "version": "1.0.0",
4
+ "description": "Benchmark drachtio-srf performance",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "MIT",
11
+ "dependencies": {
12
+ "benchmark": "^2.1.4",
13
+ "drachtio-srf": "^4.5.19"
14
+ }
15
+ }
@@ -11,7 +11,7 @@ services:
11
11
 
12
12
  drachtio-sut:
13
13
  image: drachtio/drachtio-server:latest
14
- command: drachtio --contact "sip:*;transport=udp" --loglevel debug --sofia-loglevel 9
14
+ command: drachtio --contact "sip:*;transport=udp" --loglevel info --sofia-loglevel 3
15
15
  container_name: drachtio-sut
16
16
  ports:
17
17
  - "9061:9022/tcp"
@@ -172,3 +172,14 @@ services:
172
172
  networks:
173
173
  testbed:
174
174
  ipv4_address: 172.29.0.25
175
+
176
+ sipp-uas-options:
177
+ image: drachtio/sipp:latest
178
+ command: sipp -sf /tmp/uas-options-expect-200.xml
179
+ container_name: sipp-uas-options
180
+ volumes:
181
+ - ./scenarios:/tmp
182
+ tty: true
183
+ networks:
184
+ testbed:
185
+ ipv4_address: 172.29.0.26
@@ -0,0 +1,43 @@
1
+ <?xml version="1.0" encoding="ISO-8859-1" ?>
2
+ <!DOCTYPE scenario SYSTEM "sipp.dtd">
3
+
4
+ <!-- This program is free software; you can redistribute it and/or -->
5
+ <!-- modify it under the terms of the GNU General Public License as -->
6
+ <!-- published by the Free Software Foundation; either version 2 of the -->
7
+ <!-- License, or (at your option) any later version. -->
8
+ <!-- -->
9
+ <!-- This program is distributed in the hope that it will be useful, -->
10
+ <!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
11
+ <!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
12
+ <!-- GNU General Public License for more details. -->
13
+ <!-- -->
14
+ <!-- You should have received a copy of the GNU General Public License -->
15
+ <!-- along with this program; if not, write to the -->
16
+ <!-- Free Software Foundation, Inc., -->
17
+ <!-- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -->
18
+ <!-- -->
19
+ <!-- Sipp default 'uas' scenario. -->
20
+ <!-- -->
21
+
22
+ <scenario name="Basic UAS responder">
23
+ <!-- By adding rrs="true" (Record Route Sets), the route sets -->
24
+ <!-- are saved and used for following messages sent. Useful to test -->
25
+ <!-- against stateful SIP proxies/B2BUAs. -->
26
+ <recv request="OPTIONS" crlf="true">
27
+ </recv>
28
+
29
+ <send>
30
+ <![CDATA[
31
+
32
+ SIP/2.0 200 OK
33
+ [last_Via:]
34
+ [last_From:]
35
+ [last_To:];tag=[pid]SIPpTag01[call_number]
36
+ [last_Call-ID:]
37
+ [last_CSeq:]
38
+ Content-Length: 0
39
+
40
+ ]]>
41
+ </send>
42
+
43
+ </scenario>