Create phone line
create_phone_lineCreates the line to the phone provider (SIP) — without password. It only becomes active once the person enters the SIP password in the app (link in the response).
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": {
"name": "<name>",
"server": "<server>",
"username": "<username>"
},
"name": "create_phone_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the line, e.g. provider name | |
| port | No | Port (number) | |
| server | Yes | SIP server of the provider (host name) | |
| provider | No | Provider (optional) | |
| register | No | register with the provider (default: yes) | |
| username | Yes | SIP user name from the provider | |
| country_code | No | Country code without +, e.g. 43 |