Config API Version 2 Dialplans

Introduction

Dialplans are part of the Phone System Manager.

They control the flow of inbound calls and allow you to edit features in the dialplan such as destination endpoints, IVRs, time routing etc.

List Destination Endpoint Maps

Destination Endpoint Maps provide the ability to create multiple named endpoints that can be be used in dialplans to route to certain destinations, but can be edited without editing the dialplan itself.

This route lists the destination endpoint maps available in an IGRP.

Request:

GET /config/v2/igrps/{IGRP SPECIFIER}/dialplans/destinationMaps

URL Path Params

GET Params

Filter Types

Sort Types

Same fields as Filter Types, see above.

Response:

HTTP 200 - OK

Read Destination Endpoint Map

This route gets the configuration for a single destination endpoint map.

Request:

GET /config/v2/igrps/{IGRP SPECIFIER}/dialplans/destinationMaps/{DEST MAP SPECIFIER}

URL Path Params

Response:

HTTP 200 - OK

List Destination Endpoint Map Items

Destination Endpoint Maps can contain multiple destinations. Each map item is assigned to a named key that is then referenced from other points in the dialplan.

This route lists the destination map items in a destination endpoint map.

Request:

GET /config/v2/igrps/{IGRP SPECIFIER}/dialplans/destinationMaps/{DEST MAP SPECIFIER}/items

URL Path Params

GET Params

Filter Types

Sort Types

Same fields as Filter Types, see above.

Response:

HTTP 200 - OK

Read Destination Endpoint Map Item

This route gets the configuration for a single destination endpoint map.

Request:

GET /config/v2/igrps/{IGRP SPECIFIER}/dialplans/destinationMaps/{DEST MAP SPECIFIER}/items/{DEST MAP ITEM SPECIFIER}

URL Path Params

Response:

HTTP 200 - OK

Add Destination Endpoint Map Item

This route allows you to add an item to a destination map.

Request:

POST /config/v2/igrps/{IGRP SPECIFIER}/dialplans/destinationMaps/{DEST MAP SPECIFIER}/items

URL Path Params

POST Params

Response:

HTTP 201 - CREATED

Update Destination Endpoint Map Item

This route allows you to add an item to a destination map.

Request:

POST /config/v2/igrps/{IGRP SPECIFIER}/dialplans/destinationMaps/{DEST MAP SPECIFIER}/items/{DEST MAP ITEM SPECIFIER}

URL Path Params

POST Params

Response:

HTTP 204 - NO CONTENT