Beispiel #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
Beispiel #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")
Beispiel #3
0
 def __init__(self, stack):
     self._pending_responses = {}
     self.cx = stack.getDictionary("cx")
Beispiel #4
0
 def __init__(self, stack, backend_callbacks):
     self.backend_callbacks = backend_callbacks
     self._pending_responses = {}
     self.cx = stack.getDictionary("cx")
Beispiel #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")
Beispiel #6
0
 def __init__(self, stack):
     self._pending_responses = {}
     self.cx = stack.getDictionary("cx")