Esempio n. 1
0
 def _start(self, callstart=True, args=None):
     if args is None:
         args = {}
     self._doState(self.__start__)
     if callstart:
         evt = CallStartedEvent(None)
         evt.args = args
         self._triggerEvent(evt)
Esempio n. 2
0
 def va_callstart(self, inboundLeg, args=None):
     if args is None:
         args = {}
     if inboundLeg is not None:
         self.__legs[inboundLeg.getCookie()] = inboundLeg
         if self._inbound is None:
             self._inbound = inboundLeg
     ce = CallStartedEvent(inboundLeg)
     ce.args = args
     self._triggerEvent(ce)
Esempio n. 3
0
 def va_callstart(self, inboundLeg, args=None):
     if args is None:
         args = {}
     if inboundLeg is not None:
         self.__legs[inboundLeg.getCookie()] = inboundLeg
         if self._inbound is None:
             self._inbound = inboundLeg
     ce = CallStartedEvent(inboundLeg)
     ce.args = args
     self._triggerEvent(ce)