You can use the Hangup element to end a call if you don’t want to answer an incoming call on your Plivo number. The application attached to the Plivo number must return the Hangup XML element along with a reason
attribute to end the call.
The Hangup element supports these attributes. You can modify the behavior of each attribute using the allowed values.
reason string | Specifies the reason for the hangup. Allowed values: rejected, busy |
schedule integer | Used to schedule a call hangup. Should be followed by an element such as Speak; if not, the call will be hung up immediately. Allowed values: integer > 0 (in seconds) |