set voip

In the R81.10.X releases, this command is available starting from the R81.10.10 version.

Description

Configures VoIP settings.

See show voip.

Syntax

set voip

      allow-pbx-management-from-internet {true | false}

      disable-sip-inspection {true | false}

      external-ip-phones-ipv4-addresses

            add name <Name of Object>

            remove-all name

            remove name <Name of Object>

      external-phones-name <Name of Object>

      external-sip-provider-ipv4-addresses

            add name <Name of Object>

            remove-all name

            remove name <Name of Object>

      ip-Phones-ipv4-addresses

            add name <Name of Object>

            remove-all name

            remove name <Name of Object>

      is-active {true | false}

      log-sip-provider-traffic {true | false}

      pbx-provider-ipv4Address <IPv4 address>

      phones-name <Name of Object>

      sip-provider-name <Name of Object>

      use-pbx {true | false}

      use-public-phones {true | false}

      use-sip-provider {true | false}

      use-vpn-remote-access-phones {true | false}

      use-vpn-site-to-site-phones {true | false}

Parameters

Parameter

Description

allow-pbx-management-from-internet

Specifies whether to allow access to the PBX management portal from the Internet:

  • true - Allow (this is the default)

  • false - Block

disable-sip-inspection

Specifies whether to disable the inspection of SIP-based traffic:

  • true - Disable

  • false - Enable (this is the default)

Note - RTP services must be configured.

external-ip-phones-ipv4-addresses

Performs actions in the table that maps names of network objects to phones' external IPv4 addresses:

  • add name <Name of Object>

    Adds an object with the specified name.

  • remove-all name

    Removes all objects.

  • remove name <Name of Object>

    Removes an object with the specified name.

Where "<Name of Object>" is -

A string that contains these characters without space between them:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

  • '-' (minus)

external-phones-name

Specifies the object name that represents the external phones that connect with Internet public IP addresses.

Where "<Name of Object>" is -

A string that contains these characters without space between them:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

  • '-' (minus)

external-sip-provider-ipv4-addresses

Performs actions in the table that maps names of network objects to SIP service provider:

  • add name <Name of Object>

    Adds an object with the specified name.

  • remove-all name

    Removes all objects.

  • remove name <Name of Object>

    Removes an object with the specified name.

Where "<Name of Object>" is -

A string that contains these characters without space between them:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

  • '-' (minus)

ip-Phones-ipv4-addresses

Performs actions in the table that maps names of network objects to phones' internal IPv4 addresses:

  • add name <Name of Object>

    Adds an object with the specified name.

  • remove-all name

    Removes all objects.

  • remove name <Name of Object>

    Removes an object with the specified name.

Where "<Name of Object>" is -

A string that contains these characters without space between them:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

  • '-' (minus)

is-active

Specifies whether to enable the VoIP configuration:

  • true - Enable

  • false - Disable (this is the default)

log-sip-provider-traffic

Specifies whether to generate logs for traffic from the external (off premises) SIP provider:

  • true - Generate

  • false - Do not generate (this is the default)

pbx-provider-ipv4Address

Specifies the IPv4 address of the on-premises SIP (PBX) server.

phones-name

Specifies the object name that represents the phones.

Where "<Name of Object>" is -

A string that contains these characters without space between them:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

  • '-' (minus)

sip-provider-name

Specifies the object name that represents the external (off premise) SIP service provider.

Where "<Name of Object>" is -

A string that contains these characters without space between them:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

  • '-' (minus)

use-pbx

Specifies whether to use an on-premises SIP server (PBX):

  • true - Use

  • false - Do not use (this is the default)

use-public-phones

Specifies whether to use phones with Internet public IP addresses:

  • true - Use

  • false - Do not use (this is the default)

use-sip-provider

Specifies whether VoIP service is provided by an external (off premises) SIP service provider:

  • true - Yes (this is the default)

  • false - No

use-vpn-remote-access-phones

Specifies whether phones use Remote Access VPN to connect:

  • true - Yes

  • false - No (this is the default)

use-vpn-site-to-site-phones

Specifies whether phones use Site to Site VPN to connect:

  • true - Yes

  • false - No (this is the default)

Example Command

set voip is-active true sip-provider-name SIP-Provider phones-name IP-Phones external-phones-name External-IP-Phones