add_destination
Add a DID destination to the DIDLogic MCP server by specifying the number, destination, transport type, and active status. Supports SIP addresses, PSTN numbers, and SIP accounts, enabling call routing and ring-all group configurations.
Instructions
Add a DID destination.
Args: number: DID number in DIDLogic callhunt: flag indicates do destination is part of ring all group active: flag indicates is destination enabled or not transport: transport of destination where: 1 = SIP address destination (ex: 123@example.com) 4 = PSTN (phone number) destination (ex: 15551231233) 5 = SIP account destination (ex: 12345) destination: destination
Returns a JSON object with did destination where: id: ID of destination destination: destination priority: priority of selection callhunt: flag indicates do destination is part of ring all group active: flag indicates is destination enabled or not transport: transport of destination where: 1 = SIP address destination (ex: 123@example.com) 4 = PSTN (phone number) destination (ex: 15551231233) 5 = SIP account destination (ex: 12345)
Example:
Input Schema
Name | Required | Description | Default |
---|---|---|---|
active | No | Is this destination active | |
callhunt | No | Is it ring all group number | |
destination | Yes | Destination for DID | |
number | Yes | DID Number | |
transport | No | Transport for destination |