В продолжение этой темы: http://asterisk-support.ru/question/66056/obryvy-pri-zvonkakh-v-megafon/, потому как создать ответ не знаю, а добавлять дебаг в комментарий наверное будет немного жестко
Лог и PRI ниже. Я, конечно, не эксперт в дебагах, но ничего странного не заметил. Завершение вызова с Cause: Normal Clearing (16) to originator. Есть у кого идеb, что делать дальше? И спасибо что кто-то тратит время на чтение этих логов
SRV-M29-AST-01*CLI> pri set debug on span 1 Enabled debugging on span 1 -- Executing [988005500555@common:1] Gosub("SIP/2013-000a469b", "sub-recording,988005500555,1") in new stack -- Executing [988005500555@sub-recording:1] StopMixMonitor("SIP/2013-000a469b", "") in new stack -- Executing [988005500555@sub-recording:2] Set("SIP/2013-000a469b", "CALLER=unknown") in new stack -- Executing [988005500555@sub-recording:3] GotoIf("SIP/2013-000a469b", "0?db") in new stack -- Executing [988005500555@sub-recording:4] Set("SIP/2013-000a469b", "CALLER=2013") in new stack -- Executing [988005500555@sub-recording:5] GotoIf("SIP/2013-000a469b", "0?record") in new stack -- Executing [988005500555@sub-recording:6] GotoIf("SIP/2013-000a469b", "1?:stop") in new stack -- Executing [988005500555@sub-recording:7] MixMonitor("SIP/2013-000a469b", "/var/lib/asterisk/share/RECORDS/AUTO-MONITOR/13-12-2017-13#09-2013-988005500555.wav") in new stack -- Executing [988005500555@sub-recording:8] Return("SIP/2013-000a469b", "") in new stack == Begin MixMonitor Recording SIP/2013-000a469b -- Executing [988005500555@common:2] Set("SIP/2013-000a469b", "__EXTENFORREC=988005500555") in new stack -- Executing [988005500555@common:3] Set("SIP/2013-000a469b", "TIMEOUT(absolute)=5400") in new stack -- Channel will hangup at 2017-12-13 14:39:26.744 MSK. -- Executing [988005500555@common:4] Dial("SIP/2013-000a469b", "DAHDI/g1/88005500555,30,tTxX") in new stack PRI Span: 1 -- Making new call for cref 58997 -- Requested transfer capability: 0x00 - SPEECH PRI Span: 1 PRI Span: 1 > DL-DATA request PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=38 PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 26229/0x6675) (Sent from originator) PRI Span: 1 > Message Type: SETUP (5) PRI Span: 1 TEI=0 Transmitting N(S)=22, window is open V(A)=22 K=7 PRI Span: 1 PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=38 PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 26229/0x6675) (Sent from originator) PRI Span: 1 > Message Type: SETUP (5) PRI Span: 1 > [04 03 80 90 a3] PRI Span: 1 > Bearer Capability (len= 5) [ Ext: 1 Coding-Std: 0 Info transfer capability: Speech (0) PRI Span: 1 > Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16) PRI Span: 1 > User information layer 1: A-Law (35) PRI Span: 1 > [18 03 a1 83 82] PRI Span: 1 > Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Preferred Dchan: 0 PRI Span: 1 > ChanSel: As indicated in following octets PRI Span: 1 > Ext: 1 Coding: 0 Number Specified Channel Type: 3 PRI Span: 1 > Ext: 1 Channel: 2 Type: CPE] PRI Span: 1 > [6c 06 21 80 32 30 31 33] PRI Span: 1 > Calling Party Number (len= 8) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) PRI Span: 1 > Presentation: Presentation allowed, User-provided, not screened (0) '2013' ] PRI Span: 1 > [70 0c 80 38 38 30 30 35 35 30 30 35 35 35] PRI Span: 1 > Called Party Number (len=14) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) '88005500555' ] PRI Span: 1 > [a1] PRI Span: 1 > Sending Complete (len= 1) PRI Span: 1 q931.c:6350 q931_setup: Call 58997 enters state 1 (Call Initiated). Hold state: Idle -- Called DAHDI/g1/88005500555 PRI Span: 1 PRI Span: 1 < Protocol Discriminator: Q.931 (8) len=10 PRI Span: 1 < TEI=0 Call Ref: len= 2 (reference 26229/0x6675) (Sent to originator) PRI Span: 1 < Message Type: CALL PROCEEDING (2) PRI Span: 1 < [18 03 a9 83 82] PRI Span: 1 < Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Exclusive Dchan: 0 PRI Span: 1 < ChanSel: As indicated in following octets PRI Span: 1 < Ext: 1 Coding: 0 Number Specified Channel Type: 3 PRI Span: 1 < Ext: 1 Channel: 2 Type: CPE] PRI Span: 1 Received message for call 0x7f0e340e18e0 on link 0x7f0e38047f30 TEI/SAPI 0/0 PRI Span: 1 -- Processing IE 24 (cs0, Channel ID) PRI Span: 1 q931.c:8846 post_handle_q931_message: Call 58997 enters state 3 (Outgoing Call Proceeding). Hold state: Idle Span 1: Processing event PRI_EVENT_PROCEEDING(13) -- DAHDI/i1/88005500555-938c is proceeding passing it to SIP/2013-000a469b PRI Span: 1 PRI Span: 1 < Protocol Discriminator: Q.931 (8) len=9 PRI Span: 1 < TEI=0 Call Ref: len= 2 (reference 26229/0x6675) (Sent to originator) PRI Span: 1 < Message Type: CONNECT (7) PRI Span: 1 < [1e 02 8a 81] PRI Span: 1 < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Network beyond the interworking point (10) PRI Span: 1 < Ext: 1 Progress Description: Call is not end-to-end ISDN; further call progress information may be available inband. (1) ] PRI Span: 1 Received message for call 0x7f0e340e18e0 on link 0x7f0e38047f30 TEI/SAPI 0/0 PRI Span: 1 -- Processing IE 30 (cs0, Progress Indicator) PRI Span: 1 q931.c:8764 post_handle_q931_message: Call 58997 enters state 8 (Connect Request). Hold state: Idle Span 1: Processing event PRI_EVENT_ANSWER(8) PRI Span: 1 q931.c:6436 q931_connect_acknowledge: Call 58997 enters state 10 (Active). Hold state: Idle PRI Span: 1 PRI Span: 1 > DL-DATA request PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=5 PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 26229/0x6675) (Sent from originator) PRI Span: 1 > Message Type: CONNECT ACKNOWLEDGE (15) PRI Span: 1 TEI=0 Transmitting N(S)=23, window is open V(A)=23 K=7 PRI Span: 1 PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=5 PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 26229/0x6675) (Sent from originator) PRI Span: 1 > Message Type: CONNECT ACKNOWLEDGE (15) -- DAHDI/i1/88005500555-938c answered SIP/2013-000a469b > 0x7f0edc3aa120 -- Probation passed - setting RTP source address to 192.168.6.86:12544 PRI Span: 1 PRI Span: 1 < Protocol Discriminator: Q.931 (8) len=8 PRI Span: 1 < TEI=0 Call Ref: len= 2 (reference 26229/0x6675) (Sent to originator) PRI Span: 1 < Message Type: NOTIFY (110) PRI Span: 1 < [27 01 f9] PRI Span: 1 < Notification Indicator (len= 3): Ext: 1 Remote hold (121) PRI Span: 1 Received message for call 0x7f0e340e18e0 on link 0x7f0e38047f30 TEI/SAPI 0/0 PRI Span: 1 -- Processing IE 39 (cs0, Notification Indicator) Span 1: Processing event PRI_EVENT_NOTIFY(16) -- Started music on hold, class 'default', on SIP/2013-000a469b PRI Span: 1 PRI Span: 1 < Protocol Discriminator: Q.931 (8) len=9 PRI Span: 1 < TEI=0 Call Ref: len= 2 (reference 26229/0x6675) (Sent to originator) PRI Span: 1 < Message Type: DISCONNECT (69) PRI Span: 1 < [08 02 84 90] PRI Span: 1 < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Public network serving the remote user (4) PRI Span: 1 < Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ] PRI Span: 1 Received message for call 0x7f0e340e18e0 on link 0x7f0e38047f30 TEI/SAPI 0/0 PRI Span: 1 -- Processing IE 8 (cs0, Cause) PRI Span: 1 -- Found active call: 0x7f0e340e18e0 cref:58997 PRI Span: 1 q931.c:9099 post_handle_q931_message: Call 58997 enters state 12 (Disconnect Indication). Hold state: Idle Span 1: Processing event PRI_EVENT_HANGUP_REQ(15) -- Span 1: Channel 0/2 got hangup request, cause 16 PRI Span: 1 q931.c:7151 q931_hangup: Hangup other cref:58997 PRI Span: 1 q931.c:6908 __q931_hangup: ourstate Disconnect Indication, peerstate Disconnect Request, hold-state Idle PRI Span: 1 q931.c:5946 q931_release: Call 58997 enters state 19 (Release Request). Hold state: Idle PRI Span: 1 PRI Span: 1 > DL-DATA request PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=9 PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 26229/0x6675) (Sent from originator) PRI Span: 1 > Message Type: RELEASE (77) PRI Span: 1 TEI=0 Transmitting N(S)=36, window is open V(A)=36 K=7 PRI Span: 1 PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=9 PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 26229/0x6675) (Sent from originator) PRI Span: 1 > Message Type: RELEASE (77) PRI Span: 1 > [08 02 81 90] PRI Span: 1 > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1) PRI Span: 1 > Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ] -- Hungup 'DAHDI/i1/88005500555-938c' == Spawn extension (common, 988005500555, 4) exited non-zero on 'SIP/2013-000a469b' -- Stopped music on hold on SIP/2013-000a469b == MixMonitor close filestream (mixed) == End MixMonitor Recording SIP/2013-000a469b PRI Span: 1 PRI Span: 1 < Protocol Discriminator: Q.931 (8) len=5 PRI Span: 1 < TEI=0 Call Ref: len= 2 (reference 26229/0x6675) (Sent to originator) PRI Span: 1 < Message Type: RELEASE COMPLETE (90) PRI Span: 1 Received message for call 0x7f0e340e18e0 on link 0x7f0e38047f30 TEI/SAPI 0/0 PRI Span: 1 q931.c:8959 post_handle_q931_message: Call 58997 enters state 0 (Null). Hold state: Idle PRI Span: 1 q931.c:7151 q931_hangup: Hangup other cref:58997 PRI Span: 1 q931.c:6908 __q931_hangup: ourstate Null, peerstate Null, hold-state Idle PRI Span: 1 Destroying call 0x7f0e340e18e0, ourstate Null, peerstate Null, hold-state Idle Span 1: Processing event PRI_EVENT_HANGUP_ACK(9)
Задан: 2017-12-13 18:16:34 +0400
Просмотрен: 1,031 раз
Обновлен: Dec 13 '17
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.
о круть. может скоро будут просить и Н323 дебаг бесплатно посмотреть. удачи,че. беглый просмотр такого дебага занимает у експерта приблизительно 15-20 минут. и да, это совершенно не имеет смысла без данных с другой сторны.
meral ( 2017-12-13 19:27:10 +0400 )редактироватьНичего криминального. К провайдеру.
zzuz ( 2017-12-13 20:20:44 +0400 )редактироватьzzuz, спасибо!
podolskiy ( 2017-12-14 10:17:39 +0400 )редактировать