app.py
def conf_music():
    """
    Renders the XML to be used for hold music in the conference.
    This XML will be executed by Plivo when there is only 1
    participant in the conference. The URL to this XML is
    passed to the Conference XML under the parameter 'waitSound'.
    """

    plivo_response = plivo.XML.Response()
    plivo_response.addSpeak(config.CONFERENCE_WAIT_ANNOUNCEMENT)
    plivo_response.addPlay(config.HOLD_MUSIC, loop=1)
    response = make_response(render_template('response_template.xml', response=plivo_response))
    response.headers['content-type'] = 'text/xml'
    return response

    Renders the XML to be used for hold music in the conference.
    This XML will be executed by Plivo when there is only 1
    participant in the conference. The URL to this XML is
    passed to the Conference XML under the parameter 'waitSound'.
    
Renders the XML to be used for hold music in the conference.
This XML will be executed by Plivo when there is only 1
participant in the conference. The URL to this XML is
passed to the Conference XML under the parameter 'waitSound'.
Renders the XML to be used for hold music in the conference . This XML will be executed by Plivo when there is only 1 participant in the conference . The URL to this XML is passed to the Conference XML under the parameter ' waitSound ' .
def conf_music():
    plivo_response = plivo.XML.Response()
    plivo_response.addSpeak(config.CONFERENCE_WAIT_ANNOUNCEMENT)
    plivo_response.addPlay(config.HOLD_MUSIC, loop=1)
    response = make_response(render_template('response_template.xml', response=plivo_response))
    response.headers['content-type'] = 'text/xml'
    return response
def conf_music ( ) : plivo_response = plivo . XML . Response ( ) plivo_response . addSpeak ( config . CONFERENCE_WAIT_ANNOUNCEMENT ) plivo_response . addPlay ( config . HOLD_MUSIC , loop = 1 ) response = make_response ( render_template ( 'response_template.xml' , response = plivo_response ) ) response . headers [ 'content-type' ] = 'text/xml' return response
Renders the XML to be used for hold music in the conference.
Renders the XML to be used for hold music in the conference .
"""
    Renders the XML to be used for hold music in the conference.
    This XML will be executed by Plivo when there is only 1
    participant in the conference. The URL to this XML is
    passed to the Conference XML under the parameter 'waitSound'.
    """