app.py
def conference(conference_name):
    """
    Returns the HTML page for a particular conference name. The HTML page
    uses the Plivo WebSDK to register to Plivo and make calls.
    """

    if conference_exists(conference_name):
        redis_conn = get_redis_connection()
        endpoint_username = redis_conn.hget(conference_name, 'username')
        endpoint_password = redis_conn.hget(conference_name, 'password')
        inbound_did = redis_conn.hget(conference_name, 'inbound_did')

        conference_url = url_for('conference', _external=True, conference_name=conference_name)

        data = {
                'endpoint_username': endpoint_username,
                'endpoint_password': endpoint_password,
                'inbound_did': inbound_did,
                'conference_name': conference_name,
                'conference_url': conference_url,
                }

        if request.query_string == 'share':
            template_name = 'conference_share.html'
        else:
            template_name = 'conference.html'

        response = make_response(render_template(template_name, response=data))
        return response
    return render_template('404.html')

    Returns the HTML page for a particular conference name. The HTML page
    uses the Plivo WebSDK to register to Plivo and make calls.
    
Returns the HTML page for a particular conference name. The HTML page
uses the Plivo WebSDK to register to Plivo and make calls.
Returns the HTML page for a particular conference name . The HTML page uses the Plivo WebSDK to register to Plivo and make calls .
def conference(conference_name):
    if conference_exists(conference_name):
        redis_conn = get_redis_connection()
        endpoint_username = redis_conn.hget(conference_name, 'username')
        endpoint_password = redis_conn.hget(conference_name, 'password')
        inbound_did = redis_conn.hget(conference_name, 'inbound_did')
        conference_url = url_for('conference', _external=True, conference_name=conference_name)
        data = {
                'endpoint_username': endpoint_username,
                'endpoint_password': endpoint_password,
                'inbound_did': inbound_did,
                'conference_name': conference_name,
                'conference_url': conference_url,
                }
        if request.query_string == 'share':
            template_name = 'conference_share.html'
        else:
            template_name = 'conference.html'
        response = make_response(render_template(template_name, response=data))
        return response
    return render_template('404.html')
def conference ( conference_name ) : if conference_exists ( conference_name ) : redis_conn = get_redis_connection ( ) endpoint_username = redis_conn . hget ( conference_name , 'username' ) endpoint_password = redis_conn . hget ( conference_name , 'password' ) inbound_did = redis_conn . hget ( conference_name , 'inbound_did' ) conference_url = url_for ( 'conference' , _external = True , conference_name = conference_name ) data = { 'endpoint_username' : endpoint_username , 'endpoint_password' : endpoint_password , 'inbound_did' : inbound_did , 'conference_name' : conference_name , 'conference_url' : conference_url , } if request . query_string == 'share' : template_name = 'conference_share.html' else : template_name = 'conference.html' response = make_response ( render_template ( template_name , response = data ) ) return response return render_template ( '404.html' )
Returns the HTML page for a particular conference name.
Returns the HTML page for a particular conference name .
"""
    Returns the HTML page for a particular conference name. The HTML page
    uses the Plivo WebSDK to register to Plivo and make calls.
    """
conference_name