Example: Configuring Integrated Convergence Services Hunt Group

This example shows how to configure a hunt group to include stations whose members can answer calls that come in on the hunt group’s logical extension.

Requirements

Overview

This example explains how to configure a hunt group and its station group whose members include four stations—sanjay-desk, majorie-desk, and ron-desk, diane-desk—in the accounting department of an enterprise. The hunt group responds to employee payroll and other questions from users at all branches.

The example associates the station group acct-employee-payroll containing the members who can answer calls with the hunt group and assigns it a logical extension that employees throughout the company can call.

When a call comes in on the logical extension 2000, the device directs it to the first station configured for the hunt group, and it rings that phone. If the user does not pick up the phone immediately, the system continues to ring the phone for 20 seconds, which is specified for the ring timeout parameter. Then it moves on to the next station specified in the station group.

The example includes configuration of the class of restriction configuration (COR) accounting-cor that is assigned to the template called sip-hunt-template.

Configuration

Configuring Class of Restriction Policies

CLI Quick Configuration

To quickly configure the accounting-cor COR configuration:

set services convergence-services class-of-restriction accounting-cor policy allow-inter-branch-calls call-type inter-branch-call set services convergence-services class-of-restriction accounting-cor policy allow-inter-branch-calls permission allow set services convergence-services class-of-restriction accounting-cor policy allow-local-calls call-type local-call set services convergence-services class-of-restriction accounting-cor policy allow-local-calls permission allow set services convergence-services class-of-restriction accounting-cor policy allow-long-distance-calls call-type long-distance-call set services convergence-services class-of-restriction accounting-cor policy allow-long-distance-calls permission allowset services convergence-services class-of-restriction accounting-cor policy allow-international-calls call-type international-call set services convergence-services class-of-restriction accounting-cor policy allow-international-calls permission allow

J-Web Quick Configuration

Step-by-Step Procedure

To create the accounting-cor COR configuration and configure policies for it:

  1. Select Convergence Services > Station > Class of Restriction and type accounting-cor in the Class of restriction box.
    1. Click Add to add the first policy.
    2. In the Policy name box, type allow-inter-branch-calls.
    3. Select Allow from the Permission list.
    4. Select inter-branch-call from the Calltype list.
    5. Click OK.
  2. Click Add to add the second policy.
    1. In the Policy name box, type allow-local-calls.
    2. Select local-call from the Calltype list.
    3. Click OK.
  3. Click Add to add the third policy.

    1. In the Policy name box, type allow-international-calls.
    2. Select Allow from the Permission list.
    3. Select international-call from the Calltype list.
    4. Click OK.
  4. Click Add to add the fourth policy.

    1. In the Policy name box, type allow-long-distance-calls.
    2. Select allow-long-distance-calls from the Calltype list.
    3. Click OK.

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see “Using the CLI Editor in Configuration Mode”.

  1. Configure policies for the accounting-cor COR configuration.
    [edit services convergence-services]user@host# set class-of-restriction accounting-cor policy allow-inter-branch-calls permission allow call-type inter-branch-calluser@host# set class-of-restriction accounting-cor policy allow–local–calls permission allow call-type local-calluser@host#set class-of-restriction accounting-cor policy allow–long-distance–calls permission allow call-type long-distance-calluser@host#set class-of-restriction accounting-cor policy allow-international-calls permission allow call-type international-call

Results

From configuration mode, confirm your by entering the show services convergence-services class-of-restriction accounting-cor command.

user@host show services convergence-services class-of-restriction accounting-corpolicy allow-inter-branch-calls {call-type {inter-branch-call;}permission allow;}policy allow-local-calls {call-type {local-call;}permission allow;}policy allow-long-distance-calls {call-type {long-distance-call;}permission allow;}policy allow-international-calls {call-type {international-call;}permission allow;}

If you are done configuring the device, enter commit from configuration mode.

Configuring a SIP Template

CLI Quick Configuration

To quickly configure the SIP template, copy the following commands and paste them into the CLI.

set services convergence-services station-template sip-template sip-hunt-template caller-id-transmit set services convergence-services station-template sip-template sip-hunt-template class-of-restriction accounting-cor

J-Web Quick Configuration

Step-by-Step Procedure

To configure the SIP template:

  1. Select Convergence Services > Station > Station Template, and click Add.
    1. In the Template Name box, type sip-hunt-template.
    2. Select the SIP button.
    3. From the Class of restriction list, select the accounting-cor.
    4. Click OK.
  2. Click OK to check your configuration and save it as a candidate configuration.
  3. If you are done configuring the device, click Commit>Options>Commit.

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see “Using the CLI Editor in Configuration Mode”.

  1. Create the station template called sip-hunt-template.
    [edit services convergence-services] user@host# set station-template sip-template sip-hunt-template class-of-restriction accounting-cor

Results

user@host show services convergence-services station-template sip-template sip-hunt-templatecaller-id-transmit; class-of-restriction accounting-cor;

Configuring User Stations

CLI Quick Configuration

To quickly configure four stations for users who will belong to the hunt group, copy the following commands and paste them into the CLI.

[edit]set services convergence-services station sanjay-desk extension 15550 set services convergence-services station sanjay-desk caller-id "Sanjay, 555 231-5550" set services convergence-services station sanjay-desk station-type sip template standard-sip-templateset services convergence-services station majorie-desk extension 15551 set services convergence-services station majorie-desk caller-id "Majorie, 555 231-5551" set services convergence-services station majorie-desk station-type sip template standard-sip-template set services convergence-services station ron-desk extension 12222 set services convergence-services station ron-desk caller-id "Ron, 555 231-2222" set services convergence-services station ron-desk station-type sip template sip-hunt-template set services convergence-services station diane-desk extension 15553 set services convergence-services station diane-desk caller-id "Ron, 555 231-5553" set services convergence-services station diane-desk station-type sip template sip-hunt-template

J-Web Quick Configuration

Step-by-Step Procedure

  1. Select Configure > Convergence Services > Station.
    1. Click Add to configure the first user station
    2. Type sanjay-desk in the Name box.
    3. Type 65550 in the Extension box.
    4. Type Sanjay, 555 231–1111 in the Caller ID box.
    5. Type sip-hunt-template in the Template box.
    6. Click OK.
  2. Configure the second user station.
    1. Click Add.
    2. Type majorie-desk in the Name box.
    3. Type 15551 for the station in the Extension box.
    4. Type Majorie, 555 231-5551 in the Caller ID box.
    5. Type sip-hunt-template in the Template box.
    6. Click OK.
  3. Configure the third user station.
    1. Click Add.
    2. Type ron-desk in the Name box.
    3. Type 12222 for the station in the Extension box.
    4. Type Ron, 555 231–2222 in the Caller ID box.
    5. Type sip-hunt-template in the Template box.
    6. Click OK.
  4. Configure the fourth user station.
    1. Click Add.
    2. Type diane-desk in the Name box.
    3. Type 15553 for the station in the Extension box.
    4. Type Ron, 555 231-5553 in the Caller ID box.
    5. Type sip-hunt-template in the Template box.
    6. Click OK.

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see “Using the CLI Editor in Configuration Mode”.

  1. Configure four user stations.
    [edit services convergence-services] user@host set station sanjay-desk extension 15550user@host set station sanjay-desk caller-id “Sanjay, 555 231–5550” station-type sip template sip-hunt-templateuser@host set station majorie-desk extension 15551user@host set station majorie-desk caller-id “Majorie, 555 231-5551” station-type sip template sip-hunt-templateuser@host set station ron-desk extension 12222user@host set station ron-desk caller-id “Ron, 555 231–2222” station-type sip template sip-hunt-templateuser@host set station diane-desk extension 15553user@host set station diane-desk caller-id “Ron, 555 231-5553” station-type sip template sip-hunt-template
  2. Confirm your configuration by entering the show services convergence-services station station-name command for each station. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.
    [edits]user@host# show services convergence-services station sanjay-deskstation sanjay-desk {extension 15550;caller-id “Sanjay, 555 231–5550”;station-type {sip {template sip-hunt-template;}}
    [edit]user@host# show services convergence-services station majorie-deskstation majorie-desk {extension 15551;caller-id “Majorie, 555 231-5551”;station-type {sip {template sip-hunt-template;}}
    [edit]user@host# show services convergence-services station ron-deskstation ron-desk { extension 12222;caller-id “Ron, 555 231–2222”;station-type {sip {template sip-hunt-template;}}
    [edit]user@host# show services convergence-services station diane-deskstation diane-desk {extension 15553;caller-id “Ron, 555 231-5553”;station-type {sip {template sip-hunt-template;}}
  3. Commit the configuration if you are done configuring the device.
    [edit services convergence-services]user@host# commit

Configuring a Station Group

CLI Quick Configuration

set services convergence-services station-group acct-employee-payroll station sanjay-desk set services convergence-services station-group acct-employee-payroll station majorie-desk set services convergence-services station-group acct-employee-payroll station ron-desk set services convergence-services station-group acct-employee-payroll station diane-desk

J-Web Quick Configuration

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see “Using the CLI Editor in Configuration Mode”.

  1. Configure a station group that includes four preconfigured user stations.
    [edit services convergence-services] user@host# set station-group acct-employee-payroll station sanjay-desk station majorie-desk station ron-desk station diane-desk station

Results

Confirm your configuration by entering the show services convergence-services station-group acct-employee-payroll command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

[edit]user@host# show services convergence-services station-group acct-employee-payrollstation [ sanjay-desk majorie-desk ron-desk diane-desk ];

If you are done configuring the device, enter commit from configuration mode.

Configuring the Hunt Group

CLI Quick Configuration

To quickly configure the hunt group, copy the following commands and paste them into the CLI.

[edit]set services convergence-services features hunt-group corp-accounting extension 2000 ring-timeout 20 set services convergence-services features hunt-group corp-accounting station-group acct-employee-payroll

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see “Using the CLI Editor in Configuration Mode”.

  1. Configure three stations whose users belong to the hunt group.
    [edit services convergence-services]user@host# set features hunt-group corp-accounting extension 2000 station-group acct-employee-payroll ring-timeout 20

Results

From configuration mode, confirm your configuration by entering the show services convergence-services features hunt-group corp-accounting command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

[edit]show services convergence-services features hunt-group corp-accountingextension 2000; ring-timeout 20; station-group acct-employee-payroll;

If you are done configuring the device, enter commit from configuration mode.

Verification

Verifying that the SRX Series MGW is Active

Purpose

Verify that the SRX Series MGW is active. Display the length of time that the Integrated Convergence Services media gateway call routing engine has been executing.

Action

From operational mode, enter the show services convergence-services media-gateway uptime command.

Related Topics