Hallo Markus,
Hier ist der Auszug aus der CLI, wobei ich die Rufnummern geändert habe 01731231231 ist die Nummer von der aus angerufen wird und 01721234567 ist die Nummer des Mobiltelefons.
== Using SIP RTP CoS mark 5
-- Executing [621@mdc_incoming-7:1] Set("SIP/mdc_trunk_conf-7-00000015", "MDC_CALLER_NUM_TRUNK=01731231231") in new stack
-- Executing [621@mdc_incoming-7:2] Set("SIP/mdc_trunk_conf-7-00000015", "MDC_CALLEE_NUM_TRUNK=621") in new stack
-- Executing [621@mdc_incoming-7:3] Goto("SIP/mdc_trunk_conf-7-00000015", "mdc_trunk-1,s,1") in new stack
-- Goto (mdc_trunk-1,s,1)
-- Executing [s@mdc_trunk-1:1] Verbose("SIP/mdc_trunk_conf-7-00000015", "1,callee number: 621 caller number: 01731231231") in new stack
callee number: 621 caller number: 01731231231
-- Executing [s@mdc_trunk-1:2] GosubIf("SIP/mdc_trunk_conf-7-00000015", "0?sub_internat,s,1(CALLERID(num),01731231231,00)") in new stack
-- Executing [s@mdc_trunk-1:3] Gosub("SIP/mdc_trunk_conf-7-00000015", "sub_nat2int,s,1(MDC_CALLER_NUM_INTERNAT,01731231231,00,49,0,5231)") in new stack
-- Executing [s@sub_nat2int:1] Verbose("SIP/mdc_trunk_conf-7-00000015", "1,sub_nat2int:: variable: MDC_CALLER_NUM_INTERNAT - CALLERID(num): 01731231231 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 5231") in new stack
sub_nat2int:: variable: MDC_CALLER_NUM_INTERNAT - CALLERID(num): 01731231231 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 5231
-- Executing [s@sub_nat2int:2] GotoIf("SIP/mdc_trunk_conf-7-00000015", "0?s-int,1") in new stack
-- Executing [s@sub_nat2int:3] GotoIf("SIP/mdc_trunk_conf-7-00000015", "0?s-int,1") in new stack
-- Executing [s@sub_nat2int:4] GotoIf("SIP/mdc_trunk_conf-7-00000015", "0?s-intshort,1") in new stack
-- Executing [s@sub_nat2int:5] GotoIf("SIP/mdc_trunk_conf-7-00000015", "0?s-natshort,1") in new stack
-- Executing [s@sub_nat2int:6] GotoIf("SIP/mdc_trunk_conf-7-00000015", "1?s-nat,1") in new stack
-- Goto (sub_nat2int,s-nat,1)
-- Executing [s-nat@sub_nat2int:1] Verbose("SIP/mdc_trunk_conf-7-00000015", "1,national") in new stack
national
-- Executing [s-nat@sub_nat2int:2] Set("SIP/mdc_trunk_conf-7-00000015", "MDC_CALLER_NUM_INTERNAT=00491731231231") in new stack
-- Executing [s-nat@sub_nat2int:3] Return("SIP/mdc_trunk_conf-7-00000015", "") in new stack
-- Executing [s@mdc_trunk-1:4] Set("SIP/mdc_trunk_conf-7-00000015", "CALLERID(num)=00491731231231") in new stack
-- Executing [s@mdc_trunk-1:5] Gosub("SIP/mdc_trunk_conf-7-00000015", "sub_int2nat,s,1(MDC_CALLER_NUM_NAT,00491731231231,00,49,0,5231)") in new stack
-- Executing [s@sub_int2nat:1] Verbose("SIP/mdc_trunk_conf-7-00000015", "1,sub_int2nat:: variable: MDC_CALLER_NUM_NAT - exten: 00491731231231 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 5231") in new stack
sub_int2nat:: variable: MDC_CALLER_NUM_NAT - exten: 00491731231231 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 5231
-- Executing [s@sub_int2nat:2] GotoIf("SIP/mdc_trunk_conf-7-00000015", "0?nat") in new stack
-- Executing [s@sub_int2nat:3] GotoIf("SIP/mdc_trunk_conf-7-00000015", "1?s-internat,1") in new stack
-- Goto (sub_int2nat,s-internat,1)
-- Executing [s-internat@sub_int2nat:1] Set("SIP/mdc_trunk_conf-7-00000015", "MDC_CALLER_NUM_NAT=01731231231") in new stack
-- Executing [s-internat@sub_int2nat:2] Return("SIP/mdc_trunk_conf-7-00000015", "") in new stack
-- Executing [s@mdc_trunk-1:6] Set("SIP/mdc_trunk_conf-7-00000015", "CALLERID(num)=01731231231") in new stack
-- Executing [s@mdc_trunk-1:7] Set("SIP/mdc_trunk_conf-7-00000015", "MDC_NUMPREFIX_TRUNK=") in new stack
-- Executing [s@mdc_trunk-1:8] Goto("SIP/mdc_trunk_conf-7-00000015", "mdc_mapping-1,621,1") in new stack
-- Goto (mdc_mapping-1,621,1)
-- Executing [621@mdc_mapping-1:1] Set("SIP/mdc_trunk_conf-7-00000015", "CHANNEL(language)=de") in new stack
-- Executing [621@mdc_mapping-1:2] Set("SIP/mdc_trunk_conf-7-00000015", "CALLERID(num)=3048211") in new stack
-- Executing [621@mdc_mapping-1:3] Verbose("SIP/mdc_trunk_conf-7-00000015", "1,mapping from 621 to 621") in new stack
mapping from 621 to 621
-- Executing [621@mdc_mapping-1:4] Goto("SIP/mdc_trunk_conf-7-00000015", "mdc_external,621,1") in new stack
-- Goto (mdc_external,621,1)
-- Executing [621@mdc_external:1] SIPAddHeader("SIP/mdc_trunk_conf-7-00000015", ""Alert-Info:<http://www.notused.de>;info=alert-external;x-line-id=0"") in new stack
-- Executing [621@mdc_external:2] GosubIf("SIP/mdc_trunk_conf-7-00000015", "1?sub_initcall,s,1(ext,621)") in new stack
-- Executing [s@sub_initcall:1] Verbose("SIP/mdc_trunk_conf-7-00000015", "1,sub_initcall descent: ext exten: 621") in new stack
sub_initcall descent: ext exten: 621
-- Executing [s@sub_initcall:2] GosubIf("SIP/mdc_trunk_conf-7-00000015", "1?sub_initloop,s,1") in new stack
-- Executing [s@sub_initloop:1] Verbose("SIP/mdc_trunk_conf-7-00000015", "1,initial loop") in new stack
initial loop
-- Executing [s@sub_initloop:2] Set("SIP/mdc_trunk_conf-7-00000015", "MDC_ALIAS_HOP=0") in new stack
-- Executing [s@sub_initloop:3] Return("SIP/mdc_trunk_conf-7-00000015", "") in new stack
-- Executing [s@sub_initcall:3] Set("SIP/mdc_trunk_conf-7-00000015", "__MDC_DIALDESCENT=ext") in new stack
-- Executing [s@sub_initcall:4] Goto("SIP/mdc_trunk_conf-7-00000015", "ext,1") in new stack
-- Goto (sub_initcall,ext,1)
-- Executing [ext@sub_initcall:1] Set("SIP/mdc_trunk_conf-7-00000015", "__MDC_DIALCALLERNUMINIT=01731231231") in new stack
-- Executing [ext@sub_initcall:2] Set("SIP/mdc_trunk_conf-7-00000015", "__MDC_DIALCALLEENUMINIT=621") in new stack
-- Executing [ext@sub_initcall:3] Return("SIP/mdc_trunk_conf-7-00000015", "") in new stack
-- Executing [621@mdc_external:3] Goto("SIP/mdc_trunk_conf-7-00000015", "main,621,1") in new stack
-- Goto (main,621,1)
-- Executing [621@main:1] Gosub("SIP/mdc_trunk_conf-7-00000015", "sub_defcall,s,1(621)") in new stack
-- Executing [s@sub_defcall:1] Set("SIP/mdc_trunk_conf-7-00000015", "__MDC_ALIAS_HOP=1") in new stack
-- Executing [s@sub_defcall:2] Set("SIP/mdc_trunk_conf-7-00000015", "__MDC_DIALCALLEENUM=621") in new stack
-- Executing [s@sub_defcall:3] Set("SIP/mdc_trunk_conf-7-00000015", "__MDC_DIALCALLERNUM=3048211") in new stack
-- Executing [s@sub_defcall:4] Set("SIP/mdc_trunk_conf-7-00000015", "__MDC_DIALCHANNELNAME=mdc_trunk_conf-7") in new stack
-- Executing [s@sub_defcall:5] GotoIf("SIP/mdc_trunk_conf-7-00000015", "1?nozap") in new stack
-- Goto (sub_defcall,s,8)
-- Executing [s@sub_defcall:8] Set("SIP/mdc_trunk_conf-7-00000015", "__MDC_DIALCALLERNAME=") in new stack
-- Executing [s@sub_defcall:9] Return("SIP/mdc_trunk_conf-7-00000015", "") in new stack
-- Executing [621@main:2] Goto("SIP/mdc_trunk_conf-7-00000015", "mdc_distribute,621,1") in new stack
-- Goto (mdc_distribute,621,1)
-- Executing [621@mdc_distribute:1] Gosub("SIP/mdc_trunk_conf-7-00000015", "sub_user,s,1(callee,1,christian,Christian Richter,621,621)") in new stack
-- Executing [s@sub_user:1] Verbose("SIP/mdc_trunk_conf-7-00000015", "1,sub_user mode callee") in new stack
sub_user mode callee
-- Executing [s@sub_user:2] Goto("SIP/mdc_trunk_conf-7-00000015", "s-callee,1") in new stack
-- Goto (sub_user,s-callee,1)
-- Executing [s-callee@sub_user:1] Verbose("SIP/mdc_trunk_conf-7-00000015", "1,sub_user user id: 1 - user: christian - realname: Christian Richter - own mailbox: 621 - watched mailbox: 621") in new stack
sub_user user id: 1 - user: christian - realname: Christian Richter - own mailbox: 621 - watched mailbox: 621
-- Executing [s-callee@sub_user:2] Set("SIP/mdc_trunk_conf-7-00000015", "_MDC_CALLEE_USER_ID=1") in new stack
-- Executing [s-callee@sub_user:3] Set("SIP/mdc_trunk_conf-7-00000015", "_MDC_CALLEE_ACC_NAME=christian") in new stack
-- Executing [s-callee@sub_user:4] Set("SIP/mdc_trunk_conf-7-00000015", "_MDC_CALLEE_ACC_REALNAME=Christian Richter") in new stack
-- Executing [s-callee@sub_user:5] Set("SIP/mdc_trunk_conf-7-00000015", "_MDC_CALLEE_VM_OWN=621") in new stack
-- Executing [s-callee@sub_user:6] Set("SIP/mdc_trunk_conf-7-00000015", "_MDC_CALLEE_VM_WATCHED=621") in new stack
-- Executing [s-callee@sub_user:7] Return("SIP/mdc_trunk_conf-7-00000015", "") in new stack
-- Executing [621@mdc_distribute:2] Goto("SIP/mdc_trunk_conf-7-00000015", "mdc_ident-1,621,1") in new stack
-- Goto (mdc_ident-1,621,1)
-- Executing [621@mdc_ident-1:1] NoOp("SIP/mdc_trunk_conf-7-00000015", "alias-check:: call forwarding from 621 - 0") in new stack
-- Executing [621@mdc_ident-1:2] GotoIf("SIP/mdc_trunk_conf-7-00000015", "0?621-uml,1:621-dial,1") in new stack
-- Goto (mdc_ident-1,621-dial,1)
-- Executing [621-dial@mdc_ident-1:1] Set("SIP/mdc_trunk_conf-7-00000015", "__MDC_EXTEN=621") in new stack
-- Executing [621-dial@mdc_ident-1:2] Gosub("SIP/mdc_trunk_conf-7-00000015", "sub_prefix-621,ext,1") in new stack
-- Executing [ext@sub_prefix-621:1] Verbose("SIP/mdc_trunk_conf-7-00000015", "1,no action") in new stack
no action
-- Executing [ext@sub_prefix-621:2] Return("SIP/mdc_trunk_conf-7-00000015", "") in new stack
-- Executing [621-dial@mdc_ident-1:3] GotoIf("SIP/mdc_trunk_conf-7-00000015", "0?621-unavail,1") in new stack
-- Executing [621-dial@mdc_ident-1:4] GotoIf("SIP/mdc_trunk_conf-7-00000015", "0?621-busy,1") in new stack
-- Executing [621-dial@mdc_ident-1:5] Gosub("SIP/mdc_trunk_conf-7-00000015", "sub_main-621,ext,1") in new stack
-- Executing [ext@sub_main-621:1] Set("SIP/mdc_trunk_conf-7-00000015", "__PICKUPMARK=621") in new stack
-- Executing [ext@sub_main-621:2] Set("SIP/mdc_trunk_conf-7-00000015", "__SPYGROUP=621") in new stack
-- Executing [ext@sub_main-621:3] Dial("SIP/mdc_trunk_conf-7-00000015", "Local/621@mdc_diallocation") in new stack
-- Called Local/621@mdc_diallocation
-- Executing [621@mdc_diallocation:1] Verbose("Local/621@mdc_diallocation-00000033;2", "1,dial to 621 for user 1") in new stack
dial to 621 for user 1
-- Executing [621@mdc_diallocation:2] Set("Local/621@mdc_diallocation-00000033;2", "MDC_EXTEN=621") in new stack
-- Executing [621@mdc_diallocation:3] Gosub("Local/621@mdc_diallocation-00000033;2", "sub_split-user,s,1(1)") in new stack
-- Executing [s@sub_split-user:1] Verbose("Local/621@mdc_diallocation-00000033;2", "1,get locations for for: 1") in new stack
get locations for for: 1
-- Executing [s@sub_split-user:2] GotoIf("Local/621@mdc_diallocation-00000033;2", "0?s-zero,1") in new stack
-- Executing [s@sub_split-user:3] Set("Local/621@mdc_diallocation-00000033;2", "TMP_LOCATIONS=1;0") in new stack
-- Executing [s@sub_split-user:4] Set("Local/621@mdc_diallocation-00000033;2", "TMP_STATIC_ID=1") in new stack
-- Executing [s@sub_split-user:5] Verbose("Local/621@mdc_diallocation-00000033;2", "1,static id: 1") in new stack
static id: 1
-- Executing [s@sub_split-user:6] Set("Local/621@mdc_diallocation-00000033;2", "TMP_DYN_ID=0") in new stack
-- Executing [s@sub_split-user:7] Verbose("Local/621@mdc_diallocation-00000033;2", "1,dynamic id: 0") in new stack
dynamic id: 0
-- Executing [s@sub_split-user:8] Return("Local/621@mdc_diallocation-00000033;2", "") in new stack
-- Executing [621@mdc_diallocation:4] GotoIf("Local/621@mdc_diallocation-00000033;2", "0?invalid,1") in new stack
-- Executing [621@mdc_diallocation:5] GotoIf("Local/621@mdc_diallocation-00000033;2", "0?dynamic,1") in new stack
-- Executing [621@mdc_diallocation:6] GotoIf("Local/621@mdc_diallocation-00000033;2", "1?static,1") in new stack
-- Goto (mdc_diallocation,static,1)
-- Executing [static@mdc_diallocation:1] Dial("Local/621@mdc_diallocation-00000033;2", "Local/ext@mdc_locallocation-1") in new stack
-- Called Local/ext@mdc_locallocation-1
-- Executing [ext@mdc_locallocation-1:1] Dial("Local/ext@mdc_locallocation-1-00000034;2", "Local/ext-2@mdc_localdevice-1&Local/ext-6@mdc_localdevice-1&Local/ext-1@mdc_localdevice-1") in new stack
-- Called Local/ext-2@mdc_localdevice-1
-- Called Local/ext-6@mdc_localdevice-1
-- Called Local/ext-1@mdc_localdevice-1
-- Executing [ext-2@mdc_localdevice-1:1] Verbose("Local/ext-2@mdc_localdevice-1-00000035;2", "1,Dialing with delay of 0 seconds for 20 seconds") in new stack
Dialing with delay of 0 seconds for 20 seconds
-- Executing [ext-2@mdc_localdevice-1:2] Dial("Local/ext-2@mdc_localdevice-1-00000035;2", "SIP/jhKjEryNV34c3a0,20") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/jhKjEryNV34c3a0
-- Executing [ext-6@mdc_localdevice-1:1] Verbose("Local/ext-6@mdc_localdevice-1-00000036;2", "1,Dialing with delay of 0 seconds for 20 seconds") in new stack
Dialing with delay of 0 seconds for 20 seconds
-- Executing [ext-6@mdc_localdevice-1:2] Dial("Local/ext-6@mdc_localdevice-1-00000036;2", "Local/s@mdc_extphone-4,20") in new stack
-- Called Local/s@mdc_extphone-4
-- Executing [ext-1@mdc_localdevice-1:1] Verbose("Local/ext-1@mdc_localdevice-1-00000037;2", "1,Dialing with delay of 0 seconds for 20 seconds") in new stack
Dialing with delay of 0 seconds for 20 seconds
-- Executing [ext-1@mdc_localdevice-1:2] Dial("Local/ext-1@mdc_localdevice-1-00000037;2", "SIP/softphone_621,20") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/softphone_621
-- Executing [s@mdc_extphone-4:1] Dial("Local/s@mdc_extphone-4-00000038;2", "Local/01721234567@mdc_outgoing") in new stack
[May 27 15:37:41] NOTICE[22710][C-00000007]: chan_local.c:968 local_call: No such extension/context 01721234567@mdc_outgoing while calling Local channel
-- Couldn't call Local/01721234567@mdc_outgoing
== Everyone is busy/congested at this time (0:0/0/0)
-- Executing [s@mdc_extphone-4:2] NoOp("Local/s@mdc_extphone-4-00000038;2", "Dialstatus: CHANUNAVAIL") in new stack
-- Auto fallthrough, channel 'Local/s@mdc_extphone-4-00000038;2' status is 'CHANUNAVAIL'
-- Local/s@mdc_extphone-4-00000038;1 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [ext-6@mdc_localdevice-1:3] Verbose("Local/ext-6@mdc_localdevice-1-00000036;2", "1,mdc_localdevice-Dialstatus: CONGESTION - cause: 0") in new stack
mdc_localdevice-Dialstatus: CONGESTION - cause: 0
-- Executing [ext-6@mdc_localdevice-1:4] Gosub("Local/ext-6@mdc_localdevice-1-00000036;2", "sub_hangup,s,1(CONGESTION)") in new stack
-- Executing [s@sub_hangup:1] Verbose("Local/ext-6@mdc_localdevice-1-00000036;2", "1,sub_hangup dialstatus: CONGESTION") in new stack
sub_hangup dialstatus: CONGESTION
-- Executing [s@sub_hangup:2] GotoIf("Local/ext-6@mdc_localdevice-1-00000036;2", "0?noanswer,1") in new stack
-- Executing [s@sub_hangup:3] GotoIf("Local/ext-6@mdc_localdevice-1-00000036;2", "0?busy,1") in new stack
-- Executing [s@sub_hangup:4] Goto("Local/ext-6@mdc_localdevice-1-00000036;2", "unavailable,1") in new stack
-- Goto (sub_hangup,unavailable,1)
-- Executing [unavailable@sub_hangup:1] Hangup("Local/ext-6@mdc_localdevice-1-00000036;2", "20") in new stack
== Spawn extension (sub_hangup, unavailable, 1) exited non-zero on 'Local/ext-6@mdc_localdevice-1-00000036;2'
-- Executing [h@mdc_extphone-4:1] Gosub("Local/s@mdc_extphone-4-00000038;2", "def_hangup,s,1(,CHANUNAVAIL,,CALL)") in new stack
-- Executing [s@def_hangup:1] NoOp("Local/s@mdc_extphone-4-00000038;2", ">>>def_hangup:: EXTEN: DIALSTATUS: CHANUNAVAIL QUEUESTATUS: REASON: CALL") in new stack
-- SIP/softphone_621-00000017 is ringing
-- Local/ext-1@mdc_localdevice-1-00000037;1 is ringing
-- Local/ext@mdc_locallocation-1-00000034;1 is ringing
-- Local/621@mdc_diallocation-00000033;1 is ringing
-- SIP/jhKjEryNV34c3a0-00000016 is ringing
-- Local/ext-2@mdc_localdevice-1-00000035;1 is ringing
== Spawn extension (sub_main-621, ext, 3) exited non-zero on 'SIP/mdc_trunk_conf-7-00000015'
-- Executing [h@sub_main-621:1] Gosub("SIP/mdc_trunk_conf-7-00000015", "def_hangup,s,1(621,CANCEL,,CALL)") in new stack
-- Executing [s@def_hangup:1] NoOp("SIP/mdc_trunk_conf-7-00000015", ">>>def_hangup:: EXTEN: 621 DIALSTATUS: CANCEL QUEUESTATUS: REASON: CALL") in new stack
== Spawn extension (mdc_diallocation, static, 1) exited non-zero on 'Local/621@mdc_diallocation-00000033;2'
== Spawn extension (mdc_locallocation-1, ext, 1) exited non-zero on 'Local/ext@mdc_locallocation-1-00000034;2'
== Spawn extension (mdc_localdevice-1, ext-2, 2) exited non-zero on 'Local/ext-2@mdc_localdevice-1-00000035;2'
== Spawn extension (mdc_localdevice-1, ext-1, 2) exited non-zero on 'Local/ext-1@mdc_localdevice-1-00000037;2'
Gruß
Christian