right  Talk To Us!

answer Action

Answers an inbound call that is currently in the inbound state. If the inbound call is in the answered state this action is ignored.


Note that calls are answered implicitly by the first action that interacts with the caller. Setting the Early media advanced setting for an inbound service will allow the application to play media before answering the call.
  • Examples:

    • Answer an inbound call:

          "answer" :
          {
          }
      
  • API Reference:

    class Answer : TelephonyAction

    Represents an answer action.

    Constructors:

    Answer();
    

    Examples:

    • Add an answer action:

      actions.Add(new Answer());
      
  • API Reference:

    Class Answer Inherits TelephonyAction

    Represents an answer action.

    Constructors:

    Answer()
    

    Examples:

    • Add an answer action:

      actions.Add(New Answer())
      
  • API Reference:

    class Answer extends TelephonyAction

    Represents an answer action.

    Constructors:

    Answer();
    

    Examples:

    • Add an answer action:

      actions.add(new Answer());
      
  • API Reference:

    class Answer

    Represents an answer action.

    Constructors:

    Answer()
    

    Examples:

    • Add an answer action:

      from aculab.telephony_rest_api import Actions, Answer
      my_actions = Actions(token='Usage example: Answer.', action=Answer())
      
      response_body = my_actions.get_json()
      
  • API Reference:

    The Answer class

    Introduction

    Represents an answer action.

    Class synopsis

    class Answer extends ActionBase {
    
        /* methods */
        public __construct()
    }
    

    Examples:

    • Answer an inbound call:

      $actions->add(new Aculab\TelephonyRestAPI\Answer());