Source code for wirecurly.dialplan.applications.conference

from wirecurly.dialplan.applications import ApplicationBase

[docs]class Conference(ApplicationBase): """The conference application""" def __init__(self, conf_name, profile='default'): super(Conference, self).__init__('conference') self.conf_name = conf_name self.profile = profile self.pin = None @property
[docs] def data(self): ''' Getter for data so we can properly manipulate application configuration ''' if self.pin is None: return '{0}@{1}'.format(self.conf_name, self.profile) else: return '{0}@{1}+{2}'.format(self.conf_name, self.profile, self.pin)
[docs] def setPin(self, pin): ''' Set conference PIN ''' self.pin = pin
[docs] def clearPin(self): ''' Clear conference PIN ''' self.pin = None
Read the Docs v: latest
Versions
latest
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.