периодически появляется проблема с дозвоном или переводом на вн.номер, всегда разный. Решается перезагрузкой астериска. помогите разобраться, вот кусок лога:
Connected to Asterisk 1.8.20.0 currently running on KRASTY (pid = 8445)
Verbosity is at least 3
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [136@from-internal:1] Macro("SIP/183-0001f2e3", "exten-vm,novm,136") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/183-0001f2e3", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/183-0001f2e3", "AMPUSER=183") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/183-0001f2e3", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/183-0001f2e3", "1?Set(REALCALLERIDNUM=183)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/183-0001f2e3", "AMPUSER=183") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/183-0001f2e3", "AMPUSERCIDNAME=183") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/183-0001f2e3", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/183-0001f2e3", "AMPUSERCID=183") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/183-0001f2e3", "CALLERID(all)="183" <183>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/183-0001f2e3", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/183-0001f2e3", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/183-0001f2e3", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/183-0001f2e3", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/183-0001f2e3", "CALLERID(number)=183") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/183-0001f2e3", "CALLERID(name)=183") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/183-0001f2e3", "Using CallerID "183" <183>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/183-0001f2e3", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/183-0001f2e3", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/183-0001f2e3", "__EXTTOCALL=136") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/183-0001f2e3", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/183-0001f2e3", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/183-0001f2e3", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/183-0001f2e3", "record-enable,136,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/183-0001f2e3", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/183-0001f2e3", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/183-0001f2e3", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/183-0001f2e3", "1?IN") in new stack
-- Goto (macro-record-enable,s,20)
-- Executing [s@macro-record-enable:20] ExecIf("SIP/183-0001f2e3", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:21] NoOp("SIP/183-0001f2e3", "Recording enable for 136") in new stack
-- Executing [s@macro-record-enable:22] Set("SIP/183-0001f2e3", "CALLFILENAME=20160201-155429-1454331269.132592") in new stack
-- Executing [s@macro-record-enable:23] MixMonitor("SIP/183-0001f2e3", "20160201-155429-1454331269.132592.wav,,") in new stack
-- Executing [s@macro-record-enable:24] Set("SIP/183-0001f2e3", "CDR(userfield)=audio:20160201-155429-1454331269.132592.wav") in new stack
-- Executing [s@macro-record-enable:25] MacroExit("SIP/183-0001f2e3", "") in new stack
== Begin MixMonitor Recording SIP/183-0001f2e3
-- Executing [s@macro-exten-vm:9] Macro("SIP/183-0001f2e3", "dial-one,"",tr,136") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/183-0001f2e3", "DEXTEN=136") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/183-0001f2e3", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/183-0001f2e3", "0?screen,1") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/183-0001f2e3", "0?cf,1") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/183-0001f2e3", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/183-0001f2e3", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/183-0001f2e3", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/183-0001f2e3", "EXTHASCW=") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/183-0001f2e3", "1?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,12)
-- Executing [s@macro-dial-one:12] GotoIf("SIP/183-0001f2e3", "0?docfu:skip3") in new stack
-- Goto (macro-dial-one,s,16)
-- Executing [s@macro-dial-one:16] GotoIf("SIP/183-0001f2e3", "1?next2:continue") in new stack
-- Goto (macro-dial-one,s,17)
-- Executing [s@macro-dial-one:17] GotoIf("SIP/183-0001f2e3", "1?continue") in new stack
-- Goto (macro-dial-one,s,25)
-- Executing [s@macro-dial-one:25] GotoIf("SIP/183-0001f2e3", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/183-0001f2e3", "1?dstring,1:dlocal,1") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/183-0001f2e3", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/183-0001f2e3", "DEVICES=136") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/183-0001f2e3", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/183-0001f2e3", "0?Set(DEVICES=36)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/183-0001f2e3", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/183-0001f2e3", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/183-0001f2e3", "THISDIAL=SIP/136") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/183-0001f2e3", "1?zap2dahdi,1") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/183-0001f2e3", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/183-0001f2e3", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/183-0001f2e3", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/183-0001f2e3", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/183-0001f2e3", "THISPART2=SIP/136") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/183-0001f2e3", "0?Set(THISPART2=DAHDI/136)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/183-0001f2e3", "NEWDIAL=SIP/136&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/183-0001f2e3", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/183-0001f2e3", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/183-0001f2e3", "THISDIAL=SIP/136") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/183-0001f2e3", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/183-0001f2e3", "DSTRING=SIP/136&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/183-0001f2e3", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/183-0001f2e3", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/183-0001f2e3", "DSTRING=SIP/136") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/183-0001f2e3", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/183-0001f2e3", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/183-0001f2e3", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/183-0001f2e3", "1?ctset,1:ctclear,1") in new stack
-- Executing [ctset@macro-dial-one:1] Set("SIP/183-0001f2e3", "DB(CALLTRACE/136)=183") in new stack
-- Executing [ctset@macro-dial-one:2] Return("SIP/183-0001f2e3", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/183-0001f2e3", "D_OPTIONS=tr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/183-0001f2e3", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/183-0001f2e3", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/183-0001f2e3", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/183-0001f2e3", "0?qwait,1") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/183-0001f2e3", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/183-0001f2e3", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] Dial("SIP/183-0001f2e3", "SIP/136,"",tr") in new stack
[Feb 1 15:54:29] WARNING[30092]: app_dial.c:2345 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dial-one:38] ExecIf("SIP/183-0001f2e3", "0?Set(DIALSTATUS=)") in new stack
-- Executing [s@macro-dial-one:39] GosubIf("SIP/183-0001f2e3", "0?s-CHANUNAVAIL,1") in new stack
-- Executing [s@macro-dial-one:40] MacroExit("SIP/183-0001f2e3", "") in new stack
-- Executing [s@macro-exten-vm:10] GotoIf("SIP/183-0001f2e3", "0?exit") in new stack
-- Executing [s@macro-exten-vm:11] Set("SIP/183-0001f2e3", "SV_DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:12] GosubIf("SIP/183-0001f2e3", "0?docfu,1") in new stack
-- Executing [s@macro-exten-vm:13] GosubIf("SIP/183-0001f2e3", "0?docfb,1") in new stack
-- Executing [s@macro-exten-vm:14] Set("SIP/183-0001f2e3", "DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:15] NoOp("SIP/183-0001f2e3", "Voicemail is 'novm'") in new stack
-- Executing [s@macro-exten-vm:16] GotoIf("SIP/183-0001f2e3", "1?s-CHANUNAVAIL,1") in new stack
-- Goto (macro-exten-vm,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-exten-vm:1] NoOp("SIP/183-0001f2e3", "IVR_RETVM: IVR_CONTEXT: ") in new stack
-- Executing [s-CHANUNAVAIL@macro-exten-vm:2] GotoIf("SIP/183-0001f2e3", "0?exit,1") in new stack
-- Executing [s-CHANUNAVAIL@macro-exten-vm:3] PlayTones("SIP/183-0001f2e3", "congestion") in new stack
[Feb 1 15:54:29] WARNING[30092]: translate.c:206 framein: no samples for ulawtolin
-- Executing [s-CHANUNAVAIL@macro-exten-vm:4] Congestion("SIP/183-0001f2e3", "10") in new stack
== Spawn extension (macro-exten-vm, s-CHANUNAVAIL, 4) exited non-zero on 'SIP/183-0001f2e3' in macro 'exten-vm'
== Spawn extension (from-internal, 136, 1) exited non-zero on 'SIP/183-0001f2e3'
-- Executing [h@from-internal:1] Macro("SIP/183-0001f2e3", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/183-0001f2e3", "0?endmixmoncheck") in new stack
-- Executing [s@macro-hangupcall:2] Set("SIP/183-0001f2e3", "MIXMON_CALLFILENAME=/var/spool/asterisk/monitor/20160201-155429-1454331269.132592.wav") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/183-0001f2e3", "1?defaultmixmondir") in new stack
-- Goto (macro-hangupcall,s,5)
-- Executing [s@macro-hangupcall:5] System("SIP/183-0001f2e3", "test -e /var/spool/asterisk/monitor/20160201-155429-1454331269.132592.wav") in new stack
-- Executing [s@macro-hangupcall:6] NoOp("SIP/183-0001f2e3", "SYSTEMSTATUS = APPERROR") in new stack
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/183-0001f2e3", "0?endmixmoncheck") in new stack
-- Executing [s@macro-hangupcall:8] Set("SIP/183-0001f2e3", "CDR(userfield)=") in new stack
-- Executing [s@macro-hangupcall:9] NoOp("SIP/183-0001f2e3", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/183-0001f2e3", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("SIP/183-0001f2e3", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/183-0001f2e3", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("SIP/183-0001f2e3", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("SIP/183-0001f2e3", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("SIP/183-0001f2e3", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("SIP/183-0001f2e3", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("SIP/183-0001f2e3", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,48)
-- Executing [s@macro-hangupcall:48] GotoIf("SIP/183-0001f2e3", "1?theend") in new stack
[Feb 1 15:54:29] NOTICE[30092]: pbx.c:4522 pbx_extension_helper: No such label 'theend' in extension 's' in context 'macro-hangupcall'
[Feb 1 15:54:29] WARNING[30092]: pbx.c:10881 pbx_parseable_goto: Priority 'theend' must be a number > 0, or valid label
== Spawn extension (macro-hangupcall, s, 48) exited non-zero on 'SIP/183-0001f2e3' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/183-0001f2e3'
== End MixMonitor Recording SIP/183-0001f2e3