Если в настройках очереди указать в “Маршрутизация звонков при сбоях” перевод звонка на конкретного пользователя, то если в очереди звонок никто не принял, он уходит на пользователя(у него включены все переадресации). Вызов завершается с DialFail,REASON:NO_CONTACTS
VERBOSE[21110][C-000015e4] pbx.c: Executing [h@internal-users:1] ExecIf("Local/76245@internal-000066c1;2", "0?Goto(transfer_dial_hangup,h,1)") in new stack
VERBOSE[21110][C-000015e4] app_stack.c: Local/76245@internal-000066c1;2 Internal Gosub(hangup_handler,s,1) start
VERBOSE[21110][C-000015e4] pbx.c: Executing [s@hangup_handler:1] NoOp("Local/76245@internal-000066c1;2", "--- hangup - Local/76245@internal-000066c1;2 ---") in new stack
VERBOSE[21110][C-000015e4] pbx.c: Executing [s@hangup_handler:2] Gosub("Local/76245@internal-000066c1;2", "hangup_chan,s,1") in new stack
...
VERBOSE[21110][C-000015e4] pbx_lua.c: Executing [s@hangup_chan:1] return("Local/76245@internal-000066c1;2", "")
VERBOSE[21110][C-000015e4] pbx.c: Executing [s@hangup_handler:3] Return("Local/76245@internal-000066c1;2", "") in new stack
VERBOSE[21110][C-000015e4] app_stack.c: Spawn extension (internal-users, h, 2) exited non-zero on 'Local/76245@internal-000066c1;2'
VERBOSE[21110][C-000015e4] app_stack.c: Local/76245@internal-000066c1;2 Internal Gosub(hangup_handler,s,1) complete GOSUB_RETVAL=
VERBOSE[21105][C-000015e4] pbx.c: Executing [s@set_orign_chan:2] Set("Local/2200132@internal-000066bf;2", "pl=1") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [s@set_orign_chan:3] Set("Local/2200132@internal-000066bf;2", "orign_chan=Local/22001@internal-000066be;2") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [s@set_orign_chan:4] ExecIf("Local/2200132@internal-000066bf;2", "0?Set(orign_chan=)") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [s@set_orign_chan:5] ExecIf("Local/2200132@internal-000066bf;2", "0?Set(orign_chan=PJSIP/SIP-TRUNK-578CB6F0-00005b3b)") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [s@set_orign_chan:6] ExecIf("Local/2200132@internal-000066bf;2", "1?Set(__QUEUE_SRC_CHAN=Local/22001@internal-000066be;2)") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [s@set_orign_chan:7] ExecIf("Local/2200132@internal-000066bf;2", "1?Set(__QUEUE_SRC_CHAN=PJSIP/SIP-TRUNK-578CB6F0-00005b3b)") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [s@set_orign_chan:8] ExecIf("Local/2200132@internal-000066bf;2", "0?Set(__FROM_CHAN=Local/22001@internal-000066be;2)") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [s@set_orign_chan:9] Return("Local/2200132@internal-000066bf;2", "") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:4] Gosub("Local/2200132@internal-000066bf;2", "dial,99132,1") in new stack
...
VERBOSE[21105][C-000015e4] pbx_lua.c: Executing [99132@dial:1] return("Local/2200132@internal-000066bf;2", "")
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:5] ExecIf("Local/2200132@internal-000066bf;2", "0?Goto(internal-num-undefined,99132,1)") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:6] ExecIf("Local/2200132@internal-000066bf;2", "0?Set(IS_BUSY=1)") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:7] ExecIf("Local/2200132@internal-000066bf;2", "0?Set(DIALSTATUS=BUSY)") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:8] GotoIf("Local/2200132@internal-000066bf;2", "0?fw_start") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:9] Set("Local/2200132@internal-000066bf;2", "ringlength=3") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:10] ExecIf("Local/2200132@internal-000066bf;2", "0?Set(ringlength=600)") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:11] ExecIf("Local/2200132@internal-000066bf;2", "1?Set(ringlength=600)") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:12] GosubIf("Local/2200132@internal-000066bf;2", "0?internal-users-custom,99132,1") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:13] Gosub("Local/2200132@internal-000066bf;2", "set-dial-contacts,99132,1") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@set-dial-contacts:1] NoOp("Local/2200132@internal-000066bf;2", "") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@set-dial-contacts:2] Set("Local/2200132@internal-000066bf;2", "DST_CONTACT=") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@set-dial-contacts:3] Return("Local/2200132@internal-000066bf;2", "") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:14] ExecIf("Local/2200132@internal-000066bf;2", "1?Set(__PT1C_SIP_HEADER=)") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:15] ExecIf("Local/2200132@internal-000066bf;2", "0?Set(TRANSFER_OPTIONS=Tt)") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:16] ExecIf("Local/2200132@internal-000066bf;2", "0?Dial(,600,tekKHhU(dial_answer)b(dial_create_chan,s,1)):Set(DIALSTATUS=CHANUNAVAIL)") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:17] ExecIf("Local/2200132@internal-000066bf;2", "1?Gosub(dial_end,99132,1)") in new stack
VERBOSE[21105][C-000015e4] pbx_lua.c: Executing [99132@dial_end:1] UserEvent("Local/2200132@internal-000066bf;2", "DialFail,REASON:NO_CONTACTS")
...
VERBOSE[21105][C-000015e4] pbx_lua.c: Executing [99132@dial_end:1] return("Local/2200132@internal-000066bf;2", "")
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:18] NoOp("Local/2200132@internal-000066bf;2", "") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:19] ExecIf("Local/2200132@internal-000066bf;2", "0?Set(FW_DISABLE=1)") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:20] ExecIf("Local/2200132@internal-000066bf;2", "0?Set(FW_DISABLE=1)") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:21] ExecIf("Local/2200132@internal-000066bf;2", "0?Goto(99132,fw_end)") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:22] ExecIf("Local/2200132@internal-000066bf;2", "0?Goto(99132,fw_end)") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:23] ExecIf("Local/2200132@internal-000066bf;2", "0?Goto(internal-fw,99132,1)") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:24] ExecIf("Local/2200132@internal-000066bf;2", "0?Goto(internal-fw,99132,1)") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:25] ExecIf("Local/2200132@internal-000066bf;2", "0?AGI(check_redirect.php,)") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [99132@internal-users:26] Hangup("Local/2200132@internal-000066bf;2", "") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Spawn extension (internal-users, 99132, 26) exited non-zero on 'Local/2200132@internal-000066bf;2'
VERBOSE[21105][C-000015e4] pbx.c: Executing [h@internal-users:1] ExecIf("Local/2200132@internal-000066bf;2", "0?Goto(transfer_dial_hangup,h,1)") in new stack
VERBOSE[21105][C-000015e4] app_stack.c: Local/2200132@internal-000066bf;2 Internal Gosub(hangup_handler,s,1) start
VERBOSE[21105][C-000015e4] pbx.c: Executing [s@hangup_handler:1] NoOp("Local/2200132@internal-000066bf;2", "--- hangup - Local/2200132@internal-000066bf;2 ---") in new stack
VERBOSE[21105][C-000015e4] pbx.c: Executing [s@hangup_handler:2] Gosub("Local/2200132@internal-000066bf;2", "hangup_chan,s,1") in new stack
...
VERBOSE[21105][C-000015e4] pbx_lua.c: Executing [s@hangup_chan:1] return("Local/2200132@internal-000066bf;2", "")
VERBOSE[21105][C-000015e4] pbx.c: Executing [s@hangup_handler:3] Return("Local/2200132@internal-000066bf;2", "") in new stack
VERBOSE[21105][C-000015e4] app_stack.c: Spawn extension (internal-users, h, 2) exited non-zero on 'Local/2200132@internal-000066bf;2'
VERBOSE[21105][C-000015e4] app_stack.c: Local/2200132@internal-000066bf;2 Internal Gosub(hangup_handler,s,1) complete GOSUB_RETVAL=
VERBOSE[21106][C-000015e4] bridge_channel.c: Channel Local/2200132@internal-000066bf;1 left 'simple_bridge' basic-bridge <1a193338-6fa0-45a9-8b46-f83a68fe76af>
VERBOSE[20965][C-000015e4] bridge_channel.c: Channel Local/22001@internal-000066be;2 left 'simple_bridge' basic-bridge <1a193338-6fa0-45a9-8b46-f83a68fe76af>
VERBOSE[20965][C-000015e4] pbx.c: Auto fallthrough, channel 'Local/22001@internal-000066be;2' status is 'ANSWER'
VERBOSE[20965][C-000015e4] pbx.c: Executing [h@cr-interception-apk:1] Hangup("Local/22001@internal-000066be;2", "") in new stack
VERBOSE[20965][C-000015e4] pbx.c: Spawn extension (cr-interception-apk, h, 1) exited non-zero on 'Local/22001@internal-000066be;2'
VERBOSE[20968][C-000015e4] bridge_channel.c: Channel Local/22001@internal-000066be;1 left 'simple_bridge' basic-bridge <88de1e5b-abf9-42b0-b5dd-4639b8a2ee4a>
VERBOSE[20866][C-000015e4] bridge_channel.c: Channel PJSIP/SIP-TRUNK-578CB6F0-00005b3b left 'simple_bridge' basic-bridge <88de1e5b-abf9-42b0-b5dd-4639b8a2ee4a>
VERBOSE[20866][C-000015e4] pbx.c: Executing [800IP_10040323_line001@SIP-TRUNK-578CB6F0-incoming:22] GosubIf("PJSIP/SIP-TRUNK-578CB6F0-00005b3b", "0?SIP-TRUNK-578CB6F0-incoming-after-dial-custom,800IP_10040323_line001,1") in new stack
VERBOSE[20866][C-000015e4] pbx.c: Executing [800IP_10040323_line001@SIP-TRUNK-578CB6F0-incoming:23] ExecIf("PJSIP/SIP-TRUNK-578CB6F0-00005b3b", "0?Busy(2)") in new stack
VERBOSE[20866][C-000015e4] pbx.c: Executing [800IP_10040323_line001@SIP-TRUNK-578CB6F0-incoming:24] Hangup("PJSIP/SIP-TRUNK-578CB6F0-00005b3b", "") in new stack
VERBOSE[20866][C-000015e4] pbx.c: Spawn extension (SIP-TRUNK-578CB6F0-incoming, 800IP_10040323_line001, 24) exited non-zero on 'PJSIP/SIP-TRUNK-578CB6F0-00005b3b'
VERBOSE[20866][C-000015e4] app_stack.c: PJSIP/SIP-TRUNK-578CB6F0-00005b3b Internal Gosub(hangup_handler,s,1) start
VERBOSE[20866][C-000015e4] pbx.c: Executing [s@hangup_handler:1] NoOp("PJSIP/SIP-TRUNK-578CB6F0-00005b3b", "--- hangup - PJSIP/SIP-TRUNK-578CB6F0-00005b3b ---") in new stack
VERBOSE[20866][C-000015e4] pbx.c: Executing [s@hangup_handler:2] Gosub("PJSIP/SIP-TRUNK-578CB6F0-00005b3b", "hangup_chan,s,1") in new stack
VERBOSE[21095][C-000015e4] app_mixmonitor.c: MixMonitor close filestream (mixed)
VERBOSE[21095][C-000015e4] app_mixmonitor.c: End MixMonitor Recording Local/22001@internal-000066be;2
...
VERBOSE[20866][C-000015e4] pbx_lua.c: Executing [s@hangup_chan:1] return("PJSIP/SIP-TRUNK-578CB6F0-00005b3b", "")
VERBOSE[20866][C-000015e4] pbx.c: Executing [s@hangup_handler:3] Return("PJSIP/SIP-TRUNK-578CB6F0-00005b3b", "") in new stack
VERBOSE[20866][C-000015e4] app_stack.c: Spawn extension (SIP-TRUNK-578CB6F0-incoming, 800IP_10040323_line001, 24) exited non-zero on 'PJSIP/SIP-TRUNK-578CB6F0-00005b3b'
VERBOSE[20866][C-000015e4] app_stack.c: PJSIP/SIP-TRUNK-578CB6F0-00005b3b Internal Gosub(hangup_handler,s,1) complete GOSUB_RETVAL=