This example uses three User and Number elements to dial two SIP endpoints and a phone number at the same time. The first of these calls to answer will be connected to the caller, and the rest of the connection attempts will be canceled.
**Note: **In Simultaneous dialing, the maximum number of destinations (Endpoint or number) that can passed is 10
Copy
Ask AI
from plivo import plivoxmlresponse = plivoxml.ResponseElement()response.add(plivoxml.DialElement().add( plivoxml.UserElement('sip:alice1234@phone.plivo.com')).add( plivoxml.NumberElement('12025551111')).add( plivoxml.UserElement('sip:john1234@phone.plivo.com')))print(response.to_string())