summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_1_0.py
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-06-15 19:43:43 +0000
committerBenny Prijono <bennylp@teluu.com>2008-06-15 19:43:43 +0000
commit52147c5315e8922dd74eccc96aef9814c507a5ce (patch)
tree66899eb44c84f61d03e423f7589a6f2a3b7b0240 /pjsip-apps/src/test-pjsua/scripts-call/150_srtp_1_0.py
parent5e535ba2d77e5fa029901d60ecfabadac0f35d61 (diff)
Added presence pjsua unit tests
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2025 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/test-pjsua/scripts-call/150_srtp_1_0.py')
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-call/150_srtp_1_0.py21
1 files changed, 11 insertions, 10 deletions
diff --git a/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_1_0.py b/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_1_0.py
index cd9d50bd..7fe8b61e 100644
--- a/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_1_0.py
+++ b/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_1_0.py
@@ -1,10 +1,11 @@
-# $Id:$
-#
-import inc_cfg
-
-# Simple call
-config = inc_cfg.CallConfig(
- title = "Callee=optional SRTP, caller=no SRTP",
- callee_cfg = inc_cfg.Config(arg="--null-audio --use-srtp=1 --srtp-secure=0"),
- caller_cfg = inc_cfg.Config(arg="--null-audio")
- )
+# $Id:$
+#
+from inc_cfg import *
+
+test_param = TestParam(
+ "Callee=optional SRTP, caller=no SRTP",
+ [
+ InstanceParam("callee", "--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1"),
+ InstanceParam("caller", "--null-audio --max-calls=1")
+ ]
+ )