from plivo import plivoxml
response = plivoxml.ResponseElement()
response.add(
plivoxml.DialElement(action='https://<yourdomain>.com/dial_action/', time_limit=20)
.add(plivoxml.NumberElement('12025551111')))
response.add(plivoxml.DialElement().add(plivoxml.NumberElement('12025552222')))
print(response.to_string())