예제 #1
0
 def __init__(self):
     '''
     Constructor
     '''
     SCCPMessage.__init__(self,
                          SCCPMessageType.RegisterAvailableLinesMessage)
     self.nboflines = 1
예제 #2
0
 def __init__(self,event,line=0,callId=0):
     '''
     Constructor
     '''
     SCCPMessage.__init__(self, SCCPMessageType.SoftKeyEventMessage)
     self.event=event
     self.line=line
     self.callId=callId
예제 #3
0
 def __init__(self, event, line=0, callId=0):
     '''
     Constructor
     '''
     SCCPMessage.__init__(self, SCCPMessageType.SoftKeyEventMessage)
     self.event = event
     self.line = line
     self.callId = callId
예제 #4
0
 def __init__(self):
     '''
     Constructor
     '''
     SCCPMessage.__init__(self, SCCPMessageType.CapabilitiesResMessage)
     self.capCount=3
     self.payLoads="\x19\x00\x00\x00\x78\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
     self.payLoads=self.payLoads+"\x04\x00\x00\x00\x28\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
     self.payLoads=self.payLoads+"\x02\x00\x00\x00\x28\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
예제 #5
0
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.DefineTimeDate)
     self.year=0
     self.month=0
     self.dayOfWeek=0
     self.day=0
     self.hour=99
     self.minute=99
     self.seconds=99
     self.milliseconds=99
     self.timestamp=0
예제 #6
0
 def __init__(self, deviceName, ipAddress):
     '''
     Constructor
     '''
     SCCPMessage.__init__(self, SCCPMessageType.RegisterMessage)
     self.deviceName = deviceName
     self.ipAddress = IpAddress(ipAddress)
     self.stationUserId = self.STATION_USERID
     self.stationInstance = self.STATION_INSTANCE
     self.deviceType = self.TelecasterBus
     self.maxStreams = self.MAXSTREAMS
예제 #7
0
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.DefineTimeDate)
     self.year = 0
     self.month = 0
     self.dayOfWeek = 0
     self.day = 0
     self.hour = 99
     self.minute = 99
     self.seconds = 99
     self.milliseconds = 99
     self.timestamp = 0
예제 #8
0
 def __init__(self, deviceName, ipAddress):
     """
     Constructor
     """
     SCCPMessage.__init__(self, SCCPMessageType.RegisterMessage)
     self.deviceName = deviceName
     self.ipAddress = IpAddress(ipAddress)
     self.stationUserId = self.STATION_USERID
     self.stationInstance = self.STATION_INSTANCE
     self.deviceType = self.TelecasterBus
     self.maxStreams = self.MAXSTREAMS
예제 #9
0
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.LineStatMessage)
     self.line = 0
     self.dirNumber = ""
예제 #10
0
 def __init__(self):
     '''
     Constructor
     '''
     SCCPMessage.__init__(self, SCCPMessageType.RegisterAvailableLinesMessage)
     self.nboflines=1
예제 #11
0
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.KeepAliveAckMessage)
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.ButtonTemplateReqMessage)
예제 #13
0
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.CallStateMessage)
     self.line = 0
     self.callState = self.SCCP_CHANNELSTATE_DOWN
     self.callId = 0
예제 #14
0
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.KeepAliveAckMessage)
예제 #15
0
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.DisplayPromptStatusMessage)
예제 #16
0
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.TimeDateReqMessage)
예제 #17
0
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.CallStateMessage)
     self.line = 0
     self.callState = self.SCCP_CHANNELSTATE_DOWN
     self.callId = 0
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.SetSpeakerModeMessage)
     self.mode = 0
예제 #19
0
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.OpenReceiveChannel)
     self.echoCancelType = 0
     self.bitRate = 0
예제 #20
0
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.ActivateCallPlaneMessage)
예제 #21
0
 def __init__(self, button):
     SCCPMessage.__init__(self, SCCPMessageType.KeypadButtonMessage)
     self.button = button
예제 #22
0
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.TimeDateReqMessage)
예제 #23
0
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.RegisterAckMessage)
     self.keepAliveInterval = 50
     self.dateTemplate = ""
     self.secondaryKeepAliveInterval = 32
예제 #24
0
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.RegisterAckMessage)
     self.keepAliveInterval = 50
     self.dateTemplate = ""
     self.secondaryKeepAliveInterval=32
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.CapabilitiesReqMessage)
예제 #26
0
 def __init__(self,button):
     SCCPMessage.__init__(self, SCCPMessageType.KeypadButtonMessage)
     self.button = button
예제 #27
0
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.LineStatMessage)
     self.line=0
     self.dirNumber = ""
예제 #28
0
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.SetRingerMessage)
예제 #29
0
 def __init__(self, channelStatus, ipAddress, portNumber, passThruPartyId):
     SCCPMessage.__init__(self, SCCPMessageType.OpenReceiveChannelAck)
     self.channelStatus = channelStatus
     self.ipAddress = IpAddress(ipAddress)
     self.portNumber = portNumber
     self.passThruPartyId = passThruPartyId
예제 #30
0
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.StartToneMessage)
예제 #31
0
 def __init__(self,line):
     SCCPMessage.__init__(self, SCCPMessageType.LineStatReqMessage)
     self.line = line
예제 #32
0
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.ButtonTemplateReqMessage)
예제 #33
0
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.SelectSoftKeysMessage)
예제 #34
0
 def __init__(self):
     SCCPMessage.__init__(self, SCCPMessageType.StartToneMessage)