Class TransferCallEvent

java.lang.Object
dev.truewinter.twiliocallrouter.plugin.Event
dev.truewinter.twiliocallrouter.plugin.event.TransferCallEvent

public class TransferCallEvent extends Event
This event is fired before a call is transferred
  • Method Details

    • getTransferTo

      @NotNull public String getTransferTo()
      Returns:
      The number this call is being transferred to
    • getDirection

      @NotNull public String getDirection()
      Returns:
      The call direction (inbound, outbound-api, outbound-dial)
    • getFrom

      @NotNull public String getFrom()
      Returns:
      The caller's number, in E.164 format
    • getTo

      @NotNull public String getTo()
      Returns:
      The called number, in E.164 format