Geniu$$ писал(а):
:) ну тут нет телепатов.
Хоть конфиг покажите
Да думал, мож фича знакомая
FXS:
--------------------------------------------------------------------------------
Command base-URL: /exec/show/configuration User ID: root
--------------------------------------------------------------------------------
Using 2334 out of 65332 bytes
!
version 8.23H
!
hostname AP200
!
!
no bridge spanning-tree
!
ip route-cache
!
dhcp-list 1 type server
dhcp-list 1 address server 10.1.1.2 10.1.1.126 255.255.255.128
!
!
ip-share enable
ip-share interface net-side ether0.0
ip-share interface local-side ether1.0
!
interface null0
no ip address
!
interface ether0.0
ip address ---------- ----------
qos-control
line-ctrl full-duplex
line-ctrl promiscuous
!
interface ether1.0
no ip address
line-ctrl promiscuous
!
interface null0
no ip address
!
snmp name AP200B
!
no arp reset
!
route ---------- ---------- ether0.0
route 0.0.0.0 0.0.0.0 ----------
route 10.10.10.0 255.255.255.0 ether1.0
!
logging on
!
no service ftpd
!
login lock fail 12
login lock time 00:15
!
!
!
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
fax protocol t38 redundancy 0
fax rate 9600
h323 call start fast
h323 call tunnel enable
h323 call response alert
busyout monitor gatekeeper
no busyout monitor callagent
busyout monitor voip-interface
!
!
! Voice port configuration.
!
! FXS
voice-port 0/0
output gain 5
connection plar 100
!
!
! FXS
voice-port 0/1
input gain 3
output gain 5
connection plar 101
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 0 pots
destination-pattern 300
port 0/0
!
dial-peer voice 1 pots
destination-pattern 301
port 0/1
!
!
!
! Voip peer configuration.
!
dial-peer voice 2 voip
destination-pattern T
session target ----------
voice-class codec 1
dtmf-relay h245-alphanumeric
no vad
!
!
!
!
!
!
! Gateway configuration.
!
gateway
h323-id voip.----------
public-ip ----------
ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g729
codec preference 3 g7231r63
codec preference 4 g7231r53
codec preference 5 g711ulaw
!
!
!
! SIP UA configuration.
!
sip-ua
!
!
! MGCP configuration.
!
mgcp
codec g711ulaw
!
!
! Tones
!
!
!
voip-interface ether0.0
!
FXO:
Using 2648 out of 65248 bytes
!
version 8.30Q
!
hostname AP200
!
!
no bridge spanning-tree
!
ip route-cache
!
!
ip-share enable
ip-share interface net-side ether0.0
ip-share interface local-side ether1.0
!
interface ether0.0
ip address ------------- 255.255.255.224
qos-control
line-ctrl full-duplex
!
interface ether1.0
no ip address
!
snmp name AP200D
!
no arp reset
!
route ------------- 255.255.255.224 ether0.0
route 0.0.0.0 0.0.0.0 -------------
route 10.10.10.0 255.255.255.0 ether1.0
!
ntp offset 06:00
ntp server 62.84.188.34
!
no service ftpd
!
login lock fail 12
login lock time 00:15
!
!
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
fax protocol t38 redundancy 0
fax rate 9600
h323 call start fast
h323 call tunnel enable
!
!
! Voice port configuration.
!
! FXO
voice-port 0/0
output gain 2
connection plar 300
ring detect-timeout 40
no clear-down-tone-detect
low-dtmf-gain -3
high-dtmf-gain -1
no caller-id enable
!
!
! FXO
voice-port 0/1
input gain 3
output gain 5
connection plar 200
ring detect-timeout 40
no clear-down-tone-detect
low-dtmf-gain -3
high-dtmf-gain -1
caller-id enable
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 0 pots
destination-pattern 100
port 0/0
translate-outgoing called-number 0
!
dial-peer voice 2 pots
destination-pattern 101
port 0/1
translate-outgoing called-number 0
!
!
!
! Voip peer configuration.
!
dial-peer voice 1 voip
destination-pattern 300
session target -------------
voice-class codec 1
no vad
dtmf-relay h245-alphanumeric
!
dial-peer voice 100 voip
destination-pattern 200
session target -------------
codec g711alaw
voice-class codec 1
no vad
dtmf-relay h245-alphanumeric
!
!
!
!
!
!
! Gateway configuration.
!
gateway
h323-id voip.-------------
public-ip -------------
ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g729
codec preference 3 g7231r63
codec preference 4 g7231r53
codec preference 5 g711ulaw
!
!
!
! Translation Rule configuration.
!
translation-rule 0
rule 0 T T
!
!
!
! SIP UA configuration.
!
sip-ua
!
!
! MGCP configuration.
!
mgcp
codec g711ulaw
vad
!
!
! Tones
!
!
!
!