summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/test-pjsua/inc_cfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip-apps/src/test-pjsua/inc_cfg.py')
-rw-r--r--pjsip-apps/src/test-pjsua/inc_cfg.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/pjsip-apps/src/test-pjsua/inc_cfg.py b/pjsip-apps/src/test-pjsua/inc_cfg.py
new file mode 100644
index 00000000..cf5f6117
--- /dev/null
+++ b/pjsip-apps/src/test-pjsua/inc_cfg.py
@@ -0,0 +1,25 @@
+# $Id$
+
+DEFAULT_ECHO = True
+DEFAULT_TRACE = True
+
+# Individual pjsua config class
+class Config:
+ # pjsua command line arguments, concatenated in string
+ arg = ""
+ # Specify whether pjsua output should be echoed to stdout
+ echo_enabled = DEFAULT_ECHO
+ # Enable/disable test tracing
+ trace_enabled = DEFAULT_TRACE
+ def __init__(self, arg, echo_enabled=DEFAULT_ECHO, trace_enabled=DEFAULT_TRACE):
+ self.arg = arg
+ self.echo_enabled = echo_enabled
+ self.trace_enabled = trace_enabled
+
+# Call config class
+class CallConfig:
+ def __init__(self, title, callee_cfg, caller_cfg):
+ self.title = title
+ self.callee_cfg = callee_cfg
+ self.caller_cfg = caller_cfg
+