1 | изначальная версия редактировать | |
Подскажите пожалуйста, не могу понять что происходит, точнее что отрезает три цифры от номера.
По порядку.
Куда копать?
-- Accepting call from '2273' to '5' on channel 0/10, span 1
-- Executing [5@from-digital:1] Set("DAHDI/i1/2273-3", "__FROM_DID=5") in new stack
-- Executing [5@from-digital:2] NoOp("DAHDI/i1/2273-3", "Received an unknown call with DID set to 5") in new stack
-- Executing [5@from-digital:3] Goto("DAHDI/i1/2273-3", "s,a2") in new stack
-- Goto (from-digital,s,2)
-- Executing [s@from-digital:2] Answer("DAHDI/i1/2273-3", "") in new stack
[2018-05-25 23:06:12] WARNING[7040][C-00000002]: chan_sip.c:22961 func_header_read: This function can only be used on SIP channels.
-- Executing [s@from-digital:3] Log("DAHDI/i1/2273-3", "WARNING,Friendly Scanner from ") in new stack
[2018-05-25 23:06:12] WARNING[7040][C-00000002]: Ext. s:3 @ from-digital: Friendly Scanner from
-- Executing [s@from-digital:4] Wait("DAHDI/i1/2273-3", "2") in new stack
-- Executing [s@from-digital:5] Playback("DAHDI/i1/2273-3", "ss-noservice") in new stack
-- <DAHDI/i1/2273-3> Playing 'ss-noservice.ulaw' (language 'ru')
-- Executing [s@from-digital:6] SayAlpha("DAHDI/i1/2273-3", "5") in new stack
-- <DAHDI/i1/2273-3> Playing 'digits/5.ulaw' (language 'ru')
-- Span 1: Channel 0/10 got hangup request, cause 16
== Spawn extension (from-digital, s, 6) exited non-zero on 'DAHDI/i1/2273-3'
-- Executing [h@from-digital:1] Macro("DAHDI/i1/2273-3", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/i1/2273-3", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("DAHDI/i1/2273-3", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] NoOp("DAHDI/i1/2273-3", " monior file= ") in new stack
-- Executing [s@macro-hangupcall:5] AGI("DAHDI/i1/2273-3", "attendedtransfer-rec-restart.php,,") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
<DAHDI/i1/2273-3>AGI Tx >> agi_request: attendedtransfer-rec-restart.php
<DAHDI/i1/2273-3>AGI Tx >> agi_channel: DAHDI/i1/2273-3
<DAHDI/i1/2273-3>AGI Tx >> agi_language: ru
<DAHDI/i1/2273-3>AGI Tx >> agi_type: DAHDI
<DAHDI/i1/2273-3>AGI Tx >> agi_uniqueid: 1527278772.2
<DAHDI/i1/2273-3>AGI Tx >> agi_version: 13.18.4
<DAHDI/i1/2273-3>AGI Tx >> agi_callerid: 2273
<DAHDI/i1/2273-3>AGI Tx >> agi_calleridname: ▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒
<DAHDI/i1/2273-3>AGI Tx >> agi_callingpres: 0
<DAHDI/i1/2273-3>AGI Tx >> agi_callingani2: 0
<DAHDI/i1/2273-3>AGI Tx >> agi_callington: 9
<DAHDI/i1/2273-3>AGI Tx >> agi_callingtns: 0
<DAHDI/i1/2273-3>AGI Tx >> agi_dnid: 5
<DAHDI/i1/2273-3>AGI Tx >> agi_rdnis: unknown
<DAHDI/i1/2273-3>AGI Tx >> agi_context: macro-hangupcall
<DAHDI/i1/2273-3>AGI Tx >> agi_extension: s
<DAHDI/i1/2273-3>AGI Tx >> agi_priority: 5
<DAHDI/i1/2273-3>AGI Tx >> agi_enhanced: 0.0
<DAHDI/i1/2273-3>AGI Tx >> agi_accountcode:
<DAHDI/i1/2273-3>AGI Tx >> agi_threadid: 139645099513600
<DAHDI/i1/2273-3>AGI Tx >> agi_arg_1:
<DAHDI/i1/2273-3>AGI Tx >> agi_arg_2:
<DAHDI/i1/2273-3>AGI Tx >>
-- <DAHDI/i1/2273-3>AGI Script attendedtransfer-rec-restart.php completed, returning 0
-- Executing [s@macro-hangupcall:6] Hangup("DAHDI/i1/2273-3", "") in new stack
== Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'DAHDI/i1/2273-3' in macro 'hangupcall'
== Spawn extension (from-digital, h, 1) exited non-zero on 'DAHDI/i1/2273-3'
-- Hungup 'DAHDI/i1/2273-3'
2 | No.2 Revision редактировать |
Подскажите пожалуйста, не могу понять что происходит, точнее что отрезает три цифры от номера.
По порядку.
Куда копать?
-- Accepting call from '2273' to '5' on channel 0/10, span 1
-- Executing [5@from-digital:1] Set("DAHDI/i1/2273-3", "__FROM_DID=5") in new stack
-- Executing [5@from-digital:2] NoOp("DAHDI/i1/2273-3", "Received an unknown call with DID set to 5") in new stack
-- Executing [5@from-digital:3] Goto("DAHDI/i1/2273-3", "s,a2") in new stack
-- Goto (from-digital,s,2)
-- Executing [s@from-digital:2] Answer("DAHDI/i1/2273-3", "") in new stack
[2018-05-25 23:06:12] WARNING[7040][C-00000002]: chan_sip.c:22961 func_header_read: This function can only be used on SIP channels.
-- Executing [s@from-digital:3] Log("DAHDI/i1/2273-3", "WARNING,Friendly Scanner from ") in new stack
[2018-05-25 23:06:12] WARNING[7040][C-00000002]: Ext. s:3 @ from-digital: Friendly Scanner from
-- Executing [s@from-digital:4] Wait("DAHDI/i1/2273-3", "2") in new stack
-- Executing [s@from-digital:5] Playback("DAHDI/i1/2273-3", "ss-noservice") in new stack
-- <DAHDI/i1/2273-3> Playing 'ss-noservice.ulaw' (language 'ru')
-- Executing [s@from-digital:6] SayAlpha("DAHDI/i1/2273-3", "5") in new stack
-- <DAHDI/i1/2273-3> Playing 'digits/5.ulaw' (language 'ru')
-- Span 1: Channel 0/10 got hangup request, cause 16
== Spawn extension (from-digital, s, 6) exited non-zero on 'DAHDI/i1/2273-3'
-- Executing [h@from-digital:1] Macro("DAHDI/i1/2273-3", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/i1/2273-3", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("DAHDI/i1/2273-3", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] NoOp("DAHDI/i1/2273-3", " monior file= ") in new stack
-- Executing [s@macro-hangupcall:5] AGI("DAHDI/i1/2273-3", "attendedtransfer-rec-restart.php,,") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
<DAHDI/i1/2273-3>AGI Tx >> agi_request: attendedtransfer-rec-restart.php
<DAHDI/i1/2273-3>AGI Tx >> agi_channel: DAHDI/i1/2273-3
<DAHDI/i1/2273-3>AGI Tx >> agi_language: ru
<DAHDI/i1/2273-3>AGI Tx >> agi_type: DAHDI
<DAHDI/i1/2273-3>AGI Tx >> agi_uniqueid: 1527278772.2
<DAHDI/i1/2273-3>AGI Tx >> agi_version: 13.18.4
<DAHDI/i1/2273-3>AGI Tx >> agi_callerid: 2273
<DAHDI/i1/2273-3>AGI Tx >> agi_calleridname: ▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒
<DAHDI/i1/2273-3>AGI Tx >> agi_callingpres: 0
<DAHDI/i1/2273-3>AGI Tx >> agi_callingani2: 0
<DAHDI/i1/2273-3>AGI Tx >> agi_callington: 9
<DAHDI/i1/2273-3>AGI Tx >> agi_callingtns: 0
<DAHDI/i1/2273-3>AGI Tx >> agi_dnid: 5
<DAHDI/i1/2273-3>AGI Tx >> agi_rdnis: unknown
<DAHDI/i1/2273-3>AGI Tx >> agi_context: macro-hangupcall
<DAHDI/i1/2273-3>AGI Tx >> agi_extension: s
<DAHDI/i1/2273-3>AGI Tx >> agi_priority: 5
<DAHDI/i1/2273-3>AGI Tx >> agi_enhanced: 0.0
<DAHDI/i1/2273-3>AGI Tx >> agi_accountcode:
<DAHDI/i1/2273-3>AGI Tx >> agi_threadid: 139645099513600
<DAHDI/i1/2273-3>AGI Tx >> agi_arg_1:
<DAHDI/i1/2273-3>AGI Tx >> agi_arg_2:
<DAHDI/i1/2273-3>AGI Tx >>
-- <DAHDI/i1/2273-3>AGI Script attendedtransfer-rec-restart.php completed, returning 0
-- Executing [s@macro-hangupcall:6] Hangup("DAHDI/i1/2273-3", "") in new stack
== Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'DAHDI/i1/2273-3' in macro 'hangupcall'
== Spawn extension (from-digital, h, 1) exited non-zero on 'DAHDI/i1/2273-3'
-- Hungup 'DAHDI/i1/2273-3'
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.