<Response>
    <Hangup schedule="60" reason="rejected" />
    <Speak loop="0">This call will be hung up after a minute</Speak>
</Response>

This example shows how to schedule a hangup for a call after a minute while playing a message on the call.4

<Response>
    <Hangup schedule="60" reason="rejected" />
    <Speak loop="0">This call will be hung up after a minute</Speak>
</Response>