POTS — A traditional telephone network peer, such as commonly used
telephone interfaces, PSTN telephone line interface (Z interface), etc.
VoIP — IP network peers (passing via the IP network, related with the
remote telephone segment.)
Seeing the two kinds of dial-peers at the caller:

VoIP Topology Example

CISCO Configuration:
!
voice-card 0
no dspfarm
!
voice-card 1
no dspfarm
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
codec preference 3 g723r63
codec preference 4 g729r8
codec preference 5 g729br8
!
username ilmcisco privilege 15 secret 5 $1$KLC2$qOj7xltCoZyz8h7D95f1y.
username cisco privilege 7 password 7 104D000A0618
!
!
interface Serial0/0/0
bandwidth 2048
ip address 1.1.1.1 255.255.255.252
encapsulation ppp
h323-gateway voip interface
max-reserved-bandwidth 100
!
voice-port 0/1/0
timeouts interdigit 2
!
voice-port 0/1/1
timeouts interdigit 2
!
!
!
!
dial-peer voice 1 pots
destination-pattern 111
port 0/1/0
!
dial-peer voice 25 voip
destination-pattern 222
modem passthrough nse codec g729r8
session target ipv4:1.1.1.2
dtmf-relay h245-signal h245-alphanumeric
!
scheduler allocate 20000 1000
!
end
MAIPU Configuration:
user admin privilege 15 password 7 [WOWWWNXSX
user monitor privilege 3 password 7 ]Y_Y^YYYTZ_YRZ
aaa new-model
aaa authentication login default local
aaa authorization exec default localenable password P[CFYL[SEbPd encrypt
interface serial0
physical-layer sync
encapsulation ppp
ip address 1.1.1.2 255.255.255.252
exit
dialplan terminator time 2
dial-peer 1 pots
destination-pattern 222
port 1/0
exit
dial-peer 99 voip
destination-pattern 111
session-target 1.1.1.1
exit
voice-port 1/0
codec g729
maxpayloadnum 4
exit
No comments:
Post a Comment