H3C XE 200 2000 IP PBX Command Manual(V3.01)

DownLoad Chapters Download(396 KB)

08-Call Serivces Command

Table of Contents

Chapter 1 Voice Service Configuration Commands. 1-1

1.1 Voice Service Configuration Commands. 1-1

1.1.1 service. 1-1

1.1.2 srv-switch. 1-1

Chapter 2 User Management Configuration Commands. 2-1

2.1 User Management Configuration Commands. 2-1

2.1.1 sscb-manage. 2-1

2.1.2 subscriber-status. 2-1

Chapter 3 Emergency Call Configuration Commands. 3-1

3.1 Emergency Call Configuration Commands. 3-1

3.1.1 emergency-call 3-1

3.1.2 emergency-call-number 3-1

Chapter 4 Inter-Group Call Restriction Configuration Commands. 4-1

4.1 Inter-Group Call Restriction Configuration Commands. 4-1

4.1.1 call-limit-group. 4-1

4.1.2 change. 4-1

4.1.3 display location-server call-limit-group. 4-2

4.1.4 display location-server call-limit-group. 4-3

4.1.5 display location-server call-limit-group bind. 4-3

4.1.6 forbid. 4-5

4.1.7 limited-call-group (subscriber number view) 4-6

4.1.8 limited-call-group (call limit group view) 4-6

4.1.9 limited-group. 4-7

4.1.10 srv-switch group-limited-call 4-7

Chapter 5 Outgoing Call Authority Configuration Commands. 5-1

5.1 Outgoing Call Authority Configuration Commands. 5-1

5.1.1 cba. 5-1

5.1.2 display location-server subscriber-role. 5-1

5.1.3 display location-server subscriber-type. 5-2

5.1.4 srv-switch cba. 5-3

5.1.5 subscriber-role (LS view) 5-4

5.1.6 subscriber-role (outgoing call control service view) 5-4

5.1.7 subscriber-type (LS view) 5-5

5.1.8 subscriber-type (user role view) 5-5

5.1.9 type. 5-6

Chapter 6 Abbreviated Dialing Configuration Commands. 6-1

6.1 Abbreviated Dialing Configuration Commands. 6-1

6.1.1 adi (abbreviated dialing service view) 6-1

6.1.2 adi (subscriber number view) 6-1

6.1.3 srv-switch adi 6-2

Chapter 7 Do-Not-Disturb Service Configuration Commands. 7-1

7.1 Do-Not-Disturb Service Configuration Commands. 7-1

7.1.1 dnd. 7-1

7.1.2 do-not-disturb. 7-1

7.1.3 srv-switch do-not-disturb. 7-2

Chapter 8 Calling Line Identification Configuration Commands. 8-1

8.1 Calling Line Identification Configuration Commands. 8-1

8.1.1 clir (subscriber number view) 8-1

8.1.2 clir (CLIR service view) 8-1

8.1.3 srv-switch clip. 8-2

8.1.4 srv-switch clir 8-2

8.1.5 srv-switch rio. 8-3

8.1.6 srv-switch tcir 8-3

Chapter 9 Password Call Configuration Commands. 9-1

9.1 Password Call Configuration Commands. 9-1

9.1.1 pwd-call-password. 9-1

9.1.2 srv-switch pwd-call 9-1

Chapter 10 Call Forwarding Configuration Commands. 10-1

10.1 CFU Configuration Commands. 10-1

10.1.1 cfu. 10-1

10.1.2 cfu-number 10-1

10.1.3 srv-switch cfu. 10-2

10.2 CFNR Configuration Commands. 10-2

10.2.1 cfnr 10-2

10.2.2 cfnr-number 10-3

10.2.3 srv-switch cfnr 10-3

10.3 CFC Configuration Commands. 10-4

10.3.1 cfc. 10-4

10.3.2 cf-caller 10-4

10.3.3 srv-switch cf-caller 10-5

10.4 CFT Configuration Commands. 10-6

10.4.1 cft (subscriber number view) 10-6

10.4.2 cft (CFT service view) 10-6

10.4.3 srv-switch cft 10-7

10.5 CFO Configuration Commands. 10-7

10.5.1 cfo. 10-7

10.5.2 cfo-number 10-8

10.5.3 srv-switch cfo. 10-8

10.6 CFB Configuration Commands. 10-9

10.6.1 cfb. 10-9

10.6.2 cfb-number 10-9

10.6.3 srv-switch cfb. 10-10

Chapter 11 Third Party Call Termination Configuration Commands. 11-1

11.1 Third Party Call Termination Configuration Commands. 11-1

11.1.1 break. 11-1

11.1.2 display location-server call-list 11-1

Chapter 12 ONLY Service Configuration Commands. 12-1

12.1 ONLY Service Configuration Commands. 12-1

12.1.1 only. 12-1

12.1.2 tel-number 12-1

Chapter 13 Time Limit Call Configuration Commands. 13-1

13.1 Time Limit Call Configuration Commands. 13-1

13.1.1 default-limit-call-time. 13-1

13.1.2 limited-call-time. 13-1

13.1.3 limited-time-call 13-2

13.1.4 srv-switch limited-time-call 13-2

Chapter 14 Third Party Call Control Service. 14-1

14.1 Third Party Call Control Service Configuration Commands. 14-1

14.1.1 3pcc. 14-1

14.1.2 display location-server 3pcc. 14-1

14.1.3 participant 14-2

Chapter 15 Callback-On-Busy Service. 15-1

15.1 Callback-On-Busy Service Configuration Commands. 15-1

15.1.1 cb. 15-1

15.1.2 interval (LS-SRV-CB view) 15-1

15.1.3 retry(LS-SRV-CB view) 15-2

15.1.4 srv-switch cb. 15-2

Chapter 16 Call Pickup Service. 16-1

16.1 Call Pickup Service Configuration Commands. 16-1

16.1.1 srv-switch cp. 16-1

Chapter 17 Call Intervention Service. 17-1

17.1 Call Intervention Service Configuration Commands. 17-1

17.1.1 srv-switch ci 17-1

Chapter 18 Dialing Test Service. 18-1

18.1 Dialing Test Operation Commands. 18-1

18.1.1 dial-test 18-1

Chapter 19 Time Announcement Service. 19-1

19.1 Time Announcement Service Configuration Commands. 19-1

19.1.1 srv-switch announce. 19-1

Chapter 20 MyRing Service. 20-1

20.1 MyRing Service Configuration Commands. 20-1

20.1.1 caller-group. 20-1

20.1.2 caller-member 20-1

20.1.3 default-ring. 20-2

20.1.4 myring. 20-3

20.1.5 ring. 20-3

20.1.6 srv-switch myring. 20-4

Chapter 21 CPCP Service. 21-1

21.1 CPCP Service Configuration Commands. 21-1

21.1.1 srv-switch cpcp. 21-1

Chapter 22 Automatic Operator Service. 22-1

22.1 Automatic Operator Service Configuration Commands. 22-1

22.1.1 auto-operator 22-1

22.1.2 extension. 22-1

22.1.3 prompt 22-2

Chapter 23 Group Notification Service. 23-1

23.1 Group Notification Service Configuration Commands. 23-1

23.1.1 config. 23-1

23.1.2 display location-server notify-config. 23-2

23.1.3 display location-server notify-group. 23-3

23.1.4 format 23-4

23.1.5 group-notify (LS-SRV view) 23-4

23.1.6 group-config (group-notify view) 23-5

23.1.7 join. 23-6

23.1.8 member 23-6

23.1.9 notify-config. 23-7

23.1.10 shutdown. 23-7

23.1.11 start 23-8

Chapter 24 Call Transfer Service. 24-1

24.1 Call Transfer Service Configuration Commands. 24-1

24.1.1 srv-switch ct 24-1

Chapter 25 Number Query Service. 25-1

25.1 Number Query Service Configuration Commands. 25-1

25.1.1 srv-switch query-self 25-1

Chapter 26 Alarm Clock Service. 26-1

26.1 Alarm Clock Service Configuration Commands. 26-1

26.1.1 alarm (subscriber number view) 26-1

26.1.2 alarm (alarm clock view) 26-1

26.1.3 srv-switch alarm.. 26-2

 


Chapter 1  Voice Service Configuration Commands

1.1  Voice Service Configuration Commands

1.1.1  service

Syntax

service

View

LS view

Parameter

None

Description

Use the service command to enter LS-service view.

Example

# Enter LS-service view.

[XE-ls]service

[XE-ls-srv]

1.1.2  srv-switch

Syntax

srv-switch { adi | alarm | announce | cb | cba | cf-caller | cfb | cfnr | cfo | cft | cfu | ci | clip | clir | cp | cpcp | ct | do-not-disturb | group-limited-call | gui | limited-time-call | myring | pwd-call | query-self | rio | tcir }  { on | off }

View

Subscriber number view

Parameter

adi: Dialing test service, which defaults to on.

alarm: Alarm clock service.

announce: Time announcement service.

cb: Callback-on-busy service.

cba: Call out restriction service, which defaults to on.

cf-caller: Call forwarding by the caller number service, which defaults to on.

cfb: Call forwarding on busy (CFB) service, which defaults to on.

cfnr: Call forwarding no reply (CFNR) service, which defaults to on.

cfo: Call forwarding offline (CFO) service, which defaults to on.

cft: Call forwarding based on time range (CFT) service, which defaults to on.

cfu: Call forwarding unconditional (CFU) service, which defaults to on.

ci: Call intervention service.

clip: Calling line identification presentation (CLIP) service, which defaults to on.

clir: Calling line identification restriction (CLIR) service.

cp: Call pickup service.

cpcp: Call park/call pickup service.

ct: Call transfer service.

do-not-disturb: Do-not-disturb service.

group-limit-call: Inter-group call restriction service, which defaults to on.

gui: Graphical user interface, which defaults to on.

limited-time-call: Time limit call service.

myring: MyRing service.

pwd-call: Password call service.

query-self: Local number query service.

rio: CLIR override service.

tcir: Temporary reservation for CLIR service.

Description

Use the srv-switch command to enable/disable the voice service.

Example

# Enable the customized ring service for the user 900 under the gateway gw0.

[XE-ls-gw-gw0 #0 900] srv-switch myring on

 


Chapter 2  User Management Configuration Commands

2.1  User Management Configuration Commands

2.1.1  sscb-manage

Syntax

sscb-manage

View

Subscriber number view

Parameter

None

Description

Use the sscb-manage command to enter user management service view.

Example

# Enter user management service view.

[XE-ls-gw-gw02 #1 1001]sscb-manage

2.1.2  subscriber-status

Syntax

subscriber-status { normal | callout | callin | forbid }

View

User management service view

Parameter

normal: The user is in normal status and can make incoming or outgoing calls after startup or rebooting.

callout: The user can only make outgoing calls, but no incoming calls.

callin: The user can only make incoming calls, but no outgoing calls.

forbid: The user can make neither incoming calls nor outgoing calls.

Description

Use the subscriber-status command to configure user status.

The user status defaults to normal.

Example

# Configure the user in callin status.

[XE-ls-gw-gw02 #1 1001-ssbm]subscriber-status callin

 


Chapter 3  Emergency Call Configuration Commands

3.1  Emergency Call Configuration Commands

3.1.1  emergency-call

Syntax

emergency-call

View

LS view

Parameter

None

Description

Use the emergency-call command to enter emergency call service view.

Example

# Enter emergency call service view.

[XE-ls]emergency-call

[XE-ls-emgc]

3.1.2  emergency-call-number

Syntax

emergency-call-number emergency-prefix

undo emergency-call-number { emergency-prefix | all}

View

Emergency call service view

Parameter

all: Removes all emergency call numbers.

emergency-prefix: Emergency call number or the corresponding regular expression. It consists of 31 characters at most, and these characters can be used: ^(\+)!(([0-9ABCD#*.!+%[]()\-])+(\$)!)$.

The system judges an emergency call number by comparing it with all other emergency call numbers and their regular expressions.

A regular expression is a character string in formula form. For example, 1…$ means matching all four-digit call numbers starting with 1.

Table 3-1 describes the special characters used in regular expression.

Table 3-1 Special characters in regular expressions

Character

Description

.

Indicates to match any single character, including a blank space.

!

Indicates that the subset of the regular expression can be repeated for zero times or once.

%

Indicates that the subset of the regular expression can be repeated for zero or multiple times.

+

Indicates that the subset of the regular expression can be repeated once or for multiple times.

^

Indicates that the regular expression can be matched only when it is at the beginning of a line.

$

Indicates that the regular expression can be matched only when it is at the end of a line.

-

Connects the maximum and minimum of a range. For example, 1-9 stands for the range of 1 to 9 when they appear in [].

[]

Character range. For example, [1-36A] stands for optional characters 1, 2, 3, 6 or A. 

()

A group of characters. For example, (123A) stands for string 123A.

 

&  Note:

The brackets [ ] and parentheses ( ) must be in complete form. A bracket pair cannot include another bracket or parenthesis pair; a parenthesis pair cannot include another parenthesis pair; but a parenthesis pair can include another bracket pair.

 

Description

Use the emergency-call-number command to add an emergency call number (a number or a number regular expression). Up to 16 emergency call numbers can be added.

Use the undo emergency-call-number command to remove the specified or all emergency call numbers.

Example

# Add emergency call regular expression 11..

[XE-ls-emgc] emergency-call-number 11..

 


Chapter 4  Inter-Group Call Restriction Configuration Commands

4.1  Inter-Group Call Restriction Configuration Commands

4.1.1  call-limit-group

Syntax

call-limit-group

View

LS view

Parameter

None

Description

Use the call-limit-group command to enter call limit group view.

Example

# Enter call limit group view.

[XE-ls]call-limit-group

[XE-ls-clg]

4.1.2  change

Syntax

change old-group-name new-group-name

View

Call limit group view

Parameter

old-group-name: Old name of the call limit group, which is case-sensitive and consists of 16 characters at most.

new-group-name: New name of the call limit group, which is case-sensitive and consists of 16 characters at most.

Description

Use the change command to change the name of a call limit group.

Example

# Rename the call limit group beijing as beijing-group.

[XE-ls-clg]change beijing beijing-group

4.1.3  display location-server call-limit-group

Syntax

display location-server call-limit-group

View

Any view

Parameter

None

Description

Use the display location-server call-limit-group command to display lists of all call limit groups.

Example

# Display lists of all call limit groups.

[XE-ls-clg]display location-server call-limit-group

  normal-table

  black-table

  white-table

  shanghai

  beijing

 

&  Note:

In information for the display location-server call-limit-group command, the normal-table, black-table and white-table are the reserved call limit groups.

 

4.1.4  display location-server call-limit-group

Syntax

display location-server call-limit-group call-limit-group1 { call-limit-group2 | callin | callout | subscriber }

View

Any view

Parameter

call-limit-group1: Name of the call limit group, which is case-sensitive and consists of 16 characters at most.

call-limit-group2: Name of the call limit group, which is case-sensitive and consists of 16 characters at most.

callin: Displays all the groups that can call the current group.

callout: Displays all the groups that the current group can call.

subscriber: Displays all member numbers in the call limit group.

Description

Use the display location-server call-limit-group command to display  

l           All member numbers in the call limit group

l           All outgoing call limit groups for the current group

l           All incoming call limit groups for the current group

l           The call limit relationship between two groups.

Example

# Display the call limit relationship between groups beijing and shanghai.

<XE>display location-server call-limit-group beijing shanghai

  Group beijing CAN'T call Group shanghai

  Group shanghai CAN call Group beijing

4.1.5  display location-server call-limit-group bind

Syntax

display location-server call-limit-group bind

View

Any view

Parameter

None

Description

Use the display location-server call-limit-group bind command to display the call limit relationship between all call limit groups.

Example

# Display the call limit relationship between all call limit groups.

[XE-ls-clg] display location-server call-limit-group bind

  Group normal-table CAN'T call(1)

    Group: black-table

  Group black-table CAN'T call(7):

    Group: normal-table

    Group: black-table

    Group: white-table

    Group: g1

    Group: g2

    Group: g3

    Group: g4

  Group white-table CAN'T call(0):

  Group g1 CAN'T call(3):

    Group: black-table

    Group: g3

    Group: g4

  Group g2 CAN'T call(2):

    Group: black-table

    Group: g4

  Group g3 CAN'T call(1):

    Group: black-table

  Group g4 CAN'T call(1):

    Group: black-table

This command displays information in the following format:

Group group-caller CAN'T call(limit-call-group-number):

  Group: group-callee1

  Group: group-callee2

group-caller refers to the call limit group the caller is in; limit-call-group-number refers to the number of the call limit groups group-caller cannot call; group-callee1, group-callee2 and the like represent the call limit groups group-caller cannot call.

4.1.6  forbid

Syntax

forbid { src-call-limit-group | all } call { dst-call-limit-group | all }

undo forbid { src-call-limit-group | all } call { dst-call-limit-group | all }

View

Call limit group view

Parameter

src-call-limit-group: Name of the call limit group for the caller, which is case-sensitive and consists of 16 characters at most.

dst-call-limit-group: Name of the call limit group for the called, which is case-sensitive and consists of 16 characters at most.

Description

Use the forbid command to define the call limit relationship between groups.

Use the undo forbid command to remove the call limit relationship between groups.

The forbid src-call-limit-group call dst-call-limit-group command defines a call limit entry that mean the src-call-limit-group cannot call the dst-call-limit-group.

The undo forbid src-call-limit-group call dst-call-limit-group command removes the call limit entry that means the src-call-limit-group cannot call the dst-call-limit-group.

The forbid all call dst-call-limit-group command defines multiple call limit entries that mean all normal groups (except the normal-table group) cannot call the dst-call-limit-group.

The undo forbid all call dst-call-limit-group command removes multiple call limit entries that mean all normal groups cannot call the dst-call-limit-group.

The forbid src-call-limit-group call all command defines multiple call limit entries that mean the src-call-limit-group cannot call all normal groups (except the normal-table group).

The undo forbid src-call-limit-group call all command removes multiple call limit entries that mean the src-call-limit-group cannot call all normal groups.

The forbid all call all command defines multiple call limit entries that mean users in normal groups (except the normal-table group) cannot call each other either inside or between groups.

The undo forbid all call all command removes multiple call limit entries and restore the default call limit relationship.

The call limit relationship is unidirectional: Although the src-call-limit-group cannot call the dst-call-limit-group, the dst-call-limit-group still can call the src-call-limit-group.

By default, any two groups can make calls to each other.

Example

# Configure that group beijing cannot call group shanghai.

[XE-ls-clg]forbid beijing call shanghai

4.1.7  limited-call-group (subscriber number view)

Syntax

limited-call-group

View

Subscriber number view

Parameter

None

Description

Use the limited-call-group command to enter call limit group service view.

Example

# Enter call limit group service view.

[XE-ls-gw-curcfggw #1 1000]limited-call-group

[XE-ls-gw-curcfggw #1 1000-lcg]

4.1.8  limited-call-group (call limit group view)

Syntax

limited-call-group limited-call-group

undo limited-call-group

View

Call limit group view

Parameter

limited-call-group: Name of the call limit group for the current user, which is case-sensitive and consists of 16 characters at most.

Description

Use the limited-call-group command to add a user to a call limit group.

Use the undo limited-call-group command to remove a user from a call limit group.

By default, the user is not added to any call limit group.

Example

# Add user 1000 to call limit group beijing.

[XE-ls-gw-curcfggw #1 1000-lcg]limited-call-group beijing

4.1.9  limited-group

Syntax

limited-group call-limit-group-name

undo limited-group { call-limit-group-name | all }

View

Call limit group view

Parameter

call-limit-group-name: Name of the call limit group, which is case-sensitive and consists of 16 characters at most.

all: Removes all call limit groups.

Description

Use the limited-group command to add a call limit group. Up to 64 call limit groups can be set.

Use the undo limited-group command to remove specified or all call limit groups. The reserved groups white-table, black-table and normal-table cannot be removed.

Example

# Add call limit group beijing.

[XE-ls-clg]limited-group beijing

4.1.10  srv-switch group-limited-call

Syntax

srv-switch group-limited-call {on | off }

View

Subscriber number view

Parameter

on: Enables call limit group service.

off: Disables call limit group service.

Description

Use the srv-switch group-limited-call command to enable or disable call limit group service.

By default, call limit group service is enabled.

Example

# Enable call limit group service.

[XE-ls-gw-gw01 #1 1001]srv-switch group-limited-call on

 


Chapter 5  Outgoing Call Authority Configuration Commands

5.1  Outgoing Call Authority Configuration Commands

5.1.1  cba

Syntax

cba

View

Subscriber number view

Parameter

None

Description

Use the cba command to enter outgoing call authority service view.

Example

# Enter outgoing call control service view.

[XE-ls-gw-gw01 #1 1001]cba

[XE-ls-gw-gw01 #1 1001-cba]

5.1.2  display location-server subscriber-role

Syntax

display location-server subscriber-role { role | all }

View

Any view

Parameter

role: User role, which is case-sensitive and consists of 32 characters at most.

all: Displays all user role information.

Description

Use the display location-server subscriber-role command to display all the user number types that the user role can call.

Example

# Display all the user number types that user role sales can call.

[XE-ls-ssbr-sales]display location-server subscriber-role sales

role: default

role: sales

         mobile

# Display the user number types that all user roles can call.

[XE-ls-ssbr-rnd]display location-server subscriber-role all

role: sales

          mobile

role: rnd

          rnd-phone

Information displays as follows:

role: role1

          type11

          type12

    ….

role: role2

          type21

          type22

    …

role1 and role2 represent the user role; type11 and type12 represent the user number role1 supports; type21 and type22 represent the user number type role2 supports.

5.1.3  display location-server subscriber-type

Syntax

display location-server subscriber-type [ subscriber-type ]

View

Any view

Parameter

subscriber-type: User number type, which is case-sensitive and consists of 32 characters at most.

Description

Use the display location-server subscriber-type command to display all user number types configured in the system.

Use the display location-server subscriber-type subscriber-type command to display the regular expressions that correspond to the specified user number type.

Example

# Display all user number types configured in the system.

<XE> display location-server subscriber-type

  mobile

# Display the regular expressions that correspond to user number type mobile.

<XE>display location-server subscriber-type mobile

  136

  137

  138

  139

From information above, we can see the user number type mobile matches regular expressions 136,137,138 and 139.

5.1.4  srv-switch cba

Syntax

srv-switch cba {on | off }

View

Subscriber number view

Parameter

on: Enables outgoing call control service.

off: Disables outgoing call control service.

Description

Use the srv-switch cba command to enable/disable outgoing call control service.

By default, outgoing call control service is enabled.

Example

# Disable outgoing call control service.

[XE-ls-gw-gw01 #1 1001]srv-switch cba off

5.1.5  subscriber-role (LS view)

Syntax

subscriber-role role

undo subscriber-role { role | all }

View

LS view

Parameter

role: Name of user role, which is case-sensitive and consists of 32 characters at most.

all: Removes all user roles.

Description

Use the subscriber-role command to enter user role view. If the specified user role does not exist in the system, the system first creates the user role and then enters the corresponding view.

Use the undo subscriber-role command to remove specified or all user roles.

Example

# Create user role sales and enter the corresponding view.

[XE-ls]subscriber-role sales

[XE-ls-ssbr-sales]

5.1.6  subscriber-role (outgoing call control service view)

Syntax

subscriber-role role

undo subscriber-role role

View

Outgoing call control service view

Parameter

role: Name of user role, which is case-sensitive and consists of 32 characters at most.

Description

Use the subscriber-role command to configure or change the user role.

Use the undo subscriber-role command to remove the user role.

By default, no user role is defined.

Example

# Define the user role as sales.

[XE-ls-gw-gw01 #1 1001-cba]subscriber-role sales

5.1.7  subscriber-type (LS view)

Syntax

subscriber-type subscriber-type-name

undo subscriber-type { subscriber-type-name | all }

View

LS view

Parameter

subscriber-type-name: Name of the user number type, which is case-sensitive and consists of 32 characters at most.

all: Removes all user number types.

Description

Use the subscriber-type command to enter user number type view. If the specified user number type does not exist, the system first creates the user number type and then enters the corresponding view.

Use the undo subscriber-type command to remove specified or all user number types.

You can define up to eight user number types.

Example

# Create user number type mobile and enter the corresponding view.

[XE-ls]subscriber-type mobile

[XE-ls-ssbt-mobile]

5.1.8  subscriber-type (user role view)

Syntax

subscriber-type subscriber-type-name

undo subscriber-type { subscriber-type-name | all }

View

User role view

Parameter

subscriber-type-name: Name of the user number type, which is case-sensitive and consists of 32 characters at most.

all: Removes all the user number types that the user role can call.

Description

Use the subscriber-type command to add the user number type that the user role can call.

Use the undo subscriber-type command to remove specified or all the user number types that the user role can call.

Example

# Add the user number type mobile that the user role sales can call.

[XE-ls]subscriber-role sales

[XE-ls-ssbr-sales]subscriber-type mobile

5.1.9  type

Syntax

type prefix

undo type { prefix | all }

View

User number type view

Parameter

prefix: Matching regular expression, which consists of 31 characters at most.

all: Removes all regular expressions.

Description

Use the type command to configure the regular expression matching the user number type.

Use the undo type command to remove specified or all regular expression.

You can define up to 16 regular expressions.

Example

# Configure user numbers with prefix 133 as type mobile.

[XE-ls]subscriber-type mobile

[XE-ls-ssbt-mobile]type 133

 


Chapter 6  Abbreviated Dialing Configuration Commands

6.1  Abbreviated Dialing Configuration Commands

6.1.1  adi (abbreviated dialing service view)

Syntax

adi ab-number long-number

undo adi { ab-number | all }

View

Abbreviated dialing service view

Parameter

ab-number: Abbreviated number, two characters in length. Each character can be a digit 0 through 9, A, B, C, D, *, or #.

long-number: Real telephone number for the abbreviated number, which consists of up to 31 characters. Each character can be a digit 0 through 9, A, B, C, D, *, or #.

Description

Use the adi command to create abbreviated call entries. If you specify an existing abbreviated number, the command modifies the corresponding entry.

Use the undo adi command to remove specified or all abbreviated call entries.

Example

# Create a new abbreviated call entry, where abbreviated number 11 stands for long number 8011.

[XE-ls-gw-gw01 #1 1001-adi]adi 11 8011

6.1.2  adi (subscriber number view)

Syntax

adi

View

Subscriber number view

Parameter

None

Description

Use the adi command to enter abbreviated dialing service view.

Example

# Enter abbreviated dialing service view.

[XE-ls-gw-gw01 #1 1001]adi

[XE-ls-gw-gw01 #1 1001-adi]

6.1.3  srv-switch adi

Syntax

srv-switch adi {on | off }

View

Subscriber number view

Parameter

on: Enables abbreviated dialing service.

off: Disables abbreviated dialing service.

Description

Use the srv-switch adi command to enable or disable abbreviated dialing service.

By default, abbreviated dialing service is enabled.

Example

# Enable abbreviated dialing service.

[XE-ls-gw-gw01 #1 1001]srv-switch adi on

 


Chapter 7  Do-Not-Disturb Service Configuration Commands

7.1  Do-Not-Disturb Service Configuration Commands

7.1.1  dnd

Syntax

dnd

View

Subscriber number view

Parameter

None.

Description

Use the dnd command to enter the do-not-disturb service view.

Example

# Enter the do-not-disturb service view.

[XE-ls-gw-gw01 #1 1001]dnd

[XE-ls-gw-gw01 #1 1001-dnd]

7.1.2  do-not-disturb

Syntax

do-not-disturb { open | close }

View

Do-not-disturb service view

Parameter

open: Enable the do-not-disturb service.

close: Disable the do-not-disturb service.

Description

Use the do-not-disturb command to enable the do-not-disturb service.

Example

# Enable the do-not-disturb service.

[XE-ls-gw-gw01 #1 1001-dnd] do-not-disturb open

[XE-ls-gw-gw01 #1 1001-dnd]

7.1.3  srv-switch do-not-disturb

Syntax

srv-switch do-not-disturb {on | off }

View

Subscriber number view

Parameter

on: Enables do-not-disturb service.

off: Disables do-not-disturb service.

Description

Use the srv-switch do-not-disturb command to enable or disable do-not-disturb service.

By default, do-not-disturb service is not enabled.

Example

# Enable do-not-disturb service.

[XE-ls-gw-gw01 #1 1001]srv-switch do-not-disturb on

 


Chapter 8  Calling Line Identification Configuration Commands

8.1  Calling Line Identification Configuration Commands

8.1.1  clir (subscriber number view)

Syntax

clir

View

Subscriber number view

Parameter

None

Description

Use the clir command to enter calling line identification restriction (CLIR) service view.

Example

# Enter CLIR service view.

[XE-ls-gw-gw01 #1 1001]clir

[XE-ls-gw-gw01 #1 1001-clir]

8.1.2  clir (CLIR service view)

Syntax

clir { disable | enable }

View

CLIR service view

Parameter

disable: Deregisters CLIR service.

enable: Registers CLIR service. To use the service, you must enable it first.

Description

Use the clir command to register or deregister CLIR service.

By default, CLIR service is not registered.

Example

# Register CLIR service.

[XE-ls-gw-gw01 #1 1001-clir]clir enable

8.1.3  srv-switch clip

Syntax

srv-switch clip {on | off }

View

Subscriber number view

Parameter

on: Enables calling line identification presentation (CLIP) service.

off: Disables CLIP service.

Description

Use the srv-switch clip command to enable or disable CLIP service.

By default, CLIP service is enabled.

Example

# Enable CLIP service.

[XE-ls-gw-gw01 #1 1001]srv-switch clip on

8.1.4  srv-switch clir

Syntax

srv-switch clir {on | off }

View

Subscriber number view

Parameter

on: Enables CLIR service.

off: Disables CLIR service.

Description

Use the srv-switch clir command to enable or disable CLIR service.

By default, CLIR service is not enabled.

Example

# Enable CLIR service.

[XE-ls-gw-gw01 #1 1001]srv-switch clir on

8.1.5  srv-switch rio

Syntax

srv-switch rio {on | off }

View

Subscriber number view

Parameter

on: Enables CLIR override service.

off: Disables CLIR override service.

Description

Use the srv-switch rio command to enable or disable CLIR override service.

By default, CLIR override service is not enabled.

Example

# Enable CLIR override service.

[XE-ls-gw-gw01 #1 1001]srv-switch rio on

8.1.6  srv-switch tcir

Syntax

srv-switch tcir {on | off }

View

Subscriber number view

Parameter

on: Enables temporary reservation for CLIR service.

off: Disables temporary reservation for CLIR service.

Description

Use the srv-switch tcir command to enable or disable temporary reservation for CLIR service.

By default, temporary reservation for CLIR service is not enabled.

Example

# Enable temporary reservation for CLIR service.

[XE-ls-gw-gw01 #1 1001]srv-switch tcir on

 


Chapter 9  Password Call Configuration Commands

9.1  Password Call Configuration Commands

9.1.1  pwd-call-password

Syntax

pwd-call-password password

undo pwd-call-password

View

Subscriber number view

Parameter

password: Password for making calls when the password call service is enabled. It consists of up to eight characters, which can be digits from 0 to 9 and letters A, B, C and D.

Description

Use the pwd-call-password command to set the password for making password calls.

Use the undo pwd-call-password command to restore the default password.

By default, the password for making password calls is 1234.

Example

# Set the password for making password calls to 888888.

[XE-ls-gw-gw01 #1 1001]pwd-call-password 888888

9.1.2  srv-switch pwd-call

Syntax

srv-switch pwd-call {on | off }

View

Subscriber number view

Parameter

on: Enables password call service.

off: Disables password call service.

Description

Use the srv-switch pwd-call command to enable or disable password call service.

By default, password call service is not enabled.

Example

# Enable password call service.

[XE-ls-gw-gw01 #1 1001]srv-switch pwd-call on

 


Chapter 10  Call Forwarding Configuration Commands

10.1  CFU Configuration Commands

10.1.1  cfu

Syntax

cfu

View

Subscriber number view

Parameter

None

Description

Use the cfu command to enter call forwarding unconditional (CFU) service view.

Example

# Enter CFU service view.

[XE-ls-gw-gw01 #1 1001]cfu

[XE-ls-gw-gw01 #1 1001-cfu]

10.1.2  cfu-number

Syntax

cfu-number forward-number

undo cfu-number { forward-number | all }

View

CFU service view

Parameter

forward-number: Target CFU number, which consists of up to 31 characters, which can be digits from 0 to 9, letters A, B, C and D, and signs * and #.

all: Removes all target CFU numbers.

Description

Use the cfu-number command to add target CFU numbers. Up to 2 target CFU numbers can be added.

Use the undo cfu-number command to remove specified or all target CFU numbers.

Example

# Add target CFU number 8888.

[XE-ls-gw-gw01 #1 1001-cfu]cfu-number 8888

10.1.3  srv-switch cfu

Syntax

srv-switch cfu {on | off }

View

Subscriber number view

Parameter

on: Enables CFU service.

off: Disables CFU service.

Description

Use the srv-switch cfu command to enable or disable CFU service.

By default, CFU service is enabled.

Example

# Enable CFU service.

[XE-ls-gw-gw01 #1 1001]srv-switch cfu on

10.2  CFNR Configuration Commands

10.2.1  cfnr

Syntax

cfnr

View

Subscriber number view

Parameter

None

Description

Use the cfnr command to enter call forwarding no reply (CFNR) service view.

Example

# Enter CFNR service view.

[XE-ls-gw-gw01 #1 1001]cfnr

[XE-ls-gw-gw01 #1 1001-cfnr]

10.2.2  cfnr-number

Syntax

cfnr-number forward-number

undo cfnr-number { forward-number | all }

View

CFNR service view

Parameter

forward-number: Target CFNR number, which consists of up to 31 characters, which can be digits from 0 to 9, letters A, B, C and D, and signs * and #.

all: Removes all target CFNR numbers.

Description

Use the cfnr-number command to add target CFNR numbers. Up to 2 target CFNR numbers can be added.

Use the undo cfnr-number command to remove specified or all target CFNR numbers.

Example

# Add target CFNR number 8888.

[XE-ls-gw-gw01 #1 1001-cfnr]cfnr-number 8888

10.2.3  srv-switch cfnr

Syntax

srv-switch cfnr {on | off }

View

Subscriber number view

Parameter

on: Enables CFNR service.

off: Disables CFNR service.

Description

Use the srv-switch cfnr command to enable or disable CFNR service.

By default, CFNR service is enabled.

Example

# Enable CFNR service.

[XE-ls-gw-gw01 #1 1001]srv-switch cfnr on

10.3  CFC Configuration Commands

10.3.1  cfc

Syntax

cfc

View

Subscriber number view

Parameter

None

Description

Use the cfc command to enter call forwarding based on the caller number (CFC) service view.

Example

# Enter CFC service view.

[XE-ls-gw-gw01 #1 1001]cfc

[XE-ls-gw-gw01 #1 1001-cfc]

10.3.2  cf-caller

Syntax

cf-caller caller-number forward-number

undo cf-caller { caller-number | all }

View

CFC service number

Parameter

caller-number: Caller number, which consists of up to 31 characters, which can be digits from 0 to 9, letters A, B, C and D, and signs * and #.

forward-number: Target CFC number, which consists of up to 31 characters, which can be digits from 0 to 9, letters A, B, C and D, and signs * and #.

all: Removes all target CFC items.

Description

Use the cf-caller command to configure or modify CFC items. Up to 5 CFC forward numbers can be configured.

Use the undo cf-caller command to remove specified or all CFC items.

Example

# Set to forward the calls from 1001 to 8801.

[XE-ls-gw-gw01 #1 1001-cfc]cf-caller 1001 8801

10.3.3  srv-switch cf-caller

Syntax

srv-switch cf-caller {on | off }

View

Subscriber number view

Parameter

on: Enables CFC service.

off: Disables CFC service.

Description

Use the srv-switch cf-caller command to enable or disable CFC service.

By default, CFC service is enabled.

Example

# Enable CFC service.

[XE-ls-gw-gw01 #1 1001]srv-switch cf-caller on

10.4  CFT Configuration Commands

10.4.1  cft (subscriber number view)

Syntax

cft

View

Subscriber number view

Parameter

None

Description

Use the cft command to enter call forwarding based on time range (CFT) service view.

Example

# Enter CFT service view.

[XE-ls-gw-gw01 #1 1001]cft

[XE-ls-gw-gw01 #1 1001-cft]

10.4.2  cft (CFT service view)

Syntax

cft start-time stop-time forward-number

undo cft { start-time | all }

View

CFT (call forwarding based on time range) service view

Parameter

start-time: Start time for call forwarding, in the format of HH:MM:SS.

stop-time: End time for call forwarding, in the format of HH:MM:SS.

forward-number: Target CFT number, which consists of up to 31 characters. Each character can be a digit 0 through 9, A, B, C, D, or *, #.

all: Removes all CFT items.

Description

Use the cft command to configure CFT items including the start time, the end time and the forwarding number. Five time ranges can be added at most. The start time must be earlier than the end time and the time range cannot cover the 00:00.

Use the undo cft command to remove specified or all CFT items.

Example

# Set to forward calls within the time range of 07:00:00 to 23:00:00 to 8888.

[XE-ls-gw-gw01 #1 1001-cft]cft 07:00:00 23:00:00 8888

10.4.3  srv-switch cft

Syntax

srv-switch cft {on | off }

View

Subscriber number view

Parameter

on: Enables CFT service.

off: Disables CFT service.

Description

Use the srv-switch cft command to enable or disables CFT service.

By default, CFT service is enabled.

Example

# Enables CFT service.

[XE-ls-gw-gw01 #1 1001]srv-switch cft on

10.5  CFO Configuration Commands

10.5.1  cfo

Syntax

cfo

View

Subscriber number view

Parameter

None

Description

Use the cfo command to enter call forwarding offline (CFO) service view.

Example

# Enter CFO service view.

[XE-ls-gw-gw01 #1 1001]cfo

[XE-ls-gw-gw01 #1 1001-cfo]

10.5.2  cfo-number

Syntax

cfo-number forward-number

undo cfo-number { forward-number | all }

View

CFO service view

Parameter

forward-number: Target CFO number, which consists of up to 31 characters, which can be digits from 0 to 9, letters A, B, C and D, and signs * and #.

all: Removes all target CFO numbers.

Description

Use the cfo-number command to add target CFO numbers. Up to 2 target CFO numbers can be added.

Use the undo cfo-number command to remove specified or all target CFO numbers.

Example

# Add target CFO number 8899.

[XE-ls-gw-gw01 #1 1001-cfo]cfo-number 8899

10.5.3  srv-switch cfo

Syntax

srv-switch cfo {on | off }

View

Subscriber number view

Parameter

on: Enables CFO service.

off: Disables CFO service.

Description

Use the srv-switch cfo command to enable or disable CFO service.

By default, CFO service is enabled.

Example

# Enable CFO service.

[XE-ls-gw-gw01 #1 1001]srv-switch cfo on

10.6  CFB Configuration Commands

10.6.1  cfb

Syntax

cfb

View

Subscriber number view

Parameter

None

Description

Use the cfb command to enter call forwarding on busy (CFB) service view.

Example

# Enter CFB service view.

[XE-ls-gw-gw01 #1 1001]cfb

[XE-ls-gw-gw01 #1 1001-cfb]

10.6.2  cfb-number

Syntax

cfb-number forward-number

undo cfb-number { forward-number | all }

View

CFB service view

Parameter

forward-number: Target CFB number, which consists of up to 31 characters, which can be digits from 0 to 9, letters A, B, C and D, and signs * and #.

all: Removes all target CFB numbers.

Description

Use the cfb-number command to add target CFB numbers. Up to 2 target CFB numbers can be added.

Use the undo cfb-number command to remove specified or all target CFB numbers.

Example

# Add target CFB number 8899.

[XE-ls-gw-gw01 #1 1001-cfb]cfb-number 8889

10.6.3  srv-switch cfb

Syntax

srv-switch cfb {on | off }

View

Subscriber number view

Parameter

on: Enables CFB service.

off: Disables CFB service.

Description

Use the srv-switch cfb command to enable or disable CFB service.

By default, CFB service is enabled.

Example

# Enable CFB service.

[XE-ls-gw-gw01 #1 1001]srv-switch cfb on

 


Chapter 11  Third Party Call Termination Configuration Commands

11.1  Third Party Call Termination Configuration Commands

11.1.1  break

Syntax

break call-index

View

LS view

Parameter

call-index: LS index corresponding to the terminated call, in the range of 0 to 1599 for an XE 200 IP PBX, and in the range of 0 to 15999 for an XE 2000 IP PBX.

Description

Use the break command to terminate specified calls. The administrator locates the terminated calls through the LS index.

Example

# Terminate calls on LS 13.

[XE-ls]break 13

Break the call :13

11.1.2  display location-server call-list

Syntax

display location-server call-list { number | all }

View

Any view

Parameter

number: Displays the call lists of a specific caller or called number, which consists of up to 31 characters. Each character can be a digit 0 through 9, A, B, C, D, *, or #.

all: Displays all call lists.

Description

Use the display location-server call-list command to display specified users’ or all call lists.

Example

# Display all call list

[XE-ls]display location-server call-list all

Ccb index     caller              callee                 Start  

13            1002                1001                   11:09:17

 

Table 11-1 Description on the fields of the display  location-server call-list command

Field

Description

Ccb index

Call index

caller

The caller number

callee

The called number

Start

Start time of the call

 

 


Chapter 12  ONLY Service Configuration Commands

12.1  ONLY Service Configuration Commands

12.1.1  only

Syntax

only subscriber-id

undo only { subscriber-id | all }

View

LS view

Parameter

subscriber-id: User ID, which consists of up to 31 characters, which can be digits from 0 to 9, letters A, B, C and D, and signs * and #.

all: Removes all only user IDs.

Description

Use the only command to enter the only service view corresponding to the user if you specify an existing user ID; for a nonexistent user ID, the system first create the user ID and then enters the corresponding only service view.

Use the undo only command to remove specified or all only user IDs.

Example

# Create user 800123456 and enter the corresponding only service view.

[XE-ls]only 800123456

[XE-ls-only-800123456]

12.1.2  tel-number

Syntax

tel-number number

undo tel-number { number | all }

View

Only service view

Parameter

number: Number information corresponding to the user ID, which consists of up to 31 characters, which can be digits from 0 to 9, letters A, B, C and D, and signs * and #.

all: Removes all number information corresponding to the user ID.

Description

Use the tel-number command to add a number, user telephone number or route number, corresponding to the user ID. You can add five number information pieces for a user ID.

Use the undo tel-number command to specified or all number information for the user ID.

Example

# Add number information 118 for the user 800123456.

[XE-ls-only-800123456]tel-number 118

 


Chapter 13  Time Limit Call Configuration Commands

13.1  Time Limit Call Configuration Commands

13.1.1  default-limit-call-time

Syntax

default-limit-call-time default-limited-time

undo default-limit-call-time

View

LS view

Parameter

default-limited-time: Sets the default time limit for calls, ranging from 60 to 65535 seconds.

Description

Use the default-limit-call-time command to set the default time limit for calls.

If time limit call service is enabled, no time limit is specified for gateway users under the LS, that is, the default time limit configured with this command will be used.

Use the undo default-limit-call-time command to restore the default value.

By default, the time limit for calls is 1800 seconds.

Example

# Set the time limit for calls to 270 seconds.

[XE-ls]default-limit-call-time 270

13.1.2  limited-call-time

Syntax

limited-call-time limited-time

undo limited-call-time

View

Time limit call service view

Parameter

limited-time: Time limit for calls, ranging from 60 to 65535 seconds.

Description

Use the limit-call-time command to set time limit for calls.

Use the undo limit-call-time command to restore the default time limit for calls, which is defined by using the default-limit-call-time command in LS view.

Example

# Set time limit for calls to 90 seconds.

[XE-ls-gw-gw01 #1 1001-ltc]limited-call-time 90

13.1.3  limited-time-call

Syntax

limited-time-call

View

Subscriber number view

Parameter

None

Description

Use the limited-time-call command to enter time limit call service view.

Example

# Enter time limit call service view.

[XE-ls-gw-gw01 #1 1001]limited-time-call

[XE-ls-gw-gw01 #1 1001-ltc]

13.1.4  srv-switch limited-time-call

Syntax

srv-switch limited-time-call {on | off }

View

Subscriber number view

Parameter

on: Enables time limit call service.

off: Disables time limit call service.

Description

Use the srv-switch limited-time-call command to enable or disable time limit call service.

By default, time limit call service is not enabled.

Example

# Enable time limit call service.

[XE-ls-gw-gw01 #1 1001]srv-switch limited-time-call on

 


Chapter 14  Third Party Call Control Service

14.1  Third Party Call Control Service Configuration Commands

14.1.1  3pcc

Syntax

3pcc

View

LS-SRV view

Parameter

None

Description

Use the 3pcc command to enter 3PCC view.

Example

# Enter 3PCC view.

[XE-ls-srv]3pcc

[XE-ls-srv-3pcc]

14.1.2  display location-server 3pcc

Syntax

display location-server 3pcc { participant-number | active | all }

View

Any view

Parameter

participant-number: Phone numbers of participants of the third party call control task.

active: Displays information about the ongoing third party call control task.

all: Displays information about all existing third party call control tasks.

Description

Use the display location-server 3pcc command to display information about third party call control tasks.

Example

# Display information about all existing third party call control tasks.

[XE-ls-srv-3pcc] display location-server 3pcc all

Index   participant                             start-time     

1       8801                                    2005-12-30 12:00

        7701                           

2       8801                                    2005-12-23 12:00

        9901                           

Table 14-1 Description on the fields of the display location-server 3pcc command

Field

Description

Index

Index of the third party call control task

participant

Call participants

start-time

Time to initiate the third party call control task

 

14.1.3  participant

Syntax

participant identify num1 num2 start-time

undo participant { identify | all }

View

LS-SRV-3PCC view

Parameter

identify: Unique identifier of a third party call control task, ranging from 0 to 65535.

num1: Number of the first participant of the third party call control task. It must be a long number and contains 1 to 31 digits with the maximum length of 31 characters. It can be digits from 0 to 9, letters A, B, C and D, and signs * and #.

num2: Number of the second participant of the third party call control task. It must be a long number and contains 1 to 31 digits with the maximum length of 31 characters. It can be digits from 0 to 9, letters A, B, C and D, and signs * and #.

start-time: Start time of the third party call control. It is in the format of YYYY/MM/DD HH:MM:SS, HH:MM:SS or INTEGER, that is, the countdown time (in minutes) before the start time, which is in the range 1 to 1439. Here, YYYY, MM and DD refer to the year, month and date respectively. HH, MM, and SS represent hour, minute and second respectively.

all: Deletes all existing third party call control tasks.

Description

Use the participant command to create a third party call control task. The start time must be later than the current system time; otherwise the configuration fails. After a third party call control task is executed, the XE IP PBX deletes this task automatically.

Use the undo participant command to delete the specified third party call control task or all third party call control tasks.

Example

# Specify to start a third party call control task at 00:00:00 on Oct. 1, 2002. The participant numbers are 100 and 200 respectively and the task ID is 2.

[XE-ls-srv-3pcc]participant 2 100 200 2005/10/1 0:0:0

# Specify to start a third party call control task at 01:02:03 on the current day. The participant numbers are 100 and 200 respectively and the task ID is 3.

[XE-ls-srv-3pcc]participant 3 100 200 1:2:3

 


Chapter 15  Callback-On-Busy Service

15.1  Callback-On-Busy Service Configuration Commands

15.1.1  cb

Syntax

cb

View

LS-SRV view

Parameter

None

Description

Use the cb command to enter callback view.

Example

# Enter callback view.

[XE-ls-srv]cb

[XE-ls-srv-cb]

15.1.2  interval (LS-SRV-CB view)

Syntax

interval time-length

undo interval

View

LS-SRV-CB view

Parameter

time-length: Time interval of the callback–on-busy service. It ranges from 1 to 10 minutes.

Description

Use the interval command to set the time interval of the callback-on-busy service. This setting applies to all subscribers for whom the callback-on-busy service is enabled.

Use the undo interval command to restore the default interval of the callback-on-busy service.

By default, the interval of the callback-on-busy service is 1 minute.

Example

# Set the interval of the callback-on-busy service to 2 minutes.

[XE-ls-srv-cb]interval 2

15.1.3  retry(LS-SRV-CB view)

Syntax

retry times

undo retry

View

LS-SRV-CB view

Parameter

times: Number of retry times that are performed if the callback fails. It ranges from 1 to 10 times.

Description

Use the retry command to set the number of retry times that are performed if the callback fails. This setting applies to all subscribers for whom the callback-on-busy service is enabled.

Use the undo retry command to restore the default retry times of the callback-on-busy service.

By default, the retry times of callback on busy is 10.

Example

# Set the retry times of callback on busy to 3.

[XE-ls-srv-cb]retry 3

15.1.4  srv-switch cb

Syntax

srv-switch cb { on | off }

View

Subscriber number view

Parameter

on: Enables the callback-on-busy service.

off: Disables the callback-on-busy service.

Description

Use the srv-switch cb command to enable or disable the callback-on-busy service.

By default, the callback-on-busy service is disabled.

Example

# Enable the callback-on-busy service for subscriber 1001.

[XE-ls-gw-gw01 #1 1001]srv-switch cb on

 


Chapter 16  Call Pickup Service

16.1  Call Pickup Service Configuration Commands

16.1.1  srv-switch cp

Syntax

srv-switch cp {on | off }

View

LS-GW-PREFIX view

Subscriber number view

Parameter

on: Enables the call pickup service.

off: Disables the call pickup service.

Description

Use the srv-switch cp command to enable or disable the call pickup service.

By default, the call pickup service is disabled.

Example

# Enable the call pickup service for subscriber 1001.

[XE-ls-gw-gw01 #1 1001]srv-switch cp on

 


Chapter 17  Call Intervention Service

17.1  Call Intervention Service Configuration Commands

17.1.1  srv-switch ci

Syntax

srv-switch ci { on | off }

View

LS-GW-PREFIX view

LS-OG-PREFIX view

Subscriber number view

Parameter

on: Enables the call intervention service.

off: Disables the call intervention service.

Description

Use the srv-switch ci command to enable or disable the call intervention service.

By default, the call intervention service is disabled.

Example

# Enable the call intervention service for the subscriber number 1001.

[XE-ls-gw-ua1 #0 1001]srv-switch ci on

 


Chapter 18  Dialing Test Service

18.1  Dialing Test Operation Commands

18.1.1  dial-test

Syntax

dial-test number-for-test

View

LS-SRV view

Parameter

number-for-test: Subscriber number to be tested. The maximum length of the number is 31 characters, which can be digits from 0 to 9, letters A, B, C and D, and signs * and #.

Description

Use the dial-test command to check whether a subscriber number is valid through a dialing test. The debugging information shown in Table 18-1 is displayed during the test.

Table 18-1 Description of information displayed during the dialing test

Displayed information

Description

dialing ......

The XE is dialing the called number.

dial failed

The test fails or the called party is busy.

callee ringing!

The called phone is ringing.

test succeed!

The dialing test succeeds.

callee release, test succeed!

The called party hangs up during the test and the dialing test succeeds.

 

Example

# Perform a dialing test on subscriber 1000.

[XE-ls-srv]dial-test 1000

dialing ......

callee ringing!

callee release, test succeed!

 


Chapter 19  Time Announcement Service

19.1  Time Announcement Service Configuration Commands

19.1.1  srv-switch announce

Syntax

srv-switch announce { on | off }

View

LS-GW-PREFIX view

Subscriber number view

Parameter

on: Enables the time announcement service.

off: Disables the time announcement service.

Description

Use the srv-switch announce command to enable or disable the time announcement service.

By default, the time announcement service is disabled.

Example

# Enable the time announcement service for subscriber 1001.

[XE-ls-gw-gw01 #1 1001]srv-switch announce on

 


Chapter 20  MyRing Service

20.1  MyRing Service Configuration Commands

20.1.1  caller-group

Syntax

caller-group caller-group-id

undo caller-group {caller-group-id | all }

View

MyRing view

Parameter

caller-group-id: Caller group ID.

Description

Use the caller-group command to enter caller group configuration view, or create a caller group and enter its caller group view if the specified group ID does not exist.

Use the undo caller-group command to delete the specified caller group or all caller groups. When a caller group is deleted, all its configurations are deleted as well.

Example

# Create a caller group named “friend” for subscriber 1001, and then enter its caller group view

[XE-ls-gw-gw01 #1 1001-myring]caller-group friend

[XE-ls-gw-gw01 #1 1001-myring-friend]

20.1.2  caller-member

Syntax

caller-member long-number

undo caller-member { long-number | all }

View

Caller group view

Parameter

long-number: Number of the caller, which can be digits from 0 to 9, letters A, B, C and D, and signs * and #.

all: Deletes all callers from the current caller group.

Description

Use the caller-member command to add a caller into the current caller group.

Use the undo caller-member command to delete the specified member or all members from the current caller group.

Example

# Add a caller member 1002 into called group “friend”.

[XE-ls-gw-gw01 #1 1001-myring-friend]caller-member 1002

20.1.3  default-ring

Syntax

default-ring media-id

undo default-ring

View

MyRing view

Parameter

media-id: Media ID of the customized ringback tone to be played to a caller that is calling the specified called party.

Description

Use the default-ring command to set the media ID of the default customized ringback tone, which is played to a subscriber calling the specified called party if the caller does not belong to any caller group.

Use the undo default-ring command to delete the media ID corresponding to the default customized ringback tone.

Example

# Set the media ID of the default customized ringback tone of subscriber 1001 to 9999, so that when a subscriber not in any caller group calls the subscriber 1001, the caller will hear the default customized ringback tone.

[XE-ls-gw-gw01 #1 1001-myring]default-ring 9999

20.1.4  myring

Syntax

myring

View

Subscriber number view

Description

Use the myring command to enter MyRing view.

Example

# Enter MyRing view.

[XE-ls-gw-gw01 #1 1001]myring

[XE-ls-gw-gw01 #1 1001-myring]

20.1.5  ring

Syntax

ring media-id

undo ring

View

Caller group view

Parameter

media-id: Media ID of the customized ringback tone to be played to callers in the current caller group.

Description

Use the ring command to configure the media ID of the customized ringback tone to be played to the current caller group. After this configuration, when a member in this group calls the specified called party, the caller will hear the customized ringback tone corresponding to the media ID, but not the default customized ringback tone configured by the default-ring command.

If a caller group is not configured with a specific ringback tone, when its members dial the number of the specified called party, they will hear the default customized ringback tone configured by the default-ring command.

Use the undo ring command to restore the default ringback tone for the current caller group.

Example

# Set the customized ringback tone whose media ID is 9998 for the call group named “friend”.

[XE-ls-gw-gw01 #1 1001-myring-friend]ring 9998

20.1.6  srv-switch myring

Syntax

srv-switch myring {on | off }

View

Subscriber number view

Parameter

on: Enables the MyRing service.

off: Disables the MyRing service.

Description

Use the srv-switch myring command to enable or disable the MyRing service.

By default, the MyRing service is disabled.

Example

# Enable the MyRing service for subscriber 1001.

[XE-ls-gw-gw01 #1 1001]srv-switch myring on

 


Chapter 21  CPCP Service

21.1  CPCP Service Configuration Commands

21.1.1  srv-switch cpcp

Syntax

srv-switch cpcp { on | off }

View

LS-GW-PREFIX view

Subscriber number view

Parameter

on: Enables the CPCP (call park/call pickup) service.

off: Disables the CPCP service.

Description

Use the srv-switch cpcp command to enable or disable the CPCP service.

By default, the CPCP service is disabled.

Example

# Enable the CPCP service.

[XE-ls-gw-ua1 #0 1000]srv-switch cpcp on

 


Chapter 22  Automatic Operator Service

22.1  Automatic Operator Service Configuration Commands

22.1.1  auto-operator

Syntax

auto-operator number-of-auto-operator

undo auto-operator { number-of-auto-operator I all }

View

LS-SRV view

Parameter

number-of-auto-operator: Access code of the automatic operator service. The maximum length of the code is 31 characters, which can be digits from 0 to 9, letters A, B, C and D, and signs * and #.

all: Deletes all the access codes of the automatic operator service.

Description

Use the auto-operator command to enter automatic operator view, or create an access code for the automatic operator service and enter the corresponding automatic operator view if the specified access code does not exist.

Use the undo auto-operator command to delete the specified access code or all access codes of the automatic operator service.

Example

# Create the access code 6666 of the automatic operator service and enter its automatic operator view.

[XE-ls-srv]auto-operator 6666

[XE-ls-srv-ao-6666]

22.1.2  extension

Syntax

extension corresponding-number corresponding-number-of-extension

undo extension { corresponding-number | all }

View

LS-SRV-AO view

Parameter

corresponding-number: Operational code. The maximum length of the code is four characters, which can be digits from 0 to 9, letters A, B, C and D, and signs * and #. Letter “A” may conflict with keyword all, thus the operational code is not allowed to be configured to be a single letter “A”.

corresponding-number-of-extension: Phone number that corresponds to the operational code. The maximum length of the phone number is 31 characters, which can be digits from 0 to 9, letters A, B, C and D, and signs * and #.

all: Removes all the operational code/phone number bindings.

Description

Use the extension command to configure the operational code/phone number bindings.

Use the undo extension command to delete the specified or all operational code/phone number bindings.

Example

# Configure the binding between the operational code 1 and the phone number 1000.

[XE-ls-srv-ao-6666] extension 1 1000

22.1.3  prompt

Syntax

prompt media-id

undo prompt

View

LS-SRV-AO view

Parameter

media-id: Media ID of the access voice prompt of the automatic operator service.

Description

Use the prompt command to configure the access voice prompt of the automatic operator service. The prompt cannot be null.

Use the undo prompt command to delete the access voice prompt of the automatic operator service.

Example

# Specify the media resource whose ID is 10001 as the access voice prompt of the automatic operator service.

[XE-ls-srv-ao-6666]prompt 10001

 


Chapter 23  Group Notification Service

23.1  Group Notification Service Configuration Commands

23.1.1  config

Syntax

config { local media-id | remote caller-access-number } callee-access-number

[ interval-of-callee ]

View

Notify-config view

Parameter

local: Specifies the group notification mode. Keyword local is for local group notification.

remote: Specifies the group notification mode. Keyword remote is for remote group notification.

media-id: Media ID of the media file to be played to called subscribers in the notification receiver group.

caller-access-number: Access code used by the notification deliverer. The maximum length of the access code is 31 characters, which can be digits from 0 to 9, letters A, B, C and D, and signs * and #.

callee-access-number: Access code used by the receiver group members. The maximum length of the access code is 31 characters, which can be digits from 0 to 9, letters A, B, C and D, and signs * and #.

interval-of-callee: Interval at which the receiver group members are recalled when a call fails, ranging from 1 to 30 minutes and defaulting to 1.

Description

Use the config command to configure basic parameters of a local group notification. Being in the local or remote mode, a group notification needs to be configured with the following basic parameters.

l           local: Media ID of the file that the task plays, access code that receivers use to hear the notification, and interval at which the notification is sent again if the notification fails.

l           remote: Access code that the deliverers use to send the notification, access code that receivers use to hear the notification, and interval at which the receiver numbers are redialed.

Example

# Configure the basic parameters for local group notification named “notify1”. Set the played media file ID to 4100, receiver group access code to 111 and redial interval to two minutes.

[XE-ls-srv-gn-nc-notify1]config local 4100 111 2

# Configure the basic parameters for remote group notification named “notify2”. Set the deliverer access ID to 112, receiver group access code to 111 and redial interval to two minutes.

[XE-ls-srv-gn-nc-notify2]config remote 112 111 2

23.1.2  display location-server notify-config

Syntax

display location-server notify-config { notify-id | active | allowable | config | all }

View

Any view

Parameter

notify-id: ID of the group notification.

active: Displays information of the current playing group notifications.

all: Displays information of all group notifications.

allowable: Displays information of group notifications that are started but not sent yet.

config: Displays information of the group notifications that are in the configuration state, that is, configured but not activated.

Description

Use the display location-server notify-config command to display information about the existing group notifications.

Example

# Display information of group notification named “gn01”.

[XE-ls-srv-gn-gc-gc01]display location-server notify-config gn01

Notify-config:  gn01                            

State        :  config   

Mode         :  local    

MediaID      :  1010          

Callee-access:  777                            

Start-time  

Call-interval:  2       (min)

Duration     :  30      (min)

range of notify:

        curgroup 

Table 23-1 Description on the fields of the display location-server notify-config command

Field

Description

Notify-config

Group notification name

State

group notification status

Mode

Group notification mode

Media ID

Media ID of the media file used for local group notification

Callee-access

Access code that receivers use to hear the notification

Start-time

Time that the notification is sent

Duration

Group notification duration

Range of notify

Group that receives the notification

 

23.1.3  display location-server notify-group

Syntax

display location-server notify-group { notify-group-id | all }

View

Any view

Parameter

caller-group-id: ID of the notification group to be displayed.

all: Displays all groups.

Description

Use the display location-server notify-group command to display information about one specified notification group or all notification groups.

Example

# Display information of the notification group named “notifyGroup”.

<XE>display location-server notify-group notifyGroup

notifyGroup                       

  8801                           

  8802                           

  8803

The result shows notifyGroup has three members, namely, 8801, 8802 and 8803.

23.1.4  format

Syntax

format format

undo format

View

Notify-config view

Parameter

format: Format of the media file used for the group notification. The value range is { G711a | G711u | G7231 | G729 }.

Description

Use the format command to specify format of the media file used for the group notification.

Use the undo format command to restore the format of the media file used for the group notification to the default.

By default, G711u is adopted.

Example

# Specify that the group notification notify1 uses a file of the G711a format.

[XE-ls-srv-gn-nc-notify1]format G711a

23.1.5  group-notify (LS-SRV view)

Syntax

group-notify

View

LS-SRV view

Parameter

None

Description

Use the group-notify command to enter group-notify view.

Example

# Enter group-notify view.

[XE-ls-srv]group-notify

[XE-ls-srv-gn]

23.1.6  group-config (group-notify view)

Syntax

group-config group-id

undo group-config { group-id | all }

View

Group-notify view

Parameter

group-id: ID of the notification group to be created/configured.

all: Deletes all notification groups.

Description

Use the group-config command to enter group-config view, or create the notification group and enter its group-config view if the specified ID does not exist.

Use the undo group-config command to delete the specified notification group or all notification groups. When a notification group is configured, it configuration is deleted as well.

Example

# Create a notification group named “group1” and enter its notification group configuration view.

[XE-ls-srv-gn]group-config group1

[XE-ls-srv-gn-gc-group1]

23.1.7  join

Syntax

join group-id

undo join { group-id | all }

View

Notify-config view

Parameter

group-id: ID of the notification receiver group.

all: Deletes all groups that receive the current notification.

Description

Use the join command to specify a group as a notification receiver group, so that all members in it can receive the group notification.

Use the undo join command to disable all members of the specified group or of all groups from receiving the group notification.

Example

# Enable all members of the group named “group1” to receive the group notification “notify1”.

[XE-ls-srv-gn-nc-notify1]join group1

23.1.8  member

Syntax

member number

undo member { number | all }

View

Group-config view

Parameter

number: Number of the subscriber to be added to the current group.

all: Deletes all subscribers in the current notification group.

Description

Use the member command to add a subscriber to the current group. A subscriber belongs to only one group.

Use the undo member command to delete the specified subscriber or all subscribers from the current group.

Example

# Add subscriber number 1001 to group group1.

[XE-ls-srv-gn-gc-group1]member 1001

23.1.9  notify-config

Syntax

notify-config notify-id

undo notify-config { notify-id | all }

View

Group-notify view

Parameter

notify-id: ID of the group notification.

all: Deletes all group notifications.

Description

Use the notify-config command to enter group-notify view, or create a group notification and enter its group-notify view if the specified ID does not exist.

Example

# Create a group notification named “notify1” and enter its group-notify view.

[XE-ls-srv-gn]notify-config notify1

[XE-ls-srv-gn-nc-notify1]

23.1.10  shutdown

Syntax

shutdown notify-id

View

Group-notify view

Parameter

notify-id: ID of the group notification to be cancelled.

Description

Use the shutdown command to cancel a started group notification.

 

&  Note:

A group notification cannot be canceled rightly after it is enabled. Specifically, the shutdown command can be executed at least five minutes after thee start command is executed.

 

Example

# Cancel the group notification named “notify1”.

[XE-ls-srv-gn]shutdown notify1

23.1.11  start

Syntax

start notify-id [ notify-time ] [ duration-of-notify ]

View

Group-notify view

Parameter

notify-id: ID of the group notification to be started.

notify-time: Time to start sending the group notification. It is in the format of YYYY/MM/DD HH:MM:SS or HH:MM:SS. YYYY/MM/DD: Date when the local group notification is to be sent. If YYYY/MM/DD is not provided, it defaults to the current day. HH:MM:SS: Time when the group notification is to be sent. If HH:MM:SS is not provided, the group notification will be sent immediately.

duration-of-notify: Duration of the local group notification, that is, the time between the starting and ending points of the notification. It ranges from 1 to 120 minutes, defaulting to 30.

 

&  Note:

Only when configuring local group notification, not remote group notification, can you use notify-time and duration-of-notify parameters.

 

Description

Use the start command to activate the specified group notification and set related information, including the notification sending time and notification duration.

You can set the notification sending time in the form of:

l           HH:MM:SS: The group notification is sent at the specified time on the current day.

l           YYYY/MM/DD HH:MM:SS: The group notification is sent at the specified time on the specified day.

If you do not specify the time, the group notification will be sent immediately after this command is executed.

Example

# Configure to send the group notification named “notify1” immediately.

[XE-ls-srv-gn]start notify1

# Configure to send group notification named “notify2” at 03:04:05 on January 2, 2005. The notification lasts five minutes.

[XE-ls-srv-gn]start notify2 2005/01/02 03:04:05 5

# Configure to send group notification named “notify3” at 20:00:00 on the current day. The notification lasts three minutes.

[XE-ls-srv-gn]start notify3 20:00:00 3

 


Chapter 24  Call Transfer Service

24.1  Call Transfer Service Configuration Commands

24.1.1  srv-switch ct

Syntax

srv-switch ct {on | off }

View

LS-GW-PREFIX view

LS-OG-PREFIX view

Subscriber number view

Parameter

on: Enables the call transfer service.

off: Disables the call transfer service.

Description

Use the srv-switch ct command to enable or disable the call transfer service.

By default, the call transfer service is disabled.

Example

# Enable the call transfer service for subscriber 1001.

[XE-ls-gw-gw01 #1 1001]srv-switch ct on

 


Chapter 25  Number Query Service

25.1  Number Query Service Configuration Commands

25.1.1  srv-switch query-self

Syntax

srv-switch query-self { on | off }

View

LS-GW-PREFIX view

Subscriber number view

Parameter

on: Enables the number query service.

off: Disables the number query service.

Description

Use the srv-switch query-self command to enable or disable the number query service.

By default, the number query service is disabled.

Example

# Enable the number query service for subscriber 1001.

[XE-ls-gw-gw01 #0 1001]srv-switch query-self on

 


Chapter 26  Alarm Clock Service

26.1  Alarm Clock Service Configuration Commands

26.1.1  alarm (subscriber number view)

Syntax

alarm

View

Subscriber number view

Parameter

None

Description

Use the alarm command to enter alarm clock view.

Example

# Enter alarm clock view.

[XE-ls-gw-gw01 #1 8801]alarm

[XE-ls-gw-gw01 #1 8801-alarm]

26.1.2  alarm (alarm clock view)

Syntax

alarm { { date time } | { time { once | cycle } } }

undo alarm

View

Alarm clock view

Parameter

date: Date to execute the alarm clock task, in the format of YYYY/MM/DD.

time: Time to execute the alarm clock task, in the format of HH:MM, where HH is optional.

once: Specifies the type of the alarm as “once”, that is, the alarm is executed only once at the specified time.

cycle: Specifies that the alarm clock goes off at the set time every day.

Description

Use the alarm command to set an alarm clock task, which can be any of the two types:

l           One-off alarm clock: This alarm clock rings on the specified date and time. The related command syntax is alarm date time. If no specified date is configured, this type of alarm clock task goes off only once, at the specified time on the current day. The related command syntax is alarm time once. Note that the specified alarm time must be later than the current time.

l           Cyclic alarm clock: This type of alarm goes off at the specified time every day. The related command line is alarm time cycle.

Use the undo alarm command to delete the existing alarm clock settings.

Example

# Set a one-off alarm clock task that goes off at December 30, 2005 12:00, for the subscriber 1001.

[XE-ls-gw-gw01 #1 1001-alarm]alarm 2005/12/30 12:00

# Set a cyclic alarm clock task that goes off at 12:00 every day, for the subscriber 1002.

[XE-ls-gw-gw01 #1 1002-alarm]alarm 12:00 cycle

# Set a one-off alarm clock task that goes off at 14:00 in the current day, for the subscriber 1003.

[XE-ls-gw-gw01 #1 1003-alarm]alarm 14:00 once

26.1.3  srv-switch alarm

Syntax

srv-switch alarm {on | off }

View

Subscriber number view

Parameter

on: Enables the alarm clock service.

off: Disables the alarm clock service.

Description

Use the srv-switch alarm command to enable or disable the alarm clock service.

By default, the alarm clock service is disabled.

Example

# Enable the alarm clock service for subscriber 1001.

[XE-ls-gw-gw01 #1 1001]srv-switch alarm on

H3C reserves the right to modify its collaterals without any prior notice. For the latest information of the collaterals, please consult H3C sales or call 400 hotline.