Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F7312452
configuration.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
802 B
Referenced Files
None
Subscribers
None
configuration.py
View Options
# 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
domains
=
ConfigSetting
(
type
=
StringList
,
value
=
[])
muc_prefix
=
'conference'
sip_session_timeout
=
ConfigSetting
(
type
=
NonNegativeInteger
,
value
=
86400
)
use_msrp_for_chat
=
True
File Metadata
Details
Attached
Mime Type
text/x-python
Expires
Sat, Feb 1, 6:15 AM (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3488656
Default Alt Text
configuration.py (802 B)
Attached To
Mode
rSYLK SylkServer
Attached
Detach File
Event Timeline
Log In to Comment