예제 #1
0
 def getTransfers(self):
     if self.getEstablished() and self.getUcid():
         calling = self.getCalling()
         ev = CallEvent(self.getUcid(), self.date)
         ev.setCaller(calling)
         destination = self.getAnswerExt()
         ev = CallEvent(self.getUcid(), self.date)
         ev.transfer(self.getAnswerExt())
 def getDetails(self):
     if "UpdateRoutingData" in self.line:
         ev = CallEvent(self.date, (self.getUcid()))
         ev.setDetails(self.getCallType())
 def check_createNew(self):
     if self.getNewCallUcid():
         CallEvent.add(self.getDate(), self.getNewCallUcid())
예제 #4
0
 def manageRetrieved(self):
     if self.getRetrieved():
         ev = CallEvent(self.getUcid(), self.date)
         logging.error("RETRIEVING ext %s" % self.getRetreiving())
         ev.retrieved(self.getRetreiving())
예제 #5
0
 def isCentrale(self):
     if "DivertDestination" in self.line and "DIVERT_IVR_DISTRIBUTION" in self.line:
         ev = CallEvent(self.getUcid(), self.date)
         ev.newCentraleCall(self.getCentaleNumber())
예제 #6
0
 def manageEnd(self):
     if self.getTerminated():
         ev = CallEvent(self.getUcid(), self.date)
         ev.end()
예제 #7
0
 def check_createNew(self):
     if self.getNewCallUcid():
         CallEvent(self.getNewCallUcid(), self.date).add()
예제 #8
0
 def manageConsulting(self):
     if self.consulting():
         ev = CallEvent(self.getUcid(), self.date)
         ev.setDetails(self.getCalledDid())