Ejemplo n.º 1
0
 def __init__(self, app, domain, stack):
     self.app = app
     self.realm = domain
     self.server_name = "sip:%s:%d" % (settings.SPROUT_HOSTNAME, settings.SPROUT_PORT)
     self.cx = stack.getDictionary("cx")
     self.peer = None
     self.session_id = int(time.time()) << 32
Ejemplo n.º 2
0
 def __init__(self, app, domain, stack):
     self.app = app
     self.realm = domain
     self.server_name = "sip:%s:%d" % (settings.SPROUT_HOSTNAME, settings.SPROUT_PORT)
     self.cx = stack.getDictionary("cx")
Ejemplo n.º 3
0
 def __init__(self, stack):
     self._pending_responses = {}
     self.cx = stack.getDictionary("cx")
Ejemplo n.º 4
0
 def __init__(self, stack, backend_callbacks):
     self.backend_callbacks = backend_callbacks
     self._pending_responses = {}
     self.cx = stack.getDictionary("cx")
Ejemplo n.º 5
0
 def __init__(self, app, domain, stack):
     self.app = app
     self.realm = domain
     self.server_name = "sip:%s:%d" % (settings.SPROUT_HOSTNAME,
                                       settings.SPROUT_PORT)
     self.cx = stack.getDictionary("cx")
Ejemplo n.º 6
0
 def __init__(self, stack):
     self._pending_responses = {}
     self.cx = stack.getDictionary("cx")