一、组网需求:
两个语音网关之间直接经由广域网通话。
& 说明:
本例假设语音网关VG A与VG B之间的路由可达。
三、配置步骤:
1.配置语音网关VG A的基本信息
# 配置VoIP语音实体。
[VGA] voice-setup
[VGA-voice] dial-program
[VGA-voice-dial] entity 0755 voip
# 配置被叫方电话号码,点是通配符。
[VGA-voice-dial-entity755] match-template 0755....
# 配置被叫方IP地址。
[VGA-voice-dial-entity755] address ip 2.2.2.2
# 配置Tel.1连接的本地端口。
[VGA-voice-dial-entity755] entity 1001 pots
# 配置Tel.1的电话号码。
[VGA-voice-dial-entity1001] match-template 0101001
# 配置POTS 语音实体1001与语音用户线0(FXS口)关联。
[VGA-voice-dial-entity1001] line 0
# 配置Tel.2连接的本地端口。
[VGA-voice-dial-entity1001] entity 1002 pots
# 配置Tel.2的电话号码。
[VGA-voice-dial-entity1002] match-template 0101002
# 配置POTS 语音实体1002与语音用户线1关联。
[VGA-voice-dial-entity1002] line 1
[VGA-voice-dial-entity1002] return
# 配置缺省路由及以太网IP地址。
[VGA] ip route-static 0.0.0.0 0 1.1.1.2
[VGA] interface ethernet 0
[VGA-Ethernet0] ip address 1.1.1.1 255.255.255.0
2.配置语音网关VG B的基本信息
# 配置VoIP语音实体。
[VGB] voice-setup
[VGB-voice] dial-program
[VGB-voice-dial] entity 010 voip
[VGB-voice-dial-entity10] match-template 010....
[VGB-voice-dial-entity10] address ip 1.1.1.1
# 配置Tel.3连接的本地端口。
[VGB-voice-dial-entity10] entity 2001 pots
[VGB-voice-dial-entity2001] match-template 07552001
[VGB-voice-dial-entity2001] line 0
# 配置Tel.4连接的本地端口。
[VGB-voice-dial-entity2001] entity 2002 pots
[VGB-voice-dial-entity2002] match-template 07552002
[VGB-voice-dial-entity2002] line 1
[VGB-voice-dial-entity2002] return
# 配置缺省路由及以太网IP地址。
[VGB] ip route-static 0.0.0.0 0 2.2.2.1
[VGB] interface ethernet 0
[VGB-Ethernet0] ip address 2.2.2.2 255.255.255.0
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作