PBX GUI - Core Module GraphQL APIs
Table of Contents
- 1 Create Extension
- 2 Update Extension
- 3 Delete Extension
- 4 Create Range of Extensions
- 5 Fetch a particular extension detail
- 6 Fetch all Extensions Details
- 7 Fetch all valid extensions
- 8 Add Inbound Route
- 9 Update Inbound Route
- 10 Remove Inbound Route
- 11 Fetch All Inbound Routes
- 12 Fetch Inbound Route
- 13 Create Core Device
- 14 Update Core Device
- 15 Fetch a particular core device details
- 16 Fetch all Core Device Details
- 17 Delete Core Device
- 18 Update Advance Setting's
- 19 Fetch a particular advance settings details
- 20 Fetch all Advance Settings Details
This wiki is to capture the Core module provided GraphQL APIs.
Please find below list of APIs supported by Core module.
Core module APIs are useful to create , modify , delete extensions and fetch the values of existing configured extensions.
Create Extension
Creating an extension into Freepbx/PBXact system.
API Name addExtension API.
API Parameters -
Name | Required | Type | Default | Description |
|---|---|---|---|---|
extensionId | Mandatory | ID |
| Unique string to specify the extension number. |
name | Mandatory | string |
| Display name |
tech | Optional | String | pjsip | SIP Technology device driver. If not specify then will use PJSIP to create the extension. Accepted values: "sip" or "pjsip". |
channelName | Optional | String |
| Channel name in case if using DAHDI |
callerID | Optional | String |
| The CallerID name for calls from this user will be set to this name. Recommended to use "name" not the number. |
outboundCID | Optional | String |
| This overrides the caller id when dialling out a trunk. This setting will override the common outbound caller id set in the trunk. |
emergencyCID | Optional | String |
| This caller id will always be set when dialing out an outbound route flagged as emergency. The emergency CID overrides all other caller id settings. |
Mandatory | String |
| User Email address to use for services such as voicemail, user management and fax etc. | |
vmEnable | Optional | Boolean | True | Voicemail enable / disable |
vmPassword | Optional | String |
| Voicemail password. If not specify then user can access the voicemails without any password/pin. |
umEnable | Optional | Boolean | True | User manager enable/disable. If enabled mandatory to set umPassword |
umGroups | Optional | String | 1 | User manager group. if not specified will use all user(1) created at the time of installation. In case of multiple add comma separated values. |
umPassword | Oprional | String |
| Set passwords for user management. Its mandatory to set password if umEnable is set to true. |
maxContacts | Optional | Integer | 1 | Set max_contacts value for chan_pjsip extension. |
Query Parameters
status
message
API Request