und hier die CLI :
national
-- Executing [s-nat@sub_nat2int:2] Set("SIP/mdc_trunk_conf-1-00000128", "MDC_CALLER_NUM_INTERNAT=0041771232222") in new stack
-- Executing [s-nat@sub_nat2int:3] Return("SIP/mdc_trunk_conf-1-00000128", "") in new stack
-- Executing [s@mdc_trunk-1:4] Set("SIP/mdc_trunk_conf-1-00000128", "CALLERID(num)=0041771232222") in new stack
-- Executing [s@mdc_trunk-1:5] Gosub("SIP/mdc_trunk_conf-1-00000128", "sub_int2nat,s,1(MDC_CALLER_NUM_NAT,0041771232222,00,41,0,44)") in new stack
-- Executing [s@sub_int2nat:1] Verbose("SIP/mdc_trunk_conf-1-00000128", "1,sub_int2nat:: variable: MDC_CALLER_NUM_NAT - exten: 0041771232222 - intVAZ: 00 - lkz: 41 - natVAZ: 0 - onKz: 44") in new stack
sub_int2nat:: variable: MDC_CALLER_NUM_NAT - exten: 0041771232222 - intVAZ: 00 - lkz: 41 - natVAZ: 0 - onKz: 44
-- Executing [s@sub_int2nat:2] GotoIf("SIP/mdc_trunk_conf-1-00000128", "0?nat") in new stack
-- Executing [s@sub_int2nat:3] GotoIf("SIP/mdc_trunk_conf-1-00000128", "1?s-internat,1") in new stack
-- Goto (sub_int2nat,s-internat,1)
-- Executing [s-internat@sub_int2nat:1] Set("SIP/mdc_trunk_conf-1-00000128", "MDC_CALLER_NUM_NAT=0771232222") in new stack
-- Executing [s-internat@sub_int2nat:2] Return("SIP/mdc_trunk_conf-1-00000128", "") in new stack
-- Executing [s@mdc_trunk-1:6] Set("SIP/mdc_trunk_conf-1-00000128", "CALLERID(num)=0771232222") in new stack
-- Executing [s@mdc_trunk-1:7] Gosub("SIP/mdc_trunk_conf-1-00000128", "sub_pb-search,s,1(CALLERID(name),0771232222,0771232222,0041771232222,+41771232222)") in new stack
-- Executing [s@sub_pb-search:1] Verbose("SIP/mdc_trunk_conf-1-00000128", "1,sub_pb-search variable: CALLERID(name) calleridnum: 0771232222 national: 0771232222 international: 0041771232222 +internat: +41771232222") in new stack
sub_pb-search variable: CALLERID(name) calleridnum: 0771232222 national: 0771232222 international: 0041771232222 +internat: +41771232222
-- Executing [s@sub_pb-search:2] Set("SIP/mdc_trunk_conf-1-00000128", "HASH(PB_ENTRY)=Peter Muster Mob,,,") in new stack
-- Executing [s@sub_pb-search:3] Verbose("SIP/mdc_trunk_conf-1-00000128", "1,Peter Muster Mob") in new stack
Peter Muster Mob
-- Executing [s@sub_pb-search:4] Verbose("SIP/mdc_trunk_conf-1-00000128", "1,") in new stack
-- Executing [s@sub_pb-search:5] Verbose("SIP/mdc_trunk_conf-1-00000128", "1,") in new stack
-- Executing [s@sub_pb-search:6] Verbose("SIP/mdc_trunk_conf-1-00000128", "1,") in new stack
-- Executing [s@sub_pb-search:7] Set("SIP/mdc_trunk_conf-1-00000128", "CALLERID(name)=Peter Muster Mob") in new stack
-- Executing [s@sub_pb-search:8] Return("SIP/mdc_trunk_conf-1-00000128", "") in new stack
-- Executing [s@mdc_trunk-1:8] Set("SIP/mdc_trunk_conf-1-00000128", "MDC_NUMPREFIX_TRUNK=") in new stack
-- Executing [s@mdc_trunk-1:9] Goto("SIP/mdc_trunk_conf-1-00000128", "mdc_mapping-1,445001111,1") in new stack
-- Goto (mdc_mapping-1,445001111,1)
-- Executing [445001111@mdc_mapping-1:1] Set("SIP/mdc_trunk_conf-1-00000128", "CHANNEL(language)=de") in new stack
-- Executing [445001111@mdc_mapping-1:2] Verbose("SIP/mdc_trunk_conf-1-00000128", "1,mapping from _*%#a-zA-Z0-9]. to 100") in new stack
mapping from _*%#a-zA-Z0-9]. to 100
-- Executing [445001111@mdc_mapping-1:3] Goto("SIP/mdc_trunk_conf-1-00000128", "mdc_external,100,1") in new stack
-- Goto (mdc_external,100,1)
-- Executing [100@mdc_external:1] SIPAddHeader("SIP/mdc_trunk_conf-1-00000128", ""Alert-Info:<http://www.notused.de>;info=alert-external;x-line-id=0"") in new stack
-- Executing [100@mdc_external:2] GosubIf("SIP/mdc_trunk_conf-1-00000128", "1?sub_initcall,s,1(ext,100)") in new stack
-- Executing [s@sub_initcall:1] Verbose("SIP/mdc_trunk_conf-1-00000128", "1,sub_initcall descent: ext exten: 100") in new stack
sub_initcall descent: ext exten: 100
-- Executing [s@sub_initcall:2] GosubIf("SIP/mdc_trunk_conf-1-00000128", "1?sub_initloop,s,1") in new stack
-- Executing [s@sub_initloop:1] Verbose("SIP/mdc_trunk_conf-1-00000128", "1,initial loop") in new stack
initial loop
-- Executing [s@sub_initloop:2] Set("SIP/mdc_trunk_conf-1-00000128", "MDC_ALIAS_HOP=0") in new stack
-- Executing [s@sub_initloop:3] Return("SIP/mdc_trunk_conf-1-00000128", "") in new stack
-- Executing [s@sub_initcall:3] Set("SIP/mdc_trunk_conf-1-00000128", "__MDC_DIALDESCENT=ext") in new stack
-- Executing [s@sub_initcall:4] Goto("SIP/mdc_trunk_conf-1-00000128", "ext,1") in new stack
-- Goto (sub_initcall,ext,1)
-- Executing [ext@sub_initcall:1] Set("SIP/mdc_trunk_conf-1-00000128", "__MDC_DIALCALLERNUMINIT=0771232222") in new stack
-- Executing [ext@sub_initcall:2] Set("SIP/mdc_trunk_conf-1-00000128", "__MDC_DIALCALLEENUMINIT=445001111") in new stack
-- Executing [ext@sub_initcall:3] Return("SIP/mdc_trunk_conf-1-00000128", "") in new stack
-- Executing [100@mdc_external:3] Goto("SIP/mdc_trunk_conf-1-00000128", "main,100,1") in new stack
-- Goto (main,100,1)
-- Executing [100@main:1] Gosub("SIP/mdc_trunk_conf-1-00000128", "sub_defcall,s,1(100)") in new stack
[Sep 24 10:03:55] NOTICE[30770]: func_math.c:424 crement_function_read: The value is now: 1
-- Executing [s@sub_defcall:1] Set("SIP/mdc_trunk_conf-1-00000128", "MDC_ALIAS_HOP=1") in new stack
-- Executing [s@sub_defcall:2] Set("SIP/mdc_trunk_conf-1-00000128", "__MDC_DIALCALLEENUM=100") in new stack
-- Executing [s@sub_defcall:3] Set("SIP/mdc_trunk_conf-1-00000128", "__MDC_DIALCALLERNUM=0771232222") in new stack
-- Executing [s@sub_defcall:4] Set("SIP/mdc_trunk_conf-1-00000128", "__MDC_DIALCHANNELNAME=mdc_trunk_conf-1") in new stack
-- Executing [s@sub_defcall:5] GotoIf("SIP/mdc_trunk_conf-1-00000128", "1?nozap") in new stack
-- Goto (sub_defcall,s,8)
-- Executing [s@sub_defcall:8] Set("SIP/mdc_trunk_conf-1-00000128", "__MDC_DIALCALLERNAME=Peter Muster Mob") in new stack
-- Executing [s@sub_defcall:9] Return("SIP/mdc_trunk_conf-1-00000128", "") in new stack
-- Executing [100@main:2] Goto("SIP/mdc_trunk_conf-1-00000128", "mdc_distribute,100,1") in new stack
-- Goto (mdc_distribute,100,1)
-- Executing [100@mdc_distribute:1] Gosub("SIP/mdc_trunk_conf-1-00000128", "sub_team,s,1(1,bt_alle,Peter Muster Mob,100)") in new stack
-- Executing [s@sub_team:1] Verbose("SIP/mdc_trunk_conf-1-00000128", "1,team id: 1 team name: bt_alle team realname: Peter Muster Mob own vm: 100") in new stack
team id: 1 team name: bt_alle team realname: Peter Muster Mob own vm: 100
-- Executing [s@sub_team:2] Set("SIP/mdc_trunk_conf-1-00000128", "_MDC_CALLEE_TM_ID=1") in new stack
-- Executing [s@sub_team:3] Set("SIP/mdc_trunk_conf-1-00000128", "_MDC_CALLEE_TM_NAME=bt_alle") in new stack
-- Executing [s@sub_team:4] Set("SIP/mdc_trunk_conf-1-00000128", "_MDC_CALLEE_TM_REALNAME=Peter Muster Mob") in new stack
-- Executing [s@sub_team:5] Set("SIP/mdc_trunk_conf-1-00000128", "_MDC_CALLEE_VM_OWN=100") in new stack
-- Executing [s@sub_team:6] Return("SIP/mdc_trunk_conf-1-00000128", "") in new stack
-- Executing [100@mdc_distribute:2] Goto("SIP/mdc_trunk_conf-1-00000128", "mdc_team-1,100,1") in new stack
-- Goto (mdc_team-1,100,1)
-- Executing [100@mdc_team-1:1] NoOp("SIP/mdc_trunk_conf-1-00000128", "alias-check:: call forwarding from 100 - 0") in new stack
-- Executing [100@mdc_team-1:2] GotoIf("SIP/mdc_trunk_conf-1-00000128", "0?100-uml,1:100-dial,1") in new stack
-- Goto (mdc_team-1,100-dial,1)
-- Executing [100-dial@mdc_team-1:1] Set("SIP/mdc_trunk_conf-1-00000128", "__MDC_EXTEN=100") in new stack
-- Executing [100-dial@mdc_team-1:2] Gosub("SIP/mdc_trunk_conf-1-00000128", "sub_prefix-100,ext,1") in new stack
-- Executing [ext@sub_prefix-100:1] Verbose("SIP/mdc_trunk_conf-1-00000128", "1,no action") in new stack
no action
-- Executing [ext@sub_prefix-100:2] Return("SIP/mdc_trunk_conf-1-00000128", "") in new stack
-- Executing [100-dial@mdc_team-1:3] Gosub("SIP/mdc_trunk_conf-1-00000128", "sub_main-100,ext,1") in new stack
-- Executing [ext@sub_main-100:1] Set("SIP/mdc_trunk_conf-1-00000128", "CALLERID(name)=Peter Muster Mob") in new stack
-- Executing [ext@sub_main-100:2] Gosub("SIP/mdc_trunk_conf-1-00000128", "sub_queue-free,s,1(MDC_QUEUE_FREE,bt_alle)") in new stack
-- Executing [s@sub_queue-free:1] Verbose("SIP/mdc_trunk_conf-1-00000128", "1,sub_queue-free:: variable: MDC_QUEUE_FREE queue: bt_alle") in new stack
sub_queue-free:: variable: MDC_QUEUE_FREE queue: bt_alle
-- Executing [s@sub_queue-free:2] Verbose("SIP/mdc_trunk_conf-1-00000128", "1,member(logged): 3 - member(free): 3 - member(ready): 3 - member(count): 3 - ") in new stack
member(logged): 3 - member(free): 3 - member(ready): 3 - member(count): 3 -
-- Executing [s@sub_queue-free:3] GotoIf("SIP/mdc_trunk_conf-1-00000128", "0?notfree") in new stack
-- Executing [s@sub_queue-free:4] GotoIf("SIP/mdc_trunk_conf-1-00000128", "0?notfree") in new stack
-- Executing [s@sub_queue-free:5] Set("SIP/mdc_trunk_conf-1-00000128", "MDC_QUEUE_FREE=1") in new stack
-- Executing [s@sub_queue-free:6] Return("SIP/mdc_trunk_conf-1-00000128", "") in new stack
-- Executing [ext@sub_main-100:3] GotoIf("SIP/mdc_trunk_conf-1-00000128", "1?free") in new stack
-- Goto (sub_main-100,ext,7)
-- Executing [ext@sub_main-100:7] Set("SIP/mdc_trunk_conf-1-00000128", "__PICKUPMARK=100") in new stack
-- Executing [ext@sub_main-100:8] Queue("SIP/mdc_trunk_conf-1-00000128", "bt_alle,r,,,10") in new stack
-- Called Local/51@mdc_multidial-51
-- Executing [51@mdc_multidial-51:1] Set("Local/51@mdc_multidial-51-6a1d;2", "__MDC_CALLEE_USER_ID=1") in new stack
-- Executing [51@mdc_multidial-51:2] Set("Local/51@mdc_multidial-51-6a1d;2", "__PICKUPMARK=51") in new stack
-- Executing [51@mdc_multidial-51:3] Dial("Local/51@mdc_multidial-51-6a1d;2", "Local/51@mdc_diallocation,,c") in new stack
-- Executing [52@mdc_multidial-52:1] Set("Local/52@mdc_multidial-52-bdaa;2", "__MDC_CALLEE_USER_ID=4") in new stack
-- Called Local/52@mdc_multidial-52
-- Executing [52@mdc_multidial-52:2] Set("Local/52@mdc_multidial-52-bdaa;2", "__PICKUPMARK=52") in new stack
-- Executing [52@mdc_multidial-52:3] Dial("Local/52@mdc_multidial-52-bdaa;2", "Local/52@mdc_diallocation,,c") in new stack
-- Called Local/51@mdc_diallocation
-- Called Local/50@mdc_multidial-50
-- Called Local/52@mdc_diallocation
-- Executing [51@mdc_diallocation:1] Verbose("Local/51@mdc_diallocation-29c2;2", "1,dial to 51 for user 1") in new stack
-- Executing [50@mdc_multidial-50:1] Set("Local/50@mdc_multidial-50-7803;2", "__MDC_CALLEE_USER_ID=3") in new stack
-- Executing [52@mdc_diallocation:1] Verbose("Local/52@mdc_diallocation-4c8d;2", "1,dial to 52 for user 4") in new stack
dial to 51 for user 1
-- Executing [51@mdc_diallocation:2] Gosub("Local/51@mdc_diallocation-29c2;2", "sub_split-user,s,1(1)") in new stack
-- Executing [50@mdc_multidial-50:2] Set("Local/50@mdc_multidial-50-7803;2", "__PICKUPMARK=50") in new stack
dial to 52 for user 4
-- Executing [52@mdc_diallocation:2] Gosub("Local/52@mdc_diallocation-4c8d;2", "sub_split-user,s,1(4)") in new stack
-- Executing [s@sub_split-user:1] Verbose("Local/51@mdc_diallocation-29c2;2", "1,get locations for for: 1") in new stack
-- Executing [s@sub_split-user:1] Verbose("Local/52@mdc_diallocation-4c8d;2", "1,get locations for for: 4") in new stack
-- Executing [50@mdc_multidial-50:3] Dial("Local/50@mdc_multidial-50-7803;2", "Local/50@mdc_diallocation,,c") in new stack
get locations for for: 1
-- Executing [s@sub_split-user:2] GotoIf("Local/51@mdc_diallocation-29c2;2", "0?s-zero,1") in new stack
-- Executing [s@sub_split-user:3] Set("Local/51@mdc_diallocation-29c2;2", "TMP_LOCATIONS=1;0") in new stack
-- Executing [s@sub_split-user:4] Set("Local/51@mdc_diallocation-29c2;2", "TMP_STATIC_ID=1") in new stack
-- Executing [s@sub_split-user:5] Verbose("Local/51@mdc_diallocation-29c2;2", "1,static id: 1") in new stack
static id: 1
-- Executing [s@sub_split-user:6] Set("Local/51@mdc_diallocation-29c2;2", "TMP_DYN_ID=0") in new stack
-- Executing [s@sub_split-user:7] Verbose("Local/51@mdc_diallocation-29c2;2", "1,dynamic id: 0") in new stack
dynamic id: 0
-- Executing [s@sub_split-user:8] Return("Local/51@mdc_diallocation-29c2;2", "") in new stack
-- Called Local/50@mdc_diallocation
-- Executing [51@mdc_diallocation:3] GotoIf("Local/51@mdc_diallocation-29c2;2", "0?invalid,1") in new stack
-- Executing [51@mdc_diallocation:4] GotoIf("Local/51@mdc_diallocation-29c2;2", "0?dynamic,1") in new stack
get locations for for: 4
-- Executing [50@mdc_diallocation:1] Verbose("Local/50@mdc_diallocation-7ae1;2", "1,dial to 50 for user 3") in new stack
-- Executing [s@sub_split-user:2] GotoIf("Local/52@mdc_diallocation-4c8d;2", "0?s-zero,1") in new stack
-- Executing [51@mdc_diallocation:5] GotoIf("Local/51@mdc_diallocation-29c2;2", "1?static,1") in new stack
-- Executing [s@sub_split-user:3] Set("Local/52@mdc_diallocation-4c8d;2", "TMP_LOCATIONS=3;0") in new stack
-- Goto (mdc_diallocation,static,1)
-- Executing [static@mdc_diallocation:1] Dial("Local/51@mdc_diallocation-29c2;2", "Local/ext@mdc_locallocation-1") in new stack
-- Executing [s@sub_split-user:4] Set("Local/52@mdc_diallocation-4c8d;2", "TMP_STATIC_ID=3") in new stack
-- Executing [s@sub_split-user:5] Verbose("Local/52@mdc_diallocation-4c8d;2", "1,static id: 3") in new stack
static id: 3
-- Executing [s@sub_split-user:6] Set("Local/52@mdc_diallocation-4c8d;2", "TMP_DYN_ID=0") in new stack
dial to 50 for user 3
-- Executing [s@sub_split-user:7] Verbose("Local/52@mdc_diallocation-4c8d;2", "1,dynamic id: 0") in new stack
dynamic id: 0
-- Executing [s@sub_split-user:8] Return("Local/52@mdc_diallocation-4c8d;2", "") in new stack
-- Executing [50@mdc_diallocation:2] Gosub("Local/50@mdc_diallocation-7ae1;2", "sub_split-user,s,1(3)") in new stack
-- Executing [s@sub_split-user:1] Verbose("Local/50@mdc_diallocation-7ae1;2", "1,get locations for for: 3") in new stack
-- Executing [52@mdc_diallocation:3] GotoIf("Local/52@mdc_diallocation-4c8d;2", "0?invalid,1") in new stack
-- Executing [52@mdc_diallocation:4] GotoIf("Local/52@mdc_diallocation-4c8d;2", "0?dynamic,1") in new stack
-- Executing [52@mdc_diallocation:5] GotoIf("Local/52@mdc_diallocation-4c8d;2", "1?static,1") in new stack
-- Goto (mdc_diallocation,static,1)
-- Executing [static@mdc_diallocation:1] Dial("Local/52@mdc_diallocation-4c8d;2", "Local/ext@mdc_locallocation-3") in new stack
-- Called Local/ext@mdc_locallocation-1
get locations for for: 3
-- Executing [s@sub_split-user:2] GotoIf("Local/50@mdc_diallocation-7ae1;2", "0?s-zero,1") in new stack
-- Executing [ext@mdc_locallocation-1:1] Dial("Local/ext@mdc_locallocation-1-f39c;2", "Local/ext-2@mdc_localdevice-1") in new stack
-- Executing [s@sub_split-user:3] Set("Local/50@mdc_diallocation-7ae1;2", "TMP_LOCATIONS=2;0") in new stack
-- Executing [s@sub_split-user:4] Set("Local/50@mdc_diallocation-7ae1;2", "TMP_STATIC_ID=2") in new stack
-- Executing [s@sub_split-user:5] Verbose("Local/50@mdc_diallocation-7ae1;2", "1,static id: 2") in new stack
static id: 2
-- Executing [s@sub_split-user:6] Set("Local/50@mdc_diallocation-7ae1;2", "TMP_DYN_ID=0") in new stack
-- Called Local/ext-2@mdc_localdevice-1
-- Executing [s@sub_split-user:7] Verbose("Local/50@mdc_diallocation-7ae1;2", "1,dynamic id: 0") in new stack
-- Executing [ext-2@mdc_localdevice-1:1] Verbose("Local/ext-2@mdc_localdevice-1-6c57;2", "1,Dialing with delay of 0 seconds for 20 seconds") in new stack
dynamic id: 0
-- Executing [s@sub_split-user:8] Return("Local/50@mdc_diallocation-7ae1;2", "") in new stack
-- Called Local/ext@mdc_locallocation-3
-- Executing [50@mdc_diallocation:3] GotoIf("Local/50@mdc_diallocation-7ae1;2", "0?invalid,1") in new stack
-- Executing [ext@mdc_locallocation-3:1] Dial("Local/ext@mdc_locallocation-3-a388;2", "Local/ext-3@mdc_localdevice-3") 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-6c57;2", "SIP/stFveskuJ2651fd,20") in new stack
== Using SIP RTP CoS mark 5
-- Called Local/ext-3@mdc_localdevice-3
-- Executing [50@mdc_diallocation:4] GotoIf("Local/50@mdc_diallocation-7ae1;2", "0?dynamic,1") in new stack
-- Executing [ext-3@mdc_localdevice-3:1] Verbose("Local/ext-3@mdc_localdevice-3-cebd;2", "1,Dialing with delay of 0 seconds for 20 seconds") in new stack
-- Executing [50@mdc_diallocation:5] GotoIf("Local/50@mdc_diallocation-7ae1;2", "1?static,1") in new stack
-- Goto (mdc_diallocation,static,1)
-- Executing [static@mdc_diallocation:1] Dial("Local/50@mdc_diallocation-7ae1;2", "Local/ext@mdc_locallocation-2") in new stack
-- Called SIP/stFveskuJ2651fd
Dialing with delay of 0 seconds for 20 seconds
-- Executing [ext-3@mdc_localdevice-3:2] Dial("Local/ext-3@mdc_localdevice-3-cebd;2", "SIP/Dlkc7m6eW2e3356,20") in new stack
-- Called Local/ext@mdc_locallocation-2
-- Executing [ext@mdc_locallocation-2:1] Dial("Local/ext@mdc_locallocation-2-8672;2", "Local/ext-1@mdc_localdevice-2") in new stack
== Using SIP RTP CoS mark 5
-- Called Local/ext-1@mdc_localdevice-2
-- Executing [ext-1@mdc_localdevice-2:1] Verbose("Local/ext-1@mdc_localdevice-2-004a;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-2:2] Dial("Local/ext-1@mdc_localdevice-2-004a;2", "SIP/XiI3xhKo8264c8c,20") in new stack
== Extension Changed 51[mdc_hint-ident] new state Ringing for Notify User Dlkc7m6eW2e3356
== Using SIP RTP CoS mark 5
== Extension Changed 51[mdc_hint-ident] new state Ringing for Notify User XiI3xhKo8264c8c
-- Called SIP/Dlkc7m6eW2e3356
-- Called SIP/XiI3xhKo8264c8c
== Extension Changed 52[mdc_hint-ident] new state Ringing for Notify User XiI3xhKo8264c8c
== Extension Changed 52[mdc_hint-ident] new state Ringing for Notify User stFveskuJ2651fd
== Extension Changed 50[mdc_hint-ident] new state Ringing for Notify User Dlkc7m6eW2e3356
== Extension Changed 50[mdc_hint-ident] new state Ringing for Notify User stFveskuJ2651fd
-- SIP/stFveskuJ2651fd-00000129 is ringing
mobydick*CLI>