API Docs for:
Show:

action Class

Module: astproxy

Provides common operations for all asterisk actions.

Item Index

Methods

Properties

Methods

getActionId

(
  • id
)
String static

Returns the value for the ActionID key of the asterisk action.

Parameters:

  • id String

    The name for the action

Returns:

String:

Unique value for the ActionID key. The value is: id + _ + timestamp

getActionName

(
  • actionid
)
String static

Returns the action name from the ActionID key of the asterisk action.

Parameters:

  • actionid Sring

    The value of the ActionID key

Returns:

String:

The name of the action or undefined

Properties

SEP

String private final

Separator character to construct ActionID key of the asterisk action.

Default: '_'