diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-06-12 15:37:22 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-06-12 15:37:22 +0000 |
commit | e5c47747a5355a29b5184ed690d05c241f1bd34e (patch) | |
tree | 6ccd15b80ddbcdc7920d6d451b267378a5695490 /pjsip-apps/src/test-pjsua/scripts-call | |
parent | 33a19f0c14777cd7e2923e9eb1f355547fbee3cc (diff) |
Ticket #543: initial framework for pjsua testing, still needs lots of test scenarios
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2009 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/test-pjsua/scripts-call')
4 files changed, 40 insertions, 0 deletions
diff --git a/pjsip-apps/src/test-pjsua/scripts-call/100_simplecall.py b/pjsip-apps/src/test-pjsua/scripts-call/100_simplecall.py new file mode 100644 index 00000000..52dcfed0 --- /dev/null +++ b/pjsip-apps/src/test-pjsua/scripts-call/100_simplecall.py @@ -0,0 +1,10 @@ +# $Id$
+#
+import inc_cfg
+
+# Simple call
+config = inc_cfg.CallConfig(
+ title = "Basic call",
+ callee_cfg = inc_cfg.Config(arg="--null-audio"),
+ caller_cfg = inc_cfg.Config(arg="--null-audio")
+ )
diff --git a/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_0_1.py b/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_0_1.py new file mode 100644 index 00000000..319c4701 --- /dev/null +++ b/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_0_1.py @@ -0,0 +1,10 @@ +# $Id$
+#
+import inc_cfg
+
+# Simple call
+config = inc_cfg.CallConfig(
+ title = "Callee=no SRTP, caller=optional SRTP",
+ callee_cfg = inc_cfg.Config(arg="--null-audio"),
+ caller_cfg = inc_cfg.Config(arg="--null-audio --use-srtp=1 --srtp-secure=0")
+ )
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 new file mode 100644 index 00000000..ce886a69 --- /dev/null +++ b/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_1_0.py @@ -0,0 +1,10 @@ +# $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")
+ )
diff --git a/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_1_1.py b/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_1_1.py new file mode 100644 index 00000000..6a58b532 --- /dev/null +++ b/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_1_1.py @@ -0,0 +1,10 @@ +# $Id$
+#
+import inc_cfg
+
+# Simple call
+config = inc_cfg.CallConfig(
+ title = "Callee=optional SRTP, caller=optional SRTP",
+ callee_cfg = inc_cfg.Config(arg="--null-audio --use-srtp=1 --srtp-secure=0"),
+ caller_cfg = inc_cfg.Config(arg="--null-audio --use-srtp=1 --srtp-secure=0")
+ )
|