start_telephony_connection
Start connecting an app to a phone system (PBX) and get the one-time link the CUSTOMER opens to type the API token themselves. The token never passes through the chat, you or the logs: do not ask for it, do not accept it pasted. Send the link to the customer as is. It works once, for 24 hours, and is spent only after the token passes a check against the PBX (a typo can be fixed on the same page). Calling again makes a new link and replaces the unused one; the stored token is kept until a new one is typed. Pick the provider from list_telephony_providers. For paycall pass publicConfig.baseUrl, the server address of that customer's tenant, e.g. https://master.ippbx.co.il/ippbx_api/v1.4/api/info (https only, must end with /api/info). Owner or admin of the app. Afterwards: get_telephony_connection shows connected, test_telephony_connection proves it, configure_telephony_mapping says where calls go.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"appId": "<appId>",
"provider": "<provider>"
},
"name": "start_telephony_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | App id or slug (from list_apps / create_app) | |
| provider | Yes | Provider id from list_telephony_providers, e.g. paycall | |
| publicConfig | No | Non-secret settings only, per the provider's fields, e.g. { baseUrl } | |
| organizationId | No | Organization id; defaults to the credential organization when omitted |