-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdwgconfig.py.example
17 lines (15 loc) · 1.19 KB
/
dwgconfig.py.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
port = 12000 # DWG Gateway port
login = 'test' # DWG API Login (from API 2.0)
password = 'test' # DWG API Password (from API 2.0)
income_path = '/var/spool/dwgp/incoming/' # SMS income path
send_path = '/var/spool/dwgp/send/' # SMS send path
ussd_income_path = '/var/spool/dwgp/ussd_incoming/' # USSD income path
ussd_send_path = '/var/spool/dwgp/ussd_send/' # USSD send path
run_program = '/etc/local_scripts/radius2.php' # External program after receiving SMS
debug = True # On/OFF Debug
pidfile = '/var/run/dwg_server.pid' # PID file path (for daemon)
logfile = '/var/log/dwg_server.log' # Log file path (for daemon)
log_format = '[%(asctime)s] [%(levelname)s] %(message)s' # Log file format
log_date_format = '%d.%m.%Y %H:%M:%S' # Log file date format
if __name__ == '__main__':
print('Config file for Dinstar DWG Gateways!')