DOCS

<endCall>

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 nameDescriptionDefault value
signal

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.

busy

Example

<?xml version="1.0" encoding="UTF-8" ?>
<response>
  <endCall signal="reject" />
</response>