网关 标签文章 - 李海鑫个人博客

(2008-4-30)AVG480四口网关从H323升级到SIP配置

编辑文章 没有评论 :

首先找到要升级的IP地址,可通过科来IP扫描工具DOS批处理命令 doc查找,登录设备可通过超级终端或者Telnet登录,此处約过,不明白请查阅相关网页

本文HTML永久地址 doc

运行升级命令

下列FTP信息可能经常变化,申请前请电话联系我

# copy ftp flash                                   ←运行升级命令
Address or name of remote host []? 218.5.74.88     ←FTP服务器地址
Source filename []?/wwwroot/sofeware/imageh323     ←升级文件在ftp路径
User Name []?test                                  ←ftp服务器登录名
password []?test                                   ←ftp密码
.....................................................................................................
Received Image Size=1469885bytes
Write to Flash........OK
Do you want to reload AOS(y/n)?y           ←输入y确认设备重启,等1分钟按回车

失去了跟主机的连接

配置H323信息

C:\Documents and Settings\Administrator>telnet 192.168.1.47

User Access Verification

Welcome Use VoIP Gateway!

Username:en                       ←网关设备登录帐号
Password:gateway                  ←设备密码,默认为:gateway 输入不显示
# show version                    ←查看设备版本信息
AOS 2.0.12.3/H323 Nov 16 2007,20:05:41    ←如看到H323 刚才升级成功
Up time 128 seconds
RSNC Enabled
AVG400 Gateway
PCB version:3  CPLD ver:4
Slot(0):DSP Type:0  Chans:4 FXS:79Q021,2
Slot(1):DSP Type:3  Chans:7 No Find Slic
# configure                             ←进入配置页面
(config)# setdefault                      ←清除以前配置信息
(config)# interface fastethernet             ←进入以太网端口配置界面
(config-if)# h323                        ←进入H323配置界面
 (config-if-h323)# gatekeeper AVS 218.104.189.248   ←配置网守地址
(config-if-h323)# gateway voip h323-id test      ←配置登录帐号
(config-if-h323)# security password 0000         ←配置帐号密码
(config-if-h323)# !                             ←返回上一级目录
(config-if)# !                                 ←返回上一级目录
(config)# dial-peer voice 1 voip                  ←配出第一条拨出规则
(config-dial-voip)# destination-pattern T
(config-dial-voip)# session target ras
(config-dial-voip)# !                           ←返回上级目录
(config)# dial-peer voice 2 voip                  ←配置第二条拨号规则
(config-dial-voip)# destination-pattern 0T
(config-dial-voip)# session target ras
(config-dial-voip)# !                           ←返回上一级目录
(config)# !                                   ←返回上一级目录
# wr                                        ←保存刚才所做的配置
Building configuration...
[OK]

# show h323                                  ←查看H323登录情况

    ------------------H323 Config Information-------------------
             GateKeeper IP        : 218.104.189.248(UP)  ←UP为登录成功
             GateKeeper port      : 1719
             GateKeeper ID        : AVS
             RAS port             : 1719
             Signal port          : 1720
             Retry interval       : 10
             Retry times          : 10
             Gateway Aliase       :
             Gateway Prefix       :
             Gateway H323ID       : 22900021
             Gateway MAC          : 00688800513C
             Security password    : 135126
             tcpport              : 30000  300
             udpport              : 5000  0
             tos                  : 5
    ----------------------------------------------------------
#