оказывается, чтобы получит debug-log необходмо
следующее:
1. поключиться к addpac-у по telnet (com-портов на многих компах давно уже нет)
2. набрать команды
enable
debug voip call
debug gsm all-ports call
terminal monitor
первая строчка включает раширенный режим команд терминала
вторая и третья задает список того, что будет выводиться.
четвертая самая важная - организует вывод на экран терминала, который Вы видете перед собой.
таким образом debag для непршедшего звонка
Код:
GS1002#
GS1002#
GS1002#
GS1002# 962 <SIP 153> : Set Terminated Success for 153 REGISTER
963 <SIP 154> : Set Terminated Success for 154 REGISTER
964 <SIP 155> : Set Terminated Success for 155 REGISTER
965 <SIP 156> : Set Terminated Success for 156 REGISTER
966 <SIP 157> : Set Terminated Success for 157 REGISTER
967 <SIP 158> : Set Terminated Success for 158 REGISTER
968 <SIP 159> : Set Terminated Success for 159 REGISTER
969 <SIP 160> : Set Terminated Success for 160 REGISTER
[960.931] GSM-0/0: RING
970 <CEP 000000> : Call Received
[960.942] GSM-0/0: CLIP (+7985XXXXXXX)
[965.936] GSM-0/0: RING
971 <CEP 000000> : Call Received
972 <CEP 000000> : Call Initiated : calledNumber() crv(0) total(0)
973 <Call 4> : ****** Call Created status(InitiatedByGSM) ver(8.28:2006-02-06-00-00) time(1303578309) ****
974 <CEP 000000> : Decode CID :
975 <CEP 000000> : Calling number()
976 <CEP 000000> : Call id(c506b34d-1f8b-bd6e-800c-0002a407e1d0) callNum(4)
977 <Call 4> : MatchAllProcess After Sorted
<0> id(1) dest(T) prefer(0) selected(2)
<1> id(3) dest(T) prefer(0) selected(0)
<2> id(4) dest(T) prefer(0) selected(1)
<3> id(0) dest(T) prefer(0) selected(0)
<4> id(2) dest(T) prefer(0) selected(0)
978 <Call 4> : Initiate callee with dial-peer(T) status(CalleeDeterminedAll) id(c506b34d-1f8b-bd6e-800c-0002a407e1d0)
979 <Call 4> : Fail by Channel Busy
980 <Call 4> : Initiate callee with dial-peer(T) status(CalleeDeterminedAll) id(c506b34d-1f8b-bd6e-800c-0002a407e1d0)
981 <CEP 000200> : InitiateOutCall : calledNum(99301), callingNum(), callerPort(0) type(FXO)
[965.939] GSM-0/0: RTA CALL ANSWER
[965.940] GSM-0/0: CALL ANSWER
[965.940] GSM-0/0-DEV: ANSWER
982 <CEP 000200> : Outbound call to CEP callId(c506b34d-1f8b-bd6e-800c-0002a407e1d0) callNum(4)
983 <Call 4> : Connected from(0)
984 <Call 4> : Connected from(200)
[969.363] GSM-0/0: CALL DISCONNECT by DISCONNECT event
985 <CEP 000000> : Disconnected(16) at Busy
986 <Call 4> : Terminated from(0) this(Local:CallClear) before((null)) forced(0) time(1303578312)
987 <CEP 000000> : DisconnectCall at Idle
988 <CEP 000200> : DisconnectCall at Busy
989 <CEP 000200> : StopSignal
990 <CEP 000200> : Disconnect (0)
991 <CEP 000200> : Disconnected(16) at Disconnecting
[971.380] Interface GSM-0/0, changed state to DOWN
992 <Port 000000> : LinkDown
[976.380] Interface GSM-0/0, changed state to UP
993 <Port 000000> : LinkUp
debag для удачного звонка
Код:
GS1002#
GS1002#
GS1002#
GS1002# [181.385] Interface GSM-0/0, changed state to DOWN
184 <Port 000000> : LinkDown
[186.385] Interface GSM-0/0, changed state to UP
185 <Port 000000> : LinkUp
[188.681] GSM-0/0: RING
186 <CEP 000000> : Call Received
[188.687] GSM-0/0: CLIP (+7985XXXXXXX)
[193.687] GSM-0/0: RING
187 <CEP 000000> : Call Received
188 <CEP 000000> : Call Initiated : calledNumber() crv(0) total(0)
189 <Call 1> : ****** Call Created status(InitiatedByGSM) ver(8.28:2006-02-06-00-00) time(1303579924) ****
190 <CEP 000000> : Decode CID :
191 <CEP 000000> : Calling number()
192 <CEP 000000> : Call id(140db34d-03a1-6eec-8005-0002a407e1d0) callNum(1)
193 <Call 1> : MatchAllProcess After Sorted
<0> id(1) dest(T) prefer(0) selected(0)
<1> id(0) dest(T) prefer(0) selected(0)
<2> id(4) dest(T) prefer(0) selected(0)
<3> id(2) dest(T) prefer(0) selected(0)
<4> id(3) dest(T) prefer(0) selected(0)
194 <Call 1> : Initiate callee with dial-peer(T) status(CalleeDeterminedAll) id(140db34d-03a1-6eec-8005-0002a407e1d0)
195 <Call 1> : Fail by Channel Busy
196 <Call 1> : Initiate callee with dial-peer(T) status(CalleeDeterminedAll) id(140db34d-03a1-6eec-8005-0002a407e1d0)
197 <NetEP 1> : InitiateOutCall: calledNum(99301) callingNum() target(sip-server)
198 <NetEP 1> : DoCall: calledAddr(sip:99301@h03) callingAddr()
[193.693] GSM-0/0: CLIP (+7985XXXXXXX)
199 <SIP 1> : SetLocalAudioFormats : outbound(TRUE) hqaEnable(FALSE)
200 <SIP 1> : SetLocalAudioFormats : myVoipPeer(0) is not NULL, voiceCodecClass(1)
201 <SIP 1> : SetLocalAudioFormats : outbound(TRUE) hqaEnable(FALSE)
202 <SIP 1> : SetLocalAudioFormats : myVoipPeer(0) is not NULL, voiceCodecClass(1)
203 <SIP 0> : No authentication information available
204 <SIP 1> : Send INVITE Request
205 <SIP 1> : Receive 401 Unauthorized
206 <SIP 1> : Transaction (1 INVITE) completed
207 <SIP 1> : Send ACK Request
208 <SIP 0> : No opaque in authentication
209 <SIP 0> : Adding authentication information
210 <SIP 1> : Send INVITE Request
211 <SIP 1> : Receive 100 Trying
212 <SIP 1> : Transaction (2 INVITE) proceeding
213 <SIP 1> : Receive 180 Ringing
214 <SIP 1> : Transaction (2 INVITE) proceeding
215 <Call 1> : Alert from(fffffffe) pseudo(0) inband(0) status(CalleeInitiated)
[198.693] GSM-0/0: RING
[198.704] GSM-0/0: CLIP (+7985XXXXXX)
[203.699] GSM-0/0: RING
[203.702] GSM-0/0: CLIP (+7985XXXXXX)
[208.705] GSM-0/0: RING
[208.735] GSM-0/0: CLIP (+7985XXXXXX)
[213.711] GSM-0/0: RING
[213.718] GSM-0/0: CLIP (+7985XXXXXX)
[218.717] GSM-0/0: RING
[218.723] GSM-0/0: CLIP (+7985XXXXXX)
[221.385] GSM-0/0-DEV: HOOK ON
[221.485] Interface GSM-0/0, changed state to DOWN
269 <CEP 000000> : Disconnected(16) at Busy
270 <Call 1> : Terminated from(0) this(Local:CallClear) before((null)) forced(0) time(1303579952)
271 <CEP 000000> : DisconnectCall at Idle
272 <SIP 1> : ReleaseWithCANCEL for 1 INVITEs
273 <SIP 1> : Send CANCEL Request
274 <NetEP 1> : Call TO <sip:99301@h03> terminated reason(Local:CallClear)
275 <Port 000000> : LinkDown
276 <SIP 1> : Receive 487 Request Terminated
277 <SIP 1> : Transaction (2 INVITE) completed
278 <SIP 1> : Send ACK Request
279 <SIP 1> : Receive 200 OK
280 <SIP 1> : Transaction (2 CANCEL) completed
281 <SIP 33> : Set Terminated Success for 33 REGISTER
282 <SIP 34> : Set Terminated Success for 34 REGISTER
283 <SIP 35> : Set Terminated Success for 35 REGISTER
284 <SIP 36> : Set Terminated Success for 36 REGISTER
285 <SIP 37> : Set Terminated Success for 37 REGISTER
286 <SIP 38> : Set Terminated Success for 38 REGISTER
287 <SIP 39> : Set Terminated Success for 39 REGISTER
288 <SIP 40> : Set Terminated Success for 40 REGISTER