|
| Home >EIA20X> Configuration
examples>FXS/FXO Configuration |
|
|
EIA20X FXS/FXO port configuration example: |
service password-encryption
service timestamps debug
!
hostname Aliwei
!
enable password 7 MZUS2dMp9XnBZrEvacPfcJF
!
username admin password 7 zA2UvoJm1jAtPLH22nzcQvM
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
!
voice pattern CISCO
!
interface fastethernet 0/0
ip address 192.168.77.120 255.255.255.0
!
interface ethernet 0/0
ip address dhcp
!
interface async 0/0
!
line vty 0 31
!
sip-ua
sip-server ipv4:192.168.1.2
timers expires 200000
ip local 192.168.77.120
ip media 192.168.77.120
registrar ipv4:192.168.1.2
mode through
remote-port 5060
enable-call-waiting
call-transfer attended
enable-same-number
!
ip route 0.0.0.0 0.0.0.0 192.168.77.254
!
voice-port 1/0
input volume-input-gain 0
output volume-output-gain 0
pre-dial-delay 1
enable-rfc2833
!
voice-port 1/1
input volume-input-gain 0
output volume-output-gain 0
pre-dial-delay 1
enable-rfc2833
!
voice-port 1/2
input volume-input-gain 0
output volume-output-gain 0
pre-dial-delay 1
enable-rfc2833
!
voice-port 1/3
!
voice-port 1/4
!
voice-port 1/5
!
voice-port 1/6
!
voice-port 1/7
!
dial-peer voice 1 pots
destination-pattern 9T
port 1/0
password 7 JNkakBTBo6OkBHf1
author FXSO
!
dial-peer voice 3 pots
destination-pattern 9T
port 1/2
password 7 M2mSvtvwsUKFUT0X
author FXO1
!
dial-peer voice 2 pots
destination-pattern 9T
port 1/1
password 7 6lTLyQpzvDpy/h/V
author FXS1
!
dial-peer voice 100 voip
destination-pattern T
codec g711ulaw
voice-class codec 1
session target ipv4:192.168.1.2
no vad
!
dial-peer terminator #
voice-bind sip
!
end
Aliwei# |
|