예제 #1
0
 def __init__(self, to_be_handled):
     self.app = Yate()
     self.app.__Yatecall__ = self.yatecall
     self.log = logging.getLogger(
         "libvbts.yate.VBTS_SMS_Provisioning.VBTS_Provisioning")
     self.ym = YateMessenger.YateMessenger()
     self.to_be_handled = to_be_handled
예제 #2
0
 def __init__(self, to_be_handled):
     self.app = Yate()
     self.app.__Yatecall__ = self.yatecall
     self.log = logging.getLogger(
         "libvbts.yate.VBTS_Route_Local.Route_Local")
     self.ym = YateMessenger.YateMessenger()
     self.to_be_handled = to_be_handled
예제 #3
0
파일: playrec.py 프로젝트: ordinerf/libvbts
 def __init__(self, to_be_handled):
     self.app = Yate()
     self.app.__Yatecall__ = self.yatecall
     self.log = logging.getLogger("libvbts.yate.playrec.IVR")
     self.ym = YateMessenger.YateMessenger()
     self.to_be_handled = to_be_handled
     self.state = "call"
     self.ourcallid = "playrec/" + uniqid(10)
     self.partycallid = ""
     self.dir = "/tmp"
     self.last_dtmf = (None, 0.0)
예제 #4
0
 def __init__(self, to_be_handled):
     self.app = Yate()
     self.app.__Yatecall__ = self.yatecall
     self.log = logging.getLogger(
         "libvbts.yate.VBTS_Call_Provisioning.Provisioner")
     self.ym = YateMessenger.YateMessenger()
     self.to_be_handled = to_be_handled
     self.state = "call"
     self.ourcallid = "provisioner/" + uniqid(10)
     self.partycallid = ""
     self.last_dtmf = (None, 0.0)
     self.user_num = ""
     self.minnum = int(self.ym.smqueue_get("SC.Register.Digits.Min"))
     self.maxnum = int(self.ym.smqueue_get("SC.Register.Digits.Max"))
     self.log.info("Starting with min=%d and max=%d" %
                   (self.minnum, self.maxnum))
예제 #5
0
 def __init__(self):
     self.app = Yate()
     self.app.__Yatecall__ = self.yatecall
     self.log = logging.getLogger(
         "libvbts.yate.VBTS_Send_SMS.YateSMSSender")
     self.ym = YateMessenger.YateMessenger()
예제 #6
0
 def __init__(self):
     self.app = Yate()
     self.app.__Yatecall__ = self.yatecall
     self.log = logging.getLogger(
         "libvbts.yate.VBTS_Originate_Call.YateOriginator")
     self.ym = YateMessenger.YateMessenger()