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
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
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)
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))
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()
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()