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" :
          {
          }
      
  • API Reference:

    class HangUp : TelephonyAction

    Represents a hang up action.

    Constructors:

    HangUp();
    

    Examples:

    • Add a hang up action for this call:

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

    class HangUp Inherits TelephonyAction

    Represents a hang up action.

    Constructors:

    New()
    

    Examples:

    • Add a hang up action for this call:

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

    class HangUp extends TelephonyAction

    Represents a hang up action.

    Constructors:

    HangUp();
    

    Examples:

    • Add a hang up action for this call:

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

    class HangUp

    Represents a hang up action.

    Constructors:

    HangUp()
    

    Examples:

    • Add a hang up action for this call:

      from aculab.telephony_rest_api import Actions, HangUp
      
      my_actions = Actions('Usage example 1: Hang up.')
      my_actions.add(HangUp())
      response_body = my_actions.get_json()
      
  • API Reference:

    The HangUp class

    Introduction

    Represents a hang up action.

    Class synopsis

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

    Examples:

    • Hang up this call:

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