Добрый день.
Помогите пожалуйста - не приходит CID с ТФОП на GS1002.
На данный момент на АТС смотрит порт 0/3. Перепробованы все типы caller-id. Провайдер клянется что услуга подключена, не могу понять что делать - то ли идти в Волгателеком и кого-нибудь там казнить, то ли перепрошивать addpac то ли биться головой об стену чтобы поумнеть.
В данной конфигурации работает CID при звонках на GSM порты и работает при звонках на FXO из офисной АТС.
Конфа:
Код:
Current configuration:
!
version 8.51.002
!
hostname GS1002
!
username root password router administrator
username guest password guest user
!
!
interface Loopback0
ip address 127.0.0.1 255.0.0.0
!
interface FastEthernet0/0
no ip address
speed auto
no qos-control
!
interface FastEthernet0/1
ip address 192.168.10.1 255.255.255.0
speed auto
no qos-control
!
!
!
!
http server
!
logging command
logging event 4-warning
logging on
!
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
protocol sip
dtmf-relay rfc-2833
fax protocol t38 redundancy 0
fax rate 9600
h323 call start fast
h323 call tunnel enable
no call-barring unconfigured-ip-address
no voip-inbound-call-barring enable
!
!
! Voice port configuration.
!
! GSM
voice-port 0/0
connection plar 14000
caller-id enable
!
!
! GSM
voice-port 0/1
connection plar 14000
caller-id enable
!
!
! FXO
voice-port 0/2
connection plar 14000
ring detect-timeout 50
ring detect-timer 500
caller-id enable
caller-id name disable
!
!
! FXO
voice-port 0/3
connection plar 14000
ring detect-timeout 50
ring detect-timer 500
caller-id enable
caller-id type etsi-dtmf-prior-ring
caller-id name disable
!
!
!
!
! service port group configuration.
!
!
!
! Pots peer configuration.
!
dial-peer voice 100 pots
destination-pattern 9T
port 0/0
forward-digits from 2
!
dial-peer voice 101 pots
destination-pattern 0T
port 0/1
forward-digits from 2
!
dial-peer voice 102 pots
port 0/2
!
dial-peer voice 103 pots
port 0/3
!
!
!
! Voip peer configuration.
!
dial-peer voice 1000 voip
destination-pattern T
session target sip-server
session protocol sip
no vad
dtmf-relay rtp-2833
!
!
!
!
!
!
gatekeeper
!
!
! Gateway configuration.
!
gateway
h323-id voip.192.168.10.1
no ignore-msg-from-other-gk
!
!
! SIP UA configuration.
!
sip-ua
user-register
sip-username 14000
sip-password 14000
sip-server 192.168.10.200 5060 1
timeout treg 1800
timeout tregtry 10
register gateway
!
!
! Tones
!
!
!
voip-interface ip 192.168.10.1
voip-interface ip FastEthernet0/1
!
line console
!
line vty
!
gsm dev-restart-by-unreg 300
!
gsm 0/0
sms-language utf8
!
gsm 0/1
sms-language utf8
!
end
Лог звонка:
Код:
GS1002(config-voice-port-0/3)# [11433.760] VM(0/3/0) Rx FXO Ring Actv
[11433.760] VM(0/3/0) Tx RING_IND
1 <CEP 000300> : Call Received
[11433.770] VM(0/3/0) Rx FXO Ring Actv ignore
[11433.780] VM(0/3/0) Rx FXO Ring Actv ignore
[11433.800] VM(0/3/0) Rx FXO Ring Actv ignore
[11433.820] VM(0/3/0) Rx FXO Ring Actv ignore
[11433.840] VM(0/3/0) Rx FXO Ring Actv ignore
[11433.860] VM(0/3/0) Rx FXO Ring Actv ignore
[11433.880] VM(0/3/0) Rx FXO Ring Actv ignore
[11433.900] VM(0/3/0) Rx FXO Ring Actv ignore
[11433.920] VM(0/3/0) Rx FXO Ring Actv ignore
[11433.940] VM(0/3/0) Rx FXO Ring Actv ignore
[11433.960] VM(0/3/0) Rx FXO Ring Actv ignore
[11433.980] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.000] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.020] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.040] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.060] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.080] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.100] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.120] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.140] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.160] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.180] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.200] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.220] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.240] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.260] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.280] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.300] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.320] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.340] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.360] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.380] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.400] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.420] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.440] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.460] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.480] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.500] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.520] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.540] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.560] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.580] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.600] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.620] VM(0/3/0) Rx FXO Ring Actv ignore
[11434.860] VM(0/3/0) Rx FXO Ring Idle
[11434.860] VP(0/3/0) open channel
[11434.860] VM(0/3/0) play mute
[11434.860] VP(0/3/0) Tx IBS signal 2/0
[11434.860] VP(0/3/0) Tx IBS dir 0
[11434.935] VP(0/3/0) GeneralEvent IBS gen end
[11437.840] VM(0/3/0) Rx FXO Ring Actv
[11437.840] VM(0/3/0) vopp idle
[11437.840] VP(0/3/0) close channel
[11437.840] VM(0/3/0) FXO OnHook
[11437.840] VM(0/3/0) Tx OFFHOOK_IND
2 <CEP 000300> : Call Initiated : calledNumber() crv(0) total(0)
3 <Call 52> : ****** Call Created status(InitiatedByFXO) ver(8.28:2006-02-06-00-00) time(1299445802) ****
4 <CEP 000300> : Decode CID :
5 <CEP 000300> : Calling number()
6 <CEP 000300> : Call id(2af8734d-5ed5-2e69-8086-0002a407d016) callNum(52)
7 <Call 52> : MatchAllProcess After Sorted
<0> id(1000) dest(T) prefer(0) selected(40)
8 <Call 52> : Initiate callee with dial-peer(T) status(CalleeDeterminedAll) id(2af8734d-5ed5-2e69-8086-0002a407d016)
9 <NetEP 52> : InitiateOutCall: calledNum(14000) callingNum() target(sip-server)
10 <NetEP 52> : DoCall: calledAddr(sip:14000@192.168.10.200:5060) callingAddr()
[11437.840] VM(0/3/0) set T38 enable by CCC
[11437.840] VM(0/3/0) set T38 mode STD
[11437.840] VM(0/3/0) Fax rate 9600
11 <SIP 52> : SetLocalAudioFormats : outbound(TRUE) hqaEnable(FALSE)
12 <SIP 52> : SetLocalAudioFormats : myVoipPeer is NULL, 999
[11437.850] VM(0/3/0) Rx FXO Ring Actv ignore
13 <SIP 52> : SetLocalAudioFormats : outbound(TRUE) hqaEnable(FALSE)
14 <SIP 52> : SetLocalAudioFormats : myVoipPeer is NULL, 999
15 <SIP 0> : No authentication information available
16 <SIP 52> : Send INVITE Request
[11437.855] RTA(0/3/0) Rx RS_LISTEN_REQ callId=52 ssId=1 G711U
peer=0.0.0.0 mp=23102/23103 hp=0/0
[11437.860] VM(0/3/0) Rx FXO Ring Actv ignore
17 <SIP 52> : Receive 407 Proxy Authentication Required
18 <SIP 52> : Transaction (88 INVITE) completed
19 <SIP 52> : Send ACK Request
20 <SIP 0> : No opaque in authentication
[11437.880] VM(0/3/0) Rx FXO Ring Actv ignore
21 <SIP 0> : Adding authentication information
22 <SIP 52> : Send INVITE Request
23 <SIP 52> : Receive 100 Trying
[11437.900] VM(0/3/0) Rx FXO Ring Actv ignore
24 <SIP 52> : Transaction (89 INVITE) proceeding
25 <SIP 52> : Receive 183 Session Progress
26 <SIP 52> : Transaction (89 INVITE) proceeding
27 <SIP 52> : Received Session Progress response
28 <SIP 52> : SetLocalAudioFormats : outbound(TRUE) hqaEnable(FALSE)
29 <SIP 52> : SetLocalAudioFormats : myVoipPeer is NULL, 999
30 <SIP 52> : Get SIP Audio MediaFormat : 0
31 <Call 52> : PreConnected from(fffffffe)
[11437.915] RTA(0/3/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
VAD_CTRL 0
[11437.915] VM(0/3/0) VAD disable
[11437.915] VP(0/3/0) ignore notEnabledCh updating VAD 0
[11437.915] VM(0/3/0) SID enable by CCC
[11437.915] RTA(0/3/0) Rx CC_CONNECT_RSP peerId(0/0/0)
[11437.915] VM(0/3/0) FXO OffHook
[11437.920] VP(0/3/0) open channel
[11437.920] VP(0/3/0) attribute Fax enable, Modem disable
[11437.920] VP(0/3/0) update Fax enable, Modem disable
[11437.920] VM(0/3/0) Rx FXO Ring Actv ignore
[11437.920] RTA(0/3/0) Rx RS_OPEN_REQ callId=52 ssId=1 G711U
peer=192.168.10.200 mp=23102/23103 hp=11520/11521
[11437.920] VM(0/3/0) codec same G711U
[11437.920] RTA(0/3/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
DTMF_CTRL 1
[11437.920] VM(0/3/0) DTMF_RTP_RFC2833 enable
[11437.920] RTA(0/3/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
Rtp2833_DtmfPT TxPT=0x65 RxPT=0x65
32 <NetCon 52> : Alert received (inband tone explicitly).
33 <Call 52> : Alert from(fffffffe) pseudo(0) inband(1) status(CalleeInitiated)
[11437.940] VM(0/3/0) Rx FXO Ring Actv ignore
[11437.960] VM(0/3/0) Rx FXO Ring Actv ignore
[11437.980] VM(0/3/0) Rx FXO Ring Actv ignore
[11438.000] VM(0/3/0) Rx FXO Ring Actv ignore
[11438.020] VM(0/3/0) Rx FXO Ring Actv ignore
[11438.140] VM(0/3/0) Rx FXO Ring Idle
34 <SIP 52> : Receive 200 OK
35 <SIP 52> : Received INVITE OK response
36 <SIP 52> : Send ACK Request
37 <SIP 52> : SetLocalAudioFormats : outbound(TRUE) hqaEnable(FALSE)
38 <SIP 52> : SetLocalAudioFormats : myVoipPeer is NULL, 999
39 <SIP 52> : Get SIP Audio MediaFormat : 0
40 <Call 52> : Connected from(fffffffe)
[11440.590] RTA(0/3/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
VAD_CTRL 0
[11440.590] VM(0/3/0) VAD disable
[11440.590] VP(0/3/0) update VAD 0
[11440.590] VM(0/3/0) SID enable by CCC
[11440.590] RTA(0/3/0) Rx CC_CONNECT_RSP peerId(0/0/0)
41 <NetEP 52> : Call with sip:14000@192.168.10.200 established
[11440.590] RTA(0/3/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
DTMF_CTRL 1
[11440.590] VM(0/3/0) DTMF_RTP_RFC2833 enable
[11440.590] RTA(0/3/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
Rtp2833_DtmfPT TxPT=0x65 RxPT=0x65
42 <SIP 52> : Check Event Relation code(200)
43 <SIP 52> : Set Terminated Success for 89 INVITE
44 <SIP 52> : Receive BYE Request
45 <SIP 52> : ReleaseWithNothing
[11442.245] RTA(0/3/0) Rx RS_CLOSE_REQ callId=52 ssId=1 dir=all
[11442.245] RTA(0/3/0) close Media socket
[11442.245] RTA(0/3/0) close RTCP socket
46 <Call 52> : Terminated from(fffffffe) this(Remote:CallClear) before((null)) forced(0) time(1299445806)
47 <CEP 000300> : DisconnectCall at Busy
48 <CEP 000300> : StopSignal
[11442.245] RTA(0/3/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
DTMF_STOP
[11442.245] VM(0/3/0) play mute
[11442.245] VP(0/3/0) Tx IBS signal 2/0
[11442.245] VP(0/3/0) Tx IBS dir 0
49 <CEP 000300> : Disconnect (0)
[11442.245] RTA(0/3/0) Rx CC_DISCONN_REQ CZ=0, peerId(0/0/0)
[11442.245] VM(0/3/0) vopp idle
[11442.245] VP(0/3/0) close channel
[11442.245] VM(0/3/0) FXO OnHook
[11442.245] VM(0/3/0) Tx DISCONN_CNF
50 <NetEP 52> : Call TO <sip:14000@192.168.10.200> terminated reason(Remote:CallClear)
51 <CEP 000300> : Disconnected(16) at Disconnecting
52 <SIP 52> : Set Terminated Success for 88 INVITE
53 <SIP 52> : Set Terminated Success for 102 BYE