Aleksandr писал(а):
Добрый день!
Прошу помощи коллективного разума.
А проблема вот в чём:
Скрещиваю ap300b с SoftX(call agent) по mgcp.
При входящем неотвеченном звонке порт FXS ap300b остаётся в состоянии BUSY , при следующих входящих звонках у звонящего абонента в трубке КПВ, телефон на ap300b молчит.
И выйти из этого состояния можно только через подъём трубки на
телефоне ap300b.
Конфигурация:
!
version 8.238
!
hostname AP300
!
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.xx.xxx 255.255.255.0
!
interface ether1.0
no ip address
!
snmp name AP300
!
no arp reset
!
route 0.0.0.0 0.0.0.0 192.168.xx.x
!
!
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
fax protocol bypass
fax rate 14400
h323 call start fast
h323 call tunnel enable
timeout tinit 20
timeout tidt 5
no busyout monitor gatekeeper
no busyout monitor callagent
no busyout monitor voip-interface
!
!
! Voice port configuration.
!
! FXS
voice-port 0/0
!
!
! FXS
voice-port 0/1
no dial-tone-generate
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 0 pots
port 0/0
application mgcpapp
!
dial-peer voice 1 pots
port 0/1
application mgcpapp
!
!
!
! Voip peer configuration.
!
!
!
dial-peer terminator n
!
!
!
! Gateway configuration.
!
gateway
h323-id voip.192.168.xx.xxx
!
!
! SIP UA configuration.
!
sip-ua
!
!
! MGCP configuration.
!
mgcp
call-agent 1x.1xx.1x.1x 2727 128 version 1.0
no sid
epid-type #
no shutdown
codec g729
!
!
! Tones
!
!
!
voip-interface ether0.0
!
Debug:
AP300#
Received MGCP PDU from ( 1x.1xx.1x.1x:2727 )
CRCX 812826978 aaln/2@ap300 MGCP 1.0
C:1d03c16
L:a:G723,p:30
M:inactive
X:1600320c
R:
S:
v=0
c=IN IP4 1x.1xx.2x.2x
m=audio 19268 RTP/AVP 4
[170754.065] VM(0/1/0) Fax rate 14400
[170754.070] RTA(0/1/0) Rx RS_OPEN_REQ callId=55 ssId=1 G7236
peer=1x.1xx.2x.2x mp=23234/23235 hp=19268/19269
Sending MGCP PDU to ( 1x.1xx.1x.1x:2727 ) from 2427
200 812826978 OK
I: 37
v=0
o=- 1269991469 1269991469 IN IP4 192.168.xx.xxx
s=AddPac Gateway SDP
c=IN IP4 192.168.xx.xxx
t=1269991469 0
m=audio 23234 RTP/AVP 4
a=ptime:30
a=sqn:0
a=cdsc:1 audio RTP/AVP 0 2 8 18
Received MGCP PDU from ( 1x.1xx.1x.1x:2727 )
RQNT 812835173 aaln/2@ap300 MGCP 1.0
X:1600320e
R:
S:L/rg
2 <MGCP 000100> : SetSignalState : rg
[170754.085] RTA(0/1/0) Rx CC_RING_REQ peerId(-1)
[170754.085] VM(0/1/0) Line Reverse
[170754.085] VM(0/1/0) Start ring actv
Sending MGCP PDU to ( 1x.1xx.1x.1x:2727 ) from 2427
200 812835173 OK
3 <Time 812691815> : MGCP expire timer timeout.
[170755.085] VM(0/1/0) Gen ring idle
[170757.085] VM(0/1/0) Gen ring actv
[170758.085] VM(0/1/0) Gen ring idle
[170760.085] VM(0/1/0) Gen ring actv
[170761.085] VM(0/1/0) Gen ring idle
[170763.085] VM(0/1/0) Gen ring actv
[170764.085] VM(0/1/0) Gen ring idle
[170766.085] VM(0/1/0) Gen ring actv
[170767.085] VM(0/1/0) Gen ring idle
Received MGCP PDU from ( 1x.1xx.1x.1x:2727 )
AUEP 812896615 aaln/1@ap300 MGCP 1.0
F:X
Sending MGCP PDU to ( 1x.1xx.1x.1x:2727 ) from 2427
200 812896615 OK
X: 16003202
Received MGCP PDU from ( 1x.1xx.1x.1x:2727 )
DLCX 812900708 aaln/2@ap300 MGCP 1.0
X:16003200
R:
S:
[170768.305] RTA(0/1/0) Rx RS_CLOSE_REQ callId=55 ssId=1 dir=forw
[170768.305] RTA(0/1/0) close Media socket
[170768.305] RTA(0/1/0) close RTCP socket
Sending MGCP PDU to ( 1x.1xx.1x.1x:2727 ) from 2427
250 812900708 OK
[170768.305] RTA(0/1/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
RING_STOP
[170768.305] VM(0/1/0) Line Forward
[170768.305] VM(0/1/0) SLIC forw_actv
[170768.305] VM(0/1/0) Ring stopped
Received MGCP PDU from ( 1x.1xx.1x.1x:2727 )
RQNT 812908901 aaln/2@ap300 MGCP 1.0
X:16003202
R:
S:
Sending MGCP PDU to ( 1x.1xx.1x.1x:2727 ) from 2427
200 812908901 OK
4 <Time 812765543> : MGCP expire timer timeout.
Received MGCP PDU from ( 1x.1xx.1x.1x:2727 )
CRCX 812941666 aaln/2@ap300 MGCP 1.0
C:1d03e16
L:a:G723,p:30
M:inactive
X:16003208
R:
S:
v=0
c=IN IP4 1x.1xx.2x.2x
m=audio 19280 RTP/AVP 4
[170774.595] VM(0/1/0) Fax rate 14400
[170774.600] RTA(0/1/0) Rx RS_OPEN_REQ callId=56 ssId=1 G7236
peer=1x.1xx.2x.2x mp=23238/23239 hp=19280/19281
Sending MGCP PDU to ( 1x.1xx.1x.1x:2727 ) from 2427
200 812941666 OK
I: 38
v=0
o=- 1269991489 1269991489 IN IP4 192.168.xx.xxx
s=AddPac Gateway SDP
c=IN IP4 192.168.xx.xxx
t=1269991489 0
m=audio 23238 RTP/AVP 4
a=ptime:30
a=sqn:0
a=cdsc:1 audio RTP/AVP 0 2 8 18
Received MGCP PDU from ( 1x.1xx.1x.1x:2727 )
RQNT 812949861 aaln/2@ap300 MGCP 1.0
X:1600320a
R:
S:L/rg
5 <MGCP 000100> : SetSignalState : rg
[170774.615] RTA(0/1/0) Rx CC_RING_REQ peerId(-1)
[170774.615] VM(0/1/0) Rx RingReq state ERR
Sending MGCP PDU to ( 1x.1xx.1x.1x:2727 ) from 2427
200 812949861 OK
6 <Main 000100> : Exception received from device.
Received MGCP PDU from ( 1x.1xx.1x.1x:2727 )
AUEP 813027687 aaln/1@ap300 MGCP 1.0
F:X
Sending MGCP PDU to ( 1x.1xx.1x.1x:2727 ) from 2427
200 813027687 OK
X: 16003202
7 <Time 812822887> : MGCP expire timer timeout.
8 <Time 812826978> : MGCP expire timer timeout.
9 <Time 812835173> : MGCP expire timer timeout.
AP300# undebug rta ipc
.
По SIP таких глюков нет.
но нужен MGCP.