A caller may join a conference room “My Room” and hear wait music, but the conference doesn’t start until the moderator joins the conference.
If the moderator sets endConferenceOnExit to true, then when the moderator hangs up, the conference will end and each participant will also exit the conference.
Copy
Ask AI
from plivo import plivoxmlresponse = plivoxml.ResponseElement()response.add( plivoxml.ConferenceElement( 'My Room', start_conference_on_enter=False, wait_sound='https://<yourdomain>.com/waitmusic/'))print(response.to_string())# Next, XML for moderator with endConferenceOnExit set to truemoderator_response = plivoxml.ResponseElement()moderator_response.add( plivoxml.ConferenceElement( 'My Room', start_conference_on_enter=True, end_conference_on_exit= True))print(moderator_response.to_string())