Sample PSTN configuration with HQ

Building configuration...


Current configuration : 3093 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname PSTN-CME-VG
!
boot-start-marker
boot-end-marker
!
no aaa new-model
clock timezone India 5 30
network-clock-participate slot 1
voice-card 0
 no dspfarm
!
voice-card 1
 dspfarm
!
voice-card 2
 dspfarm
!
dot11 syslog
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.15.1 192.168.15.10
!
ip dhcp pool PSTN-Phones
   network 192.168.15.0 255.255.255.0
   default-router 192.168.15.2
   option 150 ip 192.168.15.2
!
!
ip cef
!
!
multilink bundle-name authenticated
!
isdn switch-type primary-ni
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
archive
 log config
  hidekeys
!
!
controller T1 1/0/0
 framing esf
 clock source internal
 linecode b8zs
 pri-group timeslots 1-12,24
!
controller T1 1/0/1
 framing esf
 linecode b8zs
!
controller T1 2/0/0
 framing esf
 linecode b8zs
!
ip tftp source-interface GigabitEthernet0/1
!
!
!
!
interface GigabitEthernet0/0
 ip address 192.168.10.105 255.255.255.0
 duplex auto
 speed auto
 media-type rj45
!
interface GigabitEthernet0/1
 ip address 192.168.15.2 255.255.255.0
 duplex auto
 speed auto
 media-type rj45
!
interface Serial1/0/0:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn protocol-emulate network
 isdn incoming-voice voice
 no cdp enable
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.10.1
!
!
ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
voice-port 1/0/0:23
!
!
!
!
!
dial-peer voice 866 pots
 destination-pattern 8665550100
!
dial-peer voice 10 pots
 incoming called-number .
 direct-inward-dial
!
dial-peer voice 2012012001 pots
 destination-pattern 201201....
 port 1/0/0:23
!
!
num-exp 8665550100 911
num-exp 8775550100 911
num-exp 8885550100 911
!
telephony-service
 max-ephones 10
 max-dn 20
 ip source-address 192.168.15.2 port 2000
 max-conferences 12 gain -6
 transfer-system full-consult
!
!
ephone-dn  1  dual-line
 number 911 secondary 8005550100 no-reg both
 label Emergency
 name emergency
!
!
ephone-dn  2
 number 4087071222
 label US Long Distance
 name US long Disatance Test Number
!
!
ephone-dn  3
 number 2012517295
 label US Mbile Phone
 name US Mobile Phone Test Number
!
!
ephone-dn  4
 number 112 secondary 999
 label U.K.Emergency
 name UK Emergency
!
!
ephone-dn  5
 number 2030215601
 label International Number
 name Internaltional Test Number
!
!
ephone-dn  6
 number 7777881233
 label UK Mobile Phone
 name UK Mobile Phone Test Number
!
!
ephone  1
 mac-address 68BD.ABA5.9043
 type 7975
 button  1:1 2:2 3:3 4:4
 button  5:5 6:6
!
!
!
line con 0
 login local
line aux 0
line vty 0 4
 exec-timeout 0 0
 privilege level 15
 login local
 transport input telnet
line vty 5 15
 exec-timeout 0 0
 privilege level 15
 login local
 transport input telnet
!
scheduler allocate 20000 1000
ntp master
!
end

Comments

  1. Hi Sir, You are really excellent author.

    Supportable blog page on debuggingvoip.blogspot.com .It is a choice able web page for all of us.This web page help us many way.So I like it. It’s amazing how many successful projects I’ve gotten via my blogs. Plus my blogs have been an outstanding way to show circumstances my writing just as much as sections, illustrations, etc.As I want to discuss Over 11 million people use eFax every day for their fax communications. Smart Voice Network Internet Fax solutions empowers you with many advantages, including the largest selection of local and toll-free fax numbers in over 3,500 cities and 48 countries around the world.

    Thanks For Very Interesting Post.

    ReplyDelete

Post a Comment

Popular posts from this blog

Status: Local Agent is not responding. This may be due to Master or Local Agent being down.

Understanding code yellow