add_allowed_ip
Whitelist an IP address for a SIP account to enable secure communication. Input the SIP account name and IP address to return a JSON list of all allowed IPs for the account.
Instructions
Whitelist an IP to a SIP account
Args: sipaccount_name: Name of SIP account ip: IP address to allow
Returns a JSON object with all whitelisted IP addresses for account Example output: { "allowed_ips": [ "88.99.12.33", "99.33.55.11" ] }
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ip | Yes | IP address to allow | |
sipaccount_name | Yes | Name of sip account |
Input Schema (JSON Schema)
{
"properties": {
"ip": {
"description": "IP address to allow",
"title": "Ip",
"type": "string"
},
"sipaccount_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
],
"description": "Name of sip account",
"title": "Sipaccount Name"
}
},
"required": [
"sipaccount_name",
"ip"
],
"title": "add_allowed_ipArguments",
"type": "object"
}