Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(15)  |  Call(14)  |  Derive(0)  |  Import(1)

src/a/r/aria-server-HEAD/src/aria/__init__.py   aria-server(Download)
#!/usr/bin/python2
from flask import request,make_response,Flask,render_template,redirect,url_for,send_from_directory
from server.asterisk import asterisk as asterisk
import server.accs_control as key
 
def logoutPage():
    server = asterisk()
    try:
        server.reloadDialplan()
    except Exception, e:
def speakerAddHandle():
    if auth():
        server = asterisk();
        try:
            result = server.addClient(request.form['number'],request.form['name'],request.form['ip'])
def addUserHandle():
    if auth():
        server = asterisk();
        if request.method == 'POST':
            try:
def removeUserHandle(user):
    if auth():
        server = asterisk();
        server.deleteuser(user);
        return redirect(root)