def __init__(self, amipool, dbpool, sServerIP, sIP, mac): BaseEndpoint.__init__(self, 'Yealink', amipool, dbpool, sServerIP, sIP, mac) self._bridge = True # Time Zone, hour offset from GMT self._timeZone = '%g' % (BaseEndpoint.getTimezoneOffset() / 3600.0)
def __init__(self, amipool, dbpool, sServerIP, sIP, mac): BaseEndpoint.__init__(self, 'Grandstream', amipool, dbpool, sServerIP, sIP, mac) # Calculate timezone, 'auto' or GMT offset in minutes +720 #self._timeZone = BaseEndpoint.getTimezoneOffset() / 60 + 720 self._timeZone = 'auto' self._language = 'es'
def __init__(self, amipool, dbpool, sServerIP, sIP, mac): BaseEndpoint.__init__(self, 'AudioCodes', amipool, dbpool, sServerIP, sIP, mac) # Calculate timezone, GMT offset in minutes tzoffset = BaseEndpoint.getTimezoneOffset() / 60 self._timeZone = '' if tzoffset < 0: self._timeZone = '-' self._timeZone = self._timeZone + ( '%02d:%02d' % (abs(tzoffset) / 60, abs(tzoffset) % 60)) self._language = 'SPANISH'
def __init__(self, amipool, dbpool, sServerIP, sIP, mac): BaseEndpoint.__init__(self, 'Linksys', amipool, dbpool, sServerIP, sIP, mac) # Convert Signed Decimal TimeZone Offset to Signed HH:MM offset formated for Cisco SPA Phones tzoffset = BaseEndpoint.getTimezoneOffset() / 60 self._timeZone = '' if tzoffset < 0: self._timeZone = 'GMT-' else: self._timeZone = 'GMT+' self._timeZone = self._timeZone + ('%02d:%02d' % (abs(tzoffset) / 60, abs(tzoffset) % 60)) self._daylightrule = '' self._daylightenable = ''
def setExtraParameters(self, param): if not BaseEndpoint.setExtraParameters(self, param): return False if 'timezone' in param: self._timeZone = param['timezone'] if 'daylightrule' in param: self._daylightrule = param['daylightrule'] if 'daylightenable' in param: self._daylightenable = param['daylightenable'] return True
def __init__(self, amipool, dbpool, sServerIP, sIP, mac): BaseEndpoint.__init__(self, 'Elastix', amipool, dbpool, sServerIP, sIP, mac) self._timeZone = 'auto' self._language = 'es'
def __init__(self, amipool, dbpool, sServerIP, sIP, mac): BaseEndpoint.__init__(self, 'LG-ERICSSON', amipool, dbpool, sServerIP, sIP, mac) self._timeZone = None
def __init__(self, amipool, dbpool, sServerIP, sIP, mac): BaseEndpoint.__init__(self, 'Xorcom', amipool, dbpool, sServerIP, sIP, mac)
def setExtraParameters(self, param): if not BaseEndpoint.setExtraParameters(self, param): return False if 'bridge' in param: self._bridge = param['bridge'] if 'timezone' in param: self._timeZone = param['timezone'] return True
def __init__(self, amipool, dbpool, sServerIP, sIP, mac): BaseEndpoint.__init__(self, 'Atcom', amipool, dbpool, sServerIP, sIP, mac) self._bridge = False self._timeZone = 12 self._firmware = 2 # Assume new firmware
def __init__(self, amipool, dbpool, sServerIP, sIP, mac): BaseEndpoint.__init__(self, 'Escene', amipool, dbpool, sServerIP, sIP, mac) self._bridge = False self._timeZone = 12
def __init__(self, amipool, dbpool, sServerIP, sIP, mac): BaseEndpoint.__init__(self, 'VOPTech', amipool, dbpool, sServerIP, sIP, mac) self._bridge = True self._timeZone = 12