This command ends the current call or forbids Apifonica to answer the call. The usage of this tag after all XML commands prevents the line from staying busy.
|Attribute name||Description||Default value|
The tone played for the caller after the <endCall> command is executed.
Either busy or reject.
When the attribute is set to busy, Apifonica sends the busy signal to the calling party.
When the attribute is set to reject, Apifonica plays the out of service signal.
<?xml version="1.0" encoding="UTF-8" ?> <response> <endCall signal="reject" /> </response>