• No results found

SIP Configuration Commands

N/A
N/A
Protected

Academic year: 2022

Share "SIP Configuration Commands"

Copied!
12
0
0

Loading.... (view fulltext now)

Full text

(1)

SIP Configuration Commands

(2)

Table of Contents

Chapter 1 SIP UA Configuration Commands ... 1

1.1 sipua-config ... 1

1.2 sipua ipaddr... 1

1.3 sipua interface ... 2

1.4 sipua sipuaID... 2

1.5 sipua regserverid... 3

1.6 sipua authentication ... 4

1.7 sipua keepalive... 4

1.8 shutdown ... 5

Chapter 2 Dialer-Peer Configuration Commands... 6

2.1 dial-peer voice ... 6

2.2 destination ... 6

2.3 port ... 7

2.4 target ... 8

Chapter 3 Dial Configuration Commands... 9

3.1 dial-peer terminator ... 9

3.2 dial-peer auto-terminated ... 9

(3)

Chapter 1 SIP UA Configuration Commands

1.1 sipua-config

Syntax

sipua-config

Parameter None

Default value None

Description

You can run sipua-config to enter the SIP UA mode.

Example

Router_config#sipua-config Router_config_sipua#

1.2 sipua ipaddr

Syntax

[no] sipua ipaddr x.x.x.x

Parameter

Parameter Description

x.x.x.x Stands for the IP address used by UA.

Default value None

(4)

Description

The IP address of UA which is designated by the sipua ipaddr command must be an effective address.

Example

Router_config#sipua-config

Router_config_sipua#sipua ipaddr 1.1.1.1

1.3 sipua interface

Syntax

[no] sipua interface interface

Parameter

Parameter Description

Interface Stands by the network interface of UA.

Default value None

Description

You can run sipua interface to designate the network interface of UA.

Example

Router_config#sipua-config

Router_config_sipua#sipua interface g0/0

1.4 sipua sipuaID

Syntax

[no] sipua sipuaID ID

Parameter

Parameter Description

ID Stands for a number string, which is the global unique ID used by UA.

(5)

Default value None

Description

The gl obal I D u sed by UA, whi ch i s config ured throu gh the sipu a sipuaID command, is unique so that each device ID cannot be repeated.

Example

Router_config#sipua-config

Router_config_sipua# sipua sipuaID sip-gw-001

1.5 sipua regserverid

Syntax

[no] sipua regserverid ID ipaddr x.x.x.x

Parameter

Parameter Description

ID Stands for the locally identified ID of the server.

x.x.x.x Stands for the IP address of the server.

Default value None

Description

You ca n ru n this comm and to set the already run ning re gistration se rver. This command can also be used to distribute an ID and designate an IP address.

Example

Router_config#sipua-config

Router_config_sipua# sipua regserverid 1 ipaddr 1.1.1.2

(6)

1.6 sipua authentication

Syntax

[no] sipua authentication serverid ID [{username user password pwd} | {pots}]

Parameter

Parameter Description

ID Stands for the locally identified ID of the server.

user Stands for the username for authentication.

Pwd Stands for the password for authentication.

Default value None

Description

This command is used to set the authentication information for the registration on the SIP server.

There are two kin ds of authentication information, one being the user ID and the other being the pre-distributed username and password.

Example

Router_config#sipua-config

Router_config_sipua#sipua authentication serverid 1 username admin password admin

1.7 sipua keepalive

Syntax

[no] sipua keepalive timer

Parameter

Parameter Description

timer Stands for the locally identified ID of the server.

(7)

Default value

sipua keepalive 60 Description

This command is use d to set the Keep alive time for the regist ration on the SIP server.

Example

Router_config#sipua-config

Router_config_sipua#sipua keepalive 120

1.8 shutdown

Syntax

[no] shutdown

Parameter None

Default value shutdown

Description

The no shutdown command is u sed to open SIP UP regist ration, while t he shutdown command is used to close SIP UP registration.

Example

Router_config#sipua-config Router_config_sipua#no shut down

(8)

Chapter 2 Dialer-Peer Configuration Commands

2.1 dial-peer voice

Syntax

[no] dial-peer voice ID [ voip | pots ] Parameter

Parameter Description

ID Stands for the ID that is distributed to the dial-peer.

Default value None

Description

The dial-peer parameter is used to set a dial peer, the voip parameter is used to set a re mote code peer, and the pots p arameter is used to se t the local co de peer.

Example

Router_config#dial-peer voice 1 pots Router_config_dial-peer_1#

Router_config#dial-peer voice 2 voip Router_config_dial-peer_2#

2.2 destination

Syntax

VOIP mode:

[no] destination number POTS mode:

[no] destination number [register-to [{server-id ID} | unregister]]

(9)

Parameter

Parameter Description

number It is a number string and stands for the telephone number.

ID Stands for the locally identified ID of the server.

Default value None

Description

VOIP mode:

The destination command is used to set the local telephone number.

The register-to parameter is used to desig nate a configured SIP server to which the telephone number is registered, or is not used to designate a SIP server for the telepho ne numbe r to be registe red to . If this p arameter is not used, the telephone number is registered to the SIP server with highest priority.

POTS mode:

The destination command is used to set the telephone number of the peer.

Example

Router_config_dial-peer_1#destination 10000 register-to server-id 1

Router_config_dial-peer_2#destination 20000

2.3 port

Syntax

POTS mode:

[no] port [port | all]

Parameter

Parameter Description

port Stands for the voice port.

(10)

Default value None

Description

This command is u sed to desi gnate in POTS mode the voice port that use s the dialpeer.

Example

Router_config_dial-peer_1#port 0/1

2.4 target

Syntax

VOIP mode:

[no] target {{ipv4: x.x.x.x} | {server [ID]} | {terminal}}

Parameter

Parameter Description

x.x.x.x Stands for the IP address used by the target code.

ID Stands for the locally identified ID of the server.

Default value None

Description

The target parameter is used to set the type of a call target in voip mode.

The ipv4 parameter is used to set the IP address of the pe er in a p oint-to-point call.

The server parameter is u sed to de signate an ID of a used an d configured SIP server when a call is conducted through the SIP server.

The termin al p arameter means the 12-bi t num ber which i s co nfigured by the destination command will be transformed to an IP address.

Example

Router_config_dial-peer_2#target server 1

(11)

Chapter 3 Dial Configuration Commands

3.1 dial-peer terminator

Syntax

[no] dial-peer terminator CHAR

Parameter

Parameter Description

CHAR Stands for the dial terminator.

Default value None

Description

In the dial pe er of the VOI P type, the button for dial ending must be configu red before the long match is used.

Example

Router_config#tdial-peer terminator #

3.2 dial-peer auto-terminated

Syntax

[no] dial-peer auto-terminated timer

Parameter

Parameter Description

timer Stands for the termination timeout time.

(12)

Default value None

Description

In the dial peer of the VOIP type, th e timeout time of dial termination mu st b e configured when the long match is used. If the user doe s not pre ss the stop button after the timeout time, the dial ends by default.

Example

Router_config#dial-peer auto-terminated 5

References

Related documents

Variable typing, as defined in this work, is based on four assumptions: (1) typings occur at the sen- tential level and variables in a sentence can only be assigned a type

Lithostratigraphy and biostratigraphy of the Upper Albian-Lower/ Middle Eocene flysch deposits in the Bystrica and Rača subunits of the Magura Nappe; Western

The generated heat is used by the agricultural firm Le Crom itself in order to heat the fermenter of the biogas plant. In addition, the company uses the exhaust heat to

Specification of X C : Co-residence with children depends not only on age (whether the elderly person is aged 75 or more, i.e., AGE75) 21 , gender (MALE),

Dos taninos hidrolisáveis dois grupos de compostos estão em maior abundância, os elagitaninos (roburinas A e E, grandinina e castalagina) e os derivados do ácido

Considering the importance of wood density in the estimation of the AGB and the lack of this information for peat swamp forest tree species, research should be dedicated

Step 1 Router(config)# dial-peer voice number voip Enters dial-peer configuration mode to configure a VoIP dial peer. Step 2 Router(config-dial-peer)# roaming Enables roaming on

The answer to Research Question 3 regarding high school students’ information seeking behaviour therefore includes the following: high school students prefer to search for