проблемка в следующем
позвонить с D-Link на AddPac могу а наоборот нет.
как понять какое из устройств неверно сконфигурено и где ошибка.
Конфиг AddPac
Код:
show run
!
version 8.23D
!
hostname AP200
!
!
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
!
!
ip-share enable
ip-share interface net-side ether0.0
ip-share interface local-side ether1.0
!
interface ether0.0
ip address 192.168.0.17 255.255.255.0
-- more --
!
interface ether0.1
no ip address
shutdown
!
interface ether1.0
no ip address
shutdown
ip dhcp-group 0
!
snmp name AP200D
!
no arp reset
!
route 0.0.0.0 0.0.0.0 192.168.0.252
route 0.0.0.0 0.0.0.0 192.168.0.254
!
dnshost nameserver 192.168.0.1
!
!
!
!
-- more --
!
! 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
connection plar 1212
ring detect-timeout 70
!
!
! FXO
-- more --
voice-port 0/1
connection plar 1120
ring detect-timeout 70
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 20 pots
destination-pattern 1212
port 0/0
!
dial-peer voice 21 pots
destination-pattern 1120
port 0/1
!
!
!
! Voip peer configuration.
!
dial-peer voice 200 voip
-- more --
destination-pattern 2212
session target 192.168.0.19
session protocol sip
voice-class codec 1
dtmf-relay rtp-2833
!
dial-peer voice 201 voip
destination-pattern 2120
session target 192.168.0.19
session protocol sip
voice-class codec 1
dtmf-relay rtp-2833
!
!
!
!
!
!
! Gateway configuration.
!
gateway
h323-id voip.192.168.0.17
-- more --
no ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
voice class codec 1
codec preference 1 g729
codec preference 2 g711ulaw
codec preference 3 g7231r63
codec preference 4 g7231r53
codec preference 5 g711alaw
!
!
!
! SIP UA configuration.
!
sip-ua
!
!
! MGCP configuration.
!
mgcp
-- more --
codec g711ulaw
!
!
! Tones
!
!
!
!
AP200#
отладка на AddPac ает следующее:
Код:
[1602160.255] VM(0/0/0) Rx FXO Ring Actv
[1602160.255] VM(0/0/0) Tx RING_IND
206 <CEP 000000> : Call Received
[1602161.270] VM(0/0/0) Rx FXO Ring Idle
[1602161.270] VM(0/0/0) Tx PLAR_OFFHOOK_IND
207 <CEP 000000> : Call Initiated : calledNumber() crv(0) total(0)
208 <Call 181> : ****************** Call Created status(InitiatedByFXO) *******************
209 <CEP 000000> : Calling number(1212)
210 <CEP 000000> : Call id(bacbe44a-5a9f-fdd5-813a-0002a404a724) callNum(181)
211 <Call 181> : MatchAllProcess After Sorted
<0> id(20) dest(1212) prefer(0) selected(39)
212 <Call 181> : Initiate callee with dial-peer(1212) status(CalleeDeterminedAll) id(bacbe44a-5a9f-fdd5-813a-0002a404a724)
213 <Call 181> : Fail by Channel Busy
214 <Call 181> : Terminated from(fffffff7) this(Local:PortBusy) before(Local:PortBusy) forced(0)
[1602161.275] RTA(0/0/0) Rx CC_CONNECT_RSP peerId(0/0/0)
[1602161.275] VM(0/0/0) FXO OffHook
[1602161.275] VM(0/0/0) vopp enable
[1602161.275] VM(0/0/0) Fax enable
[1602161.275] VM(0/0/0) play mute
[1602161.275] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
TONE_PLAY LINEBUSY
[1602161.275] VM(0/0/0) play LineBusy tone
215 <Call 181> : Terminated from(fffffff7) this(Local:PortBusy) before(Local:PortBusy) forced(0)
216 <CEP 000000> : DisconnectCall at Busy
217 <CEP 000000> : StopSignal
[1602166.275] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
DTMF_STOP
[1602166.275] VM(0/0/0) play mute
218 <CEP 000000> : Disconnect (1)
[1602166.275] RTA(0/0/0) Rx CC_DISCONN_REQ CZ=1, peerId(0/0/0)
[1602166.275] VM(0/0/0) vopp idle
[1602166.275] VM(0/0/0) FXO OnHook
[1602166.275] VM(0/0/0) Tx DISCONN_CNF
219 <CEP 000000> : Disconnected(17) at Disconnecting
D-Link настроен по аналогии с
ftp://ftp.dlink.ru/pub/VoIP/DVG-5004S/D ... 4_6004.pdf