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.

AttributeDescriptionDefault Value

The tone played for the caller after the <endCall> command is executed.

Either busy or reject or none.

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.

When the attribute is set to none, Apifonica immediately ends the current call.



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