hang up Action

Hangs up the call represented by the this call property of the request.


Note that calls are hung up implicitly after the last action is executed.
  • Examples:

    • Hang up this call:

          "hang_up" :
          {
          }
      
  • HangUp Class
    Namespace: Aculab.Cloud.RestAPIWrapper
    Assembly: Aculab.Cloud.RestAPIWrapper.dll

    An action to hang up the call represented by the ThisCall propery of the request.

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

    Examples:

    • Hang up this call:

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

    An action to hang up the call represented by the ThisCall propery of the request.

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

    Examples:

    • Hang up this call:

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

    Represents a hang up action.

    Class synopsis:

    // Constructors:
    public HangUp()
    

    Examples:

    • Hang up this call:

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

    Represents a hang up action.

    Class synopsis:

    # HangUp object:
    HangUp()
    

    Examples:

    • Hang up this call:

      # Create a list of actions that will be passed to the TelephonyResponse constructor
      list_of_actions = []
      
      list_of_actions.append(HangUp())
      
  • The HangUp class

    Introduction

    Represents a hang up action.

    Class synopsis

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

    Examples:

    • Hang up this call:

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