set_number_routing
Route a phone number to a specified sipgate endpoint, such as a phoneline, and retrieve the updated routing state.
Instructions
CHANGES THE SIPGATE ACCOUNT: route a phone number to a sipgate endpoint ID (for example a phoneline). Reads and returns the number's before/after state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number_id | Yes | Phone-number ID returned by list_numbers | |
| endpoint_id | Yes | Destination endpoint ID accepted by sipgate, for example p0 |