Geniu$$ писал(а):
Конфиг
лог
deb voip call
deb rta ipc
Вот конфиг
!
version 8.30V
!
hostname voip
!
!
no bridge spanning-tree
!
dhcp-list 0 type server
dhcp-list 0 address server interface ether0.0
dhcp-list 0 option dhcp-lease-time 600
!
dhcp-list 1 type server
dhcp-list 1 address server 10.1.1.2 10.1.1.126 255.255.255.128
!
!
no ip-share enable
ip-share interface net-side ether0.0
ip-share interface local-side ether1.0
!
interface ether0.0
ip address dhcp
!
interface ether1.0
ip address xxx.xxx.xxx.xxx 255.255.0.0
description -=MGMT=-
encapsulation vlan
vlan xxx
!
interface ether1.1
ip address yyy.yyy.yyy.yyy 255.255.255.0
description -=Voice=-
encapsulation vlan
vlan xxx
!
snmp community 0.0.0.0 ap200 rw
snmp host
snmp contact
snmp location
snmp name
!
no arp reset
!
!
utilization cpu
utilization ethernet
!
logging command
logging event all
logging on
!
remote-log primary-server xxx.xxx.xxx.xxx
!
service snmpd
!
pnp-sktelink debug on
!
!
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
fax protocol t38 redundancy 2
fax rate 9600
h323 call start fast
h323 call tunnel enable
local-ringback-tone alert
busyout monitor gatekeeper
busyout monitor sip-server
no busyout monitor callagent
busyout monitor voip-interface
!
!
! Voice port configuration.
!
! FXS
voice-port 0/0
description -==-
fax-early-detect
caller-id enable
!
!
! FXS
voice-port 0/1
description -==-
fax-early-detect
caller-id enable
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 0 pots
destination-pattern xx3369
port 0/0
!
dial-peer voice 1 pots
destination-pattern xx1476
port 0/1
!
!
!
! Voip peer configuration.
!
dial-peer voice 998 voip
destination-pattern 808.T
session target yyy.yyy.yyy.yyy
voice-class codec 777
no vad
dtmf-relay h245-alphanumeric
no sid
preference 6
fax protocol bypass
!
dial-peer voice 999 voip
destination-pattern 808.T
session target yyy.yyy.yyy.yyy
voice-class codec 777
no vad
dtmf-relay h245-alphanumeric
no sid
fax protocol bypass
!
!
!
!
dial-peer hunt 3
!
!
! Gateway configuration.
!
gateway
h323-id voip.yyy.yyy.yyy.yyy
no ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
voice class codec 729
codec preference 1 g729
codec preference 2 g711alaw
codec preference 3 g711ulaw
!
voice class codec 777
codec preference 1 g711alaw
codec preference 2 g711ulaw
!
voice class codec 711
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729
!
!
!
! SIP UA configuration.
!
sip-ua
!
!
! MGCP configuration.
!
mgcp
codec g711ulaw
vad
!
!
! Tones
!
!
!
voip-interface ether1.1
!
При этом команда sh dialplan nu 808123456789 показывает следующее
!
voip# sh dialplan number 808123456789
DialPeer Matched All:
VoIP peer 998
dest-pattern = 808.T
session-target = 172.25.25.103
session-protocol = N/A
answer-address =
codec = default
voice codec class = 777
codec variant G729 = annex-b
dtmfRelay = h245-alphanumeric
dtmfRelay ignore other way = no
vad = no
sid = no
redundant RTP = no
description =
preference = 6
huntstop = no
translate-outgoing called-number = -1
translate-outgoing calling-number = -1
translate-outgoing digits in call = -1
call diversion = -1
call do not disturb = FALSE
outbound call barred group = -1
fax mode = bypass
fax rate (bps) = system
fax T38 redundancy = 0
max call forward hop = 4
administrative status = up
modem passthrough codec = none
modem passthrough mode = none
VoIP peer 999
dest-pattern = 808.T
session-target = 172.25.25.103
session-protocol = N/A
answer-address =
codec = default
voice codec class = 777
codec variant G729 = annex-b
dtmfRelay = h245-alphanumeric
dtmfRelay ignore other way = no
vad = no
sid = no
redundant RTP = no
description =
preference = 0
huntstop = no
translate-outgoing called-number = -1
translate-outgoing calling-number = -1
translate-outgoing digits in call = -1
call diversion = -1
call do not disturb = FALSE
outbound call barred group = -1
fax mode = bypass
fax rate (bps) = system
fax T38 redundancy = 0
max call forward hop = 4
administrative status = up
modem passthrough codec = none
modem passthrough mode = none