add_allowed_ip
Authorize a specific IP address to access a SIP account. Provide the SIP account name and the IP address to whitelist. Returns a JSON object listing all approved 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 |