summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/test-pjsua/scripts-sendto
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-12-22 18:54:58 +0000
committerBenny Prijono <bennylp@teluu.com>2008-12-22 18:54:58 +0000
commit0723dbc601c74330f792db67ad75f6d580c30d8b (patch)
treea10e1cc45bdeb80210168f2e26421ae0d7e7295d /pjsip-apps/src/test-pjsua/scripts-sendto
parent341dea971f9d548cc922f5f3446d80130a1d57d9 (diff)
Created top-level directory tests and moved test-pjsua there. This will be the placeholder for future developed tests
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2392 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/test-pjsua/scripts-sendto')
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/100_simplecall.py20
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/120_sdp_with_video_dynamic_1.py28
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/120_sdp_with_video_dynamic_2.py28
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/121_sdp_with_video_static_1.py28
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/121_sdp_with_video_static_2.py28
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/122_sdp_with_unknown_dynamic_1.py27
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/122_sdp_with_unknown_dynamic_2.py27
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/123_sdp_with_unknown_static_1.py27
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/123_sdp_with_unknown_static_2.py27
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/124_sdp_with_unknown_static_unknown_transport.py27
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/125_sdp_with_multi_audio_0.py30
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/125_sdp_with_multi_audio_1.py27
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/125_sdp_with_multi_audio_2.py27
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/125_sdp_with_multi_audio_3.py28
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/125_sdp_with_multi_audio_4.py27
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/150_err_extension.py27
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/151_err_sdp_video.py23
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/152_err_sdp_no_media.py22
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/153_err_sdp_unsupported_codec.py24
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/155_err_sdp_bad_syntax.py23
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/156_err_sdp_bad_net_type.py27
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/157_err_sdp_bad_addr_type.py27
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/158_err_sdp_bad_transport_type.py27
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/160_err_duplicate_replaces.py23
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/161_err_replaces_dlg_not_found.py23
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/200_ice_no_ice.py26
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/200_ice_success_1.py31
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/200_ice_success_2.py36
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/200_ice_success_3.py35
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/200_ice_success_4.py35
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/201_ice_mismatch_1.py29
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/201_ice_mismatch_2.py31
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/201_ice_mismatch_3.py30
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_crypto_case_insensitive.py27
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_duplicated_crypto_tag.py27
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_invalid_crypto_tag_non_numeric.py27
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_invalid_crypto_tag_zero.py26
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_receive_no_key_1.py26
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_receive_no_key_2.py26
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_receive_no_key_3.py26
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/301_srtp0_recv_avp.py28
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/301_srtp0_recv_savp.py28
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/310_srtp1_no_crypto.py26
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/311_srtp1_recv_avp.py28
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/312_srtp1_recv_savp.py28
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/313_srtp1_unsupported_crypto.py26
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/320_srtp2_no_crypto.py26
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/320_srtp_with_unknown_media_1.py28
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/320_srtp_with_unknown_media_2.py28
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/320_srtp_with_unknown_transport_1.py27
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/320_srtp_with_unknown_transport_2.py27
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/321_srtp2_recv_avp.py28
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/322_srtp2_recv_savp.py28
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/323_srtp2_unsupported_crypto.py26
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/330_srtp_prefer_rtp_savp.py30
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/331_srtp_prefer_rtp_avp.py29
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/360_non_sip_uri.py27
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/361_non_sip_uri.py26
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/362_non_sip_uri.py27
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/363_non_sip_uri_subscribe.py31
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/364_non_sip_uri_subscribe.py30
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/400_fmtp_g7221_with_bitrate.py34
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/401_fmtp_g7221_with_bitrate_24000.py35
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/401_fmtp_g7221_with_bitrate_32000.py35
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/410_fmtp_amrnb_offer_octet_align.py32
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/411_fmtp_amrnb_offer_band_eff.py31
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/412_fmtp_amrnb_offer_band_eff2.py32
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/500_pres_subscribe_with_bad_event.py28
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/999_asterisk_err.py45
-rw-r--r--pjsip-apps/src/test-pjsua/scripts-sendto/999_message_no_body.py24
70 files changed, 0 insertions, 1968 deletions
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/100_simplecall.py b/pjsip-apps/src/test-pjsua/scripts-sendto/100_simplecall.py
deleted file mode 100644
index 3fc52dff..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/100_simplecall.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=pjmedia
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-"""
-
-sendto_cfg = sip.SendtoCfg( "simple call", "--null-audio --auto-answer 200", sdp, 200)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/120_sdp_with_video_dynamic_1.py b/pjsip-apps/src/test-pjsua/scripts-sendto/120_sdp_with_video_dynamic_1.py
deleted file mode 100644
index e96919f3..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/120_sdp_with_video_dynamic_1.py
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-# Video uses dynamic payload type
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=-
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 5000 RTP/AVP 0
-m=video 4000 RTP/AVP 100
-a=rtpmap:100 myvideo/80000
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = ""
-include = ["Content-Type: application/sdp", # response must include SDP
- "m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+m=video 0 RTP/AVP"
- ]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Mixed audio and video", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/120_sdp_with_video_dynamic_2.py b/pjsip-apps/src/test-pjsua/scripts-sendto/120_sdp_with_video_dynamic_2.py
deleted file mode 100644
index 6bdda923..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/120_sdp_with_video_dynamic_2.py
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-# In this case the video codec uses dynamic payload type
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=-
-c=IN IP4 127.0.0.1
-t=0 0
-m=video 4000 RTP/AVP 100
-a=rtpmap:100 myvideo/96000
-m=audio 5000 RTP/AVP 0
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = ""
-include = ["Content-Type: application/sdp", # response must include SDP
- "m=video 0 RTP[\\s\\S]+m=audio [1-9]+[0-9]* RTP/AVP"
- ]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Mixed audio and video", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/121_sdp_with_video_static_1.py b/pjsip-apps/src/test-pjsua/scripts-sendto/121_sdp_with_video_static_1.py
deleted file mode 100644
index f05da5db..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/121_sdp_with_video_static_1.py
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-# Video uses static payload type which will cause failure
-# when session.c looks-up the codec in codec manager
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=-
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 5000 RTP/AVP 0
-m=video 4000 RTP/AVP 54
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = ""
-include = ["Content-Type: application/sdp", # response must include SDP
- "m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+m=video 0 RTP"
- ]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Mixed audio and video", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/121_sdp_with_video_static_2.py b/pjsip-apps/src/test-pjsua/scripts-sendto/121_sdp_with_video_static_2.py
deleted file mode 100644
index 67e01321..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/121_sdp_with_video_static_2.py
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-# Video uses static payload type which will cause failure
-# when session.c looks-up the codec in codec manager
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=-
-c=IN IP4 127.0.0.1
-t=0 0
-m=video 4000 RTP/AVP 54
-m=audio 5000 RTP/AVP 0
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = ""
-include = ["Content-Type: application/sdp", # response must include SDP
- "m=video 0 RTP/AVP[\\s\\S]+m=audio [1-9]+[0-9]* RTP/AVP"
- ]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Mixed audio and video", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/122_sdp_with_unknown_dynamic_1.py b/pjsip-apps/src/test-pjsua/scripts-sendto/122_sdp_with_unknown_dynamic_1.py
deleted file mode 100644
index 0e7ced75..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/122_sdp_with_unknown_dynamic_1.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=-
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 5000 RTP/AVP 0
-m=xapplicationx 4000 RTP/AVP 100
-a=rtpmap:100 myapp/80000
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = ""
-include = ["Content-Type: application/sdp", # response must include SDP
- "m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+m=xapplicationx 0 RTP/AVP"
- ]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Mixed audio and unknown", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/122_sdp_with_unknown_dynamic_2.py b/pjsip-apps/src/test-pjsua/scripts-sendto/122_sdp_with_unknown_dynamic_2.py
deleted file mode 100644
index 7bdb14ee..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/122_sdp_with_unknown_dynamic_2.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=-
-c=IN IP4 127.0.0.1
-t=0 0
-m=xapplicationx 4000 RTP/AVP 100
-a=rtpmap:100 myapp/80000
-m=audio 5000 RTP/AVP 0
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = ""
-include = ["Content-Type: application/sdp", # response must include SDP
- "m=xapplicationx 0 RTP/AVP[\\s\\S]+m=audio [1-9]+[0-9]* RTP/AVP"
- ]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Mixed audio and unknown", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/123_sdp_with_unknown_static_1.py b/pjsip-apps/src/test-pjsua/scripts-sendto/123_sdp_with_unknown_static_1.py
deleted file mode 100644
index 3da14409..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/123_sdp_with_unknown_static_1.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-# The unknown media uses static payload type
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=-
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 5000 RTP/AVP 0
-m=xapplicationx 4000 RTP/AVP 54
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = ""
-include = ["Content-Type: application/sdp", # response must include SDP
- "m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+m=xapplicationx 0 RTP/AVP"
- ]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Mixed audio and unknown", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/123_sdp_with_unknown_static_2.py b/pjsip-apps/src/test-pjsua/scripts-sendto/123_sdp_with_unknown_static_2.py
deleted file mode 100644
index 76ff13be..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/123_sdp_with_unknown_static_2.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-# The unknown media uses static payload type
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=-
-c=IN IP4 127.0.0.1
-t=0 0
-m=xapplicationx 4000 RTP/AVP 54
-m=audio 5000 RTP/AVP 0
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = ""
-include = ["Content-Type: application/sdp", # response must include SDP
- "m=xapplicationx 0 RTP/AVP[\\s\\S]+m=audio [1-9]+[0-9]* RTP/AVP"
- ]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Mixed audio and unknown", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/124_sdp_with_unknown_static_unknown_transport.py b/pjsip-apps/src/test-pjsua/scripts-sendto/124_sdp_with_unknown_static_unknown_transport.py
deleted file mode 100644
index 5d1b7d3f..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/124_sdp_with_unknown_static_unknown_transport.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=-
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 5000 RTP/AVP 0
-m=xapplicationx 4000 XRTPX/XAVPX 54
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = ""
-include = ["Content-Type: application/sdp", # response must include SDP
- "m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+m=xapplicationx 0 XRTPX/XAVPX "
- ]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Mixed audio and unknown and with unknown transport",
- pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/125_sdp_with_multi_audio_0.py b/pjsip-apps/src/test-pjsua/scripts-sendto/125_sdp_with_multi_audio_0.py
deleted file mode 100644
index dbbedfff..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/125_sdp_with_multi_audio_0.py
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-# Multiple good m=audio lines! The current algorithm in pjsua-lib will
-# select the last audio (which should be okay, as we're entitled to
-# select any of them)
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=-
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 5000 RTP/AVP 0
-m=audio 4000 RTP/AVP 0
-m=audio 3000 RTP/AVP 0
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = ""
-include = ["Content-Type: application/sdp", # response must include SDP
- "m=audio 0 RTP/AVP[\\s\\S]+m=audio 0 RTP/AVP[\\s\\S]+m=audio [1-9]+[0-9]* RTP/AVP"
- ]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Mutiple good m=audio lines", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/125_sdp_with_multi_audio_1.py b/pjsip-apps/src/test-pjsua/scripts-sendto/125_sdp_with_multi_audio_1.py
deleted file mode 100644
index 3cfc6116..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/125_sdp_with_multi_audio_1.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-# Multiple m=audio, one of them is bad
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=-
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 5000 RTP/AVP 0
-m=audio 4000 UNKNOWN 0
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = ""
-include = ["Content-Type: application/sdp", # response must include SDP
- "m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+m=audio 0 UNKNOWN"
- ]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Audio and bad audio", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/125_sdp_with_multi_audio_2.py b/pjsip-apps/src/test-pjsua/scripts-sendto/125_sdp_with_multi_audio_2.py
deleted file mode 100644
index 80cbf4b5..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/125_sdp_with_multi_audio_2.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-# Multiple m=audio, one of them is bad
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=-
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 UNKNOWN 0
-m=audio 5000 RTP/AVP 0
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = ""
-include = ["Content-Type: application/sdp", # response must include SDP
- "m=audio 0 UNKNOWN[\\s\\S]+m=audio [1-9]+[0-9]* RTP/AVP"
- ]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Audio and bad audio", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/125_sdp_with_multi_audio_3.py b/pjsip-apps/src/test-pjsua/scripts-sendto/125_sdp_with_multi_audio_3.py
deleted file mode 100644
index a0397c59..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/125_sdp_with_multi_audio_3.py
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-# Multiple m=audio, one of them has dynamic PT codec that we don't support
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=-
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 5000 RTP/AVP 100
-a=rtpmap:100 someunknowncodec/8000
-m=audio 4000 RTP/AVP 0
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = ""
-include = ["Content-Type: application/sdp", # response must include SDP
- "m=audio 0 RTP/AVP[\s\S]+m=audio [1-9]+[0-9]* RTP/AVP"
- ]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Multiple audio lines", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/125_sdp_with_multi_audio_4.py b/pjsip-apps/src/test-pjsua/scripts-sendto/125_sdp_with_multi_audio_4.py
deleted file mode 100644
index 814de0d9..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/125_sdp_with_multi_audio_4.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-# Multiple m=audio, one of them has static PT codec that we don't support
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=-
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 5000 RTP/AVP 80
-m=audio 4000 RTP/AVP 0
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = ""
-include = ["Content-Type: application/sdp", # response must include SDP
- "m=audio 0 RTP/AVP[\s\S]+m=audio [1-9]+[0-9]* RTP/AVP"
- ]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Multiple audio lines", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/150_err_extension.py b/pjsip-apps/src/test-pjsua/scripts-sendto/150_err_extension.py
deleted file mode 100644
index cb46d1f4..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/150_err_extension.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=pjmedia
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = "Require: xxx-my-extension\n"
-include = ["Unsupported: xxx-my-extension"]
-exclude = []
-sendto_cfg = sip.SendtoCfg("Bad extension", pjsua_args, sdp, 420,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/151_err_sdp_video.py b/pjsip-apps/src/test-pjsua/scripts-sendto/151_err_sdp_video.py
deleted file mode 100644
index 1dc8422b..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/151_err_sdp_video.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=pjmedia
-c=IN IP4 127.0.0.1
-t=0 0
-m=video 4000 RTP/AVP 0
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = ""
-include = []
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Video not acceptable", pjsua_args, sdp, 488,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/152_err_sdp_no_media.py b/pjsip-apps/src/test-pjsua/scripts-sendto/152_err_sdp_no_media.py
deleted file mode 100644
index 4e7465a2..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/152_err_sdp_no_media.py
+++ /dev/null
@@ -1,22 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=pjmedia
-c=IN IP4 127.0.0.1
-t=0 0
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = ""
-include = []
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("No media in SDP", pjsua_args, sdp, 400,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/153_err_sdp_unsupported_codec.py b/pjsip-apps/src/test-pjsua/scripts-sendto/153_err_sdp_unsupported_codec.py
deleted file mode 100644
index 1d6da2a8..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/153_err_sdp_unsupported_codec.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=pjmedia
-c=IN IP4 127.0.0.1
-t=0 0
-m=video 4000 RTP/AVP 101
-a=rtpmap:101 my-proprietary-codec
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = ""
-include = []
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Unsupported codec", pjsua_args, sdp, 488,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/155_err_sdp_bad_syntax.py b/pjsip-apps/src/test-pjsua/scripts-sendto/155_err_sdp_bad_syntax.py
deleted file mode 100644
index d32ef3d6..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/155_err_sdp_bad_syntax.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=
-o=
-s=
-c=
-t=
-a=
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = ""
-include = [ "Warning: " ] # better have Warning header
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Bad SDP syntax", pjsua_args, sdp, 400,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/156_err_sdp_bad_net_type.py b/pjsip-apps/src/test-pjsua/scripts-sendto/156_err_sdp_bad_net_type.py
deleted file mode 100644
index 7c1536b7..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/156_err_sdp_bad_net_type.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=pjmedia
-c=AF IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = ""
-include = [ "Warning: " ] # better have Warning header
-exclude = []
-sendto_cfg = sip.SendtoCfg("Bad SDP network type", pjsua_args, sdp, 400,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/157_err_sdp_bad_addr_type.py b/pjsip-apps/src/test-pjsua/scripts-sendto/157_err_sdp_bad_addr_type.py
deleted file mode 100644
index cac5c988..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/157_err_sdp_bad_addr_type.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=pjmedia
-c=IN IP7 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = ""
-include = [ "Warning: " ] # better have Warning header
-exclude = []
-sendto_cfg = sip.SendtoCfg("Bad SDP address type", pjsua_args, sdp, 400,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/158_err_sdp_bad_transport_type.py b/pjsip-apps/src/test-pjsua/scripts-sendto/158_err_sdp_bad_transport_type.py
deleted file mode 100644
index 63dd811a..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/158_err_sdp_bad_transport_type.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=pjmedia
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/XAVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = ""
-include = []
-exclude = []
-sendto_cfg = sip.SendtoCfg("Unsupported transport type", pjsua_args, sdp, 488,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/160_err_duplicate_replaces.py b/pjsip-apps/src/test-pjsua/scripts-sendto/160_err_duplicate_replaces.py
deleted file mode 100644
index ec4b0fdf..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/160_err_duplicate_replaces.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=pjmedia
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = "Replaces: abcd;from_tag=1\r\nReplaces: efgh;from_tag=2\r\n"
-include = []
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Duplicate replaces header", pjsua_args, sdp, 400,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/161_err_replaces_dlg_not_found.py b/pjsip-apps/src/test-pjsua/scripts-sendto/161_err_replaces_dlg_not_found.py
deleted file mode 100644
index 863a1a57..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/161_err_replaces_dlg_not_found.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=pjmedia
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0
-"""
-
-pjsua_args = "--null-audio --auto-answer 200"
-extra_headers = "Replaces: abcd;from_tag=1\r\n"
-include = []
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Replaced dialog not found", pjsua_args, sdp, 481,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/200_ice_no_ice.py b/pjsip-apps/src/test-pjsua/scripts-sendto/200_ice_no_ice.py
deleted file mode 100644
index 46e123b5..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/200_ice_no_ice.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id:$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=pjmedia
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-"""
-
-args = "--null-audio --use-ice --auto-answer 200 --max-calls 1"
-include = []
-exclude = ["a=ice", "a=candidate"]
-
-sendto_cfg = sip.SendtoCfg( "caller has no ice, answer must not have ICE",
- pjsua_args=args, sdp=sdp, resp_code=200,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/200_ice_success_1.py b/pjsip-apps/src/test-pjsua/scripts-sendto/200_ice_success_1.py
deleted file mode 100644
index 110d0ea2..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/200_ice_success_1.py
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id:$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=pjmedia
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=ice-ufrag:1234
-a=ice-pwd:5678
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-a=candidate:XX 1 UDP 1234 127.0.0.1 4000 typ host
-"""
-
-args = "--null-audio --use-ice --auto-answer 200 --max-calls 1"
-include = ["a=ice-ufrag"] # must have ICE
-exclude = ["a=candidate:[0-9a-zA-Z]+ 2 UDP", # must not answer with 2 components
- "ice-mismatch" # must not mismatch
- ]
-
-sendto_cfg = sip.SendtoCfg( "caller sends only one component",
- pjsua_args=args, sdp=sdp, resp_code=200,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/200_ice_success_2.py b/pjsip-apps/src/test-pjsua/scripts-sendto/200_ice_success_2.py
deleted file mode 100644
index caf64b91..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/200_ice_success_2.py
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=pjmedia
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=rtcp:4382 IN IP4 192.168.0.4
-a=ice-ufrag:1234
-a=ice-pwd:5678
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-a=candidate:XX 1 UDP 1234 127.0.0.1 4000 typ host
-a=candidate:YY 2 UDP 1234 192.168.0.4 4382 typ host
-"""
-
-args = "--null-audio --use-ice --auto-answer 200 --max-calls 1"
-include = ["a=ice-ufrag", # must have ICE
- "a=candidate:[0-9a-zA-Z]+ 2 UDP" # must have RTCP component
- ]
-exclude = [
- "ice-mismatch" # must not mismatch
- ]
-
-sendto_cfg = sip.SendtoCfg( "caller sends only one component",
- pjsua_args=args, sdp=sdp, resp_code=200,
- resp_inc=include, resp_exc=exclude,
- enable_buffer = True)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/200_ice_success_3.py b/pjsip-apps/src/test-pjsua/scripts-sendto/200_ice_success_3.py
deleted file mode 100644
index 2c741e44..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/200_ice_success_3.py
+++ /dev/null
@@ -1,35 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=pjmedia
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=ice-ufrag:1234
-a=ice-pwd:5678
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-a=candidate:XX 1 UDP 1234 127.0.0.1 4000 typ host
-a=candidate:YY 2 UDP 1234 127.0.0.1 4001 typ host
-"""
-
-args = "--null-audio --use-ice --auto-answer 200 --max-calls 1"
-include = ["a=ice-ufrag", # must have ICE
- "a=candidate:[0-9a-zA-Z]+ 2 UDP" # must have RTCP component
- ]
-exclude = [
- "ice-mismatch" # must not mismatch
- ]
-
-sendto_cfg = sip.SendtoCfg( "caller sends two components without a=rtcp line",
- pjsua_args=args, sdp=sdp, resp_code=200,
- resp_inc=include, resp_exc=exclude,
- enable_buffer = True)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/200_ice_success_4.py b/pjsip-apps/src/test-pjsua/scripts-sendto/200_ice_success_4.py
deleted file mode 100644
index 0ec3849c..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/200_ice_success_4.py
+++ /dev/null
@@ -1,35 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=pjmedia
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=rtcp:4382 IN IP4 192.168.0.4
-a=ice-ufrag:1234
-a=ice-pwd:5678
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-a=candidate:XX 1 UDP 1234 127.0.0.1 4000 typ host
-a=candidate:YY 2 UDP 1234 127.0.0.2 4002 typ host
-"""
-
-args = "--null-audio --use-ice --auto-answer 200 --max-calls 1 --ice-no-rtcp"
-include = ["a=ice-ufrag"] # must have ICE
-exclude = [
- "ice-mismatch", # must not mismatch
- "a=candidate:[0-9a-zA-Z]+ 2 UDP" # must not have RTCP component
- ]
-
-sendto_cfg = sip.SendtoCfg( "pjsua with --ice-no-rtcp ignores RTCP things in the SDP",
- pjsua_args=args, sdp=sdp, resp_code=200,
- resp_inc=include, resp_exc=exclude,
- enable_buffer = True)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/201_ice_mismatch_1.py b/pjsip-apps/src/test-pjsua/scripts-sendto/201_ice_mismatch_1.py
deleted file mode 100644
index 186e3166..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/201_ice_mismatch_1.py
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id:$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=pjmedia
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=ice-ufrag:1234
-a=ice-pwd:5678
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-a=candidate:XX 1 UDP 1 1.1.1.1 2222 typ host
-"""
-
-args = "--null-audio --use-ice --auto-answer 200 --max-calls 1"
-include = ["a=ice-mismatch"]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg( "caller sends mismatched offer for comp 1",
- pjsua_args=args, sdp=sdp, resp_code=200,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/201_ice_mismatch_2.py b/pjsip-apps/src/test-pjsua/scripts-sendto/201_ice_mismatch_2.py
deleted file mode 100644
index 64a8dab4..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/201_ice_mismatch_2.py
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id:$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=pjmedia
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=rtcp:4382 IN IP4 192.168.0.4
-a=ice-ufrag:1234
-a=ice-pwd:5678
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-a=candidate:XX 1 UDP 1234 127.0.0.1 4000 typ host
-a=candidate:XX 2 UDP 1234 127.0.0.1 4000 typ host
-"""
-
-args = "--null-audio --use-ice --auto-answer 200 --max-calls 1"
-include = ["a=ice-mismatch"]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg( "caller sends mismatched offer for comp 2",
- pjsua_args=args, sdp=sdp, resp_code=200,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/201_ice_mismatch_3.py b/pjsip-apps/src/test-pjsua/scripts-sendto/201_ice_mismatch_3.py
deleted file mode 100644
index 234f6102..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/201_ice_mismatch_3.py
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id:$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=pjmedia
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=rtcp:4382 IN IP4 192.168.0.4
-a=ice-ufrag:1234
-a=ice-pwd:5678
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-a=candidate:XX 1 UDP 1234 127.0.0.1 4000 typ host
-"""
-
-args = "--null-audio --use-ice --auto-answer 200 --max-calls 1"
-include = ["a=ice-mismatch"]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg( "caller sends mismatched offer for comp 2",
- pjsua_args=args, sdp=sdp, resp_code=200,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_crypto_case_insensitive.py b/pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_crypto_case_insensitive.py
deleted file mode 100644
index 2e3923e6..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_crypto_case_insensitive.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=tester
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/SAVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-a=crypto:1 AeS_Cm_128_HmAC_shA1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ
-a=crypto:2 aEs_cM_128_HMaC_ShA1_32 inline:t0r0/apkukU7JjjfR0mY8GEimBq4OiPEm9eKSFOx
-"""
-
-args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 2 --srtp-secure 0"
-include = ["m=audio \d+ RTP/SAVP", "a=crypto"]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg( "caller has used mixed case in crypto attr, callee must process that normally",
- pjsua_args=args, sdp=sdp, resp_code=200,
- resp_inc=include, resp_exc=exclude)
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_duplicated_crypto_tag.py b/pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_duplicated_crypto_tag.py
deleted file mode 100644
index d9228c82..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_duplicated_crypto_tag.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=tester
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ
-a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:t0r0/apkukU7JjjfR0mY8GEimBq4OiPEm9eKSFOx
-"""
-
-args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 1 --srtp-secure 0"
-include = []
-exclude = []
-
-sendto_cfg = sip.SendtoCfg( "caller has used invalid crypto tag, callee must not accept the call",
- pjsua_args=args, sdp=sdp, resp_code=406,
- resp_inc=include, resp_exc=exclude)
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_invalid_crypto_tag_non_numeric.py b/pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_invalid_crypto_tag_non_numeric.py
deleted file mode 100644
index e1b05355..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_invalid_crypto_tag_non_numeric.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=tester
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ
-a=crypto:x AES_CM_128_HMAC_SHA1_32 inline:t0r0/apkukU7JjjfR0mY8GEimBq4OiPEm9eKSFOx
-"""
-
-args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 1 --srtp-secure 0"
-include = []
-exclude = []
-
-sendto_cfg = sip.SendtoCfg( "caller has used invalid crypto tag (non-numeric), callee must not accept the call",
- pjsua_args=args, sdp=sdp, resp_code=406,
- resp_inc=include, resp_exc=exclude)
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_invalid_crypto_tag_zero.py b/pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_invalid_crypto_tag_zero.py
deleted file mode 100644
index 51e95d68..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_invalid_crypto_tag_zero.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=tester
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-a=crypto:0 AES_CM_128_HMAC_SHA1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ
-"""
-
-args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 1 --srtp-secure 0"
-include = []
-exclude = []
-
-sendto_cfg = sip.SendtoCfg( "caller has used invalid crypto tag (zero), callee must not accept the call",
- pjsua_args=args, sdp=sdp, resp_code=406,
- resp_inc=include, resp_exc=exclude)
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_receive_no_key_1.py b/pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_receive_no_key_1.py
deleted file mode 100644
index 7cc91a73..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_receive_no_key_1.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=tester
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-a=crypto:0 AES_CM_128_HMAC_SHA1_80
-"""
-
-args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 1 --srtp-secure 0"
-include = []
-exclude = []
-
-sendto_cfg = sip.SendtoCfg( "caller send crypto attr without key, callee must not accept the call",
- pjsua_args=args, sdp=sdp, resp_code=406,
- resp_inc=include, resp_exc=exclude)
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_receive_no_key_2.py b/pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_receive_no_key_2.py
deleted file mode 100644
index 0e347004..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_receive_no_key_2.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=tester
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-a=crypto:0 AES_CM_128_HMAC_SHA1_80 inline
-"""
-
-args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 1 --srtp-secure 0"
-include = []
-exclude = []
-
-sendto_cfg = sip.SendtoCfg( "caller send crypto attr without key, callee must not accept the call",
- pjsua_args=args, sdp=sdp, resp_code=406,
- resp_inc=include, resp_exc=exclude)
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_receive_no_key_3.py b/pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_receive_no_key_3.py
deleted file mode 100644
index 2849f713..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/300_srtp_receive_no_key_3.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=tester
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-a=crypto:0 AES_CM_128_HMAC_SHA1_80 inline:
-"""
-
-args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 1 --srtp-secure 0"
-include = []
-exclude = []
-
-sendto_cfg = sip.SendtoCfg( "caller send crypto attr without key, callee must not accept the call",
- pjsua_args=args, sdp=sdp, resp_code=406,
- resp_inc=include, resp_exc=exclude)
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/301_srtp0_recv_avp.py b/pjsip-apps/src/test-pjsua/scripts-sendto/301_srtp0_recv_avp.py
deleted file mode 100644
index 2ef19f33..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/301_srtp0_recv_avp.py
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=tester
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ
-a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:t0r0/apkukU7JjjfR0mY8GEimBq4OiPEm9eKSFOx
-"""
-
-args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 0 --srtp-secure 0"
-include = []
-exclude = ["a=crypto"]
-
-sendto_cfg = sip.SendtoCfg( "Callee has SRTP disabled but receive RTP/AVP with crypto, should accept without crypto",
- pjsua_args=args, sdp=sdp, resp_code=200,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/301_srtp0_recv_savp.py b/pjsip-apps/src/test-pjsua/scripts-sendto/301_srtp0_recv_savp.py
deleted file mode 100644
index d8a1ade9..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/301_srtp0_recv_savp.py
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=tester
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/SAVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ
-a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:t0r0/apkukU7JjjfR0mY8GEimBq4OiPEm9eKSFOx
-"""
-
-args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 0 --srtp-secure 0"
-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,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/310_srtp1_no_crypto.py b/pjsip-apps/src/test-pjsua/scripts-sendto/310_srtp1_no_crypto.py
deleted file mode 100644
index 5bfb92e5..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/310_srtp1_no_crypto.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=tester
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-"""
-
-args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 1 --srtp-secure 0"
-include = ["m=audio \d+ RTP/AVP"]
-exclude = ["a=crypto"]
-
-sendto_cfg = sip.SendtoCfg( "caller has no crypto attr, answer must accept without crypto attr",
- pjsua_args=args, sdp=sdp, resp_code=200,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/311_srtp1_recv_avp.py b/pjsip-apps/src/test-pjsua/scripts-sendto/311_srtp1_recv_avp.py
deleted file mode 100644
index 8b173f26..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/311_srtp1_recv_avp.py
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=tester
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ
-a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:t0r0/apkukU7JjjfR0mY8GEimBq4OiPEm9eKSFOx
-"""
-
-args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 1 --srtp-secure 0"
-include = ["m=audio \d+ RTP/AVP", "a=crypto"]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg( "Callee has SRTP optional and receive RTP/AVP with crypto, should accept with RTP/AVP & crypto",
- pjsua_args=args, sdp=sdp, resp_code=200,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/312_srtp1_recv_savp.py b/pjsip-apps/src/test-pjsua/scripts-sendto/312_srtp1_recv_savp.py
deleted file mode 100644
index a3b30218..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/312_srtp1_recv_savp.py
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=tester
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/SAVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ
-a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:t0r0/apkukU7JjjfR0mY8GEimBq4OiPEm9eKSFOx
-"""
-
-args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 1 --srtp-secure 0"
-include = ["m=audio \d+ RTP/SAVP", "a=crypto"]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg( "Callee has SRTP optional receive RTP/SAVP, should answer RTP/SAVP too",
- pjsua_args=args, sdp=sdp, resp_code=200,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/313_srtp1_unsupported_crypto.py b/pjsip-apps/src/test-pjsua/scripts-sendto/313_srtp1_unsupported_crypto.py
deleted file mode 100644
index 7b457555..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/313_srtp1_unsupported_crypto.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=tester
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-a=crypto:1 CRYPTO_X inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ
-"""
-
-args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 1 --srtp-secure 0"
-include = []
-exclude = ["a=crypto"]
-
-sendto_cfg = sip.SendtoCfg( "caller has used unsupported crypto, callee (SRTP optional) accept the call without crypto",
- pjsua_args=args, sdp=sdp, resp_code=200,
- resp_inc=include, resp_exc=exclude)
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/320_srtp2_no_crypto.py b/pjsip-apps/src/test-pjsua/scripts-sendto/320_srtp2_no_crypto.py
deleted file mode 100644
index 6613b741..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/320_srtp2_no_crypto.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=tester
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/SAVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-"""
-
-args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 2 --srtp-secure 0"
-include = []
-exclude = []
-
-sendto_cfg = sip.SendtoCfg( "caller has no crypto attr on RTP/SAVP, callee must not accept the call",
- pjsua_args=args, sdp=sdp, resp_code=406,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/320_srtp_with_unknown_media_1.py b/pjsip-apps/src/test-pjsua/scripts-sendto/320_srtp_with_unknown_media_1.py
deleted file mode 100644
index 4ee7bfea..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/320_srtp_with_unknown_media_1.py
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=-
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 5000 RTP/AVP 0
-a=crypto:1 aes_cm_128_hmac_sha1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ
-m=xapplicationx 4000 RTP/AVP 100
-a=rtpmap:100 myapp/80000
-"""
-
-pjsua_args = "--null-audio --auto-answer 200 --use-srtp 1 --srtp-secure 0"
-extra_headers = ""
-include = ["Content-Type: application/sdp", # response must include SDP
- "m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+a=crypto[\\s\\S]+m=xapplicationx 0 RTP/AVP"
- ]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("SRTP audio and unknown media", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/320_srtp_with_unknown_media_2.py b/pjsip-apps/src/test-pjsua/scripts-sendto/320_srtp_with_unknown_media_2.py
deleted file mode 100644
index 8536f1a2..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/320_srtp_with_unknown_media_2.py
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=-
-c=IN IP4 127.0.0.1
-t=0 0
-m=xapplicationx 4000 RTP/AVP 100
-a=rtpmap:100 myapp/80000
-m=audio 5000 RTP/AVP 0
-a=crypto:1 aes_cm_128_hmac_sha1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ
-"""
-
-pjsua_args = "--null-audio --auto-answer 200 --use-srtp 1 --srtp-secure 0"
-extra_headers = ""
-include = ["Content-Type: application/sdp", # response must include SDP
- "m=xapplicationx 0 RTP/AVP[\\s\\S]+m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+a=crypto"
- ]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Unknown media and SRTP audio", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/320_srtp_with_unknown_transport_1.py b/pjsip-apps/src/test-pjsua/scripts-sendto/320_srtp_with_unknown_transport_1.py
deleted file mode 100644
index 12aa61cb..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/320_srtp_with_unknown_transport_1.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=-
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 5000 RTP/AVP 0
-a=crypto:1 aes_cm_128_hmac_sha1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ
-m=audio 4000 UNKNOWN 0
-"""
-
-pjsua_args = "--null-audio --auto-answer 200 --use-srtp 1 --srtp-secure 0"
-extra_headers = ""
-include = ["Content-Type: application/sdp", # response must include SDP
- "m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+a=crypto[\\s\\S]+m=audio 0 UNKNOWN"
- ]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("SRTP audio and unknown media", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/320_srtp_with_unknown_transport_2.py b/pjsip-apps/src/test-pjsua/scripts-sendto/320_srtp_with_unknown_transport_2.py
deleted file mode 100644
index a1ac6ce0..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/320_srtp_with_unknown_transport_2.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=-
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 UNKNOWN 0
-m=audio 5000 RTP/AVP 0
-a=crypto:1 aes_cm_128_hmac_sha1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ
-"""
-
-pjsua_args = "--null-audio --auto-answer 200 --use-srtp 1 --srtp-secure 0"
-extra_headers = ""
-include = ["Content-Type: application/sdp", # response must include SDP
- "m=audio 0 UNKNOWN[\\s\\S]+m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+a=crypto"
- ]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("SRTP audio and unknown media", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/321_srtp2_recv_avp.py b/pjsip-apps/src/test-pjsua/scripts-sendto/321_srtp2_recv_avp.py
deleted file mode 100644
index 75c02453..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/321_srtp2_recv_avp.py
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=tester
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ
-a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:t0r0/apkukU7JjjfR0mY8GEimBq4OiPEm9eKSFOx
-"""
-
-args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 2 --srtp-secure 0"
-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,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/322_srtp2_recv_savp.py b/pjsip-apps/src/test-pjsua/scripts-sendto/322_srtp2_recv_savp.py
deleted file mode 100644
index 5d5d53de..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/322_srtp2_recv_savp.py
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=tester
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/SAVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ
-a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:t0r0/apkukU7JjjfR0mY8GEimBq4OiPEm9eKSFOx
-"""
-
-args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 2 --srtp-secure 0"
-include = ["m=audio \d+ RTP/SAVP", "a=crypto"]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg( "Callee has SRTP mandatory receive RTP/SAVP, should answer RTP/SAVP too",
- pjsua_args=args, sdp=sdp, resp_code=200,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/323_srtp2_unsupported_crypto.py b/pjsip-apps/src/test-pjsua/scripts-sendto/323_srtp2_unsupported_crypto.py
deleted file mode 100644
index 782beba9..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/323_srtp2_unsupported_crypto.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=tester
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/SAVP 0 101
-a=rtpmap:0 PCMU/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-a=crypto:1 CRYPTO_X inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ
-"""
-
-args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 2 --srtp-secure 0"
-include = []
-exclude = []
-
-sendto_cfg = sip.SendtoCfg( "caller has used unsupported crypto, callee (SRTP mandatory) must reject the call",
- pjsua_args=args, sdp=sdp, resp_code=406,
- resp_inc=include, resp_exc=exclude)
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/330_srtp_prefer_rtp_savp.py b/pjsip-apps/src/test-pjsua/scripts-sendto/330_srtp_prefer_rtp_savp.py
deleted file mode 100644
index e8097367..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/330_srtp_prefer_rtp_savp.py
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-# When SRTP is enabled in pjsua, it should prefer to use
-# RTP/SAVP media line if there are multiple m=audio lines
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=-
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 4000 RTP/AVP 0
-a=rtpmap:0 pcmu/8000
-m=audio 5000 RTP/SAVP 0
-a=crypto:1 aes_cm_128_hmac_sha1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ
-"""
-
-pjsua_args = "--null-audio --auto-answer 200 --use-srtp 1 --srtp-secure 0"
-extra_headers = ""
-include = ["Content-Type: application/sdp", # response must include SDP
- "m=audio 0 RTP/AVP[\\s\\S]+a=rtpmap:0[\\s\\S]+m=audio [1-9]+[0-9]* RTP/SAVP[\\s\\S]+a=crypto"
- ]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Prefer RTP/SAVP", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/331_srtp_prefer_rtp_avp.py b/pjsip-apps/src/test-pjsua/scripts-sendto/331_srtp_prefer_rtp_avp.py
deleted file mode 100644
index e42d20bd..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/331_srtp_prefer_rtp_avp.py
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-# When SRTP is NOT enabled in pjsua, it should prefer to use
-# RTP/AVP media line if there are multiple m=audio lines
-sdp = \
-"""
-v=0
-o=- 0 0 IN IP4 127.0.0.1
-s=-
-c=IN IP4 127.0.0.1
-t=0 0
-m=audio 5000 RTP/SAVP 0
-a=crypto:1 aes_cm_128_hmac_sha1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ
-m=audio 4000 RTP/AVP 0
-"""
-
-pjsua_args = "--null-audio --auto-answer 200 --use-srtp 0"
-extra_headers = ""
-include = ["Content-Type: application/sdp", # response must include SDP
- "m=audio 0 RTP/SAVP[\\s\\S]+m=audio [1-9]+[0-9]* RTP/AVP"
- ]
-exclude = ["a=crypto"]
-
-sendto_cfg = sip.SendtoCfg("Prefer RTP/SAVP", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/360_non_sip_uri.py b/pjsip-apps/src/test-pjsua/scripts-sendto/360_non_sip_uri.py
deleted file mode 100644
index ad827cc7..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/360_non_sip_uri.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id:$
-import inc_sip as sip
-import inc_sdp as sdp
-
-# Some non-SIP URI's in Contact header
-#
-complete_msg = \
-"""INVITE sip:localhost SIP/2.0
-Via: SIP/2.0/UDP 192.168.0.14:5060;rport;branch=z9hG4bKPj9db9
-Max-Forwards: 70
-From: <sip:192.168.0.14>;tag=08cd5bfc2d8a4fddb1f5e59c6961d298
-To: <sip:localhost>
-Call-ID: 3373d9eb32aa458db7e69c7ea51e0bd7
-CSeq: 0 INVITE
-Contact: mailto:dontspam@pjsip.org
-Contact: <mailto:dontspam@pjsip.org>
-Contact: http://www.pjsip.org/the%20path.cgi?pname=pvalue
-Contact: <sip:localhost>
-User-Agent: PJSUA v0.9.0-trunk/win32
-Content-Length: 0
-"""
-
-
-sendto_cfg = sip.SendtoCfg( "Non SIP URI in Contact",
- "--null-audio --auto-answer 200",
- "", 200, complete_msg=complete_msg)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/361_non_sip_uri.py b/pjsip-apps/src/test-pjsua/scripts-sendto/361_non_sip_uri.py
deleted file mode 100644
index b21f6eb1..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/361_non_sip_uri.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id:$
-import inc_sip as sip
-import inc_sdp as sdp
-
-# No SIP URI in Contact header
-#
-complete_msg = \
-"""INVITE sip:localhost SIP/2.0
-Via: SIP/2.0/UDP 192.168.0.14:5060;rport;branch=z9hG4bKPj9db9
-Max-Forwards: 70
-From: <sip:192.168.0.14>;tag=08cd5bfc2d8a4fddb1f5e59c6961d298
-To: <sip:localhost>
-Call-ID: 3373d9eb32aa458db7e69c7ea51e0bd7
-CSeq: 0 INVITE
-Contact: mailto:dontspam@pjsip.org
-Contact: <mailto:dontspam@pjsip.org>
-Contact: http://www.pjsip.org/the%20path.cgi?pname=pvalue
-User-Agent: PJSUA v0.9.0-trunk/win32
-Content-Length: 0
-"""
-
-
-sendto_cfg = sip.SendtoCfg( "No SIP URI in Contact",
- "--null-audio --auto-answer 200",
- "", 500, complete_msg=complete_msg)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/362_non_sip_uri.py b/pjsip-apps/src/test-pjsua/scripts-sendto/362_non_sip_uri.py
deleted file mode 100644
index 25e30e08..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/362_non_sip_uri.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id:$
-import inc_sip as sip
-import inc_sdp as sdp
-
-# Some non-SIP URI's in Contact header
-#
-complete_msg = \
-"""INVITE sip:localhost SIP/2.0
-Via: SIP/2.0/UDP 192.168.0.14:5060;rport;branch=z9hG4bKPj9db9
-Max-Forwards: 70
-From: <sip:192.168.0.14>;tag=08cd5bfc2d8a4fddb1f5e59c6961d298
-To: <sip:localhost>
-Call-ID: 3373d9eb32aa458db7e69c7ea51e0bd7
-CSeq: 0 INVITE
-Contact: <sip:localhost>
-Contact: mailto:dontspam@pjsip.org
-Contact: <mailto:dontspam@pjsip.org>
-Contact: http://www.pjsip.org/the%20path.cgi?pname=pvalue
-User-Agent: PJSUA v0.9.0-trunk/win32
-Content-Length: 0
-"""
-
-
-sendto_cfg = sip.SendtoCfg( "Non SIP URI in Contact",
- "--null-audio --auto-answer 200",
- "", 200, complete_msg=complete_msg)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/363_non_sip_uri_subscribe.py b/pjsip-apps/src/test-pjsua/scripts-sendto/363_non_sip_uri_subscribe.py
deleted file mode 100644
index a191fee0..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/363_non_sip_uri_subscribe.py
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id:$
-import inc_sip as sip
-import inc_sdp as sdp
-
-# Some non-SIP URI's in Contact header
-#
-complete_msg = \
-"""SUBSCRIBE sip:localhost SIP/2.0
-Via: SIP/2.0/UDP 192.168.0.14:5060;rport;branch=z9hG4bKPj9db9
-Max-Forwards: 70
-From: <sip:192.168.0.14>;tag=08cd5bfc2d8a4fddb1f5e59c6961d298
-To: <sip:localhost>
-Call-ID: 3373d9eb32aa458db7e69c7ea51e0bd7
-CSeq: 0 SUBSCRIBE
-Contact: mailto:dontspam@pjsip.org
-Contact: <mailto:dontspam@pjsip.org>
-Contact: http://www.pjsip.org/the%20path.cgi?pname=pvalue
-Contact: <sip:localhost>
-Event: presence
-Expires: 600
-Accept: application/pidf+xml, application/xpidf+xml
-Allow-Events: presence, refer
-User-Agent: PJSUA v0.9.0-trunk/win32
-Content-Length: 0
-"""
-
-
-sendto_cfg = sip.SendtoCfg( "Non SIP URI in Contact",
- "--null-audio --auto-answer 200",
- "", 200, complete_msg=complete_msg)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/364_non_sip_uri_subscribe.py b/pjsip-apps/src/test-pjsua/scripts-sendto/364_non_sip_uri_subscribe.py
deleted file mode 100644
index 88741bca..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/364_non_sip_uri_subscribe.py
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id:$
-import inc_sip as sip
-import inc_sdp as sdp
-
-# Some non-SIP URI's in Contact header
-#
-complete_msg = \
-"""SUBSCRIBE sip:localhost SIP/2.0
-Via: SIP/2.0/UDP 192.168.0.14:5060;rport;branch=z9hG4bKPj9db9
-Max-Forwards: 70
-From: <sip:192.168.0.14>;tag=08cd5bfc2d8a4fddb1f5e59c6961d298
-To: <sip:localhost>
-Call-ID: 3373d9eb32aa458db7e69c7ea51e0bd7
-CSeq: 0 SUBSCRIBE
-Contact: mailto:dontspam@pjsip.org
-Contact: <mailto:dontspam@pjsip.org>
-Contact: http://www.pjsip.org/the%20path.cgi?pname=pvalue
-Event: presence
-Expires: 600
-Accept: application/pidf+xml, application/xpidf+xml
-Allow-Events: presence, refer
-User-Agent: PJSUA v0.9.0-trunk/win32
-Content-Length: 0
-"""
-
-
-sendto_cfg = sip.SendtoCfg( "Non SIP URI in Contact",
- "--null-audio --auto-answer 200",
- "", 400, complete_msg=complete_msg)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/400_fmtp_g7221_with_bitrate.py b/pjsip-apps/src/test-pjsua/scripts-sendto/400_fmtp_g7221_with_bitrate.py
deleted file mode 100644
index f21b4e7c..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/400_fmtp_g7221_with_bitrate.py
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id $
-import inc_sip as sip
-import inc_sdp as sdp
-
-# Answer for codec G722.1 should contain fmtp bitrate
-
-sdp = \
-"""
-v=0
-o=- 3428650655 3428650655 IN IP4 192.168.1.9
-s=pjmedia
-c=IN IP4 192.168.1.9
-t=0 0
-a=X-nat:0
-m=audio 4000 RTP/AVP 99 100 101
-a=rtcp:4001 IN IP4 192.168.1.9
-a=rtpmap:99 G7221/16000
-a=fmtp:99 bitrate=24000
-a=rtpmap:100 G7221/16000
-a=fmtp:100 bitrate=32000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-"""
-
-pjsua_args = "--null-audio --auto-answer 200 --add-codec G7221"
-extra_headers = ""
-include = ["fmtp:[\d]+ bitrate="] # response must include fmtp bitrate
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Answer should contain fmtp bitrate for codec G722.1", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/401_fmtp_g7221_with_bitrate_24000.py b/pjsip-apps/src/test-pjsua/scripts-sendto/401_fmtp_g7221_with_bitrate_24000.py
deleted file mode 100644
index 53064ff1..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/401_fmtp_g7221_with_bitrate_24000.py
+++ /dev/null
@@ -1,35 +0,0 @@
-# $Id $
-import inc_sip as sip
-import inc_sdp as sdp
-
-# Answer with codec G722.1 should choose the same bitrate
-# which in this test is 24000
-
-sdp = \
-"""
-v=0
-o=- 3428650655 3428650655 IN IP4 192.168.1.9
-s=pjmedia
-c=IN IP4 192.168.1.9
-t=0 0
-a=X-nat:0
-m=audio 4000 RTP/AVP 100 101
-a=rtcp:4001 IN IP4 192.168.1.9
-a=rtpmap:100 G7221/16000
-a=fmtp:100 bitrate=24000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-"""
-
-pjsua_args = "--null-audio --auto-answer 200 --add-codec G7221"
-extra_headers = ""
-include = ["a=rtpmap:[\d]+ G7221/16000", # response must choose G722.1
- "fmtp:[\d]+ bitrate=24000" # response must choose the same bitrate
- ]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Answer with G722.1 should choose bitrate 24000", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/401_fmtp_g7221_with_bitrate_32000.py b/pjsip-apps/src/test-pjsua/scripts-sendto/401_fmtp_g7221_with_bitrate_32000.py
deleted file mode 100644
index d60a4a44..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/401_fmtp_g7221_with_bitrate_32000.py
+++ /dev/null
@@ -1,35 +0,0 @@
-# $Id $
-import inc_sip as sip
-import inc_sdp as sdp
-
-# Answer with codec G722.1 should choose the same bitrate
-# which in this test is 32000
-
-sdp = \
-"""
-v=0
-o=- 3428650655 3428650655 IN IP4 192.168.1.9
-s=pjmedia
-c=IN IP4 192.168.1.9
-t=0 0
-a=X-nat:0
-m=audio 4000 RTP/AVP 100 101
-a=rtcp:4001 IN IP4 192.168.1.9
-a=rtpmap:100 G7221/16000
-a=fmtp:100 bitrate=32000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-"""
-
-pjsua_args = "--null-audio --auto-answer 200 --add-codec G7221"
-extra_headers = ""
-include = ["a=rtpmap:[\d]+ G7221/16000", # response must choose G722.1
- "fmtp:[\d]+ bitrate=32000" # response must choose the same bitrate
- ]
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("Answer with G722.1 should choose bitrate 32000", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/410_fmtp_amrnb_offer_octet_align.py b/pjsip-apps/src/test-pjsua/scripts-sendto/410_fmtp_amrnb_offer_octet_align.py
deleted file mode 100644
index 87a2dfaf..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/410_fmtp_amrnb_offer_octet_align.py
+++ /dev/null
@@ -1,32 +0,0 @@
-# $Id $
-import inc_sip as sip
-import inc_sdp as sdp
-
-# Answer for codec AMR should contain fmtp octet-align=1
-
-sdp = \
-"""
-v=0
-o=- 3428650655 3428650655 IN IP4 192.168.1.9
-s=pjmedia
-c=IN IP4 192.168.1.9
-t=0 0
-a=X-nat:0
-m=audio 4000 RTP/AVP 99 101
-a=rtcp:4001 IN IP4 192.168.1.9
-a=rtpmap:99 AMR/8000
-a=fmtp:99 octet-align=1
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-"""
-
-pjsua_args = "--null-audio --auto-answer 200 --add-codec AMR"
-extra_headers = ""
-include = ["octet-align=1"] # response must include 'octet-align=1'
-exclude = []
-
-sendto_cfg = sip.SendtoCfg("AMR negotiation should response with fmtp 'octet-align=1'", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/411_fmtp_amrnb_offer_band_eff.py b/pjsip-apps/src/test-pjsua/scripts-sendto/411_fmtp_amrnb_offer_band_eff.py
deleted file mode 100644
index 44a2c306..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/411_fmtp_amrnb_offer_band_eff.py
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id $
-import inc_sip as sip
-import inc_sdp as sdp
-
-# Answer for codec AMR should not contain fmtp octet-align=1
-
-sdp = \
-"""
-v=0
-o=- 3428650655 3428650655 IN IP4 192.168.1.9
-s=pjmedia
-c=IN IP4 192.168.1.9
-t=0 0
-a=X-nat:0
-m=audio 4000 RTP/AVP 99 101
-a=rtcp:4001 IN IP4 192.168.1.9
-a=rtpmap:99 AMR/8000
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-"""
-
-pjsua_args = "--null-audio --auto-answer 200 --add-codec AMR"
-extra_headers = ""
-include = [""]
-exclude = ["octet-align=1"] # response must not include fmtp 'octet-align=1'
-
-sendto_cfg = sip.SendtoCfg("AMR negotiation should not contain 'octet-align=1'", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/412_fmtp_amrnb_offer_band_eff2.py b/pjsip-apps/src/test-pjsua/scripts-sendto/412_fmtp_amrnb_offer_band_eff2.py
deleted file mode 100644
index e69102c1..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/412_fmtp_amrnb_offer_band_eff2.py
+++ /dev/null
@@ -1,32 +0,0 @@
-# $Id $
-import inc_sip as sip
-import inc_sdp as sdp
-
-# Answer for codec AMR should not contain fmtp octet-align=1
-
-sdp = \
-"""
-v=0
-o=- 3428650655 3428650655 IN IP4 192.168.1.9
-s=pjmedia
-c=IN IP4 192.168.1.9
-t=0 0
-a=X-nat:0
-m=audio 4000 RTP/AVP 99 101
-a=rtcp:4001 IN IP4 192.168.1.9
-a=rtpmap:99 AMR/8000
-a=fmtp:99 octet-align=0
-a=sendrecv
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-15
-"""
-
-pjsua_args = "--null-audio --auto-answer 200 --add-codec AMR"
-extra_headers = ""
-include = [""]
-exclude = ["octet-align=1"] # response must not include fmtp 'octet-align=1'
-
-sendto_cfg = sip.SendtoCfg("AMR negotiation should not contain 'octet-align=1'", pjsua_args, sdp, 200,
- extra_headers=extra_headers,
- resp_inc=include, resp_exc=exclude)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/500_pres_subscribe_with_bad_event.py b/pjsip-apps/src/test-pjsua/scripts-sendto/500_pres_subscribe_with_bad_event.py
deleted file mode 100644
index 70f5ab94..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/500_pres_subscribe_with_bad_event.py
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-# Ticket http://trac.pjsip.org/repos/ticket/623, based on
-# http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2008-September/004709.html:
-#
-# Assertion when receiving SUBSCRIBE with non-presence Event.
-complete_msg = \
-"""SUBSCRIBE sip:localhost;transport=UDP SIP/2.0
-Call-ID: f20e8783e764cae325dba17be4b8fe19@10.0.2.15
-CSeq: 1 SUBSCRIBE
-From: <sip:localhost>;tag=1710895
-To: <sip:localhost>
-Via: SIP/2.0/UDP localhost;rport;branch=z9hG4bKd88a.18c427d2.0
-Max-Forwards: 69
-Event: message-summary
-Contact: <sip:localhost>
-Allow: NOTIFY, SUBSCRIBE
-Content-Length: 0
-
-"""
-
-
-sendto_cfg = sip.SendtoCfg( "Incoming SUBSCRIBE with non presence",
- "--null-audio",
- "", 489, complete_msg=complete_msg)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/999_asterisk_err.py b/pjsip-apps/src/test-pjsua/scripts-sendto/999_asterisk_err.py
deleted file mode 100644
index 580b46de..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/999_asterisk_err.py
+++ /dev/null
@@ -1,45 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-# http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2008-June/003426.html:
-#
-# Report in pjsip mailing list on 27/6/2008 that this message will
-# cause pjsip to respond with 500 and then second request will cause
-# segfault.
-complete_msg = \
-"""INVITE sip:5001@192.168.1.200:5060;transport=UDP SIP/2.0
-Via: SIP/2.0/UDP 192.168.1.11:5060;branch=z9hG4bK74a60ee5;rport
-From: \"A user\" <sip:66660000@192.168.1.11>;tag=as2858a32c
-To: <sip:5001@192.168.1.200:5060;transport=UDP>
-Contact: <sip:66660000@192.168.1.11>
-Call-ID: 0bc7612c665e875a4a46411442b930a6@192.168.1.11
-CSeq: 102 INVITE
-User-Agent: Asterisk PBX
-Max-Forwards: 70
-Date: Fri, 27 Jun 2008 08:46:47 GMT
-Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
-Supported: replaces
-Content-Type: application/sdp
-Content-Length: 285
-
-v=0
-o=root 4236 4236 IN IP4 192.168.1.11
-s=session
-c=IN IP4 192.168.1.11
-t=0 0
-m=audio 14390 RTP/AVP 0 3 8 101
-a=rtpmap:0 PCMU/8000
-a=rtpmap:3 GSM/8000
-a=rtpmap:8 PCMA/8000
-a=rtpmap:101 telephone-event/8000
-a=fmtp:101 0-16
-a=silenceSupp:off - - - -
-a=ptime:20
-a=sendrecv
-"""
-
-
-sendto_cfg = sip.SendtoCfg( "Asterisk 500", "--null-audio --auto-answer 200",
- "", 200, complete_msg=complete_msg)
-
diff --git a/pjsip-apps/src/test-pjsua/scripts-sendto/999_message_no_body.py b/pjsip-apps/src/test-pjsua/scripts-sendto/999_message_no_body.py
deleted file mode 100644
index 2e369edb..00000000
--- a/pjsip-apps/src/test-pjsua/scripts-sendto/999_message_no_body.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# $Id$
-import inc_sip as sip
-import inc_sdp as sdp
-
-# There's some report that incoming MESSAGE without body will crash pjsua
-#
-complete_msg = \
-"""MESSAGE sip:localhost SIP/2.0
-Via: SIP/2.0/UDP 192.168.0.14:5060;rport;branch=z9hG4bKPj9db9
-Max-Forwards: 70
-From: <sip:192.168.0.14>;tag=08cd5bfc2d8a4fddb1f5e59c6961d298
-To: <sip:localhost>
-Call-ID: 3373d9eb32aa458db7e69c7ea51e0bd7
-CSeq: 23809 MESSAGE
-Contact: <sip:192.168.0.14:5060>
-User-Agent: PJSUA v0.8.0-trunk/win32
-Content-Type: text/plain
-Content-Length: 50
-"""
-
-
-sendto_cfg = sip.SendtoCfg( "empty MESSAGE", "--null-audio --auto-answer 200",
- "", 488, complete_msg=complete_msg)
-