Page MenuHomePhabricator

configuration.py
No OneTemporary

configuration.py

# Copyright (C) 2012 AG Projects. See LICENSE for details
#
from application.system import host
from application.configuration import ConfigSection, ConfigSetting
from application.configuration.datatypes import StringList
from sipsimple.configuration.datatypes import NonNegativeInteger
from sylk.configuration.datatypes import IPAddress, Port
class XMPPGatewayConfig(ConfigSection):
__cfgfile__ = 'xmppgateway.ini'
__section__ = 'general'
local_ip = ConfigSetting(type=IPAddress, value=IPAddress(host.default_ip))
local_port = ConfigSetting(type=Port, value=5269)
trace_xmpp = False
log_presence = False
domains = ConfigSetting(type=StringList, value=[])
muc_prefix = 'conference'
sip_session_timeout = ConfigSetting(type=NonNegativeInteger, value=86400)
use_msrp_for_chat = True

File Metadata

Mime Type
text/x-python
Expires
Sat, Feb 1, 6:20 AM (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3488850
Default Alt Text
configuration.py (827 B)

Event Timeline