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.dllAn action to explicitly answer an inbound call.
-
public class Answer : TelephonyAction { // Constructors public Answer(); }
Examples:
-
Answer an inbound call:
List<TelephonyAction> actions = new List<TelephonyAction>(); actions.Add(new Answer());
-
-
public class Answer : TelephonyAction { // Constructors public Answer(); }
Examples:
-
Answer an inbound call:
List<TelephonyAction> actions = new List<TelephonyAction>(); actions.Add(new Answer());
-
-
public class Answer : TelephonyAction { // Constructors public Answer(); }
Examples:
-
Answer an inbound call:
List<TelephonyAction> actions = new List<TelephonyAction>(); actions.Add(new Answer());
-
-
-
Answer Class
Namespace: Aculab.Cloud.RestAPIWrapper
Assembly: Aculab.Cloud.RestAPIWrapper.dllAn action to explicitly answer an inbound call.
-
Public Class Answer Inherits TelephonyAction ' Constructors Public Sub New () End Class
Examples:
-
Answer an inbound call:
Dim actions = New List(Of TelephonyAction) actions.Add(New Answer())
-
-
Public Class Answer Inherits TelephonyAction ' Constructors Public Sub New () End Class
Examples:
-
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:
# Create a list of actions that will be passed to the TelephonyResponse constructor list_of_actions = [] list_of_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());