Dialed Number API for Avaya PG
Use the Dialed Number API to list the dialed numbers currently defined in the database, define new dialed numbers, view, and edit existing dialed numbers for Avaya PG.
URL
https://<server>/unifiedconfig/config/dialednumber/avayadialednumberOperations
Parameters
-
description: See Shared Parameters.
-
dialedNumberString: Required. Value used to route the call or direct the non-voice task. A unique string for the routing type. Maximum of 25 characters. The External Voice and Post Call Survey routing types cannot have the same dialed number string.
-
changeStamp: See Shared Parameters.
-
mediaRoutingDomain: A reference to the media routing domain (Media Routing Domain API) for the dialed number. See References.
-
callType: A reference to a call type for this dialed number, including a refURL and name. See References.
-
dialedNumberRecords: A collection of dialed number record entries each containing the id and name of a dialed number database record. Read-only.
-
peripheral: A unique identifier for the peripheral.
-
label: Name of the default label for the dialed number. The default label for the dialed number is used when the system software fails to determine a target for the call within the routing client's time-out threshold.
-
pcsEnabledDialedNumberPattern: Optional. Dialed Numbers (DN) or DN patterns to associate with the Post Call Survey number. The maximum character length is 512 that can contain comma separated list without any spaces. Applicable only when the Routing Type is 7 (Post Call Survey -Unified CVP). If the Routing Type is not 7, the system returns an error message.
-
ringtoneName: Optional. A file name that has the customized ringtone. The file name can have a maximum length of 256 characters. Internationalized characters are allowed. Applicable only when the Routing Type is 1 (External Voice - Unified CVP). If the Routing Type is not 1, the system returns an error message.
Search and Sort Values
The following table shows the parameters that are searched and the parameters that are sortable.
Search parameters | Sort parameters |
---|---|
|
|
Advanced search parameters
The Dialed Number API also supports advanced search parameters, such as peripheral.
Following are the REST responses received when the REST API runs to configure the dialed number:
-
Success - Configuration changes persist in AW DB and synchronized with respective devices.
Code: 200
Response: Successfully saved
-
Partial Success - Configuration changes persist in AW DB, but failed to synchronize with one or more devices.
Code: 201
Response: Configuration update failed for one or more devices. (This occurs when the AW DB is updated but Sync with CVP failed.)
Code: 503
Response: The server is currently busy. Please try again later. (This occurs when data synchronization to a device is in progress.)
Example API error:NoteThe partial success generally occurs for dialed number configured with Post Call Survey (PCS) and/or Ringtone.
-
Failure- The configuration updates to AW DB is failed.