def setExtraParameters(self, param): if not BaseEndpoint.setExtraParameters(self, param): return False if self._getHttpInterfaceClass() == SNOM_HTTP_V2: self._timeZone = '301' else: self._timeZone = 'USA-5' if 'bridge' in param: self._bridge = param['bridge'] if 'timezone' in param: self._timeZone = param['timezone'] if 'language' in param: self._language = param['language'] return True
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'] if 'language' in param: self._language = param['language'] return True