API Docs for:
Show:

plugin_rest_astproxy Class

Module: plugins_rest
Parent Module: com_astproxy_rest

REST plugin that provides asterisk functions through the following REST API:

GET requests

  1. astproxy/prefix
  2. astproxy/wakeup
  3. astproxy/queues
  4. astproxy/trunks
  5. astproxy/parkings
  6. astproxy/extensions
  7. astproxy/extension/:id
  8. astproxy/conference/:endpoint
  9. astproxy/queue_recall/:hours/:qids
  10. astproxy/qrecall_info/:hours/:cid/:qid
  11. astproxy/qrecall_check/:num
  12. astproxy/qmanager_queues
  13. astproxy/qmanager_qstats/:qid
  14. astproxy/qmanager_qcalls
  15. astproxy/qmanager_astats

astproxy/prefix

Returns the prefix number used with outgoing external calls.

Example JSON response:

{
    "prefix": "0039"
}

astproxy/wakeup

Returns the list of all alarms wakeup.

Example JSON response:

[
    "202-1496073180.call",
    ...
]

astproxy/trunks

Gets the trunks of the operator panel of the user.

Example JSON response:

{
    "2001": {
          "ip": "",
          "port": "",
          "name": "",
          "exten": "2001",
          "status": "offline",
          "chanType": "sip",
          "maxChannels": 4,
          "sipuseragent": "",
          "conversations": { TrunkConversation.toJSON() }
    }
}

astproxy/queues

Gets the queues of the operator panel of the user.

Example JSON response:

{
    "501": {
          "name": "hold501",
          "queue": "501",
          "members": {
             "609": {
                 "type": "dynamic",
                 "name": "",
                 "queue": "501",
                 "member": "609",
                 "paused": false,
                 "loggedIn": false,
                 "callsTakenCount": 0,
                 "lastCallTimestamp": 0,
                 "lastPausedInReason": "",
                 "lastPausedInTimestamp": 0,
                 "lastPausedOutTimestamp": 0
             }
          },
          "avgHoldTime": "0",
          "avgTalkTime": "0",
          "waitingCallers": {},
          "completedCallsCount": "0",
          "abandonedCallsCount": "0",
          "serviceLevelTimePeriod": "60",
          "serviceLevelPercentage": "0.0"
      }
}

astproxy/parkings

Returns all the parkings with all their status information.

Example JSON response:

{
    "71": {
      "name": "71",
      "parking": "71",
      "timeout": 45,
      "parkedCaller": { ParkedCaller.toJSON() }
    },
    ...
}

astproxy/extensions

Gets all the extensions with all their status information.

Example JSON response:

{
    "602": {
         "ip": "",
         "cf": "",
         "dnd": false,
         "cfVm": "",
         "port": "",
         "name": "cristian",
         "exten": "602",
         "status": "offline",
         "chanType": "sip",
         "sipuseragent": "",
         "conversations": { Conversation.toJSON() }
     },
     ...
}

astproxy/extension/:id

Get the extension with all its status information.

Example JSON response:

{
    "602": {
         "ip": "",
         "cf": "",
         "dnd": false,
         "cfVm": "",
         "port": "",
         "name": "cristian",
         "exten": "602",
         "status": "offline",
         "chanType": "sip",
         "sipuseragent": "",
         "conversations": { Conversation.toJSON() },
         "user": "giovanni"
     }
}

astproxy/conference/:endpoint

Gets the data about the extension meetme conference.

Example JSON response:

{
    "id": "202",
    "users": {
        "1": {
            "id": "1",
            "name": "202",
            "owner": true,
            "muted": false,
            "extenId": "202"
        }
    }
}

astproxy/queue_recall/:hours/:qids

Gets the recall data about the queue. The request must contains the following parameters:

  • `hours: is the amount of last hours to be searched of the current day
  • qids: the queue identifiers list separated by comma: e.g. 401,402

Example JSON response:

[
    {
      company: "Nethesis",
      name: null,
      cid: "0721405516",
      action: "RECALL",
      time: "2015-12-30 17:21:45.2990102,
      direction: "IN",
      queuename: "401"
  },
  {
      company: "Nethesis",
      name: null,
      cid: "0721405516",
      action: "RECALL",
      time: "2015-12-30 17:21:45.2990102,
      direction: "IN",
      queuename: "402"
  },
  ...
]

astproxy/qrecall_info/:hours/:cid/:qid

Gets details about the queue call. The request must contains the following parameters:

  • `hours: is the amount of last hours to be searched of the current day
  • cid: the caller identifier
  • qid: the queue identifier

Example JSON response:

[
    {
      "queuename": "403",
      "direction": "IN",
      "action": "TIMEOUT",
      "time": "2018-03-21 14:13:32.415053",
      "position": 1,
      "duration": 1,
      "hold": 12,
      "cid": "3296632153",
      "agent": "NONE"
  },
  ...
]

astproxy/qrecall_check/:num

Check if the number is already in a conversation. The num is the number to be checked.

Example JSON response:

{
    inConversation: true
}

astproxy/qmanager_queues

Get all the queues for the queue supervisor.

Example JSON response:

{
    "501": {
          "name": "hold501",
          "queue": "501",
          "members": {
             "609": {
                 "type": "dynamic",
                 "name": "",
                 "queue": "501",
                 "member": "609",
                 "paused": false,
                 "loggedIn": false,
                 "callsTakenCount": 0,
                 "lastCallTimestamp": 0,
                 "lastPausedInReason": "",
                 "lastPausedInTimestamp": 0,
                 "lastPausedOutTimestamp": 0
             }
          },
          "avgHoldTime": "0",
          "avgTalkTime": "0",
          "waitingCallers": {},
          "completedCallsCount": "0",
          "abandonedCallsCount": "0",
          "serviceLevelTimePeriod": "60",
          "serviceLevelPercentage": "0.0"
      }
}

astproxy/qmanager_qstats/:qid

Gets statistics about the queue.

Example JSON response:

{
    "queueman": "401",
    "tot": 5,
    "tot_processed": 2,
    "processed_less_sla": 2,
    "tot_null": 2,
    "tot_failed": 1,
    "failed_inqueue_noagents": 0, // enter into the queue and fail for agents disappearance
    "failed_withkey": 0,
    "failed_timeout": 0,
    "failed_abandon": 1,
    "failed_full": 0,
    "failed_outqueue_noagents": 0, // failed outside the queue for agents lack
    "min_duration": 3,
    "max_duration": 4,
    "avg_duration": 4,
    "min_wait": 1,
    "max_wait": 11,
    "avg_wait": 4,
    "sla": 60
}

astproxy/qmanager_qcalls

Gets realtime statistics about all the queues.

Example JSON response:

{
    "401": {
        "cc_counter": 0,
        "waiting_counter": 0,
        "tot": 0
    },
    "402": {
        "cc_counter": 0,
        "waiting_counter": 0,
        "tot": 0
    },
    ...
}

astproxy/qmanager_astats

Gets statistics about all the agents.

Example JSON response:

TODO TODO TODO TODO TODO TODO TODO TODO { "401": { "queueman": "401", "tot": 5, "tot_processed": 2, "processed_less_sla": 2, "tot_null": 2, "tot_failed": 1, "failed_inqueue_noagents": 0, // enter into the queue and fail for agents disappearance "failed_withkey": 0, "failed_timeout": 0, "failed_abandon": 1, "failed_full": 0, "failed_outqueue_noagents": 0, // failed outside the queue for agents lack "min_duration": 3, "max_duration": 4, "avg_duration": 4, "min_wait": 1, "max_wait": 11, "avg_wait": 4, "sla": 60 }, ... }


POST requests

  1. astproxy/park
  2. astproxy/toggle_hold
  3. astproxy/call
  4. astproxy/mute
  5. astproxy/unmute
  6. astproxy/atxfer
  7. astproxy/answer
  8. astproxy/hangup
  9. astproxy/dtmf
  10. astproxy/wakeup
  11. astproxy/intrude
  12. astproxy/mute_record
  13. astproxy/start_record
  14. astproxy/blindtransfer
  15. astproxy/unmute_record
  16. astproxy/start_spy
  17. astproxy/pickup_parking
  18. astproxy/hangup_mainexten
  19. astproxy/pickup_qwaitcaller
  20. astproxy/queuemember_add
  21. astproxy/inout_dyn_queues
  22. astproxy/queuemember_pause
  23. astproxy/queuemember_remove
  24. astproxy/queuemember_unpause
  25. astproxy/pickup_conv
  26. astproxy/end_conf
  27. astproxy/start_conf
  28. astproxy/join_myconf
  29. astproxy/mute_userconf
  30. astproxy/hangup_userconf
  31. astproxy/unmute_userconf
  32. astproxy/blindtransfer_queue

astproxy/mute

Mute audio of the conversation in one direction only. The specified endpointId is able to listen. The request must contains the following parameters:

  • convid: the conversation identifier
  • endpointId: the extension identifier that has the conversation to mute. The user must be the owner of the extension.

Example JSON request parameters:

{ "convid": "SIP/214-000003d5>SIP/221-000003d6", "endpointId": "214" }

astproxy/unmute

Unmute audio of the conversation on both sides. The request must contains the following parameters:

  • convid: the conversation identifier
  • endpointId: the extension identifier that has the conversation to unmute. The user must be the owner of the extension.

Example JSON request parameters:

{ "convid": "SIP/214-000003d5>SIP/221-000003d6", "endpointId": "214" }

astproxy/park

Park a conversation. The user can park only his own conversations. The request must contains the following parameters:

  • convid: the conversation identifier
  • endpointId: the extension identifier that has the conversation to park
  • applicantId: the extension identifier who requested the parking

Example JSON request parameters:

{ "convid": "SIP/214-000003d5>SIP/221-000003d6", "endpointId": "221", "applicantId": "216" }

astproxy/toggle_hold

Hold/Unhold a conversation of the specified extension. It uses HTTP api of the physical phones, so it works only if the extension is registered with a supported phone. The request must contains the following parameters:

  • endpointId: the extension identifier registered with physical supported phones.

Example JSON request parameters:

{ "endpointId": "214" }

astproxy/call

Calls a number from the specified endpoint. If the endpoint is not specified it will use the user default. The request must contains the following parameters:

  • number: the number to be called
  • [endpointId]: the endpoint identifier that make the new call. It requires "endpointType".
  • [endpointType]: ("extension" | "cellphone") the type of the endpoint that makes the new call. It requires "endpointId".

Example JSON request parameters:

{ "number": "0123456789" }
{ "number": "0123456789", "endpointType": "extension", "endpointId": "214" }

astproxy/hangup

Hangup the specified conversation. The user can hangup whatever conversation only if he has the appropriate permission, otherwise he can hangup only his conversations. The request must contains the following parameters:

  • convid: the conversation identifier
  • endpointId: the endpoint identifier that has the conversation to hangup. If the user hasn't the permission of the advanced operator the endpointId must to be its endpoint identifier.

Example JSON request parameters:

{ "convid": "SIP/214-000003d5>SIP/221-000003d6", "endpointId": "214" }

astproxy/hangup_mainexten

Hangup all calls of main extension and so even of the secondary extensions. The user can hangup only if he has the appropriate permission, otherwise he can hangup only his main extension. The request must contains the following parameters:

  • exten: the main extension identifier

Example JSON request parameters:

{ "exten": "214" }

astproxy/blindtransfer

Transfer the conversation to the specified destination with blind type. The request must contains the following parameters:

  • to: the destination number to blind transfer the conversation
  • convid: the conversation identifier
  • endpointId: the extension identifier of the user who has the conversation to blind transfer

Example JSON request parameters:

{ "convid": "SIP/214-000003d5>SIP/221-000003d6", "endpointId": "214", "to": "0123456789" }

astproxy/atxfer

Attended transfer the conversation to the specified destination. The request must contains the following parameters:

  • to: the destination number to transfer the conversation
  • convid: the conversation identifier
  • endpointId: the extension identifier of the user who has the conversation to attended transfer

Example JSON request parameters:

{ "convid": "SIP/214-000003d5>SIP/221-000003d6", "endpointId": "214", "to": "221" }

astproxy/answer

Answer the conversation from the specified endpoint. If the endpoint is not specified it will use the user default. The request must contains the following parameters:

  • [endpointId]: the endpoint identifier of the user who has the conversation to answer. It requires "endpointType".

Example JSON request parameters:

{}
{ "endpointId": "214" }

astproxy/start_record

Starts the recording of the specified conversation. The request must contains the following parameters:

  • convid: the conversation identifier
  • endpointId: the extension identifier that has the conversation to record

Example JSON request parameters:

{ "convid": "SIP/214-000003d5>SIP/221-000003d6", "endpointId": "214" }

astproxy/mute_record

Mute the recording of the specified conversation. The request must contains the following parameters:

  • convid: the conversation identifier
  • endpointId: the extension identifier that has the conversation to record

Example JSON request parameters:

{ "convid": "SIP/214-000003d5>SIP/221-000003d6", "endpointType": "extension", "endpointId": "214" }

astproxy/unmute_record

Unmute the recording of the specified conversation. The request must contains the following parameters:

  • convid: the conversation identifier
  • endpointId: the extension identifier that has the conversation to record

Example JSON request parameters:

{ "convid": "SIP/214-000003d5>SIP/221-000003d6", "endpointType": "extension", "endpointId": "214" }

astproxy/wakeup

Create an alarm for a specified date, time and extension. The request must contains the following parameters:

  • time: (hh:mm 24 hours format) the alarm clock
  • date: (YYYYMMDD format) the alarm day
  • extension: the extension for the alarm
  • [maxRetries]: number of retries before failing (not including the initial attempt, e.g. 0 = total of 1 attempt to make the call). Default is 5
  • [retryTime]: seconds between retries, don't hammer an unavailable phone. Default is 60 (1 min)
  • [waitTime]: seconds to wait for an answer. Default is 30

Example JSON request parameters:

{ "time": "14:42", "date": "20170528", "extension": "221" }
{ "time": "14:42", "date": "20170528", "extension": "221", "maxRetries": "3" }

astproxy/dtmf

Sends the dtmf tone using HTTP api of the physical phone. It works only with supported physical phones. The request must contains the following parameters:

  • tone: the tone to send. Permitted values are: 0 1 2 3 4 5 6 7 8 9 * #
  • endpointId: the extension identifier

Example JSON request parameters:

{ "tone": "5", "endpointId": "214" }

astproxy/intrude

Intrudes into the specified conversation. Only the endpointId can listen and speak with the spier, its counterpart can not do that. The request must contains the following parameters:

  • convid: the conversation identifier
  • endpointId: the endpoint identifier that has the conversation to spy and speak
  • destId: the endpoint identifier that spy the conversation

Example JSON request parameters:

{ "convid": "SIP/209-00000060>SIP/211-00000061", "endpointId": "209", destId": "214" }

astproxy/start_spy

Spy with only listening the specified conversation. The request must contains the following parameters:

  • convid: the conversation identifier
  • endpointId: the endpoint identifier of the user who has the conversation to spy
  • destId: the endpoint identifier that spy the conversation

Example JSON request parameters:

{ "convid": "SIP/214-000003d5>SIP/221-000003d6", "endpointId": "221", "destId": "205" }

astproxy/pickup_qwaitcaller

Pickup a waiting caller from a queue. The request must contains the following parameters:

  • queue: the queue identifier
  • waitCallerId: the parking identifier
  • destId: the extension identifier that pickup the waiting caller

Example JSON request parameters:

{ "queue": "401", "waitCallerId": "IAX2/214-2273", "destId": "200" }

NOTE: this method is discouraged because it can cause wrong data in queue statistics!


astproxy/pickup_parking

Pickup the specified parking. The request must contains the following parameters:

  • destId: the extension identifier that pickup the conversation
  • parking: the parking identifier

Example JSON request parameters:

{ "parking": "70", "destId": "214" }

astproxy/queuemember_add

Adds the specified extension to the queue. The request must contains the following parameters:

  • endpointId: the endpoint identifier
  • queueId: the queue identifier
  • [paused]: the paused status
  • [penalty]: a penalty (number) to apply to the member. Asterisk will distribute calls to members with higher penalties only after attempting to distribute calls to those with lower penalty

Example JSON request parameters:

{ "endpointId": "209", "queueId": "401" }
{ "endpointId": "209", "queueId": "401", "paused": true, "penalty": 1 }

astproxy/inout_dyn_queues

Alternates the logon and logout of the specified extension in all the queues for which it is a dynamic member. The request must contains the following parameters:

  • endpointId: the endpoint identifier

Example JSON request parameters:

{ "endpointId": "209" }

astproxy/queuemember_pause

Pause the specified extension from receiving calls from the queue. The request must contains the following parameters:

  • endpointId: the endpoint identifier
  • [queueId]: the queue identifier. If omitted the pause is done in all queues
  • [reason]: the textual description of the reason

Example JSON request parameters:

{ "endpointId": "209", "queueId": "401", "reason": "some reason" }

astproxy/queuemember_remove

Removes the specified extension from the queue. The request must contains the following parameters:

  • endpointId: the endpoint identifier
  • queueId: the queue identifier

Example JSON request parameters:

{ "endpointId": "209", "queueId": "401" }

astproxy/queuemember_unpause

Unpause the specified extension to receiving calls from the queue. The request must contains the following parameters:

  • endpointId: the endpoint identifier
  • [queueId]: the queue identifier. If omitted the unpause is done in all queues

Example JSON request parameters:

{ "endpointId": "209", "queueId": "401" }

astproxy/pickup_conv

Pickup the ringing conversation from the specified endpoint. The request must contains the following parameters:

  • destId: the extension identifier that pickup the conversation
  • endpointId: the extension identifier that has the conversation to pickup

Example JSON request parameters:

{ "endpointId": "221", "destId": "220"}

astproxy/end_conf

Ends the entire meetme conference. The request must contains the following parameters:

  • confId: the conference identifier

Example JSON request parameters:

{ "confId": "202" }

astproxy/start_conf

Starts a meetme conference. The request must contains the following parameters:

  • convid: the conversation identifier of the owner to be added to the conference
  • addEndpointId: the identifier of the extension to be added to the conference
  • ownerEndpointId: the extension identifier who wants to start the meetme conference

Example JSON request parameters:

{ "convid": "SIP/214-000003d5>SIP/221-000003d6", "ownerEndpointId": "202", "addEndpointId": "201" }

astproxy/join_myconf

Joins the extension owner to his meetme conference. The request must contains the following parameters:

  • endpointId: the endpoint identifier

Example JSON request parameters:

{ "endpointId": "202" }

astproxy/mute_userconf

Mute a user of a meetme conference. The request must contains the following parameters:

  • confId: the conference identifier
  • userId: the user identifier to be muted

Example JSON request parameters:

{ "confId": "202", "userId": "2" }

astproxy/unmute_userconf

Unmute a user of a meetme conference. The request must contains the following parameters:

  • confId: the conference identifier
  • userId: the user identifier to be muted

Example JSON request parameters:

{ "confId": "202", "userId": "2" }

astproxy/hangup_userconf

Hangup a user of a meetme conference. The request must contains the following parameters:

  • confId: the conference identifier
  • extenId: the extension identifier to be hanged up

Example JSON request parameters:

{ "confId": "202", "extenId": "201" }

astproxy/blindtransfer_queue

Transfer the waiting caller from a queue to the specified destination using the blind type. The request must contains the following parameters:

  • to: the destination number
  • queue: the queue identifier
  • waitingCallerId: the identifier of the waiting caller

Example JSON request parameters:

{ "queue": "401", "waitingCallerId": "SIP/209-00000060", "to": "209" }

DELETE requests

  1. astproxy/wakeup

astproxy/wakeup

Delete an alarm wakeup. The request must contains the following parameters:

  • filename: the name of the alarm file

Example JSON request parameters:

{ "filename": "202-1496073180.call" }

Item Index

Methods

agents_qos

(
  • req
  • res
  • next
)

Gets QOS info about agents with the following REST API:

GET agents_qos

Parameters:

  • req Object

    The client request.

  • res Object

    The client response.

  • next Function

    Function to run the next handler in the chain.

ajaxPhoneAnswer

(
  • username
  • req
  • res
)

Answer to call from the extension sending an HTTP GET request to the phone device.

Parameters:

  • username String

    The username that originate the call

  • req Object

    The client request

  • res Object

    The client response

ajaxPhoneCall

(
  • username
  • req
  • res
)

Originates a new call sending an HTTP GET request to the phone device.

Parameters:

  • username String

    The username that originate the call

  • req Object

    The client request

  • res Object

    The client response

ajaxPhoneDtmf

(
  • username
  • req
  • res
)

Send dtmf tone to current conversation sending an HTTP GET request to the phone device.

Parameters:

  • username String

    The username that send dtmf tone

  • req Object

    The client request

  • res Object

    The client response

ajaxPhoneHoldUnhold

(
  • username
  • req
  • res
)

Hold/Unhold current conversation sending an HTTP GET request to the phone device.

Parameters:

  • username String

    The username that hold the conversation

  • req Object

    The client request

  • res Object

    The client response

answer

(
  • req
  • res
  • next
)

Answers to a call with the following REST API:

POST answer

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

answer_webrtc

(
  • req
  • res
  • next
)

Answers a call directed to a webrtc extension sending the relative command to the client with the following REST API:

POST answer_webrtc

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

asteriskCall

(
  • username
  • req
  • res
)

Originates a new call by asterisk.

Parameters:

  • username String

    The username that originate the call

  • req Object

    The client request

  • res Object

    The client response

atxfer

(
  • req
  • res
  • next
)

Transfer a conversation with attended type with the following REST API:

POST atxfer

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

blindtransfer

(
  • req
  • res
  • next
)

Transfer a conversation with blind type with the following REST API:

POST blindtransfer

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

blindtransfer_parking

(
  • req
  • res
  • next
)

Transfer the parked call to the specified destination with blind type with the following REST API:

POST blindtransfer_parking

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

blindtransfer_queue

(
  • req
  • res
  • next
)

Transfer the waiting caller from the queue to the specified destination with blind type with the following REST API:

POST blindtransfer_queue

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

call

(
  • username
  • req
  • res
)

Originates a new call.

Parameters:

  • username String

    The username that originate the call

  • req Object

    The client request

  • res Object

    The client response

call

(
  • req
  • res
  • next
)

Makes a new call with the following REST API:

POST call

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

call

(
  • req
  • res
  • next
)

Hold/Unhold a conversation of the extension registered with a supported physical phone with the following REST API:

POST toggle_hold

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

call_echo

(
  • req
  • res
  • next
)

Originates a new echo call with the following REST API:

POST call_echo

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

cfcall

(
  • req
  • res
  • next
)

Manages both GET and POST requests for call forward status to a destination number of the endpoint of the user with the following REST API:

GET  cfcall/:type/:endpoint
POST cfcall

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

cfcallGet

(
  • req
  • res
  • next
)

Gets the call forward status to a destination number of the endpoint of the user.

Parameters:

  • req Object

    The request object

  • res Object

    The response object

  • next Object

cfcallGetBusy

(
  • endpoint
  • username
  • res
)

Gets the call forward on busy status to a destination number of the endpoint of the user.

Parameters:

  • endpoint String

    The extension identifier

  • username String

    The username

  • res Object

    The response object

cfcallGetUnavailable

(
  • endpoint
  • username
  • res
)

Gets the call forward on unavailable status to a destination number of the endpoint of the user.

Parameters:

  • endpoint String

    The extension identifier

  • username String

    The username

  • res Object

    The response object

cfcallGetUnconditional

(
  • endpoint
  • username
  • res
)

Gets the unconditional call forward status to destination number of the endpoint of the user.

Parameters:

  • endpoint String

    The extension identifier

  • username String

    The username

  • res Object

    The response object

cfcallSet

(
  • req
  • res
  • next
)

Sets the call forward status of the endpoint of the user to a destination number.

Parameters:

  • req Object

    The request object

  • res Object

    The response object

  • next Object

cfcallSetBusy

(
  • endpoint
  • username
  • activate
  • [to]
  • res
)

Sets the call forward on busy status to a destination number of the endpoint of the user.

Parameters:

  • endpoint String

    The extension identifier

  • username String

    The username

  • activate Boolean

    True if the call forward on busy must be activated

  • [to] String optional

    The destination of the call forward on busy

  • res Object

    The response object

cfcallSetUnavailable

(
  • endpoint
  • username
  • activate
  • [to]
  • res
)

Sets the call forward unavailable status to a destination number of the endpoint of the user.

Parameters:

  • endpoint String

    The extension identifier

  • username String

    The username

  • activate Boolean

    True if the call forward unavailable must be activated

  • [to] String optional

    The destination of the call forward on unavailable

  • res Object

    The response object

cfcallSetUnconditional

(
  • endpoint
  • username
  • activate
  • [to]
  • res
)

Sets the unconditional call forward status to a destination number of the endpoint of the user.

Parameters:

  • endpoint String

    The extension identifier

  • username String

    The username

  • activate Boolean

    True if the unconditional call forward must be activated

  • [to] String optional

    The destination of the unconditional call forward

  • res Object

    The response object

cfvm

(
  • req
  • res
  • next
)

Manages both GET and POST requests for call forward status to voicemail of the endpoint of the user with the following REST API:

GET  cfvm/:type/:endpoint
POST cfvm

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

cfvmGet

(
  • req
  • res
  • next
)

Gets the call forward status to a voicemail of the endpoint of the user.

Parameters:

  • req Object

    The request object

  • res Object

    The response object

  • next Object

cfvmGetBusy

(
  • endpoint
  • username
  • res
)

Gets the call forward on busy status to voicemail of the endpoint of the user.

Parameters:

  • endpoint String

    The extension identifier

  • username String

    The username

  • res Object

    The response object

cfvmGetUnavailable

(
  • endpoint
  • username
  • res
)

Gets the call forward on unavailable status to voicemail of the endpoint of the user.

Parameters:

  • endpoint String

    The extension identifier

  • username String

    The username

  • res Object

    The response object

cfvmGetUnconditional

(
  • endpoint
  • username
  • res
)

Gets the unconditional call forward status to voicemail of the endpoint of the user.

Parameters:

  • endpoint String

    The extension identifier

  • username String

    The username

  • res Object

    The response object

cfvmSet

(
  • req
  • res
  • next
)

Sets the call forward status of the endpoint of the user to a destination voicemail.

Parameters:

  • req Object

    The request object

  • res Object

    The response object

  • next Object

cfvmSetBusy

(
  • endpoint
  • username
  • activate
  • [to]
  • res
)

Sets the call forward on busy status to voicemail of the endpoint of the user.

Parameters:

  • endpoint String

    The extension identifier

  • username String

    The username

  • activate Boolean

    True if the call forward on busy must be activated

  • [to] String optional

    The voicemail destination of the call forward on busy

  • res Object

    The response object

cfvmSetUnavailable

(
  • endpoint
  • username
  • activate
  • [to]
  • res
)

Sets the call forward unavailable status to a voicemail of the endpoint of the user.

Parameters:

  • endpoint String

    The extension identifier

  • username String

    The username

  • activate Boolean

    True if the call forward unavailable must be activated

  • [to] String optional

    The voicemail destination of the call forward on unavailable

  • res Object

    The response object

cfvmSetUnconditional

(
  • endpoint
  • username
  • activate
  • [to]
  • res
)

Sets the unconditional call forward status to a voicemail of the endpoint of the user.

Parameters:

  • endpoint String

    The extension identifier

  • username String

    The username

  • activate Boolean

    True if the unconditional call forward must be activated

  • [to] String optional

    The voicemail destination of the unconditional call forward

  • res Object

    The response object

conference

(
  • req
  • res
  • next
)

It serves only the local clients: the remote sites can not ask for it. Gets the meetme conference of the extension with the following REST API:

GET  conference/:endpoint

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

cw

(
  • req
  • res
  • next
)

Manages both GET and POST requests for don't disturb status of the endpoint of the user with the following REST API:

GET  cw/:endpoint
POST cw

Parameters:

  • req Object

    The client request.

  • res Object

    The client response.

  • next Function

    Function to run the next handler in the chain.

cwget

(
  • req
  • res
  • next
)

Gets the call waiting status of the endpoint of the user.

Parameters:

  • req Object

    The request object

  • res Object

    The response object

  • next Object

cwset

(
  • req
  • res
  • next
)

Sets the call waiting status of the endpoint of the user.

Parameters:

  • req Object

    The request object

  • res Object

    The response object

  • next Object

dnd

(
  • req
  • res
  • next
)

Manages both GET and POST requests for don't disturb status of the endpoint of the user with the following REST API:

GET  dnd/:endpoint
POST dnd

Parameters:

  • req Object

    The client request.

  • res Object

    The client response.

  • next Function

    Function to run the next handler in the chain.

dndget

(
  • req
  • res
  • next
)

Gets the don't disturb status of the endpoint of the user.

Parameters:

  • req Object

    The request object

  • res Object

    The response object

  • next Object

dndset

(
  • req
  • res
  • next
)

Sets the don't disturb status of the endpoint of the user.

Parameters:

  • req Object

    The request object

  • res Object

    The response object

  • next Object

dtmf

(
  • req
  • res
  • next
)

Sends the dtmf code using HTTP api of supported physical phone with the following REST API:

POST dtmf

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

end_conf

(
  • req
  • res
  • next
)

Ends the entire meetme conference with the following REST API:

POST end_conf

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

extension

(
  • req
  • res
  • next
)

Gets the extension with all its status information with the following REST API:

GET  extension/:id

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

extensions

(
  • req
  • res
  • next
)

Gets all the extensions with all their status information with the following REST API:

GET  extensions

Parameters:

  • req Object

    The client request.

  • res Object

    The client response.

  • next Function

    Function to run the next handler in the chain.

fallbackAjaxPhoneCall

(
  • username
  • req
  • res
)

This is the fallback of a failed ajax phone call. It uses the asterisk call.

Parameters:

  • username String

    The username that originate the call

  • req Object

    The client request

  • res Object

    The client response

force_hangup

(
  • req
  • res
  • next
)

Force hangup of the specified conversation with the following REST API:

POST force_hangup

Parameters:

  • req Object

    The client request.

  • res Object

    The client response.

  • next Function

    Function to run the next handler in the chain.

hangup

(
  • req
  • res
  • next
)

Hangup a conversation with the following REST API:

POST hangup

Parameters:

  • req Object

    The client request.

  • res Object

    The client response.

  • next Function

    Function to run the next handler in the chain.

hangup_channel

(
  • req
  • res
  • next
)

Hangup the asterisk channel with the following REST API:

POST hangup_channel

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain.

hangup_mainexten

(
  • req
  • res
  • next
)

Hangup all the conversations of the main extension and so even the associated seconday extensions with the following REST API:

POST hangup_mainexten

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

hangup_userconf

(
  • req
  • res
  • next
)

Hangup a user of a meetme conference with the following REST API:

POST hangup_userconf

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

inout_dyn_queues

(
  • req
  • res
  • next
)

Logon the extension in all the queues in which is dynamic member with the following REST API:

POST inout_dyn_queues

Parameters:

  • req Object

    The client request.

  • res Object

    The client response.

  • next Function

    Function to run the next handler in the chain.

intrude

(
  • req
  • res
  • next
)

Spy and speak in a conversation with the following REST API:

POST intrude

Parameters:

  • req Object

    The client request.

  • res Object

    The client response.

  • next Function

    Function to run the next handler in the chain.

join_myconf

(
  • req
  • res
  • next
)

Joins the extension owner to his meetme conference with the following REST API:

POST join_myconf

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

mute

(
  • req
  • res
  • next
)

Unmute a conversation with the following REST API:

POST unmute

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

mute

(
  • req
  • res
  • next
)

Mute a conversation in one direction only. The specified extension is able to listen. It does this with the following REST API:

POST mute

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

mute_record

(
  • req
  • res
  • next
)

Mute the record of the specified conversation with the following REST API:

POST mute_record

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

mute_userconf

(
  • req
  • res
  • next
)

Mute a user of a meetme conference with the following REST API:

POST mute_userconf

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

opgroups

(
  • req
  • res
  • next
)

Gets the operator panel user groups of the local site with the following REST API:

GET  opgroups

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

park

(
  • req
  • res
  • next
)

Park a conversation with the following REST API:

POST park

Parameters:

  • req Object

    The client request.

  • res Object

    The client response.

  • next Function

    Function to run the next handler in the chain.

parkings

(
  • req
  • res
  • next
)

Gets all the parkings with all their status information with the following REST API:

GET  parkings

Parameters:

  • req Object

    The client request.

  • res Object

    The client response.

  • next Function

    Function to run the next handler in the chain.

pickup_conv

(
  • req
  • res
  • next
)

Pickup a conversation with the following REST API:

POST pickup_conv

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

pickup_parking

(
  • req
  • res
  • next
)

Pickup a parked call with the following REST API:

POST pickup_parking

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

pickup_qwaitcaller

(
  • req
  • res
  • next
)

Pickup a waiting caller from a queue with the following REST API:

POST pickup_qwaitcaller

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

prefix

(
  • req
  • res
  • next
)

Gets the prefix number used with outgoing external calls with the following REST API:

GET  prefix

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

qmanager_astats

(
  • req
  • res
  • next
)

Gets statistics about the agents with the following REST API:

GET qmanager_astats

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

qmanager_qcalls

(
  • req
  • res
  • next
)

Gets statistics about the queue with the following REST API:

GET qmanager_qcalls

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

qmanager_qstats

(
  • req
  • res
  • next
)

Gets statistics about the queue with the following REST API:

GET qmanager_qstats

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

qrecall_check

(
  • req
  • res
  • next
)

Checks if some user has just recalled the number with the following REST API:

GET qrecall_check

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

qrecall_info

(
  • req
  • res
  • next
)

Gets the details about the queue recall with the following REST API:

GET qrecall_info

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

queue_recall

(
  • req
  • res
  • next
)

Gets the recall data about the queue with the following REST API:

GET queue_recall

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

queuemember_add

(
  • req
  • res
  • next
)

Logon the extension in the queue in which is dynamic member with the following REST API:

POST queuemember_add

Parameters:

  • req Object

    The client request.

  • res Object

    The client response.

  • next Function

    Function to run the next handler in the chain.

queuemember_pause

(
  • req
  • res
  • next
)

Pause the specified extension from receiving calls from the queue with the following REST API:

POST queuemember_pause

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

queuemember_remove

(
  • req
  • res
  • next
)

Logout the extension from the queue in which is dynamic member with the following REST API:

POST queuemember_remove

Parameters:

  • req Object

    The client request.

  • res Object

    The client response.

  • next Function

    Function to run the next handler in the chain.

queuemember_unpause

(
  • req
  • res
  • next
)

Unpause the specified extension to receive calls from the queue with the following REST API:

POST queuemember_unpause

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

queueMemberPauseUnpause

(
  • req
  • res
  • paused
)

Pause or unpause an extension of a queue. The parameter "queueId" can be omitted. In this case the pause or unpause is done in all queues.

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • paused Boolean

    If the extension must be paused or unpaused. If it is true the extension will be paused from the queue.

queues

(
  • req
  • res
  • next
)

Gets all the queues with all their status information with the following REST API:

GET  queues

Parameters:

  • req Object

    The client request.

  • res Object

    The client response.

  • next Function

    Function to run the next handler in the chain.

queues_qos

(
  • req
  • res
  • next
)

Gets QOS info about queues with the following REST API:

GET queues_qos

Parameters:

  • req Object

    The client request.

  • res Object

    The client response.

  • next Function

    Function to run the next handler in the chain.

queues_stats

(
  • req
  • res
  • next
)

Gets extended statistics about queues with the following REST API:

GET queues_stats

Parameters:

  • req Object

    The client request.

  • res Object

    The client response.

  • next Function

    Function to run the next handler in the chain.

remot_call

(
  • req
  • res
  • next
)

Makes a new call to a remote extension of a remote site with the following REST API:

POST remote_call

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

remote_extensions

(
  • req
  • res
  • next
)

Gets all the extensions with all their status information of all remote sites with the following REST API:

GET  remote_extensions

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

remote_opgroups

(
  • req
  • res
  • next
)

It serves only the local clients: the remote sites can not ask for it. Gets the operator panel user groups of all remote sites with the following REST API:

GET  remote_opgroups

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

remote_prefixes

(
  • req
  • res
  • next
)

Gets the prefix number of all remote sites used with outgoing external calls with the following REST API:

GET  remote_prefixes

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

setCompAstProxy

(
  • ap
)

Sets the asterisk proxy component used for asterisk functions.

Parameters:

  • ap Object

    The asterisk proxy component.

setCompAuthorization

(
  • comp
)
static

Set the authorization architect component.

Parameters:

  • comp Object

    The architect authorization component

setCompComNethctiRemotes

(
  • comp
)

Set remote sites communication architect component.

Parameters:

  • comp Object

    The remote sites communication architect component.

setCompComNethctiWs

(
  • comp
)
static

Set the websocket communication architect component.

Parameters:

  • comp Object

    The architect websocket communication component

setCompConfigManager

(
  • cm
)

Set configuration manager architect component used by configuration functions.

Parameters:

  • cm Object

    The configuration manager architect component.

setCompOperator

(
  • comp
)

Sets the operator architect component.

Parameters:

  • comp Object

    The operator architect component.

setCompUser

(
  • comp
)
static

Set the user architect component.

Parameters:

  • comp Object

    The architect user component

setCompUtil

(
  • comp
)

Sets the utility architect component.

Parameters:

  • comp Object

    The utility architect component.

setLogger

(
  • log
)
static

Set the logger to be used.

Parameters:

  • log Object

    The logger object. It must have at least three methods: info, warn and error as console object.

setPrivacy

(
  • str
)

Sets the string used to hide last digits of phone numbers in privacy mode.

Parameters:

  • str Object

    The string used to hide last digits of phone numbers.

sip_webrtc

(
  • req
  • res
  • next
)

Gets all the configuration about the sip WebRTC with the following REST API:

GET  sip_webrtc

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

start_conf

(
  • req
  • res
  • next
)

Transfer a conversation to the specified voicemail with the following REST API:

POST start_conf

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

start_record

(
  • req
  • res
  • next
)

Starts the record of the specified conversation with the following REST API:

POST start_record

Parameters:

  • req Object

    The client request.

  • res Object

    The client response.

  • next Function

    Function to run the next handler in the chain.

start_spy

(
  • req
  • res
  • next
)

Spy a conversation with only listening it with the following REST API:

POST start_spy

Parameters:

  • req Object

    The client request.

  • res Object

    The client response.

  • next Function

    Function to run the next handler in the chain.

stop_record

(
  • req
  • res
  • next
)

Stop the record of the specified conversation with the following REST API:

POST stop_record

Parameters:

  • req Object

    The client request.

  • res Object

    The client response.

  • next Function

    Function to run the next handler in the chain.

trunks

(
  • req
  • res
  • next
)

Gets all the trunks with all their status information with the following REST API:

GET trunks

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

txfer_tovm

(
  • req
  • res
  • next
)

Transfer a conversation to the specified voicemail with the following REST API:

POST txfer_tovm

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

unauthe_call

(
  • req
  • res
  • next
)

Makes a new call to the destination number from the endpoint of the user with the following REST API:

GET  unauthe_call/:endpoint/:number

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

unmute_record

(
  • req
  • res
  • next
)

Unmute the record of the specified conversation with the following REST API:

POST unmute_record

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

unmute_userconf

(
  • req
  • res
  • next
)

Unmute a user of a meetme conference with the following REST API:

POST unmute_userconf

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

wakeup

(
  • req
  • res
  • next
)

Create an alarm for a specified date, time and extension with the following REST API:

POST wakeup

Parameters:

  • req Object

    The client request

  • res Object

    The client response

  • next Function

    Function to run the next handler in the chain

wakeupDelete

(
  • req
  • res
  • next
)

Delete an alarm wakeup.

Parameters:

  • req Object

    The request object

  • res Object

    The response object

  • next Object

wakeupGet

(
  • req
  • res
  • next
)

Return the list of all alarms wakeup.

Parameters:

  • req Object

    The request object

  • res Object

    The response object

  • next Object

wakeupPost

(
  • req
  • res
  • next
)

Create a new alarm wakeup.

Parameters:

  • req Object

    The request object

  • res Object

    The response object

  • next Object

Properties

compAstProxy

Object private

The asterisk proxy component used for asterisk functions.

compAuthorization

Object private

The architect component to be used for authorization.

compComNethctiRemotes

Object private

The remote sites communication architect component.

compComNethctiWs

Object private

The architect component to be used for websocket communication.

compConfigManager

Object private

The configuration manager architect component used for configuration functions.

compOperator

Object private

The architect component to be used for operator.

compUser

Object private

The architect component to be used for user.

compUtil

Object private

The utility architect component.

delete

Array

REST API to be requested using HTTP DELETE request.

Sub-properties:

  • wakeup String

    Delete a specific alarm wakeup

dtmfTonesPermitted

Object private

Dtmf tones permitted.

Default: [ '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '*', '#' ]

get

Array

REST API to be requested using HTTP POST request.

Sub-properties:

  • queues String

    Gets all the queues of the operator panel of the user

  • trunks String

    Gets all the trunks of the operator panel of the user

  • prefix String

    Gets the prefix number used with outgoing external calls

  • wakeup String

    Gets the list of all alarms wakeup

  • remote_prefixes String

    Gets prefix number of all remote sites used with outgoing external calls

  • opgroups String

    Gets all the user groups of the operator panel

  • remote_opgroups String

    Gets all the user groups of all remote sites

  • conference/:endpoint String

    Gets data about the meetme conference of the extension

  • parkings String

    Gets all the parkings with all their status information

  • extension/:id String

    Gets the extension with all their status information

  • extensions String

    Gets all the extensions with all their status information

  • sip_webrtc String

    Gets all the configuration about the sip WebRTC

  • remote_extensions String

    Gets all the extensions with all their status information of all remote sites

  • queues_stats/:day String

    Gets extended statistics about queues

  • qmanager_qstats/:qid String

    Gets statistics about the queue

  • qmanager_qcalls String

    Gets statistics about all the queues

  • qmanager_astats String

    Gets statistics about all the agents

  • queue_recall/:hours/:qids String

    Gets the recall data about the queues

  • qrecall_info/:hours/:cid/:qid String

    Gets the details about the queue recall

  • qrecall_check/:num String

    Checks if the number is in conversation

  • queues_qos/:day String

    Gets QOS info about queues

  • agents_qos/:day String

    Gets QOS info about agents

  • cw/:endpoint String

    Gets the call waiting status of the endpoint of the user

  • dnd/:endpoint String

    Gets the don't disturb status of the endpoint of the user

  • cfvm/:type/:endpoint String

    Gets the call forward status to voicemail of the endpoint of the user

  • cfcall/:type/:endpoint String

    Gets the call forward status to a destination number of the endpoint of the user

  • unauthe_call/:endpoint/:number String

    Calls the number from the specified endpoint without authentication

  • qmanager_queues String

    Gets all the queues of the queue supervisor

IDLOG

String private final

The module identifier used by the logger.

Default: [plugins_rest/astproxy]

logger

Object private

The logger. It must have at least three methods: info, warn and error.

Default: console

post

Array

REST API to be requested using HTTP POST request.

Sub-properties:

  • cw String

    Sets the call waiting status of the endpoint of the user

  • dnd String

    Sets the don't disturb status of the endpoint of the user

  • park String

    Park a conversation of the user

  • call String

    Make a new call

  • mute String

    Mute a call in one direction only. The specified extension is able to listen

  • dtmf String

    Sends the dtmf by physical supported phone

  • cfvm String

    Sets the call forward status of the endpoint of the user to a destination voicemail

  • wakeup String

    Create an alarm for a specified date, time and extension

  • unmute String

    Unmute a call

  • cfcall String

    Sets the call forward status of the endpoint of the user to a destination number

  • atxfer String

    Transfer a conversation with attended type

  • answer String

    Answer a conversation from the extension

  • hangup String

    Hangup a conversation

  • intrude String

    Spy and speak in a conversation

  • end_conf String

    Ends the entire meetme conference

  • call_echo String

    Originates a new echo call

  • start_spy String

    Spy a conversation with only listening

  • txfer_tovm String

    Transfer the conversation to the voicemail

  • start_conf String

    Starts a meetme conference

  • toggle_hold String

    Hold/Unhold a conversation of the user. It works only with supported physical phones

  • join_myconf String

    Joins the extension owner to his meetme conference

  • pickup_conv String

    Pickup a conversation

  • stop_record String

    Stop the recording of a conversation

  • mute_record String

    Mute the recording of a conversation

  • start_record String

    Start the recording of a conversation

  • force_hangup String

    Force hangup of a conversation

  • mute_userconf String

    Mute a user of a meetme conference

  • answer_webrtc String

    Answer a conversation from the webrtc extension sending the command to the client

  • blindtransfer String

    Transfer a conversation with blind type

  • unmute_record String

    Unmute the recording of a conversation

  • hangup_channel String

    Hangup the asterisk channel

  • pickup_parking String

    Pickup a parked call

  • unmute_userconf String

    Unmute a user of a meetme conference

  • hangup_userconf String

    Hangup a user of a meetme conference

  • queuemember_add String

    Adds the specified extension to the queue

  • inout_dyn_queues String

    Alternates the logon and logout of the extension in all the queues for which it's a dynamic member

  • hangup_mainexten String

    Hangup all conversations of the main extension

  • queuemember_pause String

    Pause the specified extension from receive calls from the queue

  • pickup_qwaitcaller String

    Pickup a waiting caller from a queue

  • queuemember_remove String

    Removes the specified extension from the queue

  • queuemember_unpause String

    Unpause the specified extension to receive calls from the queue

  • blindtransfer_queue String

    Transfer a waiting caller from a queue to the destination with blind type

  • blindtransfer_parking String

    Transfer the parked call to the destination with blind type

privacyStrReplace

String private

The string used to hide phone numbers in privacy mode.

Default: "xxx"