app.py
def conference_api():
    """
    1. Create a conference name
    2. Create an endpoint and store in redis with conference name
    3. Attach the above application to it
    4. Return endpoint username/password to template
    """
    conference_name = 'p%s' % (tinyid(8))
    app_id = create_plivo_application(conference_name)
    endpoint_username = create_plivo_endpoint(conference_name, app_id)
    inbound_did = attach_inbound_did(app_id)
    link_conference(conference_name, endpoint_username, conference_name, inbound_did)

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

    1. Create a conference name
    2. Create an endpoint and store in redis with conference name
    3. Attach the above application to it
    4. Return endpoint username/password to template
    
1. Create a conference name
2. Create an endpoint and store in redis with conference name
3. Attach the above application to it
4. Return endpoint username/password to template
1 . Create a conference name 2 . Create an endpoint and store in redis with conference name 3 . Attach the above application to it 4 . Return endpoint username / password to template
def conference_api():
    conference_name = 'p%s' % (tinyid(8))
    app_id = create_plivo_application(conference_name)
    endpoint_username = create_plivo_endpoint(conference_name, app_id)
    inbound_did = attach_inbound_did(app_id)
    link_conference(conference_name, endpoint_username, conference_name, inbound_did)
    conference_url = url_for('conference', _external=True, conference_name=conference_name)
    return jsonify(conference_url = conference_url, conference_name = conference_name)
def conference_api ( ) : conference_name = 'p%s' % ( tinyid ( 8 ) ) app_id = create_plivo_application ( conference_name ) endpoint_username = create_plivo_endpoint ( conference_name , app_id ) inbound_did = attach_inbound_did ( app_id ) link_conference ( conference_name , endpoint_username , conference_name , inbound_did ) conference_url = url_for ( 'conference' , _external = True , conference_name = conference_name ) return jsonify ( conference_url = conference_url , conference_name = conference_name )
1.
1 .
"""
    1. Create a conference name
    2. Create an endpoint and store in redis with conference name
    3. Attach the above application to it
    4. Return endpoint username/password to template
    """