ul_add_contact
Register a new SIP contact binding to the user location table. Specify table, address of record, contact URI, expiration time, and priority to add or update a contact entry.
Instructions
Add a contact binding to the user location table.
Parameters
table:
The usrloc table (e.g. location).
aor:
The Address of Record (e.g. alice@example.com).
contact:
The contact URI to register (e.g. sip:alice@192.168.1.10:5060).
expires:
Expiration time in seconds (default: 3600).
q:
Contact priority / q-value (default: 1.0).
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": {
"table": "<table>",
"aor": "<aor>",
"contact": "<contact>"
},
"name": "ul_add_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| aor | Yes | ||
| contact | Yes | ||
| expires | No | ||
| q | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||