* #27232: jni: added pjproject checkout as regular git content

We will remove it once the next release of pjsip (with Android support)
comes out and is merged into SFLphone.
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/100_defaults.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/100_defaults.py
new file mode 100644
index 0000000..51737ba
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/100_defaults.py
@@ -0,0 +1,19 @@
+# $Id: 100_defaults.py 3286 2010-08-18 14:30:15Z bennylp $
+#
+from inc_cfg import *
+
+ADD_PARAM = ""
+
+if (HAS_SND_DEV == 0):
+	ADD_PARAM += "--null-audio"
+
+# Call with default pjsua settings
+test_param = TestParam(
+		"PESQ defaults pjsua settings",
+		[
+			InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --play-file wavs/input.16.wav --no-vad"),
+			InstanceParam("UA2", "--null-audio --max-calls=1 --rec-file  wavs/tmp.16.wav --clock-rate 16000 --auto-answer 200")
+		]
+		)
+
+pesq_threshold = 3.8
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/101_defaults.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/101_defaults.py
new file mode 100644
index 0000000..97e208d
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/101_defaults.py
@@ -0,0 +1,18 @@
+# $Id: 101_defaults.py 2063 2008-06-26 18:52:16Z nanang $
+#
+from inc_cfg import *
+
+# Call with default pjsua settings
+test_param = TestParam(
+		"PESQ defaults pjsua settings (RX side uses snd dev)",
+		[
+			InstanceParam("UA1", "--max-calls=1 --play-file wavs/input.16.wav --null-audio"),
+			InstanceParam("UA2", "--max-calls=1 --rec-file  wavs/tmp.16.wav --clock-rate 16000 --auto-answer 200")
+		]
+		)
+
+
+if (HAS_SND_DEV == 0):
+	test_param.skip = True
+
+pesq_threshold = None
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_g711a.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_g711a.py
new file mode 100644
index 0000000..7b73e37
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_g711a.py
@@ -0,0 +1,19 @@
+# $Id: 200_codec_g711a.py 2063 2008-06-26 18:52:16Z nanang $
+#
+from inc_cfg import *
+
+ADD_PARAM = ""
+
+if (HAS_SND_DEV == 0):
+	ADD_PARAM += "--null-audio"
+
+# Call with PCMA codec
+test_param = TestParam(
+		"PESQ codec PCMA",
+		[
+			InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec pcma --clock-rate 8000 --play-file wavs/input.8.wav"),
+			InstanceParam("UA2", "--null-audio --max-calls=1 --add-codec pcma --clock-rate 8000 --rec-file  wavs/tmp.8.wav --auto-answer 200")
+		]
+		)
+
+pesq_threshold = 3.5
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_g711u.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_g711u.py
new file mode 100644
index 0000000..acb0147
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_g711u.py
@@ -0,0 +1,19 @@
+# $Id: 200_codec_g711u.py 2063 2008-06-26 18:52:16Z nanang $
+#
+from inc_cfg import *
+
+ADD_PARAM = ""
+
+if (HAS_SND_DEV == 0):
+	ADD_PARAM += "--null-audio"
+
+# Call with PCMU codec
+test_param = TestParam(
+		"PESQ codec PCMU",
+		[
+			InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec pcmu --clock-rate 8000 --play-file wavs/input.8.wav"),
+			InstanceParam("UA2", "--null-audio --max-calls=1 --add-codec pcmu --clock-rate 8000 --rec-file  wavs/tmp.8.wav --auto-answer 200")
+		]
+		)
+
+pesq_threshold = 3.5
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_g722.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_g722.py
new file mode 100644
index 0000000..30b14b2
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_g722.py
@@ -0,0 +1,19 @@
+# $Id: 200_codec_g722.py 2063 2008-06-26 18:52:16Z nanang $
+#
+from inc_cfg import *
+
+ADD_PARAM = ""
+
+if (HAS_SND_DEV == 0):
+	ADD_PARAM += "--null-audio"
+
+# Call with G722 codec
+test_param = TestParam(
+		"PESQ codec G722",
+		[
+			InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec g722 --clock-rate 16000 --play-file wavs/input.16.wav"),
+			InstanceParam("UA2", "--null-audio --max-calls=1 --add-codec g722 --clock-rate 16000 --rec-file  wavs/tmp.16.wav --auto-answer 200")
+		]
+		)
+
+pesq_threshold = 3.7
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_gsm.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_gsm.py
new file mode 100644
index 0000000..2be167a
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_gsm.py
@@ -0,0 +1,19 @@
+# $Id: 200_codec_gsm.py 2063 2008-06-26 18:52:16Z nanang $
+#
+from inc_cfg import *
+
+ADD_PARAM = ""
+
+if (HAS_SND_DEV == 0):
+	ADD_PARAM += "--null-audio"
+
+# Call with GSM codec
+test_param = TestParam(
+		"PESQ codec GSM",
+		[
+			InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec gsm --clock-rate 8000 --play-file wavs/input.8.wav"),
+			InstanceParam("UA2", "--null-audio --max-calls=1 --add-codec gsm --clock-rate 8000 --rec-file  wavs/tmp.8.wav   --auto-answer 200")
+		]
+		)
+
+pesq_threshold = 3.0
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_ilbc.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_ilbc.py
new file mode 100644
index 0000000..aff193c
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_ilbc.py
@@ -0,0 +1,19 @@
+# $Id: 200_codec_ilbc.py 2063 2008-06-26 18:52:16Z nanang $
+#
+from inc_cfg import *
+
+ADD_PARAM = ""
+
+if (HAS_SND_DEV == 0):
+	ADD_PARAM += "--null-audio"
+
+# Call with iLBC codec
+test_param = TestParam(
+		"PESQ codec iLBC",
+		[
+			InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec ilbc --clock-rate 8000 --play-file wavs/input.8.wav"),
+			InstanceParam("UA2", "--null-audio --max-calls=1 --add-codec ilbc --clock-rate 8000 --rec-file  wavs/tmp.8.wav   --auto-answer 200")
+		]
+		)
+
+pesq_threshold = 3.0
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_l16_16000.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_l16_16000.py
new file mode 100644
index 0000000..dc202fa
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_l16_16000.py
@@ -0,0 +1,19 @@
+# $Id: 200_codec_l16_16000.py 2075 2008-06-27 16:18:13Z nanang $
+#
+from inc_cfg import *
+
+ADD_PARAM = ""
+
+if (HAS_SND_DEV == 0):
+	ADD_PARAM += "--null-audio"
+
+# Call with L16/16000/1 codec
+test_param = TestParam(
+		"PESQ codec L16/16000/1",
+		[
+			InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec L16/16000/1 --clock-rate 16000 --play-file wavs/input.16.wav"),
+			InstanceParam("UA2", "--null-audio --max-calls=1 --add-codec L16/16000/1 --clock-rate 16000 --rec-file  wavs/tmp.16.wav --auto-answer 200")
+		]
+		)
+
+pesq_threshold = 3.5
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_l16_16000_stereo.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_l16_16000_stereo.py
new file mode 100644
index 0000000..4dbc132
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_l16_16000_stereo.py
@@ -0,0 +1,19 @@
+# $Id: 200_codec_l16_16000_stereo.py 2075 2008-06-27 16:18:13Z nanang $
+#
+from inc_cfg import *
+
+ADD_PARAM = ""
+
+if (HAS_SND_DEV == 0):
+	ADD_PARAM += "--null-audio"
+
+# Call with L16/16000/2 codec
+test_param = TestParam(
+		"PESQ defaults pjsua settings",
+		[
+			InstanceParam("UA1", ADD_PARAM + " --stereo --max-calls=1 --clock-rate 16000 --add-codec L16/16000/2 --play-file wavs/input.2.16.wav"),
+			InstanceParam("UA2", "--null-audio --stereo --max-calls=1 --clock-rate 16000 --add-codec L16/16000/2 --rec-file  wavs/tmp.2.16.wav   --auto-answer 200")
+		]
+		)
+
+pesq_threshold = None
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_l16_8000.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_l16_8000.py
new file mode 100644
index 0000000..34a9bb2
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_l16_8000.py
@@ -0,0 +1,19 @@
+# $Id: 200_codec_l16_8000.py 2075 2008-06-27 16:18:13Z nanang $
+#
+from inc_cfg import *
+
+ADD_PARAM = ""
+
+if (HAS_SND_DEV == 0):
+	ADD_PARAM += "--null-audio"
+
+# Call with L16/8000/1 codec
+test_param = TestParam(
+		"PESQ codec L16/8000/1",
+		[
+			InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec L16/8000/1 --clock-rate 8000 --play-file wavs/input.8.wav"),
+			InstanceParam("UA2", "--null-audio --max-calls=1 --add-codec L16/8000/1 --clock-rate 8000 --rec-file  wavs/tmp.8.wav --auto-answer 200")
+		]
+		)
+
+pesq_threshold = 3.5
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_l16_8000_stereo.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_l16_8000_stereo.py
new file mode 100644
index 0000000..755050e
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_l16_8000_stereo.py
@@ -0,0 +1,19 @@
+# $Id: 200_codec_l16_8000_stereo.py 2075 2008-06-27 16:18:13Z nanang $
+#
+from inc_cfg import *
+
+ADD_PARAM = ""
+
+if (HAS_SND_DEV == 0):
+	ADD_PARAM += "--null-audio"
+
+# Call with L16/8000/2 codec
+test_param = TestParam(
+		"PESQ defaults pjsua settings",
+		[
+			InstanceParam("UA1", ADD_PARAM + " --stereo --max-calls=1 --clock-rate 8000 --add-codec L16/8000/2 --play-file wavs/input.2.8.wav"),
+			InstanceParam("UA2", "--null-audio --stereo --max-calls=1 --clock-rate 8000 --add-codec L16/8000/2 --rec-file  wavs/tmp.2.8.wav   --auto-answer 200")
+		]
+		)
+
+pesq_threshold = None
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_speex_16000.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_speex_16000.py
new file mode 100644
index 0000000..bdacba9
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_speex_16000.py
@@ -0,0 +1,19 @@
+# $Id: 200_codec_speex_16000.py 3286 2010-08-18 14:30:15Z bennylp $
+#
+from inc_cfg import *
+
+ADD_PARAM = ""
+
+if (HAS_SND_DEV == 0):
+	ADD_PARAM += "--null-audio"
+
+# Call with Speex/16000 codec
+test_param = TestParam(
+		"PESQ codec Speex WB",
+		[
+			InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --clock-rate 16000 --add-codec speex/16000 --play-file wavs/input.16.wav --no-vad"),
+			InstanceParam("UA2", "--null-audio --max-calls=1 --clock-rate 16000 --add-codec speex/16000 --rec-file  wavs/tmp.16.wav --auto-answer 200")
+		]
+		)
+
+pesq_threshold = 3.8
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_speex_8000.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_speex_8000.py
new file mode 100644
index 0000000..9c7c7df
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/200_codec_speex_8000.py
@@ -0,0 +1,19 @@
+# $Id: 200_codec_speex_8000.py 3286 2010-08-18 14:30:15Z bennylp $
+#
+from inc_cfg import *
+
+ADD_PARAM = ""
+
+if (HAS_SND_DEV == 0):
+	ADD_PARAM += "--null-audio"
+
+# Call with Speex/8000 codec
+test_param = TestParam(
+		"PESQ codec Speex NB",
+		[
+			InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec speex/8000 --clock-rate 8000 --play-file wavs/input.8.wav --no-vad"),
+			InstanceParam("UA2", "--null-audio --max-calls=1 --add-codec speex/8000 --clock-rate 8000 --rec-file  wavs/tmp.8.wav --auto-answer 200")
+		]
+		)
+
+pesq_threshold = 3.65
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_g711a.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_g711a.py
new file mode 100644
index 0000000..7e7e744
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_g711a.py
@@ -0,0 +1,17 @@
+# $Id: 201_codec_g711a.py 2063 2008-06-26 18:52:16Z nanang $
+#
+from inc_cfg import *
+
+# Call with PCMA codec
+test_param = TestParam(
+		"PESQ codec PCMA (RX side uses snd dev)",
+		[
+			InstanceParam("UA1", "--max-calls=1 --add-codec pcma --clock-rate 8000 --play-file wavs/input.8.wav --null-audio"),
+			InstanceParam("UA2", "--max-calls=1 --add-codec pcma --clock-rate 8000 --rec-file  wavs/tmp.8.wav   --auto-answer 200")
+		]
+		)
+
+if (HAS_SND_DEV == 0):
+	test_param.skip = True
+
+pesq_threshold = 3.5
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_g711u.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_g711u.py
new file mode 100644
index 0000000..77f9e22
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_g711u.py
@@ -0,0 +1,17 @@
+# $Id: 201_codec_g711u.py 2063 2008-06-26 18:52:16Z nanang $
+#
+from inc_cfg import *
+
+# Call with PCMU codec
+test_param = TestParam(
+		"PESQ codec PCMU (RX side uses snd dev)",
+		[
+			InstanceParam("UA1", "--max-calls=1 --add-codec pcmu --clock-rate 8000 --play-file wavs/input.8.wav --null-audio"),
+			InstanceParam("UA2", "--max-calls=1 --add-codec pcmu --clock-rate 8000 --rec-file  wavs/tmp.8.wav   --auto-answer 200")
+		]
+		)
+
+if (HAS_SND_DEV == 0):
+	test_param.skip = True
+
+pesq_threshold = 3.5
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_g722.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_g722.py
new file mode 100644
index 0000000..ce959a0
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_g722.py
@@ -0,0 +1,17 @@
+# $Id: 201_codec_g722.py 2063 2008-06-26 18:52:16Z nanang $
+#
+from inc_cfg import *
+
+# Call with G722 codec
+test_param = TestParam(
+		"PESQ codec G722 (RX side uses snd dev)",
+		[
+			InstanceParam("UA1", "--max-calls=1 --add-codec g722 --clock-rate 16000 --play-file wavs/input.16.wav --null-audio"),
+			InstanceParam("UA2", "--max-calls=1 --add-codec g722 --clock-rate 16000 --rec-file  wavs/tmp.16.wav   --auto-answer 200")
+		]
+		)
+
+if (HAS_SND_DEV == 0):
+	test_param.skip = True
+
+pesq_threshold = 3.7
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_gsm.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_gsm.py
new file mode 100644
index 0000000..44443b0
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_gsm.py
@@ -0,0 +1,17 @@
+# $Id: 201_codec_gsm.py 2063 2008-06-26 18:52:16Z nanang $
+#
+from inc_cfg import *
+
+# Call with GSM codec
+test_param = TestParam(
+		"PESQ codec GSM (RX side uses snd dev)",
+		[
+			InstanceParam("UA1", "--max-calls=1 --add-codec gsm --clock-rate 8000 --play-file wavs/input.8.wav --null-audio"),
+			InstanceParam("UA2", "--max-calls=1 --add-codec gsm --clock-rate 8000 --rec-file  wavs/tmp.8.wav   --auto-answer 200")
+		]
+		)
+
+if (HAS_SND_DEV == 0):
+	test_param.skip = True
+
+pesq_threshold = 3.0
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_ilbc.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_ilbc.py
new file mode 100644
index 0000000..b04a8c2
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_ilbc.py
@@ -0,0 +1,17 @@
+# $Id: 201_codec_ilbc.py 2063 2008-06-26 18:52:16Z nanang $
+#
+from inc_cfg import *
+
+# Call with iLBC codec
+test_param = TestParam(
+		"PESQ codec iLBC (RX side uses snd dev)",
+		[
+			InstanceParam("UA1", "--max-calls=1 --add-codec ilbc --clock-rate 8000 --play-file wavs/input.8.wav --null-audio"),
+			InstanceParam("UA2", "--max-calls=1 --add-codec ilbc --clock-rate 8000 --rec-file  wavs/tmp.8.wav   --auto-answer 200")
+		]
+		)
+
+if (HAS_SND_DEV == 0):
+	test_param.skip = True
+
+pesq_threshold = 3.0
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_l16_16000.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_l16_16000.py
new file mode 100644
index 0000000..efd7744
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_l16_16000.py
@@ -0,0 +1,17 @@
+# $Id: 201_codec_l16_16000.py 2075 2008-06-27 16:18:13Z nanang $
+#
+from inc_cfg import *
+
+# Call with L16/16000/1 codec
+test_param = TestParam(
+		"PESQ codec L16/16000/1 (RX side uses snd dev)",
+		[
+			InstanceParam("UA1", "--max-calls=1 --add-codec L16/16000/1 --clock-rate 16000 --play-file wavs/input.16.wav --null-audio"),
+			InstanceParam("UA2", "--max-calls=1 --add-codec L16/16000/1 --clock-rate 16000 --rec-file  wavs/tmp.16.wav   --auto-answer 200")
+		]
+		)
+
+if (HAS_SND_DEV == 0):
+	test_param.skip = True
+
+pesq_threshold = 3.5
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_l16_16000_stereo.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_l16_16000_stereo.py
new file mode 100644
index 0000000..c312218
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_l16_16000_stereo.py
@@ -0,0 +1,17 @@
+# $Id: 201_codec_l16_16000_stereo.py 2075 2008-06-27 16:18:13Z nanang $
+#
+from inc_cfg import *
+
+# Call with L16/16000/2 codec
+test_param = TestParam(
+		"PESQ defaults pjsua settings",
+		[
+			InstanceParam("UA1", "--stereo --max-calls=1 --clock-rate 16000 --add-codec L16/16000/2 --play-file wavs/input.2.16.wav --null-audio"),
+			InstanceParam("UA2", "--stereo --max-calls=1 --clock-rate 16000 --add-codec L16/16000/2 --rec-file  wavs/tmp.2.16.wav   --auto-answer 200")
+		]
+		)
+
+if (HAS_SND_DEV == 0):
+	test_param.skip = True
+	
+pesq_threshold = None
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_l16_8000.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_l16_8000.py
new file mode 100644
index 0000000..90e2de9
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_l16_8000.py
@@ -0,0 +1,17 @@
+# $Id: 201_codec_l16_8000.py 2075 2008-06-27 16:18:13Z nanang $
+#
+from inc_cfg import *
+
+# Call with L16/8000/1 codec
+test_param = TestParam(
+		"PESQ codec L16/8000/1 (RX side uses snd dev)",
+		[
+			InstanceParam("UA1", "--max-calls=1 --add-codec L16/8000/1 --clock-rate 8000 --play-file wavs/input.8.wav --null-audio"),
+			InstanceParam("UA2", "--max-calls=1 --add-codec L16/8000/1 --clock-rate 8000 --rec-file  wavs/tmp.8.wav   --auto-answer 200")
+		]
+		)
+
+if (HAS_SND_DEV == 0):
+	test_param.skip = True
+
+pesq_threshold = 3.5
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_l16_8000_stereo.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_l16_8000_stereo.py
new file mode 100644
index 0000000..434a4ea
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_l16_8000_stereo.py
@@ -0,0 +1,17 @@
+# $Id: 201_codec_l16_8000_stereo.py 2075 2008-06-27 16:18:13Z nanang $
+#
+from inc_cfg import *
+
+# Call with L16/8000/2 codec
+test_param = TestParam(
+		"PESQ defaults pjsua settings",
+		[
+			InstanceParam("UA1", "--stereo --max-calls=1 --clock-rate 8000 --add-codec L16/8000/2 --play-file wavs/input.2.8.wav --null-audio"),
+			InstanceParam("UA2", "--stereo --max-calls=1 --clock-rate 8000 --add-codec L16/8000/2 --rec-file  wavs/tmp.2.8.wav   --auto-answer 200")
+		]
+		)
+
+if (HAS_SND_DEV == 0):
+	test_param.skip = True
+	
+pesq_threshold = None
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_speex_16000.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_speex_16000.py
new file mode 100644
index 0000000..92f3ccc
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_speex_16000.py
@@ -0,0 +1,17 @@
+# $Id: 201_codec_speex_16000.py 2063 2008-06-26 18:52:16Z nanang $
+#
+from inc_cfg import *
+
+# Call with Speex/16000 codec
+test_param = TestParam(
+		"PESQ codec Speex WB (RX side uses snd dev)",
+		[
+			InstanceParam("UA1", "--max-calls=1 --clock-rate 16000 --add-codec speex/16000 --play-file wavs/input.16.wav --null-audio"),
+			InstanceParam("UA2", "--max-calls=1 --clock-rate 16000 --add-codec speex/16000 --rec-file  wavs/tmp.16.wav   --auto-answer 200")
+		]
+		)
+
+if (HAS_SND_DEV == 0):
+	test_param.skip = True
+
+pesq_threshold = 3.7
diff --git a/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_speex_8000.py b/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_speex_8000.py
new file mode 100644
index 0000000..b48dcba
--- /dev/null
+++ b/jni/pjproject-android/tests/pjsua/scripts-pesq/201_codec_speex_8000.py
@@ -0,0 +1,17 @@
+# $Id: 201_codec_speex_8000.py 2063 2008-06-26 18:52:16Z nanang $
+#
+from inc_cfg import *
+
+# Call with Speex/8000 codec
+test_param = TestParam(
+		"PESQ codec Speex NB (RX side uses snd dev)",
+		[
+			InstanceParam("UA1", "--max-calls=1 --add-codec speex/8000 --clock-rate 8000 --play-file wavs/input.8.wav --null-audio"),
+			InstanceParam("UA2", "--max-calls=1 --add-codec speex/8000 --clock-rate 8000 --rec-file  wavs/tmp.8.wav   --auto-answer 200")
+		]
+		)
+
+if (HAS_SND_DEV == 0):
+	test_param.skip = True
+
+pesq_threshold = 3.0