欢迎来到天天文库
浏览记录
ID:20285167
大小:79.00 KB
页数:3页
时间:2018-10-09
《中继线及用户线一一对应案例》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、1.组网需求有一台用户语音网关VGA(VG2016)和两台中继语音网关VGB(VG2008L),用户想让用户线路和中继线路一一对应。2.组网图图1-1FXS&FXO一一对应配置组网图3.配置步骤(1)配置用户语音网关VGA#配置以太网口地址[VGA]interfaceethernet0[VGA-Ethernet0]ipaddress192.168.0.1[VGA-Ethernet0]quit#配置本地的pots实体[VGA]voice-setup[VGA-voice]dial-program[VGA-voice-dial]entity1000pots[
2、VGA-voice-dial-entity1000]match-template1000[VGA-voice-dial-entity1000]line0[VGA-voice-dial-entity1000]entity1001pots[VGA-voice-dial-entity1001]match-template1001[VGA-voice-dial-entity1001]line1(省略其他用户线实体的配置,假设line0-15分别对应号码1000-1015)#配置前八条用户线路使用的VoIP实体[VGA-voice-dial-entity1001
3、]entity2000voip[VGA-voice-dial-entity2000]match-template.T//匹配所有非空号码[VGA-voice-dial-entity2000]addressip192.168.0.2//呼叫路由指向中继网关VGB3[VGA-voice-dial-entity2000]call-permit1000//只允许前八条用户线路占用中继网关VGB[VGA-voice-dial-entity2000]call-permit1001//同上[VGA-voice-dial-entity2000]call-permit1
4、002[VGA-voice-dial-entity2000]call-permit1003[VGA-voice-dial-entity2000]call-permit1004[VGA-voice-dial-entity2000]call-permit1005[VGA-voice-dial-entity2000]call-permit1006[VGA-voice-dial-entity2000]call-permit1007#配置后八条用户线路使用的VoIP实体[VGA-voice-dial-entity2000]entity2001voip[VGA-v
5、oice-dial-entity2001]match-template.T//匹配所有非空号码[VGA-voice-dial-entity2001]addressip192.168.0.3//呼叫路由指向中继网关VGC[VGA-voice-dial-entity2001]call-permit1008//只允许后八条用户线路占用中继网关VGC[VGA-voice-dial-entity2001]call-permit1009//同上[VGA-voice-dial-entity2001]call-permit1010[VGA-voice-dial-ent
6、ity2001]call-permit1011[VGA-voice-dial-entity2001]call-permit1012[VGA-voice-dial-entity2001]call-permit1013[VGA-voice-dial-entity2001]call-permit1014[VGA-voice-dial-entity2001]call-permit1015(1)配置中继语音网关VGB#配置以太网口地址[VGB]interfaceethernet0[VGB-Ethernet0]ipaddress192.168.0.2[VGB-Et
7、hernet0]quit#配置中继线路的pots实体,通过主叫号码限制保证和用户线路一一对应[VGB]voice-setup[VGB-voice]dial-program[VGB-voice-dial]entity1000pots[VGB-voice-dial-entity1000]match-template.T//匹配所有非空号码[VGB-voice-dial-entity1000]line0[VGB-voice-dial-entity1000]call-permit1000//只允许1000的主叫号码占用[VGB-voice-dial-entit
8、y1000]entity1001pots[VGB-voice-dial-entity1001]
此文档下载收益归作者所有