summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/test-pjsua/inc_cfg.py
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-06-26 13:29:29 +0000
committerBenny Prijono <bennylp@teluu.com>2008-06-26 13:29:29 +0000
commit657affe0e2a8f1a30ff48478140278196285843e (patch)
tree4e7b032c9100b2cdd9e333628842f6de0495d6d4 /pjsip-apps/src/test-pjsua/inc_cfg.py
parent908377811bbfebd69d2ff831b7ff38e207fbcd17 (diff)
Added PRACK tests and ICE with public proxy tests
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2059 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/test-pjsua/inc_cfg.py')
-rw-r--r--pjsip-apps/src/test-pjsua/inc_cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjsip-apps/src/test-pjsua/inc_cfg.py b/pjsip-apps/src/test-pjsua/inc_cfg.py
index 6f3219c9..5b7514a6 100644
--- a/pjsip-apps/src/test-pjsua/inc_cfg.py
+++ b/pjsip-apps/src/test-pjsua/inc_cfg.py
@@ -55,7 +55,7 @@ class InstanceParam:
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