# Configuring dial peers

POTS Dial Peers
CME_A(config)# dial-peer voice 1101 pots
CME_A(config-dial-peer)# destination-pattern 1101
CME_A(config-dial-peer)# port 0/0/0 FXS Port
CME_A(config)# dial-peer voice 1102 pots
CME_A(config-dial-peer)# destination-pattern 1102
CME_A(config-dial-peer)# port 0/0/1 ! FXS Port
CME_B(config)# dial-peer voice 2000 pots
CME_B(config-dial-peer)# destination-pattern 2...
CME_B(config-dial-peer)# no digit-strip
CME_B(config-dial-peer)# port 1/0:23 ! T1 Interface
Configuring VoIP Dial Peers
CME_A(config)# dial-peer voice 2000 voip
CME_A(config-dial-peer)# destination-pattern 2...
CME_A(config-dial-peer)# session target ipv4:10.1.1.2
CME_A(config-dial-peer)# codec g711ulaw
CME_B(config)# dial-peer voice 1100 voip
CME_B(config-dial-peer)# destination-pattern 110.
CME_B(config-dial-peer)# session target ipv4:10.1.1.1
CME_B(config-dial-peer)# codec g711ulaw

No comments: