hi Maik,
ich habe jetzt die ersten Tests durchgeführt, hier mein Ergebnis:
die erste Version hat nicht funktioniert, externe Handynummer 0015155113659
hier die Logs:
-- Executing [ext-45@mdc_localdevice-19:4] Dial("Local/ext-45@mdc_localdevice-19-000002a5;2", "Local/s@mdc_extphone-1,999") in new stack
-- Called Local/s@mdc_extphone-1
-- Nobody picked up in 20000 ms
-- Executing [ext-6@mdc_localdevice-19:3] Verbose("Local/ext-6@mdc_localdevice-19-000002a7;2", "1,mdc_localdevice-Dialstatus: NOANSWER - cause: 0") in new stack
mdc_localdevice-Dialstatus: NOANSWER - cause: 0
-- Executing [ext-6@mdc_localdevice-19:4] Gosub("Local/ext-6@mdc_localdevice-19-000002a7;2", "sub_hangup,s,1(NOANSWER)") in new stack
-- Executing [s@sub_hangup:1] Verbose("Local/ext-6@mdc_localdevice-19-000002a7;2", "1,sub_hangup dialstatus: NOANSWER") in new stack
sub_hangup dialstatus: NOANSWER
-- Executing [s@sub_hangup:2] GotoIf("Local/ext-6@mdc_localdevice-19-000002a7;2", "1?noanswer,1") in new stack
-- Goto (sub_hangup,noanswer,1)
-- Executing [noanswer@sub_hangup:1] Hangup("Local/ext-6@mdc_localdevice-19-000002a7;2", "19") in new stack
== Spawn extension (sub_hangup, noanswer, 1) exited non-zero on 'Local/ext-6@mdc_localdevice-19-000002a7;2'
-- Executing [s@mdc_extphone-1:1] Dial("Local/s@mdc_extphone-1-000002a8;2", "Local/00015155113659@mdc_outgoing") in new stack
[Jun 2 15:01:06] NOTICE[37928][C-00000230]: chan_local.c:968 local_call: No such extension/context 00015155113659@mdc_outgoing while calling Local channel
-- Couldn't call Local/00015155113659@mdc_outgoing
== Everyone is busy/congested at this time (0:0/0/0)
-- Executing [s@mdc_extphone-1:2] NoOp("Local/s@mdc_extphone-1-000002a8;2", "Dialstatus: CHANUNAVAIL") in new stack
-- Auto fallthrough, channel 'Local/s@mdc_extphone-1-000002a8;2' status is 'CHANUNAVAIL'
-- Local/s@mdc_extphone-1-000002a8;1 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [ext-45@mdc_localdevice-19:5] Verbose("Local/ext-45@mdc_localdevice-19-000002a5;2", "1,mdc_localdevice-Dialstatus: CONGESTION - cause: 0") in new stack
mdc_localdevice-Dialstatus: CONGESTION - cause: 0
-- Executing [ext-45@mdc_localdevice-19:6] Gosub("Local/ext-45@mdc_localdevice-19-000002a5;2", "sub_hangup,s,1(CONGESTION)") in new stack
-- Executing [s@sub_hangup:1] Verbose("Local/ext-45@mdc_localdevice-19-000002a5;2", "1,sub_hangup dialstatus: CONGESTION") in new stack
sub_hangup dialstatus: CONGESTION
-- Executing [s@sub_hangup:2] GotoIf("Local/ext-45@mdc_localdevice-19-000002a5;2", "0?noanswer,1") in new stack
-- Executing [s@sub_hangup:3] GotoIf("Local/ext-45@mdc_localdevice-19-000002a5;2", "0?busy,1") in new stack
-- Executing [s@sub_hangup:4] GotoIf("Local/ext-45@mdc_localdevice-19-000002a5;2", "1?busy,1") in new stack
-- Goto (sub_hangup,busy,1)
-- Executing [busy@sub_hangup:1] Hangup("Local/ext-45@mdc_localdevice-19-000002a5;2", "17") in new stack
== Spawn extension (sub_hangup, busy, 1) exited non-zero on 'Local/ext-45@mdc_localdevice-19-000002a5;2'
-- Executing [h@mdc_extphone-1:1] Gosub("Local/s@mdc_extphone-1-000002a8;2", "def_hangup,s,1(,CHANUNAVAIL,,CALL)") in new stack
-- Executing [s@def_hangup:1] NoOp("Local/s@mdc_extphone-1-000002a8;2", ">>>def_hangup:: EXTEN: DIALSTATUS: CHANUNAVAIL QUEUESTATUS: REASON: CALL") in new stack
-- No one is available to answer at this time (3:1/0/1)
-- Executing [ext@mdc_locallocation-19:5] Verbose("Local/ext@mdc_locallocation-19-000002a4;2", "1,mdc_locallocation-Dialstatus: NOANSWER - cause: 17") in new stack
mdc_locallocation-Dialstatus: NOANSWER - cause: 17
-- Executing [ext@mdc_locallocation-19:6] ExecIf("Local/ext@mdc_locallocation-19-000002a4;2", "1?HangUp(19)") in new stack
== Spawn extension (mdc_locallocation-19, ext, 6) exited non-zero on 'Local/ext@mdc_locallocation-19-000002a4;2'
-- No one is available to answer at this time (1:0/0/0)
-- Executing [static@mdc_diallocation:2] Verbose("Local/27@mdc_diallocation-000002a3;2", "1,mdc_diallocationDialstatus: NOANSWER - cause: 19") in new stack
mdc_diallocationDialstatus: NOANSWER - cause: 19
-- Executing [static@mdc_diallocation:3] ExecIf("Local/27@mdc_diallocation-000002a3;2", "1?HangUp(19)") in new stack
== Spawn extension (mdc_diallocation, static, 3) exited non-zero on 'Local/27@mdc_diallocation-000002a3;2'
-- No one is available to answer at this time (1:0/0/0)
-- Executing [ext@sub_main-27:4] Verbose("SIP/mdc_trunk_conf-1-00000442", "1,sub_main-Dialstatus: NOANSWER") in new stack
sub_main-Dialstatus: NOANSWER
-- Executing [ext@sub_main-27:5] Return("SIP/mdc_trunk_conf-1-00000442", "") in new stack
-- Executing [27-dial@mdc_ident-20:6] Gosub("SIP/mdc_trunk_conf-1-00000442", "sub_suffix-27,ext,1") in new stack
-- Executing [ext@sub_suffix-27:1] GotoIf("SIP/mdc_trunk_conf-1-00000442", "1?back") in new stack
-- Goto (sub_suffix-27,ext,4)
-- Executing [ext@sub_suffix-27:4] Return("SIP/mdc_trunk_conf-1-00000442", "") in new stack
-- Executing [27-dial@mdc_ident-20:7] ExecIf("SIP/mdc_trunk_conf-1-00000442", "0?HangUp(21)") in new stack
-- Executing [27-dial@mdc_ident-20:8] ExecIf("SIP/mdc_trunk_conf-1-00000442", "1?HangUp(19)") in new stack
== Spawn extension (mdc_ident-20, 27-dial, 8) exited non-zero on 'SIP/mdc_trunk_conf-1-00000442'
Dann habe ich Testweise die Handy Nummer 4915155113659 geändert.
und es hat einmal Funktioniert = erster Anruf nach 20 sec. wurde auf das Handy weitergeleitet, dann die Rufumleitung aktiviert, Test, sofort umgeleitet, ok
jetzt die Rufumleitung wieder deaktiviert, dann Test, dann nach 20 sec. keine Weiterleitung.
Schade.
-- Local/ext-45@mdc_localdevice-19-000002c8;1 is ringing
-- Local/ext@mdc_locallocation-19-000002c7;1 is ringing
-- Local/27@mdc_diallocation-000002c6;1 is ringing
-- SIP/LgRTLdjXV71d13a-0000046b is ringing
-- Local/ext-6@mdc_localdevice-19-000002ca;1 is ringing
-- SIP/LgRTLdjXV71d13a-0000046b is ringing
-- SIP/LgRTLdjXV71d13a-0000046b is ringing
-- SIP/LgRTLdjXV71d13a-0000046b is ringing
-- SIP/LgRTLdjXV71d13a-0000046b is ringing
-- SIP/LgRTLdjXV71d13a-0000046b is ringing
-- Executing [ext-45@mdc_localdevice-19:4] Dial("Local/ext-45@mdc_localdevice-19-000002c8;2", "Local/s@mdc_extphone-1,999") in new stack
-- Called Local/s@mdc_extphone-1
-- Nobody picked up in 20000 ms
-- Executing [ext-6@mdc_localdevice-19:3] Verbose("Local/ext-6@mdc_localdevice-19-000002ca;2", "1,mdc_localdevice-Dialstatus: NOANSWER - cause: 0") in new stack
mdc_localdevice-Dialstatus: NOANSWER - cause: 0
-- Executing [ext-6@mdc_localdevice-19:4] Gosub("Local/ext-6@mdc_localdevice-19-000002ca;2", "sub_hangup,s,1(NOANSWER)") in new stack
-- Executing [s@sub_hangup:1] Verbose("Local/ext-6@mdc_localdevice-19-000002ca;2", "1,sub_hangup dialstatus: NOANSWER") in new stack
sub_hangup dialstatus: NOANSWER
-- Executing [s@sub_hangup:2] GotoIf("Local/ext-6@mdc_localdevice-19-000002ca;2", "1?noanswer,1") in new stack
-- Goto (sub_hangup,noanswer,1)
-- Executing [noanswer@sub_hangup:1] Hangup("Local/ext-6@mdc_localdevice-19-000002ca;2", "19") in new stack
== Spawn extension (sub_hangup, noanswer, 1) exited non-zero on 'Local/ext-6@mdc_localdevice-19-000002ca;2'
-- Executing [s@mdc_extphone-1:1] Dial("Local/s@mdc_extphone-1-000002cb;2", "Local/04915155113659@mdc_outgoing") in new stack
[Jun 2 15:35:42] NOTICE[41338][C-00000246]: chan_local.c:968 local_call: No such extension/context 04915155113659@mdc_outgoing while calling Local channel
-- Couldn't call Local/04915155113659@mdc_outgoing
== Everyone is busy/congested at this time (0:0/0/0)
-- Executing [s@mdc_extphone-1:2] NoOp("Local/s@mdc_extphone-1-000002cb;2", "Dialstatus: CHANUNAVAIL") in new stack
-- Auto fallthrough, channel 'Local/s@mdc_extphone-1-000002cb;2' status is 'CHANUNAVAIL'
-- Local/s@mdc_extphone-1-000002cb;1 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [ext-45@mdc_localdevice-19:5] Verbose("Local/ext-45@mdc_localdevice-19-000002c8;2", "1,mdc_localdevice-Dialstatus: CONGESTION - cause: 0") in new stack
mdc_localdevice-Dialstatus: CONGESTION - cause: 0
-- Executing [ext-45@mdc_localdevice-19:6] Gosub("Local/ext-45@mdc_localdevice-19-000002c8;2", "sub_hangup,s,1(CONGESTION)") in new stack
-- Executing [s@sub_hangup:1] Verbose("Local/ext-45@mdc_localdevice-19-000002c8;2", "1,sub_hangup dialstatus: CONGESTION") in new stack
sub_hangup dialstatus: CONGESTION
-- Executing [s@sub_hangup:2] GotoIf("Local/ext-45@mdc_localdevice-19-000002c8;2", "0?noanswer,1") in new stack
-- Executing [s@sub_hangup:3] GotoIf("Local/ext-45@mdc_localdevice-19-000002c8;2", "0?busy,1") in new stack
-- Executing [s@sub_hangup:4] GotoIf("Local/ext-45@mdc_localdevice-19-000002c8;2", "1?busy,1") in new stack
-- Goto (sub_hangup,busy,1)
-- Executing [busy@sub_hangup:1] Hangup("Local/ext-45@mdc_localdevice-19-000002c8;2", "17") in new stack
== Spawn extension (sub_hangup, busy, 1) exited non-zero on 'Local/ext-45@mdc_localdevice-19-000002c8;2'
-- Executing [h@mdc_extphone-1:1] Gosub("Local/s@mdc_extphone-1-000002cb;2", "def_hangup,s,1(,CHANUNAVAIL,,CALL)") in new stack
-- Executing [s@def_hangup:1] NoOp("Local/s@mdc_extphone-1-000002cb;2", ">>>def_hangup:: EXTEN: DIALSTATUS: CHANUNAVAIL QUEUESTATUS: REASON: CALL") in new stack
-- No one is available to answer at this time (3:1/0/1)
-- Executing [ext@mdc_locallocation-19:5] Verbose("Local/ext@mdc_locallocation-19-000002c7;2", "1,mdc_locallocation-Dialstatus: NOANSWER - cause: 17") in new stack
mdc_locallocation-Dialstatus: NOANSWER - cause: 17
-- Executing [ext@mdc_locallocation-19:6] ExecIf("Local/ext@mdc_locallocation-19-000002c7;2", "1?HangUp(19)") in new stack
== Spawn extension (mdc_locallocation-19, ext, 6) exited non-zero on 'Local/ext@mdc_locallocation-19-000002c7;2'
-- No one is available to answer at this time (1:0/0/0)
-- Executing [static@mdc_diallocation:2] Verbose("Local/27@mdc_diallocation-000002c6;2", "1,mdc_diallocationDialstatus: NOANSWER - cause: 19") in new stack
mdc_diallocationDialstatus: NOANSWER - cause: 19
-- Executing [static@mdc_diallocation:3] ExecIf("Local/27@mdc_diallocation-000002c6;2", "1?HangUp(19)") in new stack
== Spawn extension (mdc_diallocation, static, 3) exited non-zero on 'Local/27@mdc_diallocation-000002c6;2'
-- No one is available to answer at this time (1:0/0/0)
-- Executing [ext@sub_main-27:4] Verbose("SIP/mdc_trunk_conf-1-0000046a", "1,sub_main-Dialstatus: NOANSWER") in new stack
sub_main-Dialstatus: NOANSWER
-- Executing [ext@sub_main-27:5] Return("SIP/mdc_trunk_conf-1-0000046a", "") in new stack
-- Executing [27-dial@mdc_ident-20:6] Gosub("SIP/mdc_trunk_conf-1-0000046a", "sub_suffix-27,ext,1") in new stack
-- Executing [ext@sub_suffix-27:1] GotoIf("SIP/mdc_trunk_conf-1-0000046a", "1?back") in new stack
-- Goto (sub_suffix-27,ext,4)
-- Executing [ext@sub_suffix-27:4] Return("SIP/mdc_trunk_conf-1-0000046a", "") in new stack
-- Executing [27-dial@mdc_ident-20:7] ExecIf("SIP/mdc_trunk_conf-1-0000046a", "0?HangUp(21)") in new stack
-- Executing [27-dial@mdc_ident-20:8] ExecIf("SIP/mdc_trunk_conf-1-0000046a", "1?HangUp(19)") in new stack
== Spawn extension (mdc_ident-20, 27-dial, 8) exited non-zero on 'SIP/mdc_trunk_conf-1-0000046a'
Was könnte ich jetzt noch Testen ??