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 |