diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-06-12 18:10:22 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-06-12 18:10:22 +0000 |
commit | 1f539f89c3358b65779097192c62b2fb978f08fb (patch) | |
tree | 57782085deabb985cd4ae8131bcfe25a9714bbba /pjsip-apps/src/test-pjsua/scripts-call | |
parent | af91fd098d9302c4f910ede61b87844f352d1a21 (diff) |
More ticket #543: added SRTP negotiation tests
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2012 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/test-pjsua/scripts-call')
3 files changed, 30 insertions, 0 deletions
diff --git a/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_1_2.py b/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_1_2.py new file mode 100644 index 00000000..7752293b --- /dev/null +++ b/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_1_2.py @@ -0,0 +1,10 @@ +# $Id$ +# +import inc_cfg + +# Simple call +config = inc_cfg.CallConfig( + title = "Callee=optional SRTP, caller=mandatory 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=2 --srtp-secure=0") + ) diff --git a/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_2_1.py b/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_2_1.py new file mode 100644 index 00000000..8c46b939 --- /dev/null +++ b/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_2_1.py @@ -0,0 +1,10 @@ +# $Id$ +# +import inc_cfg + +# Simple call +config = inc_cfg.CallConfig( + title = "Callee=mandatory SRTP, caller=optional SRTP", + callee_cfg = inc_cfg.Config(arg="--null-audio --use-srtp=2 --srtp-secure=0"), + 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_2_2.py b/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_2_2.py new file mode 100644 index 00000000..b03978d9 --- /dev/null +++ b/pjsip-apps/src/test-pjsua/scripts-call/150_srtp_2_2.py @@ -0,0 +1,10 @@ +# $Id$ +# +import inc_cfg + +# Simple call +config = inc_cfg.CallConfig( + title = "Callee=mandatory SRTP, caller=mandatory SRTP", + callee_cfg = inc_cfg.Config(arg="--null-audio --use-srtp=2 --srtp-secure=0"), + caller_cfg = inc_cfg.Config(arg="--null-audio --use-srtp=2 --srtp-secure=0") + ) |