Manage PBX System.
Retrieve a collection of IP blacklist entries or whitelist entries.
Use the filter
query parameter to retrieve just a subset of a collection.
Use the search
query parameter to restrict the results of a request to match a search criterion.
Use the orderby
query parameter to specify the sort order of the items returned from server.
The default order is ascending order.
Use the skip
query parameter to set the number of items to skip at the start of a collection.
0
Use the top
query parameter to specify the page size of the result set.
100
Retrieve a collection of transports
Use the filter
query parameter to retrieve just a subset of a collection.
Use the search
query parameter to restrict the results of a request to match a search criterion.
Use the orderby
query parameter to specify the sort order of the items returned from server.
The default order is ascending order.
Use the skip
query parameter to set the number of items to skip at the start of a collection.
0
Use the top
query parameter to specify the page size of the result set.
100
Returns a list of tenant summary information. Note that it uses a different, smaller representation of a tenant than retrieving a single tenant.
Use the filter
query parameter to retrieve just a subset of a collection.
Use the search
query parameter to restrict the results of a request to match a search criterion.
Use the orderby
query parameter to specify the sort order of the items returned from server.
The default order is ascending order.
Use the skip
query parameter to set the number of items to skip at the start of a collection.
0
Use the top
query parameter to specify the page size of the result set.
100
Designate tenant to dealer.
The unique ID of tenant.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
The unique ID of dealer.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
No content
Remove tenant from dealer.
The unique ID of tenant.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
The unique ID of dealer.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
No content
Check if a provider is assigned to the tenant.
The unique ID of trunk.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
The unique ID of tenant.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
Unassign provider from tenant.
The unique ID of trunk.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
The unique ID of tenant.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
No content
Update network configurations for PortSIP PBX.
The web domain for PortSIP PBX
The private IPv4 of system.
The public IPv4 of system.
Indicates if IPv6 would be enabled.
true
The private IPv6 of system.
The public IPv6 of system.
The primary DNS server.
The secondary DNS server.
No content
Change system admin username.
The user's account name.
Only letters, numbers, and the following special characters can be added: underscore, dash, single quote, and period (_, -, ', and .).
Username cannot start or end with period (.).
admin
, system
, administrator
, and root
are reserved names for system admin only with case ignored.
No content
Reset system admin password.
The old password of system admin.
The password of system admin.
The new password pf system admin.
The password of system admin.
No content
Update settings for PortSIP PBX
User agent.
PortSIP UC
The semicolon separated list of blocked user agents.
Enable Shared Address Space Address Range or not (RFC 6598).
true
Indicates if DIGEST authentication would be enabled.
true
Indicates if PortSIP PBX requires authentication against all subsequent requests originated from one calling.
false
Indicates if auth-int DIGEST authentication mode would be enabled.
false
Allow external calls recording.
true
When a client sends a bad nonce in their credentials, return 403 message if this parameter is true, or send a new challenge if this parameter is false.
false
Interval for statistics logs, in seconds.
600
Close the session if no RTP packets received within specified duration, in seconds.
600
Indicates if session timer (RFC 4028) would be enabled. This also requires client support.
true
Duration recorded by Session timer. Precondition: "enable_session_timer" MUST be set to true.
3600
Indicates if "to" tag is allowed in REGISTER message.
false
Indicates if congestion management would be enabled.
true
Precondition: "enable_congestion_management" parameter MUST be set to true. The recommended is WAIT_TIME based on the expected wait time for each FIFO.
WAIT_TIME
:TIME_DEPTH
:SIZE
:Precondition: "enable_congestion_management" parameter MUST be set to true. Congestion management tolerance for the given metric. This parameter determines when the Rejection Behavior changes.
600
Indicates if the extension would be automatically created when a non-existent extension try to register. If it is set to true, when a non-included extension tries to send registry message to PBX, the PBX will create the extension with default password "portsip" automatically.
false
Enable prack or not.
false
Whether to enable tenant-level trunk.
true
Enable Diversion support or not (RFC 5806).
false
Enable History-Info support (RFC 7044).
false
Enable Outbound Support or not (RFC 5626).
true
The flow timer interval in seconds.
0
The register expiration time in seconds.
300
Enable call-info header for auto answer or not.
false
Alert-info header to be added in INVITE message when PBX is forwarding the page/intercom. Values includes:
INTERCOM
: info=intercom.ALERT_AUTO_ANSWER
: Alert-Info:;info=alert-autoanswer;delay=0.AUTO_ANSWER
: info=Auto Answer.Enable call-info header for auto answer. The value is "sip:portsip.com;answer-after=0".
true
Enable Require Answer Mode (RFC 5373) for auto answer.
false
Enable WWW authentication or not.
false
User equal required for authentication name.
true
Tracer server host.
The tracer server port.
A port number is a 16-bit unsigned integer, thus ranging from 0 to 65535. For TCP, port number 0 is reserved and cannot be used, while for UDP, the source port is optional and a value of zero means no port
80
Block if failed to login PortSIP PBX Web more than this times.
5
The web blocked time in seconds.
3600
The number of authentication failures.
50
DOS attacks can send REGISTER/INVITE requests but do not reply to Challenge (407). Configure the amount of "fake" requests that PortSIP PBX will accept per IP Address. If this value is exceeded in "Detection Period" interval the source IP address is put in the Blacklist. IP will remain blacklisted till "SIP Blacklist time interval" expires.
1000
The sip blocked time in seconds.
3600
The detection period in seconds.
10
If the amount of packets is exceeded, the PBX will block the source IP for "Level 1 blacklist time interval" seconds.
5000
This is the time interval in seconds that an abusive IP Address remains in the blacklist
3600
If the amount of packets is exceeded, the PBX will block the source IP for "Level 2 blacklist time interval" seconds.
2000
This is the time interval in seconds that an abusive IP Address remains in the blacklist
30
Content of this certificate file for STIR/SHAKEN support.
Content of this private certificate file for STIR/SHAKEN support.
Some custom configuration options serialized as json string.
No content
Update system notification settings.
The email server type.
Can be either:
SMTP
: Use generic SMTP server.MS365
Use Microsoft 365 email service.GMAIL
Use Google Gmail service.SMTP server used for sending mails.
A port number is a 16-bit unsigned integer, thus ranging from 0 to 65535. For TCP, port number 0 is reserved and cannot be used, while for UDP, the source port is optional and a value of zero means no port
80
A Reply-To address is identified by inserting the Reply-To header in your email.
It is the email address that the reply message is sent
when you want the reply to go to an email address that is different than the From: address.
Username or email address.
Password for email account.
The authentication protocols.
Can be either:
DISABLE
: Skip authentication mechanism.AUTO
: Use auto-selected authentication algorithms by server (Currently only supports LOGIN and PLAIN).LOGIN
: Use LOGIN authentication mechanism.PLAIN
Use PLAIN authentication mechanism.AUTO
Possible values: Whether to enable TLS/SSL.
true
Whether StartTLS is automatically enabled.
false
Comma-separated list of email address that should receive notifications.
Allow up to 15 email addresses.
Apply the email server settings to all tenants.
true
The hard disk threshold for email warning.
0.9
Send a notification email when specified hard disk threshold is exceeded.
false
The CPU threshold for email warning.
0.9
Send a notification email when specified CPU threshold is exceeded.
false
The memory threshold for email warning.
0.9
Send an email notification when specified memory threshold is exceeded.
false
Send a notification email when ip blocked.
false
Send a notification email when license limit reached.
false
Send a notification email when some service disconnected.
false
Send a notification email when push notification certificates update failed.
false
No content
Update SBC configuration.
The SBC domain.
The SBC web port for http.
8882
A port number is a 16-bit unsigned integer, thus ranging from 0 to 65535. For TCP, port number 0 is reserved and cannot be used, while for UDP, the source port is optional and a value of zero means no port
80
The SBC web port fot https.
8883
A port number is a 16-bit unsigned integer, thus ranging from 0 to 65535. For TCP, port number 0 is reserved and cannot be used, while for UDP, the source port is optional and a value of zero means no port
80
No content
Create a dealer.
Enable this dealer or not.
true
Dealer level includes:
DISTRIBUTOR
: the first level of dealers.SUB_DISTRIBUTOR
: the second level of dealers.RESELLER
: the third level of dealers.The user's account name.
Only letters, numbers, and the following special characters can be added: underscore, dash, single quote, and period (_, -, ', and .).
Username cannot start or end with period (.).
admin
, system
, administrator
, and root
are reserved names for system admin only with case ignored.
The password of dealer.
The email address of user.
The email address.
example@example.com
The display name of user.
The website of user.
The mobile phone number of user.
The address.
The description of dealer.
The maximum number of tenants that the dealer is allowed to create.
100
The maximum number of extensions that the dealer is allowed to create.
50000
Whether or not the reseller is allowed to have full control over the tenant.
This attribute is not valid if not modified by first level dealer.
true
Modify the settings of the dealer.
The unique ID of dealer.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
Enable this dealer or not.
true
The email address of user.
The email address.
example@example.com
The display name of user.
The website of user.
The mobile phone number of user.
The address.
The description of dealer.
The maximum number of tenants that the dealer is allowed to create.
100
The maximum number of extensions that the dealer is allowed to create.
50000
Whether or not the reseller is allowed to have full control over the tenant.
This attribute is not valid if not modified by first level dealer.
true
No content
Add a new IP blacklist entry or whitelist entry to the system.
The CIDR
notation IP address and prefix length,
like "192.0.2.0/24" or "2001:db8::/32", as defined in RFC 4632 and RFC 4291.
IP rule's target:
ACCEPT
: An accepted rule.DENY
: A rejection rule.IP rule's expire time.
The RFC 3339 format is defined by The date_time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
2017-07-21T17:32:28Z
Remarks for the IP rule.
Update IP blacklist entry or whitelist entry that already exists.
The unique ID of IP rule.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
The CIDR
notation IP address and prefix length,
like "192.0.2.0/24" or "2001:db8::/32", as defined in RFC 4632 and RFC 4291.
IP rule's target:
ACCEPT
: An accepted rule.DENY
: A rejection rule.IP rule's expire time.
The RFC 3339 format is defined by The date_time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
2017-07-21T17:32:28Z
Remarks for the IP rule.
No content
Add a new transport.
The transport protocol:
Can be either:
UDP
:TCP
:TLS
:The port of transport.
A port number is a 16-bit unsigned integer, thus ranging from 0 to 65535. For TCP, port number 0 is reserved and cannot be used, while for UDP, the source port is optional and a value of zero means no port
80
Indicates if PBX wishes (Optional) or requires (Mandatory) TLS clients to present a client certificate:
DISABLE
: disable client certificate.OPTIONAL
: client authentication optional.MANDATORY
: force client authentication.Update a new transport.
The unique ID of transport.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
The port of transport.
A port number is a 16-bit unsigned integer, thus ranging from 0 to 65535. For TCP, port number 0 is reserved and cannot be used, while for UDP, the source port is optional and a value of zero means no port
80
Indicates if PBX wishes (Optional) or requires (Mandatory) TLS clients to present a client certificate:
DISABLE
: disable client certificate.OPTIONAL
: client authentication optional.MANDATORY
: force client authentication.No content
Create an new tenant.
The name of the tenant.
The SIP domain of tenant.
It is usually a fully qualified domain name (FQDN).
If there is no FQDN, you can also use the IP address of the PBX server as the SIP domain.
The SIP domain name is only used for SIP message authentication and does not require analysis.
The official website of tenant.
Timezone for tenant.
The IANA Time Zone names, such as "Asia/Shanghai".
The Currency code (ISO 4217).
USD
A valid country code based on iso3166-1 alpha-3 standard. see: https://www.iso.org/iso-3166-country-codes.html
Enable this tenant or not.
true
Allow extension video recording.
false
Allow extension audio recording.
false
Allow dual track recording for calls.
false
Enable call billing or not.
false
Enable call billing feature or not.
false
Enable call statistics feature or not.
true
Enable contact center feature or not.
true
Enable message channels feature or not.
true
Enable Microsoft Teams feature or not.
true
Enable trunks feature or not.
true
Enable WhatsApp feature or not.
true
Whether to enable night mode.
false
Whether to enable two-factor authentication.
false
Some custom configuration options serialized as json string
The maximum number of users that the tenant is allowed to create.
1000
The maximum number of concurrent calls that the tenant is allowed to have.
20
The maximum number of ring groups that the tenant is allowed to create.
20
The maximum number of virtual receptionists that the tenant is allowed to create.
20
The maximum number of call queues that the tenant is allowed to create.
20
The maximum number of conference rooms that the tenant is allowed to be online at the same time.
20
The maximum size of disk space that the tenant is allowed to have.
Specify a positive number and specify the unit at the same time, KB, MB, GB, PB are all allowed.
For example: 100MB, 1000GB. Leave it empty, means unlimited.
""
The maximum size of disk space that the tenant is allowed to have for IM service.
Specify a positive number and specify the unit at the same time, KB, MB, GB, PB are all allowed.
For example: 100MB, 1000GB. Leave it empty, means unlimited.
""
The maximum size of disk space that the extension user is allowed to have for IM service.
Specify a positive number and specify the unit at the same time, KB, MB, GB, PB are all allowed.
For example: 100MB, 1000GB. Leave it empty, means unlimited.
1GB
The retention period in days of recordings.
180
The retention period in days of call report files.
30
The retention period in days of audit logs and event logs.
180
The retention period in days of temporary files.
30
The match method of contact:
Can be either:
DISABLE
: Disable match.MATCH_EXACTLY
: Match exactly.MATCH_LENGTH
: Match at least specified number of characters.MATCH_EXACTLY
Possible values: The matched length of characters when contact_match_type is MATCH_LENGTH
.
Method for adding Group, Queue or DID/DDI Names to Caller ID:
Can be either:
DISABLE
: Do not add.APPEND
: Append names.PREPEND
: Prepend names.APPEND
Possible values: The interval for synchronizing contacts from the server, in minutes.
720
Comma-separated list of email address that should receive notifications.
Allow up to 15 email addresses.
Whether to force reset the initial password.
false
Update tenant properties by it's unique ID.
The unique ID of tenant.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
The SIP domain of tenant.
It is usually a fully qualified domain name (FQDN).
If there is no FQDN, you can also use the IP address of the PBX server as the SIP domain.
The SIP domain name is only used for SIP message authentication and does not require analysis.
The official website of tenant.
Timezone for tenant.
The IANA Time Zone names, such as "Asia/Shanghai".
The Currency code (ISO 4217).
USD
A valid country code based on iso3166-1 alpha-3 standard. see: https://www.iso.org/iso-3166-country-codes.html
Enable this tenant or not.
true
Allow extension video recording.
false
Allow extension audio recording.
false
Allow dual track recording for calls.
false
Enable call billing or not.
false
Enable call billing feature or not.
false
Enable call statistics feature or not.
true
Enable contact center feature or not.
true
Enable message channels feature or not.
true
Enable Microsoft Teams feature or not.
true
Enable trunks feature or not.
true
Enable WhatsApp feature or not.
true
Whether to enable night mode.
false
Whether to enable two-factor authentication.
false
Some custom configuration options serialized as json string
The maximum number of users that the tenant is allowed to create.
1000
The maximum number of concurrent calls that the tenant is allowed to have.
20
The maximum number of ring groups that the tenant is allowed to create.
20
The maximum number of virtual receptionists that the tenant is allowed to create.
20
The maximum number of call queues that the tenant is allowed to create.
20
The maximum number of conference rooms that the tenant is allowed to be online at the same time.
20
The maximum size of disk space that the tenant is allowed to have.
Specify a positive number and specify the unit at the same time, KB, MB, GB, PB are all allowed.
For example: 100MB, 1000GB. Leave it empty, means unlimited.
""
The maximum size of disk space that the tenant is allowed to have for IM service.
Specify a positive number and specify the unit at the same time, KB, MB, GB, PB are all allowed.
For example: 100MB, 1000GB. Leave it empty, means unlimited.
""
The maximum size of disk space that the extension user is allowed to have for IM service.
Specify a positive number and specify the unit at the same time, KB, MB, GB, PB are all allowed.
For example: 100MB, 1000GB. Leave it empty, means unlimited.
1GB
The retention period in days of recordings.
180
The retention period in days of call report files.
30
The retention period in days of audit logs and event logs.
180
The retention period in days of temporary files.
30
The match method of contact:
Can be either:
DISABLE
: Disable match.MATCH_EXACTLY
: Match exactly.MATCH_LENGTH
: Match at least specified number of characters.MATCH_EXACTLY
Possible values: The matched length of characters when contact_match_type is MATCH_LENGTH
.
Method for adding Group, Queue or DID/DDI Names to Caller ID:
Can be either:
DISABLE
: Do not add.APPEND
: Append names.PREPEND
: Prepend names.APPEND
Possible values: The interval for synchronizing contacts from the server, in minutes.
720
Comma-separated list of email address that should receive notifications.
Allow up to 15 email addresses.
Whether to force reset the initial password.
false
No content
Update certificate key.
Content of this certificate file for TLS or WSS transport protocol. The certificate file MUST be PEM-encoded with X.509.
Content of this private certificate file for TLS or WSS transport protocol.
No content
Update brand information.
The color scheme:
Can be either:
BLUE
: BlueDARK
: DarkGREEN
: GreenLIGHT_BLUE
: Light BluePURPLE
: PurpleThe unique ID of file from your file library.
This file will be used as the logo image.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
The unique ID of file from your file library.
This file will be used as the favicon image.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
The title text.
This text will be displayed as the title.
The copyright text.
This text will be displayed as the copyright.
The product name text.
This text will be displayed as the product name.
The website text.
This text will be displayed as the product website.
The forum url.
This text will be displayed as the forum url.
The bottom text, maximum size is 256 characters. This text will be displayed at the bottom of the login page. It can be either plain text or HTML code.
No content
Modify the settings of the current dealer.
The email address of user.
The email address.
example@example.com
The display name of user.
The website of user.
The mobile phone number of user.
The address.
The description of dealer.
No content
Change current dealer username.
The user's account name.
Only letters, numbers, and the following special characters can be added: underscore, dash, single quote, and period (_, -, ', and .).
Username cannot start or end with period (.).
admin
, system
, administrator
, and root
are reserved names for system admin only with case ignored.
No content
Assign provider to tenant.
The unique ID of trunk.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
The unique ID of tenant.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
The semicolon-separated list of DID/DDI pool number range or DID/DDI number. Assign a DID/DDI pool number range or DID/DDI number to the tenant. For example: 3000;12000-18000. The DID/DDI pool number range should not overlap with other tenant DID/DDI pool number ranges and numbers.
The max number of concurrent calls.
No content