Ejemplo n.º 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())
Ejemplo n.º 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())
Ejemplo n.º 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())
Ejemplo n.º 6
0
 def manageEnd(self):
     if self.getTerminated():
         ev = CallEvent(self.getUcid(), self.date)
         ev.end()
Ejemplo n.º 7
0
 def check_createNew(self):
     if self.getNewCallUcid():
         CallEvent(self.getNewCallUcid(), self.date).add()
Ejemplo n.º 8
0
 def manageConsulting(self):
     if self.consulting():
         ev = CallEvent(self.getUcid(), self.date)
         ev.setDetails(self.getCalledDid())