Added PRACK tests and ICE with public proxy tests

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2059 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjsip-apps/src/test-pjsua/inc_cfg.py b/pjsip-apps/src/test-pjsua/inc_cfg.py
index 6f3219c..5b7514a 100644
--- a/pjsip-apps/src/test-pjsua/inc_cfg.py
+++ b/pjsip-apps/src/test-pjsua/inc_cfg.py
@@ -55,7 +55,7 @@
 		self.arg = arg + " --local-port=" + str(self.sip_port)
 		self.have_reg = have_reg
 		self.have_publish = have_publish
-		if not ("--publish" in self.arg):
+		if have_publish and have_reg and not ("--publish" in self.arg):
 			self.arg = self.arg + " --publish"
 		self.echo_enabled = echo_enabled
 		self.trace_enabled = trace_enabled