Beispiel #1
0
def add_call(cid, cdir, cstate, timestamp, name, login):
    remote = User(login=login, name=name)
    call_ob = Call(cid, cdir, cstate, timestamp, remote)
    call_ob._ipc = app.ipc

    app.add_call(call_ob)
    app.emit("call.add", call_ob)