summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2011-08-18 18:11:08 +0000
committerNanang Izzuddin <nanang@teluu.com>2011-08-18 18:11:08 +0000
commit6f1756b7f6da66525897e307300389894e6243d0 (patch)
treef766742d9f705f2cc46e33efd7ef3d778e196445 /tests
parent21ef11660d86e63d61fc7f61207f945418e35443 (diff)
Re #1346 (python test fixes): Updated test scenario involving negotiation SRTP-mandatory vs SRTP-disabled or vice-versa, call rejection is using 488 now (was using 406).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3713 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'tests')
-rw-r--r--tests/pjsua/scripts-sendto/301_srtp0_recv_savp.py2
-rw-r--r--tests/pjsua/scripts-sendto/321_srtp2_recv_avp.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/pjsua/scripts-sendto/301_srtp0_recv_savp.py b/tests/pjsua/scripts-sendto/301_srtp0_recv_savp.py
index d8a1ade9..b86ba527 100644
--- a/tests/pjsua/scripts-sendto/301_srtp0_recv_savp.py
+++ b/tests/pjsua/scripts-sendto/301_srtp0_recv_savp.py
@@ -23,6 +23,6 @@ include = []
exclude = []
sendto_cfg = sip.SendtoCfg( "Callee has SRTP disabled but receive RTP/SAVP, should reject the call",
- pjsua_args=args, sdp=sdp, resp_code=406,
+ pjsua_args=args, sdp=sdp, resp_code=488,
resp_inc=include, resp_exc=exclude)
diff --git a/tests/pjsua/scripts-sendto/321_srtp2_recv_avp.py b/tests/pjsua/scripts-sendto/321_srtp2_recv_avp.py
index 75c02453..56d03dc1 100644
--- a/tests/pjsua/scripts-sendto/321_srtp2_recv_avp.py
+++ b/tests/pjsua/scripts-sendto/321_srtp2_recv_avp.py
@@ -23,6 +23,6 @@ include = []
exclude = []
sendto_cfg = sip.SendtoCfg( "Callee has SRTP mandatory and receive RTP/AVP with crypto, should reject the call",
- pjsua_args=args, sdp=sdp, resp_code=406,
+ pjsua_args=args, sdp=sdp, resp_code=488,
resp_inc=include, resp_exc=exclude)