VOIP configuration example

Source: Internet
Author: User
Complex VOIP configuration 1. topology, center Zongbu # shrunBuildingconfiguration... Currentconfiguration: 2216 bytes! Version12.2servicetimestampsdebuguptimeservicetimestampsloguptimenoservicepassword-encryption! HostnameZongbu! En

Complex VOIP configuration 1. topology, center Zongbu # sh run Building configuration... Current configuration: 2216 bytes! Version 12.2 service timestamps debug uptime service timestamps log uptime no service password-encryption! Hostname Zongbu! En

Complex VOIP Configuration

I. Topology

, Center

Zongbu # sh run

Building configuration...

Current configuration: 2216 bytes

!

Version 12.2:

Service timestamps debug uptime

Service timestamps log uptime

No service password-encryption

!

Hostname Zongbu

!

Enable password cisco

!

!

Class-map match-all voice

Match access-group 102

!

Access-list 102 permit udp any range 16384 32767

Access-list 102 permit tcp any eq 1720

Access-list 102 permit tcp any eq 1720 any

!

Policy-map qos

Class voice

Priority 40

Class-default

Fair-queue

!

Voice-card 1

!

Ip subnet-zero

!

!

No ip domain-lookup

!

!

!

!

!

!

!

!

!

Controller E1 1/0

Framing NO-CRC4

Ds0-group 0 timeslots 17-31 type r2-digital r2-compelled

Ds0-group 1 timeslots 1-15 type r2-digital r2-compelled

Cas-custom 0

Unused-abcd 0 0 1 1

Country china

Dnis-digits min 4 max 8

Cas-custom 1

Unused-abcd 0 0 1 1

Country china

Dnis-digits min 4 max 8

!

!

!

!

Interface FastEthernet0/0

Ip address 10.22.110.248 255.255.255.0

Ip rip send version 2

Duplex auto

Speed auto

!

Interface Serial0/0

Description Connected to Fenzhi1

Ip address 10.22.118.9 255.255.255.252

Service-policy output qos

!

Interface Serial0/1

Description Connected to Fenzhi2

Ip address 10.22.118.13 255.255.255.252

Service-policy output qos

!

Router ospf 100

Log-adjacency-changes

Redistribute static subnets

Redistribute rip subnets

Network 10.22.110.248 0.0.0.0 area 0

Network 10.22.118.9 0.0.0.0 area 0

Network 10.22.118.13 0.0.0.0 area 0

!

Router rip

Version 2

Redistribute ospf 100 metric 2

Network 10.0.0.0

Default-metric 2

!

Ip classless

Ip route 10.0.0.0 255.0.0.0 10.22.110.253

Ip route 10.22.108.0 255.255.255.0 10.22.110.254

Ip route 10.22.109.0 255.255.255.0 10.22.110.254

Ip http server

Ip pim bidir-enable

!

!

Call rsvp-sync

!

Voice-port 1/0: 0

!

Voice-port 1/0: 1

!

!

Mgcp profile default

!

Dial-peer cor custom

!

!

!

Dial-peer voice 10 voip

Description Phone to Fenzhi1

Destination-pattern 6964 ....

Session target ipv4: 10.22.118.10

Dtmf-relay cisco-rtp h245-signal h245-alphanumeric

Fax rate 9600

!

Dial-peer voice 20 voip

Description Phone to Fenzhi2

Destination-pattern 6962 ....

Session target ipv4: 10.22.118.14

Dtmf-relay cisco-rtp h245-signal h245-alphanumeric

Fax rate 9600

!

Dial-peer voice 30 pots

Destination-pattern 6491 ....

Direct-inward-dial

Port 1/0: 0

!

Dial-peer voice 40 pots

Destination-pattern 1.

Direct-inward-dial

Port 1/0: 1

Forward-digits all

!

Dial-peer voice 60 pots

Destination-pattern 9481 ....

Direct-inward-dial

Port 1/0: 0

Forward-digits all

!

!

Line con 0

Line aux 0

Line vty 0 4

Password cisco

Login

!

2. Branch 1

Fenzhi 1 # sh run

Building configuration...

Current configuration: 1161 bytes

!

Version 12.2:

Service timestamps debug uptime

Service timestamps log uptime

No service password-encryption

!

Hostname Fenzhi1

!

Enable password cisco

!

!

!

Ip subnet-zero

!

Class-map match-all voice

Match access-group 102

!

Access-list 102 permit udp any range 16384 32767

Access-list 102 permit tcp any eq 1720

Access-list 102 permit tcp any eq 1720 any

!

Policy-map qos

Class voice

Priority 40

Class-default

Fair-queue

!

!

!

Interface Ethernet0/0

Ip address 10.22.115.254 255.255.255.0

Half-duplex

!

Interface Serial0/0

Ip address 10.22.118.10 255.255.255.252

Service-policy output qos

!

Router ospf 100

Log-adjacency-changes

Network 10.22.115.254 0.0.0.0 area 0

Network 10.22.118.10 0.0.0.0 area 0

!

Ip classless

Ip http server

Ip pim bidir-enable

!

!

Call rsvp-sync

!

Voice-port 1/0/0

!

Voice-port 1/0/1

!

!

Mgcp profile default

!

Dial-peer cor custom

!

!

!

Dial-peer voice 10 voip

Destination-pattern 6491 ....

Session target ipv4: 10.22.118.9

Dtmf-relay cisco-rtp h245-signal h245-alphanumeric

Fax rate 9600

!

Dial-peer voice 20 pots

Preference 2

Destination-pattern 6964 ....

Port 1/0/0

!

Dial-peer voice 30 pots

Preference 5

Destination-pattern 6964 ....

Port 1/0/1

!

Dial-peer voice 40 voip

Destination-pattern 6962 ....

Session target ipv4: 10.22.118.14

Dtmf-relay cisco-rtp h245-signal h245-alphanumeric

Fax rate 9600

!

!

Line con 0

Line aux 0

Line vty 0 4

Password cisco

Login

!

!

End

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.