This code dials the extension 2410 at the number 15671234567. The Number element describes the phone number and gives it the sendDigits attribute. To dial the extension a couple of seconds after the number is dialed, we add a few leading w characters, telling Plivo to wait 0.5 seconds for each w.
Copy
Ask AI
from plivo import plivoxmlresponse = plivoxml.ResponseElement()response.add(plivoxml.DialElement().add( plivoxml.NumberElement('12025551111', send_digits='wwww2410')))print(response.to_string())