Using simultaneous dialing you can dial out to a list of phone numbers or endpoints or a combination of numbers & endpoints at the same time. 


The below example calls out sequentially to a list containing two endpoints and one phone number. This will dial out to all the numbers and endpoints mentioned in the XML. The first of these calls to answer will be connected to the current caller, while the rest of the connection attempts are canceled.


Note: You can combine endpoints and phone numbers in the XML.


<Response>
    <Dial>
      <User>sip:alice1234@phone.plivo.com</User>
      <Number>15671234567</Number>
      <User>sip:john1234@phone.plivo.com</User>
    </Dial>
</Response>