From 6f1756b7f6da66525897e307300389894e6243d0 Mon Sep 17 00:00:00 2001 From: Nanang Izzuddin Date: Thu, 18 Aug 2011 18:11:08 +0000 Subject: 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 --- tests/pjsua/scripts-sendto/301_srtp0_recv_savp.py | 2 +- tests/pjsua/scripts-sendto/321_srtp2_recv_avp.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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) -- cgit v1.2.3