By using the Aculab site, you agree with our use of cookies.

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" :
          {
          }
      
  • Answer Class
    Namespace: Aculab.Cloud.RestAPIWrapper
    Assembly: Aculab.Cloud.RestAPIWrapper.dll

    An action to explicitly answer an inbound call.

    public class Answer : TelephonyAction
    {
        // Constructors
        public Answer();
    }
    

    Examples:

    • Explicitly answer an inbound call:

      List<TelephonyAction> actions = new List<TelephonyAction>();
      
      actions.Add(new Answer());
      
  • Answer Class
    Namespace: Aculab.Cloud.RestAPIWrapper
    Assembly: Aculab.Cloud.RestAPIWrapper.dll

    An action to explicitly answer an inbound call.

    Public Class Answer
        Inherits TelephonyAction
    
        ' Constructors
        Public Sub New ()
    End Class
    

    Examples:

    • Explicitly answer an inbound call.

      Dim actions = New List(Of TelephonyAction)
      
      actions.Add(New Answer())
      
  • class Answer extends TelephonyAction

    Represents an answer action.

    Class synopsis:

    // Constructors:
    public Answer()
    

    Examples:

    • Answer an inbound call:

      List<TelephonyAction> actions = new ArrayList<TelephonyAction>();
      
      actions.add(new Answer());
      
  • class Answer

    Represents an answer action.

    Class synopsis:

    # Answer object:
    Answer()
    

    Examples:

    • Answer an inbound call:

      my_actions.append(Answer())
      
  • The Answer class

    Introduction

    Represents an answer action.

    Class synopsis

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

    Examples:

    • Answer an inbound call:

      $response->addAction(new Aculab\TelephonyRestAPI\Answer());