آموزش نحوه راه اندازی سرویس تلفن در دی اس ام 5616

: Configuring the Upstream VLAN Interface

Assume that the media stream and signaling stream are transmitted upstream through upstream port 0/0/1. To create media and signaling upstream VLAN 3 and configure IP addresses 10.13.4.116/16 and 10.13.4.117/16 of the L3 interfaces for the media IP address pool and the signaling IP address pool respectively, do as follows

huawei(config)#vlan 3 smart

huawei(config)#port vlan 3 0/0 1

huawei(config)#interface vlanif 3

huawei(config-if-vlanif3)#ip address 10.13.4.116 16

huawei(config-if-vlanif3)#ip address 10.13.4.117 16 sub

huawei(config-if-vlanif3)#quit

huawei(config)#display interface vlanif 3

vlanif3 current state : UP

Line protocol current state : UP

Description : HUAWEI, SmartAX Series, vlanif3 Interface

The Maximum Transmit Unit is 1500 bytes

Internet Address is 10.13.4.116/16

Internet Address is 10.13.4.117/16 Secondary

IP Sending Frames’ Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc32-1118

: Configuring the Media and Signaling IP Address Pools 

Assume that the IP address of the gateway is 10.13.1.1. To add IP addresses 10.13.4.116 and 10.13.4.117 of L3 interfaces of the media and signaling upstream VLAN to the media IP address pool and the signaling IP address pool respectively, do as follows:

huawei(config)#voip

huawei(config-voip)#ip address media 10.13.4.116 10.13.1.1

huawei(config-voip)#ip address media 10.13.4.117 10.13.1.1

huawei(config-voip)#ip address signaling 10.13.4.116

huawei(config-voip)#ip address signaling 10.13.4.117

huawei(config-voip)#display ip address media

  Media:

  IP Address………..: 10.13.4.116

  Subnet Mask……….: 255.255.0.0

  Gateway…………..: 10.13.1.1

  MAC Address……….: 00-E0-FC-AF-91-33

  IP Address………..: 10.13.4.117

  Subnet Mask……….: 255.255.0.0

  Gateway…………..: 10.13.1.1

  MAC Address……….: 00-E0-FC-AF-91-33

huawei(config-voip)#display ip address signaling

  Signaling:

  IP Address………..: 10.13.4.116

  Subnet Mask……….: 255.255.0.0

  MAC Address……….: 00-E0-FC-AF-91-33

  IP Address………..: 10.13.4.117

  Subnet Mask……….: 255.255.0.0

  MAC Address……….: 00-E0-FC-AF-91-33

: Adding an SIP Interface

Assume that the media IP address is 10.13.4.116, signaling IP address is 10.13.4.117, transmission protocol is UDP, port ID is 5000, IP address 1 of the primary proxy server is 10.13.4.118, port ID of the primary proxy server is 5060, domain name of the primary proxy server is proxy.domain, IP address 1 of the secondary proxy server is 10.13.4.119, port ID of the secondary proxy server is 5060, home domain name is sip.huawei.com, and profile index is 1. To configure such attributes of SIP interface 0, do as follows:

huawei(config)#interface sip 0

huawei(config)#if-sip attribute basic media-ip 10.13.4.116 signal-ip

10.13.4.117 signal-port 5000 transfer udp primary-proxy-ip1 10.13.4.118

primary-proxy-port 5060 primary-proxy-domain proxy.domain secondary-proxy-ip1

10.13.4.119 secondary-proxy-port 50

huawei(config-if-sip-0)#if-sip attribute basic home-domain sip.huawei.com sipprofile-index 1

huawei(config-if-sip-0)#reset

  Are you sure to reset the SIP interface?(y/n)[n]:y

huawei(config-if-sip-0)#

  Resetting SIP interface 0 succeeded

huawei(config-if-sip-0)#display if-sip attribute running

  ————————————————————

  MGID                                 0

  Signalling IP                        10.13.4.117

  Signalling Port                      5000

  Media IP                             10.13.4.116

  Transfer Mode                        UDP

  Primary Proxy IP 1                   10.13.4.118

  Primary Proxy IP 2                   –

  Primary Proxy Port                   5060

  Secondary Proxy IP 1                 10.13.4.119

  Secondary Proxy IP 2                 –

  Secondary Proxy Port                 5060

  Proxy Address Mode                   IP

  SIPProfile Index                     1:Default

  Service logic Index                  0:Default

  Server Address DHCP Option           0:None

  Primary Proxy Domain Name            –

  Secondary Proxy Domain Name          –

  Home Domain Name                     sip.huawei.com

  Description                          –

  MG Domain Name                       –

  Phone Context                        –

  Register URI                         –

  Conference Factory URI               –

  Primary Proxy State                  up

  Secondary Proxy State                up

  Subscribe to UA-Profile              enable

  Subscribe to REG-STATE               disable

  Subscribe to MWI                     disable

  SDP negotiation mode                 remote

  Mode of supporting proxy dual-homing dualhome

  Proxy detection mode                 probe

  Proxy refresh mode                   immediate

  ————————————————————

: Configuring the PSTN User Data

Assume that the phone numbers of 16 PSTN users are 83120000-83120015 and the default values are used for other attributes. To add the 16 PSTN users in slot 0/3 on SIP interface 0 in batches, do as follows:

huawei(config)#esl user

huawei(config-esl-user)#sippstnuser batadd 0/3/0  0/3/15 0 telno 83120000 step 1

huawei(config-esl-user)#display sippstnuser 0/3

  —————————————

  F  /S /P    MGID     TelNo

  —————————————

  0  /3 /0    0        83120000

  ……

  0  /3 /14   0        83120014

  0  /3 /15   0        83120015

  —————————————

/// Use following command to set password for SIP users:

huawei(config)#sippstnuser auth set …

 

 

/// Use following command to check the status of users registrations:  

huawei(config)#display sippstnuser regstate 0/3

 

 

/// Use following command to check the status of call for Sip users:  

huawei(config)#display sippstnuser callstate 0/3

دیدگاه ها (0)

دیدگاهتان را بنویسید