from plivo import plivoxml response = plivoxml.ResponseElement() response.add( plivoxml.ConferenceElement( 'My Room', enter_sound="", start_conference_on_enter=True, end_conference_on_exit=True)) print(response.to_string())
<Response> <Conference enterSound="" startConferenceOnEnter="true" endConferenceOnExit="true">My Room</Conference> </Response>