Configure voip in cisco 2801

Source: Internet
Author: User

Cisco 2801 configures voip recently to help customers debug VOIP. The customer's requirement is that the Headquarters and the Hong Kong Branch use a leased line to implement VOIP calls, saving telephone fees. In the user environment, China Telecom connects users through wire connect, four of which are connected to 2801 voice cards. The same is true for Hong Kong. The Headquarters user only needs to pull one of the four online phone numbers, and a voice prompt is displayed. *** This is the phone number used to dial Hong Kong. Ask for the extension number, check "0" ****. You only need to add "7" before making a call in Hong Kong. The following is the 2801 configuration of the Headquarters for reference: * ** # sh runBuilding configuration... current configuration: 4189 bytes! Version 12.4 service tcp-keepalives-inservice tcp-keepalives-outservice timestamps debug datetime localtimeservice timestamps log datetime localtimeservice password-encryptionno service dhcp! Hostname ***! Boot-start-markerboot system flash: c2801-spservicesk9-mz.124-3e.binboot-end-marker! Logging buffered 512000 icationicationsenable secret 5 $1 $ PNEw $ F7U12ek57NSo. mguBFc8u1! Aaa new-model !! Aaa authentication login default localaaa authorization leleaaa authorization exec default local! Aaa session-id common! Resource policy! Clock timezone HK 8mmi polling-interval 60no mmi auto-checking Eno mmi PVC mmi snmp-timeout 180ip subnet-zerono ip source-routeip cef! No ip domain lookupip host hk 10.0.1.2! Voice-card 0! Username hgcadmin privilege 15 secret 5 $ username mtladmin privilege 15 secret 5 $ username mtlops privilege 15 password 7 1 !! Class-map match-all silvermatch anyclass-map match-any voice-trafficmatch access-group name voip! Policy-map wanqosclass voice-traffic set precedence 5 priority 80 class-default set precedence 0 fair-queue random-detect! Interface FastEthernet0/0ip address 192.168.168.12 255.255.255.0duplex autospeed auto! Interface FastEthernet0/1ip address 192.168.111.254 255.255.255.0duplex autospeed auto! Interface Serial0/1/0 bandwidth 256no ip addressencapsulation frame-relay IETFload-interval 30no fair-queueframe-relay traffic-shapingmax-reserved-bandwidth 100! Interface Serial0/1/0.999 point-to-pointip address 10.0.2.2 255.255.255.252frame-relay interface-dlci 16 class VOIPovFR load-interval 30h323-gateway voip interfaceh323-gateway voip bind srcaddr 10.0.2.2! Ip classlessip route 0.0.0.0 0.0.0.0 192.168.168.254ip route 10.0.1.0 255.255.255.252 10.0.2.1ip route 192.168.0.0 255.255.255.255.0 10.0.2.1 !! No ip http serverno ip http secure-server! Ip access-list extended voippermit udp any range 16384 32767 permit tcp any eq 1720 anypermit tcp any eq 1720 !! Map-class frame-relay VOIPovFRframe-relay cir 256000frame-relay bc 2560frame-relay be 0frame-relay mincir 256000service-policy output wanqosno cdp run !!! Control-plane !!! Voice-port 0/0/0 supervisory disconnect dualtone mid-callinput gain 3 cptone CNtimeouts interdigit 3 timeouts call-disconnect 15 timeouts ringing 15 timeouts wait-release 15 connection plar 1 description HZ limit-port 0/0 /1 supervisory disconnect dualtone mid-callinput gain 3 cptone CNtimeouts interdigit 3 timeouts call-disconnect 15 timeouts ringing 15 timeouts wait-release 15 connection plar 1 description H Z branch-port 0/0/2 supervisory disconnect dualtone mid-callinput gain 3 cptone CNtimeouts interdigit 3 timeouts call-disconnect 15 timeouts ringing 15 timeouts wait-release 15 connection plar 1 description hz fxo! Voice-port 0/0/3 supervisory disconnect dualtone mid-callinput gain 3 cptone CNtimeouts interdigit 3 timeouts call-disconnect 15 timeouts ringing 15 timeouts wait-release 15 connection plar 1 description hz fxo! Dial-peer voice 10 potsdescription connected to HuiZhou's phone # 1767destination-pattern 7 port 0/0/0! Dial-peer voice 20 potsdescription connected to HuiZhou's phone # 1021destination-pattern 7 port 0/0/1! Dial-peer voice 30 potsdescription connected to HuiZhou's phone # 1768destination-pattern 7 port 0/0/2! Dial-peer voice 40 potsdescription connected to HuiZhou's phone # 1781destination-pattern 7 port 0/0/3! Dial-peer voice 100 voipdescription *** To HK local extension *** destination-pattern 1 session target ipv4: alibaba-relay h245-alphanumericcodec listen bytes 80fax-relay ecm disablefax rate 9600fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback ciscono vadanner login ^ Cf you do not have formal authorization to use this system, ou must not proceed with your logon. cine con 0exec-timeout 0 0 logging synchronousine aux 0ine vty 0 4 transport input telnet

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.