首页 运维 网络学院 查看内容

AS5300语音网关配置

2006-1-28 18:44 628 0

摘要: 前几天给朋友帮忙时搞的,贴上来给大家看看 sh runBuilding configuration... Current configuration : 4905 bytes !versio...
关键词: 优先权 voice interface preference 方式 potsdestination enable pattern codec ip

前几天给朋友帮忙时搞的,贴上来给大家看看 sh runBuilding configuration... Current configuration : 4905 bytes !version 12.2no service padno service timestamps debug uptimeno service timesta mps log uptimeservice password-encryptionno service dhcp!hostname as5300-1!no logging rate-limitenable secret 5 $1$3Br4$N9tSriHsHW4vg/A4O3kdL/enable password 7 070C2D494F1B0900161E!username jtnet password 7 04511F39302F495A!!resource-pool disableresource-pool call treatment resource channel-not-available!call rsvp-sync // RSVP呼叫同步!call progress tone country china //系统时间为第八时区北京时间clock timezone china 8clock calendar-validcalltracker enableip subnet-zerono ip source-routeno ip domain-lookup!isdn switch-type primary-net5 //ISDN交换机类型 isdn voice-call-failure 0 //ISDN语音呼叫失败无效isdn alert-end-to-endvoice call send-alert //语音呼叫发送报警voice rtp send-recv //语音实时发送与接收!voice service voip //VOIP语音服务!voice class codec 88 //语音编解码分类codec preference 1 g729br8 //1级优先权编解码方式codec preference 2 g729r8 bytes 50 //2级优先权编解码方式codec preference 3 g711alaw //3级优先权编解码方式codec preference 4 g723ar53 //4级优先权编解码方式codec preference 5 g723ar63 bytes 144 //5级优先权编解码方式codec preference 6 g723r53 //6级优先权编解码方式codec preference 7 g723r63 bytes 120 //7级优先权编解码方式codec preference 8 g726r16 //8级优先权编解码方式codec preference 9 g726r24 //9级优先权编解码方式codec preference 10 g726r32 //10级优先权编解码方式codec preference 11 g728 //11级优先权编解码方式!!!!!fax interface-type modem //传真机调制解调器接口类型mta receive maximum-recipients 1 //报文传送代理接收最大收件人为1dial-control-mib retain-timer 60dial-control-mib max-size 1200!controller E1 0 //配置 E1语音卡0framing NO-CRC4 //编帧方式:NO-CRC4 编码方式(linecode):默认的HDB3clock source line primarypri-group timeslots 1-31 //把PRI接口划分为31个信道,其中第十六个信道(逻辑端口s0:15)是管理信道!controller E1 1framing NO-CRC4 clock source line secondary 1pri-group timeslots 1-31!controller E1 2framing NO-CRC4 clock source line secondary 2pri-group timeslots 1-31!controller E1 3shutdownframing NO-CRC4 clock source line secondary 3pri-group timeslots 1-31!translation-rule 101 //转换规则 101Rule 0 any 55514400 !translation-rule 102 //转换规则 102Rule 0 any 55514401!translation-rule 103Rule 0 any 55514403!translation-rule 104Rule 0 any 88588858!translation-rule 112!!!interface Loopback0no ip address!interface Ethernet0no ip addressno ip route-cacheno ip mroute-cacheshutdownno cdp enable!interface Serial0no ip addressno ip route-cacheno ip mroute-cacheshutdownno fair-queueclockrate 2015232no cdp enable!interface Serial1no ip addressno ip route-cacheno ip mroute-cacheshutdownno fair-queueclockrate 2015232no cdp enable!interface Serial2no ip addressno ip route-cacheno ip mroute-cacheshutdownno fair-queueclockrate 2015232no cdp enable!interface Serial3no ip addressno ip route-cacheno ip mroute-cacheshutdownno fair-queueclockrate 2015232no cdp enable!interface Serial0:15no ip addressisdn switch-type primary-net5no fair-queueno cdp enable!interface Serial1:15no ip addressisdn switch-type primary-net5no fair-queueno cdp enable!interface Serial2:15no ip addressisdn switch-type primary-net5no fair-queueno cdp enable!interface Serial3:15no ip addressisdn switch-type primary-net5no fair-queueno cdp enable!interface FastEthernet0 //快速以太网管理端口接口配置ip address xxx.xxx.xxx.xxx 255.255.255.248 //配置快速以太网网卡的IP地址和子网掩码no ip route-cacheno ip mroute-cacheduplex full speed 100no cdp enableh323-gateway voip interface //h323网关VOIP连接h323-gateway voip h323-id AS5300 //h323网关VOIP连接h323ID为AS5300!ip classlessip route 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx ip route 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxxno ip http serverip pim bidir-enable!no logging trapno cdp run!!voice-port 0:D //配置模拟语音端口input gain 5 output attenuation 11 //输出衰减为11echo-cancel coverage 32 //回音抵消覆盖率为32cptone CN!voice-port 1:Dinput gain -5output attenuation 11echo-cancel coverage 32cptone CN!voice-port 2:Dinput gain 5output attenuation 11echo-cancel coverage 32cptone CN!voice-port 3:Dinput gain 5output attenuation 11echo-cancel coverage 32cptone CN!dial-peer voice 427 pots //定义拨号对等体到语音物理端口destination-pattern 88770081T //为拨号对等体分配电话号码translate-outgoing calling 101 //转换出局主叫为1port 2:D //定义语音端口 prefix 0081!dial-peer voice 428 potsdestination-pattern 55600081Ttranslate-outgoing calling 103port 2:Dprefix 0081!dial-peer voice 432 potsdestination-pattern 55600081Ttranslate-outgoing calling 102port 1:Dprefix 0081!dial-peer voice 429 potsdestination-pattern 88770Tport 2:Dprefix 0!dial-peer voice 500 potsdestination-pattern 67890063Tport 0:Dprefix 0063!dial-peer voice 510 potsdestination-pattern 55990063Ttranslate-outgoing calling 101port 2:Dprefix 0063!dial-peer voice 511 potsdestination-pattern 559900639Ttranslate-outgoing calling 101port 1:Dprefix 00639!dial-peer voice 513 potsdestination-pattern 5580008869Ttranslate-outgoing calling 101prefix 008869!dial-peer voice 600 potsdestination-pattern 17811Tport 0:Dprefix 00!dial-peer voice 601 potsdestination-pattern 17811Tport 1:Dprefix 00!gateway !alias exec VA show call act voi br !line con 0exec-timeout 5 0line aux 0exec-timeout 5 0line vty 0 4exec-timeout 5 0password 7 030555130F0174111clogin!scheduler interval 1000end as5300-1#
声明:文章版权归原作者所有 部分文章转自互联网 如有侵权请联系 [邮箱地址] 删除

路过

雷人

握手

鲜花

鸡蛋

最新评论

返回顶部