Hallo Matthias,
anbei der CLI Output, ich lese hier immer die 21 statt der 22, weiß nicht wo die her kommt.
– Accepting voice call from ‘171xxx’ to ‘12322’ on channel 0/1, span 1
– Executing Goto(“Zap/1-1”, “mdc_trunk-1|12322|1”) in new stack
– Goto (mdc_trunk-1,12322,1)
– Executing Set(“Zap/1-1”, “__MDC_DIALCALLERNUM=0171xxx”) in new stack
– Executing GotoIf(“Zap/1-1”, “0?forward”) in new stack
– Executing Set(“Zap/1-1”, “CALLERID(num)=00171xxx”) in new stack
– Executing Goto(“Zap/1-1”, “mdc_external-1|12322|1”) in new stack
– Goto (mdc_external-1,12322,1)
– Executing Goto(“Zap/1-1”, “mdc_external|21|1”) in new stack
– Goto (mdc_external,21,1)
– Executing Set(“Zap/1-1”, “MDC_CHANNEL_PROTOCOL=Zap”) in new stack
– Executing Set(“Zap/1-1”, “MDC_CHANNEL_ID=1-1”) in new stack
– Executing Set(“Zap/1-1”, “MDC_CHANNEL_TMP=1-1”) in new stack
– Executing Set(“Zap/1-1”, “MDC_CHANNEL_NAME=1”) in new stack
– Executing GosubIf(“Zap/1-1”, “1?mdc_initcall-ext|21|1”) in new stack
– Executing NoOp(“Zap/1-1”, “initial call”) in new stack
– Executing Set(“Zap/1-1”, “MDC_ALIAS_HOP=0”) in new stack
– Executing Set(“Zap/1-1”, “__MDC_DIALDESCENT=ext”) in new stack
– Executing Set(“Zap/1-1”, “__MDC_DIALCALLEENUM=21”) in new stack
– Executing GotoIf(“Zap/1-1”, “0?nozap”) in new stack
– Executing Set(“Zap/1-1”, “__MDC_DIALCALLERNAME=001713xxx”) in new stack
– Executing Return(“Zap/1-1”, “”) in new stack
– Executing Gosub(“Zap/1-1”, “mdc_defcall|21|1”) in new stack
– Executing GotoIf(“Zap/1-1”, “0?nozap”) in new stack
– Executing Set(“Zap/1-1”, “__MDC_DIALCHANNELNAME=00171xxx”) in new stack
– Executing Return(“Zap/1-1”, “”) in new stack
– Executing SIPAddHeader(“Zap/1-1”, "“Alert-Info:<http://www.notused.de>”) in new stack
– Executing Macro(“Zap/1-1”, “pre-main”) in new stack
Mar 28 11:20:03 WARNING[4386]: app_macro.c:208 macro_exec: No such context ‘macro-pre-main’ for macro ‘pre-main’
– Executing Goto(“Zap/1-1”, “main|21|1”) in new stack
– Goto (main,21,1)
– Executing Goto(“Zap/1-1”, “mdc_callgroup-1|21|1”) in new stack
– Goto (mdc_callgroup-1,21,1)
– Executing NoOp(“Zap/1-1”, “alias-check:: Rufumleitung von 21 - 0”) in new stack
– Executing GotoIf(“Zap/1-1”, “0?21-umleitung|1:21-dial|1”) in new stack
– Goto (mdc_callgroup-1,21-dial,1)
– Executing Gosub(“Zap/1-1”, “mdc_prefix-21-ext|21|1”) in new stack
– Executing Return(“Zap/1-1”, “”) in new stack
– Executing Gosub(“Zap/1-1”, “mdc_main-21-ext|21|1”) in new stack
– Executing Set(“Zap/1-1”, “TOUCH_MONITOR=00171xxx-21-20100328-112003-ext”) in new stack
– Executing Dial(“Zap/1-1”, “SIP/Buero1|30|owW”) in new stack
– Called Buero1
– SIP/Buero1-081cea60 is ringing
– SIP/Buero1-081cea60 is ringing
– Channel 0/1, span 1 got hangup, cause 16
== Spawn extension (mdc_main-21-ext, 21, 2) exited non-zero on ‘Zap/1-1’
– Executing Macro(“Zap/1-1”, “hangup||CANCEL|”) in new stack
– Executing NoOp(“Zap/1-1”, ">>>macro-hangup:: EXTEN: DIALSTATUS: CANCEL QUEUESTATUS: ") in new stack
– Hungup ‘Zap/1-1’
Viele Grüße
Andi