예제 #1
0
 def __init__(self, amipool, dbpool, sServerIP, sIP, mac):
     BaseEndpoint.__init__(self, 'Zultys', amipool, dbpool, sServerIP, sIP, mac)
     if Endpoint._global_serverip == None:
         Endpoint._global_serverip = sServerIP
     elif Endpoint._global_serverip != sServerIP:
         logging.warning('global server IP is %s but endpoint %s requires ' + 
             'server IP %s - this endpoint might not work correctly.' %
             (Endpoint._global_serverip, sIP, sServerIP))
예제 #2
0
    def __init__(self, amipool, dbpool, sServerIP, sIP, mac):
        BaseEndpoint.__init__(self, 'Atlinks', amipool, dbpool, sServerIP, sIP,
                              mac)
        self._bridge = True

        # Time Zone, hour offset from GMT (assumed from similarity with Yealink)
        self._timeZone = '%g' % (BaseEndpoint.getTimezoneOffset() / 3600.0)
        self._language = 'Spanish'
예제 #3
0
파일: Snom.py 프로젝트: blink-hr/vPBX
 def __init__(self, amipool, dbpool, sServerIP, sIP, mac):
     BaseEndpoint.__init__(self, 'Snom', amipool, dbpool, sServerIP, sIP,
                           mac)
     if Endpoint._global_serverip == None:
         Endpoint._global_serverip = sServerIP
     elif Endpoint._global_serverip != sServerIP:
         logging.warning(
             'global server IP is %s but endpoint %s requires ' +
             'server IP %s - this endpoint might not work correctly.' %
             (Endpoint._global_serverip, sIP, sServerIP))
     self._bridge = True
     self._timeZone = None
     self._cookie_v2 = None
     self._language = 'Español'
예제 #4
0
파일: Digium.py 프로젝트: blink-hr/vPBX
 def __init__(self, amipool, dbpool, sServerIP, sIP, mac):
     BaseEndpoint.__init__(self, 'Digium', amipool, dbpool, sServerIP, sIP,
                           mac)
예제 #5
0
파일: Damall.py 프로젝트: blink-hr/vPBX
 def __init__(self, amipool, dbpool, sServerIP, sIP, mac):
     BaseEndpoint.__init__(self, 'Damall', amipool, dbpool, sServerIP, sIP,
                           mac)
     self._bridge = True
     self._timeZone = 12