summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-08-26 12:13:25 +0000
committerBenny Prijono <bennylp@teluu.com>2008-08-26 12:13:25 +0000
commit5e60d41798670121f2a73bedb1792148ad2e76ae (patch)
tree4791b6d8c7f2d555416048ae01ab81d11b23c392
parent920d97341f9c044fd012f6b41fff01e4c9563a16 (diff)
Fixed audio configuration in config_site.py not used by test scripts
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2237 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--pjsip-apps/src/test-pjsua/config_site.py2
-rw-r--r--pjsip-apps/src/test-pjsua/inc_cfg.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/pjsip-apps/src/test-pjsua/config_site.py b/pjsip-apps/src/test-pjsua/config_site.py
index 3eabc828..a6e4f29a 100644
--- a/pjsip-apps/src/test-pjsua/config_site.py
+++ b/pjsip-apps/src/test-pjsua/config_site.py
@@ -1,4 +1,4 @@
# $Id$
# Specify if host has sound device, or test should be performed using sound device
-HAS_SND_DEV = 1
+HAS_SND_DEV = 0
diff --git a/pjsip-apps/src/test-pjsua/inc_cfg.py b/pjsip-apps/src/test-pjsua/inc_cfg.py
index b05fe02f..d75c17f3 100644
--- a/pjsip-apps/src/test-pjsua/inc_cfg.py
+++ b/pjsip-apps/src/test-pjsua/inc_cfg.py
@@ -1,5 +1,6 @@
# $Id$
import random
+import config_site
DEFAULT_ECHO = True
DEFAULT_TRACE = True
@@ -7,7 +8,7 @@ DEFAULT_START_SIP_PORT = 50000
# Shared vars
ARGS = [] # arguments containing script module & config
-HAS_SND_DEV = 1 # specify 1 if system has sound device and prefer to use sound device in the tests
+HAS_SND_DEV = config_site.HAS_SND_DEV
# Individual pjsua instance configuration class
class InstanceParam: