Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

followme из dongle через queue не работает

0

в обще такая ситуация. подключен SIP транк, звонки работают в обе стороны. и есть несколько донглов которые занимаются только входящими звонками. настроил * так: входящий с донгла попадает в IVR, затем в очередь и там при не ответе должен уйти на мобильный через followme

вся схема рабоатет, кроме последнего пункта. Когда входящий звонок приходит на донгл, послушав IVR юзер попадает в очередь и дальше звонок никуда не уходит, потому что:

-- Got SIP response 603 "Subscriber account disabled" back from XXX.187.224.6:5060
-- SIP/ertel-000000b0 is busy

хотя транк ertel не занят и работает исправно. Например пока в логах сыпется эта строчка я могу свободно позвонить через этот транк.

Если позвонить в очередь с внутреннего экстеншена то звонок успешно уходит через транк ertel на внешний номер.

не могу разобраться почему при звонке именно с внешнего номера, звонок неуходит по followme на другой внешний номер.

(внешний номер в followme указан с # на конце.)

помогите разобраться. полный лог звонка из dongle ниже. ertel транк через который нужно делать исход звонок номер xxx8844 - входящий dongle номер xxx2087 - followme

    -- Executing [+7XXXXXX8844@from-trunk:1] Set("Dongle/dongle0-0100000009", "__FROM_DID=+7XXXXXX8844") in new stack
    -- Executing [+7XXXXXX8844@from-trunk:2] Set("Dongle/dongle0-0100000009", "CHANNEL(language)=ru") in new stack
    -- Executing [+7XXXXXX8844@from-trunk:3] Set("Dongle/dongle0-0100000009", "CDR(did)=+7XXXXXX8844") in new stack
    -- Executing [+7XXXXXX8844@from-trunk:4] ExecIf("Dongle/dongle0-0100000009", "0 ?Set(CALLERID(name)=+7XXXXXX2332)") in new stack
    -- Executing [+7XXXXXX8844@from-trunk:5] Wait("Dongle/dongle0-0100000009", "3") in new stack
    -- Executing [+7XXXXXX8844@from-trunk:6] Set("Dongle/dongle0-0100000009", "__CALLINGPRES_SV=allowed_not_screened") in new stack
    -- Executing [+7XXXXXX8844@from-trunk:7] Set("Dongle/dongle0-0100000009", "CALLERPRES()=allowed_not_screened") in new stack
    -- Executing [+7XXXXXX8844@from-trunk:8] Goto("Dongle/dongle0-0100000009", "timeconditions,1,1") in new stack
    -- Goto (timeconditions,1,1)
    -- Executing [1@timeconditions:1] GotoIfTime("Dongle/dongle0-0100000009", "09:00-18:00,mon-fri,*,*?truestate") in new stack
    -- Goto (timeconditions,1,7)
    -- Executing [1@timeconditions:7] GotoIf("Dongle/dongle0-0100000009", "0?falsegoto") in new stack
    -- Executing [1@timeconditions:8] ExecIf("Dongle/dongle0-0100000009", "0?Set(DB(TC/1)=)") in new stack
    -- Executing [1@timeconditions:9] GotoIf("Dongle/dongle0-0100000009", "1?ivr-2,s,1") in new stack
    -- Goto (ivr-2,s,1)
    -- Executing [s@ivr-2:1] Set("Dongle/dongle0-0100000009", "_IVR_CONTEXT_ivr-2=") in new stack
    -- Executing [s@ivr-2:2] Set("Dongle/dongle0-0100000009", "_IVR_CONTEXT=ivr-2") in new stack
    -- Executing [s@ivr-2:3] Set("Dongle/dongle0-0100000009", "__IVR_RETVM=") in new stack
    -- Executing [s@ivr-2:4] GotoIf("Dongle/dongle0-0100000009", "0?skip") in new stack
    -- Executing [s@ivr-2:5] Answer("Dongle/dongle0-0100000009", "") in new stack
    -- Executing [s@ivr-2:6] Wait("Dongle/dongle0-0100000009", "1") in new stack
    -- Executing [s@ivr-2:7] Set("Dongle/dongle0-0100000009", "IVR_MSG=custom/vas_privetstvuet&custom/vash_zvonok_vazhen_dly_nas&custom/ostavaytes_na_linii_mi_otvetim_vam_v_blizhayshee_vremya&custom/podrobnaya_informatsia_na_saite&custom/faks_nazhmite_devyat") in new stack
    -- Executing [s@ivr-2:8] Set("Dongle/dongle0-0100000009", "TIMEOUT(digit)=3") in new stack
    -- Digit timeout set to 3.000
    -- Executing [s@ivr-2:9] ExecIf("Dongle/dongle0-0100000009", "1?Background(custom/vas_privetstvuet&custom/vash_zvonok_vazhen_dly_nas&custom/ostavaytes_na_linii_mi_otvetim_vam_v_blizhayshee_vremya&custom/podrobnaya_informatsia_na_saite&custom/faks_nazhmite_devyat)") in new stack
[2014-04-23 09:02:47] DEBUG[35636][C-00000058]: format_wav.c:189 check_header: Skipping unknown block 'scot'
    -- <Dongle/dongle0-0100000009> Playing 'custom/vas_privetstvuet.slin' (language 'ru')
[2014-04-23 09:02:49] DEBUG[35636][C-00000058]: format_wav.c:189 check_header: Skipping unknown block 'scot'
    -- <Dongle/dongle0-0100000009> Playing 'custom/vash_zvonok_vazhen_dly_nas.slin' (language 'ru')
[2014-04-23 09:02:51] DEBUG[35636][C-00000058]: format_wav.c:189 check_header: Skipping unknown block 'scot'
    -- <Dongle/dongle0-0100000009> Playing 'custom/ostavaytes_na_linii_mi_otvetim_vam_v_blizhayshee_vremya.slin' (language 'ru')
[2014-04-23 09:02:55] DEBUG[35636][C-00000058]: format_wav.c:189 check_header: Skipping unknown block 'scot'
    -- <Dongle/dongle0-0100000009> Playing 'custom/podrobnaya_informatsia_na_saite.slin' (language 'ru')
[2014-04-23 09:03:02] DEBUG[35636][C-00000058]: format_wav.c:189 check_header: Skipping unknown block 'scot'
    -- <Dongle/dongle0-0100000009> Playing 'custom/faks_nazhmite_devyat.slin' (language 'ru')
    -- Executing [s@ivr-2:10] WaitExten("Dongle/dongle0-0100000009", "3,") in new stack
    -- Timeout on Dongle/dongle0-0100000009, going to 't'
    -- Executing [t@ivr-2:1] Goto("Dongle/dongle0-0100000009", "ext-queues,1520,1") in new stack
    -- Goto (ext-queues,1520,1)
    -- Executing [1520@ext-queues:1] Macro("Dongle/dongle0-0100000009", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("Dongle/dongle0-0100000009", "TOUCH_MONITOR=1398229362.1043") in new stack
    -- Executing [s@macro-user-callerid:2] Set("Dongle/dongle0-0100000009", "AMPUSER=+7XXXXXX2332") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("Dongle/dongle0-0100000009", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("Dongle/dongle0-0100000009", "1?Set(REALCALLERIDNUM=+7XXXXXX2332)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("Dongle/dongle0-0100000009", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:6] Set("Dongle/dongle0-0100000009", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:7] GotoIf("Dongle/dongle0-0100000009", "1?report") in new stack
    -- Goto (macro-user-callerid,s,14)
    -- Executing [s@macro-user-callerid:14] GotoIf("Dongle/dongle0-0100000009", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:15] Set("Dongle/dongle0-0100000009", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:16] GotoIf("Dongle/dongle0-0100000009", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,27)
    -- Executing [s@macro-user-callerid:27] Set("Dongle/dongle0-0100000009", "CALLERID(number)=+7XXXXXX2332") in new stack
    -- Executing [s@macro-user-callerid:28] Set("Dongle/dongle0-0100000009", "CALLERID(name)=dongle0") in new stack
    -- Executing [s@macro-user-callerid:29] Set("Dongle/dongle0-0100000009", "CDR(cnum)=+7XXXXXX2332") in new stack
    -- Executing [s@macro-user-callerid:30] Set("Dongle/dongle0-0100000009", "CDR(cnam)=dongle0") in new stack
    -- Executing [s@macro-user-callerid:31] Set("Dongle/dongle0-0100000009", "CHANNEL(language)=ru") in new stack
    -- Executing [1520@ext-queues:2] Answer("Dongle/dongle0-0100000009", "") in new stack
    -- Executing [1520@ext-queues:3] Macro("Dongle/dongle0-0100000009", "blkvm-set,reset") in new stack
    -- Executing [s@macro-blkvm-set:1] ExecIf("Dongle/dongle0-0100000009", "1?Set(__BLKVM_CHANNEL=Dongle/dongle0-0100000009)") in new stack
    -- Executing [s@macro-blkvm-set:2] Set("Dongle/dongle0-0100000009", "SHARED(BLKVM,Dongle/dongle0-0100000009)=TRUE") in new stack
    -- Executing [s@macro-blkvm-set:3] Set("Dongle/dongle0-0100000009", "GOSUB_RETVAL=TRUE") in new stack
    -- Executing [s@macro-blkvm-set:4] MacroExit("Dongle/dongle0-0100000009", "") in new stack
    -- Executing [1520@ext-queues:4] ExecIf("Dongle/dongle0-0100000009", "1?Set(_DIAL_OPTIONS=TtrM(auto-blkvm))") in new stack
    -- Executing [1520@ext-queues:5] Set("Dongle/dongle0-0100000009", "__NODEST=1520") in new stack
    -- Executing [1520@ext-queues:6] Set("Dongle/dongle0-0100000009", "QCIDPP=") in new stack
    -- Executing [1520@ext-queues:7] ExecIf("Dongle/dongle0-0100000009", "0?Macro(prepend-cid, )") in new stack
    -- Executing [1520@ext-queues:8] Set("Dongle/dongle0-0100000009", "QAINFO=") in new stack
    -- Executing [1520@ext-queues:9] ExecIf("Dongle/dongle0-0100000009", "0?Set(__ALERT_INFO=)") in new stack
    -- Executing [1520@ext-queues:10] Set("Dongle/dongle0-0100000009", "QJOINMSG=custom/ostavaytes_na_linii_mi_otvetim_vam_v_blizhayshee_vremya") in new stack
    -- Executing [1520@ext-queues:11] Set("Dongle/dongle0-0100000009", "QMOH=ivr_start") in new stack
    -- Executing [1520@ext-queues:12] ExecIf("Dongle/dongle0-0100000009", "1?Set(__MOHCLASS=ivr_start)") in new stack
    -- Executing [1520@ext-queues:13] Set("Dongle/dongle0-0100000009", "QRETRY=") in new stack
    -- Executing [1520@ext-queues:14] Set("Dongle/dongle0-0100000009", "QOPTIONS=t") in new stack
    -- Executing [1520@ext-queues:15] Set("Dongle/dongle0-0100000009", "QAGI=") in new stack
    -- Executing [1520@ext-queues:16] Set("Dongle/dongle0-0100000009", "QRULE=") in new stack
    -- Executing [1520@ext-queues:17] Set("Dongle/dongle0-0100000009", "QPOSITION=") in new stack
    -- Executing [1520@ext-queues:18] Set("Dongle/dongle0-0100000009", "__MIXMON_FORMAT=wav") in new stack
    -- Executing [1520@ext-queues:19] Gosub("Dongle/dongle0-0100000009", "sub-record-check,s,1(q,1520,always)") in new stack
    -- Executing [s@sub-record-check:1] Set("Dongle/dongle0-0100000009", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:2] GotoIf("Dongle/dongle0-0100000009", "1?check") in new stack
    -- Goto (sub-record-check,s,7)
    -- Executing [s@sub-record-check:7] Set("Dongle/dongle0-0100000009", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:8] GotoIf("Dongle/dongle0-0100000009", "1?next") in new stack
    -- Goto (sub-record-check,s,11)
    -- Executing [s@sub-record-check:11] ExecIf("Dongle/dongle0-0100000009", "0?Return()") in new stack
    -- Executing [s@sub-record-check:12] ExecIf("Dongle/dongle0-0100000009", "1?Set(__REC_POLICY_MODE=always)") in new stack
    -- Executing [s@sub-record-check:13] GotoIf("Dongle/dongle0-0100000009", "0?q,1") in new stack
    -- Executing [s@sub-record-check:14] Set("Dongle/dongle0-0100000009", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:15] Set("Dongle/dongle0-0100000009", "NOW=1398229387") in new stack
    -- Executing [s@sub-record-check:16] Set("Dongle/dongle0-0100000009", "__DAY=23") in new stack
    -- Executing [s@sub-record-check:17] Set("Dongle/dongle0-0100000009", "__MONTH=04") in new stack
    -- Executing [s@sub-record-check:18] Set("Dongle/dongle0-0100000009", "__YEAR=2014") in new stack
    -- Executing [s@sub-record-check:19] Set("Dongle/dongle0-0100000009", "__TIMESTR=20140423-090307") in new stack
    -- Executing [s@sub-record-check:20] Set("Dongle/dongle0-0100000009", "__FROMEXTEN=+7XXXXXX2332") in new stack
    -- Executing [s@sub-record-check:21] Set("Dongle/dongle0-0100000009", "__CALLFILENAME=q-1520-+7XXXXXX2332-20140423-090307-1398229362.1043") in new stack
    -- Executing [s@sub-record-check:22] Goto("Dongle/dongle0-0100000009", "q,1") in new stack
    -- Goto (sub-record-check,q,1)
    -- Executing [q@sub-record-check:1] GosubIf("Dongle/dongle0-0100000009", "1?recq,1(q,1520,+7XXXXXX2332)") in new stack
    -- Executing [recq@sub-record-check:1] Set("Dongle/dongle0-0100000009", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
    -- Executing [recq@sub-record-check:2] Set("Dongle/dongle0-0100000009", "MONITOR_FILENAME=2014/04/23/q-1520-+7XXXXXX2332-20140423-090307-1398229362.1043") in new stack
    -- Executing [recq@sub-record-check:3] MixMonitor("Dongle/dongle0-0100000009", "2014/04/23/q-1520-+7XXXXXX2332-20140423-090307-1398229362.1043.wav,,") in new stack
    -- Executing [recq@sub-record-check:4] Set("Dongle/dongle0-0100000009", "__REC_STATUS=RECORDING") in new stack
    -- Executing [recq@sub-record-check:5] Set("Dongle/dongle0-0100000009", "CDR(recordingfile)=q-1520-+7XXXXXX2332-20140423-090307-1398229362.1043.wav") in new stack
  == Begin MixMonitor Recording Dongle/dongle0-0100000009
    -- Executing [recq@sub-record-check:6] Return("Dongle/dongle0-0100000009", "") in new stack
    -- Executing [q@sub-record-check:2] Return("Dongle/dongle0-0100000009", "") in new stack
    -- Executing [1520@ext-queues:20] Set("Dongle/dongle0-0100000009", "__FORCE_CONFIRM=Dongle/dongle0-0100000009") in new stack
    -- Executing [1520@ext-queues:21] Set("Dongle/dongle0-0100000009", "SHARED(ANSWER_STATUS)=NOANSWER") in new stack
    -- Executing [1520@ext-queues:22] Set("Dongle/dongle0-0100000009", "__CALLCONFIRMCID=+7XXXXXX2332") in new stack
    -- Executing [1520@ext-queues:23] Set("Dongle/dongle0-0100000009", "__ALT_CONFIRM_MSG=custom/ostavaytes_na_linii_mi_otvetim_vam_v_blizhayshee_vremya") in new stack
    -- Executing [1520@ext-queues:24] ExecIf("Dongle/dongle0-0100000009", "1?Playback(custom/ostavaytes_na_linii_mi_otvetim_vam_v_blizhayshee_vremya, )") in new stack
[2014-04-23 09:03:07] DEBUG[35636][C-00000058]: format_wav.c:189 check_header: Skipping unknown block 'scot'
    -- <Dongle/dongle0-0100000009> Playing 'custom/ostavaytes_na_linii_mi_otvetim_vam_v_blizhayshee_vremya.slin' (language 'ru')
    -- Executing [1520@ext-queues:25] QueueLog("Dongle/dongle0-0100000009", "1520,1398229362.1043,NONE,DID,+7XXXXXX8844") in new stack
    -- Executing [1520@ext-queues:26] Set("Dongle/dongle0-0100000009", "QAANNOUNCE=") in new stack
    -- Executing [1520@ext-queues:27] Queue("Dongle/dongle0-0100000009", "1520,t,,,,,,,,") in new stack
    -- Started music on hold, class 'ivr_start', on Dongle/dongle0-0100000009
    -- Executing [1020@from-queue:1] Set("Local/1020@from-queue-000001a4;2", "QAGENT=1020") in new stack
    -- Executing [1020@from-queue:2] Goto("Local/1020@from-queue-000001a4;2", "1520,1") in new stack
    -- Goto (from-queue,1520,1)
    -- Executing [1520@from-queue:1] Goto("Local/1020@from-queue-000001a4;2", "from-internal,1020,1") in new stack
    -- Goto (from-internal,1020,1)
    -- Executing [1020@from-internal:1] GotoIf("Local/1020@from-queue-000001a4;2", "0?ext-local,1020,1") in new stack
    -- Executing [1020@from-internal:2] Macro("Local/1020@from-queue-000001a4;2", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("Local/1020@from-queue-000001a4;2", "TOUCH_MONITOR=1398229392.1045") in new stack
    -- Executing [s@macro-user-callerid:2] Set("Local/1020@from-queue-000001a4;2", "AMPUSER=+7XXXXXX2332") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("Local/1020@from-queue-000001a4;2", "1?report") in new stack
    -- Goto (macro-user-callerid,s,14)
    -- Executing [s@macro-user-callerid:14] GotoIf("Local/1020@from-queue-000001a4;2", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:15] Set("Local/1020@from-queue-000001a4;2", "__TTL=63") in new stack
    -- Executing [s@macro-user-callerid:16] GotoIf("Local/1020@from-queue-000001a4;2", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,27)
    -- Executing [s@macro-user-callerid:27] Set("Local/1020@from-queue-000001a4;2", "CALLERID(number)=+7XXXXXX2332") in new stack
    -- Executing [s@macro-user-callerid:28] Set("Local/1020@from-queue-000001a4;2", "CALLERID(name)=dongle0") in new stack
    -- Executing [s@macro-user-callerid:29] Set("Local/1020@from-queue-000001a4;2", "CDR(cnum)=+7XXXXXX2332") in new stack
    -- Executing [s@macro-user-callerid:30] Set("Local/1020@from-queue-000001a4;2", "CDR(cnam)=dongle0") in new stack
    -- Executing [s@macro-user-callerid:31] Set("Local/1020@from-queue-000001a4;2", "CHANNEL(language)=ru") in new stack
    -- Executing [1020@from-internal:3] Set("Local/1020@from-queue-000001a4;2", "DIAL_OPTIONS=TtrM(auto-blkvm)I") in new stack
    -- Executing [1020@from-internal:4] Set("Local/1020@from-queue-000001a4;2", "CONNECTEDLINE(num)=1020") in new stack
    -- Executing [1020@from-internal:5] Set("Local/1020@from-queue-000001a4;2", "CONNECTEDLINE(name,i)=Eugeny telephone") in new stack
    -- Executing [1020@from-internal:6] Set("Local/1020@from-queue-000001a4;2", "FM_DIALSTATUS=UNAVAILABLE") in new stack
    -- Executing [1020@from-internal:7] Set("Local/1020@from-queue-000001a4;2", "__EXTTOCALL=1020") in new stack
    -- Executing [1020@from-internal:8] Set("Local/1020@from-queue-000001a4;2", "__PICKUPMARK=1020") in new stack
    -- Executing [1020@from-internal:9] Macro("Local/1020@from-queue-000001a4;2", "blkvm-setifempty,") in new stack
    -- Executing [s@macro-blkvm-setifempty:1] GotoIf("Local/1020@from-queue-000001a4;2", "0?init") in new stack
    -- Executing [s@macro-blkvm-setifempty:2] Set("Local/1020@from-queue-000001a4;2", "GOSUB_RETVAL=TRUE") in new stack
    -- Executing [s@macro-blkvm-setifempty:3] MacroExit("Local/1020@from-queue-000001a4;2", "") in new stack
    -- Executing [1020@from-internal:10] GotoIf("Local/1020@from-queue-000001a4;2", "1?skipov") in new stack
    -- Goto (from-internal,1020,13)
    -- Executing [1020@from-internal:13] Set("Local/1020@from-queue-000001a4;2", "RRNODEST=1520") in new stack
    -- Executing [1020@from-internal:14] Set("Local/1020@from-queue-000001a4;2", "__NODEST=1020") in new stack
    -- Executing [1020@from-internal:15] GosubIf("Local/1020@from-queue-000001a4;2", "0?sub-fmsetcid,s,1()") in new stack
    -- Executing [1020@from-internal:16] Set("Local/1020@from-queue-000001a4;2", "RecordMethod=Group") in new stack
    -- Executing [1020@from-internal:17] Gosub("Local/1020@from-queue-000001a4;2", "sub-record-check,s,1(exten,1020,)") in new stack
    -- Executing [s@sub-record-check:1] Set("Local/1020@from-queue-000001a4;2", "REC_POLICY_MODE_SAVE=always") in new stack
    -- Executing [s@sub-record-check:2] GotoIf("Local/1020@from-queue-000001a4;2", "1?check") in new stack
    -- Goto (sub-record-check,s,7)
    -- Executing [s@sub-record-check:7] Set("Local/1020@from-queue-000001a4;2", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:8] GotoIf("Local/1020@from-queue-000001a4;2", "0?next") in new stack
    -- Executing [s@sub-record-check:9] Set("Local/1020@from-queue-000001a4;2", "CDR(recordingfile)=q-1520-+7XXXXXX2332-20140423-090307-1398229362.1043.wav") in new stack
    -- Executing [s@sub-record-check:10] Return("Local/1020@from-queue-000001a4;2", "") in new stack
    -- Executing [1020@from-internal:18] Set("Local/1020@from-queue-000001a4;2", "RingGroupMethod=ringallv2") in new stack
    -- Executing [1020@from-internal:19] Set("Local/1020@from-queue-000001a4;2", "_FMGRP=1020") in new stack
    -- Local/1020@from-queue-000001a4;1 connected line has changed. Saving it until answer for Dongle/dongle0-0100000009
    -- Executing [1020@from-internal:20] GotoIf("Local/1020@from-queue-000001a4;2", "1?doconfirm") in new stack
    -- Goto (from-internal,1020,23)
    -- Executing [1020@from-internal:23] Macro("Local/1020@from-queue-000001a4;2", "dial-confirm,60,TtrM(auto-blkvm)I,8XXXXXX2087#,1020") in new stack
    -- Executing [s@macro-dial-confirm:1] Set("Local/1020@from-queue-000001a4;2", "DB(RG/1020/Local/1020@from-queue-000001a4;2)=RINGING") in new stack
    -- Executing [s@macro-dial-confirm:2] Set("Local/1020@from-queue-000001a4;2", "__UNIQCHAN=Local/1020@from-queue-000001a4;2") in new stack
    -- Executing [s@macro-dial-confirm:3] Set("Local/1020@from-queue-000001a4;2", "USE_CONFIRMATION=TRUE") in new stack
    -- Executing [s@macro-dial-confirm:4] Set("Local/1020@from-queue-000001a4;2", "RINGGROUP_INDEX=1020") in new stack
    -- Executing [s@macro-dial-confirm:5] Set("Local/1020@from-queue-000001a4;2", "FORCE_CONFIRM=") in new stack
    -- Executing [s@macro-dial-confirm:6] Set("Local/1020@from-queue-000001a4;2", "ARG4=") in new stack
    -- Executing [s@macro-dial-confirm:7] Macro("Local/1020@from-queue-000001a4;2", "dial,60,TtrM(auto-blkvm)I,8XXXXXX2087#") in new stack
    -- Executing [s@macro-dial:1] GotoIf("Local/1020@from-queue-000001a4;2", "0?dial") in new stack
    -- Executing [s@macro-dial:2] SetMusicOnHold("Local/1020@from-queue-000001a4;2", "ivr_start") in new stack
    -- Executing [s@macro-dial:3] AGI("Local/1020@from-queue-000001a4;2", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
 dialparties.agi: Starting New Dialparties.agi
 dialparties.agi: Caller ID name is 'dongle0' number is '+7XXXXXX2332'
 dialparties.agi: Methodology of ring is  'ringallv2'
    -- dialparties.agi: Added extension 8XXXXXX2087# to extension map
    -- dialparties.agi: Extension 1020 cf is disabled
    -- dialparties.agi: Extension 8XXXXXX2087# cf is disabled
    -- dialparties.agi: Extension 1020 do not disturb is disabled
    -- dialparties.agi: dbset CALLTRACE/1020 to +7XXXXXX2332
    -- dialparties.agi: Filtered ARG3: 1020-8XXXXXX2087
    -- <Local/1020@from-queue-000001a4;2>AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:7] Dial("Local/1020@from-queue-000001a4;2", "Local/FMPR-1020@from-internal&Local/FMGL-8XXXXXX2087#@from-internal,62,TtrM(auto-blkvm)I") in new stack
    -- Called Local/FMPR-1020@from-internal
    -- Called Local/FMGL-8XXXXXX2087#@from-internal
    -- Local/1020@from-queue-000001a4;1 is ringing
    -- Executing [FMGL-8XXXXXX2087#@from-internal:1] NoCDR("Local/FMGL-8XXXXXX2087#@from-internal-000001a6;2", "") in new stack
    -- Executing [FMPR-1020@from-internal:1] NoCDR("Local/FMPR-1020@from-internal-000001a5;2", "") in new stack
    -- Executing [FMGL-8XXXXXX2087#@from-internal:2] Set("Local/FMGL-8XXXXXX2087#@from-internal-000001a6;2", "ENDLOOP=1398229394") in new stack
    -- Executing [FMPR-1020@from-internal:2] Set("Local/FMPR-1020@from-internal-000001a5;2", "RingGroupMethod=") in new stack
    -- Executing [FMGL-8XXXXXX2087#@from-internal:3] GotoIf("Local/FMGL-8XXXXXX2087#@from-internal-000001a6;2", "0?dodnd") in new stack
    -- Executing [FMGL-8XXXXXX2087#@from-internal:4] Wait("Local/FMGL-8XXXXXX2087#@from-internal-000001a6;2", "1") in new stack
    -- Executing [FMPR-1020@from-internal:3] Set("Local/FMPR-1020@from-internal-000001a5;2", "USE_CONFIRMATION=") in new stack
    -- Executing [FMPR-1020@from-internal:4] Set("Local/FMPR-1020@from-internal-000001a5;2", "RINGGROUP_INDEX=") in new stack
    -- Executing [FMPR-1020@from-internal:5] Macro("Local/FMPR-1020@from-internal-000001a5;2", "simple-dial,1020,2") in new stack
    -- Executing [s@macro-simple-dial:1] Set("Local/FMPR-1020@from-internal-000001a5;2", "__EXTTOCALL=1020") in new stack
    -- Executing [s@macro-simple-dial:2] Set("Local/FMPR-1020@from-internal-000001a5;2", "RT=2") in new stack
    -- Executing [s@macro-simple-dial:3] Set("Local/FMPR-1020@from-internal-000001a5;2", "CFUEXT=") in new stack
    -- Executing [s@macro-simple-dial:4] Set("Local/FMPR-1020@from-internal-000001a5;2", "CFBEXT=") in new stack
    -- Executing [s@macro-simple-dial:5] Set("Local/FMPR-1020@from-internal-000001a5;2", "CWI_TMP=") in new stack
    -- Executing [s@macro-simple-dial:6] Macro("Local/FMPR-1020@from-internal-000001a5;2", "dial-one,2,Ttr,1020") in new stack
    -- Executing [s@macro-dial-one:1] Set("Local/FMPR-1020@from-internal-000001a5;2", "DEXTEN=1020") in new stack
    -- Executing [s@macro-dial-one:2] Set("Local/FMPR-1020@from-internal-000001a5;2", "DIALSTATUS_CW=") in new stack
    -- Executing [s@macro-dial-one:3] GosubIf("Local/FMPR-1020@from-internal-000001a5;2", "0?screen,1()") in new stack
    -- Executing [s@macro-dial-one:4] GosubIf("Local/FMPR-1020@from-internal-000001a5;2", "0?cf,1()") in new stack
    -- Executing [s@macro-dial-one:5] GotoIf("Local/FMPR-1020@from-internal-000001a5;2", "1?skip1") in new stack
    -- Goto (macro-dial-one,s,8)
    -- Executing [s@macro-dial-one:8] GotoIf("Local/FMPR-1020@from-internal-000001a5;2", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:9] GotoIf("Local/FMPR-1020@from-internal-000001a5;2", "0?continue") in new stack
    -- Executing [s@macro-dial-one:10] Set("Local/FMPR-1020@from-internal-000001a5;2", "EXTHASCW=ENABLED") in new stack
    -- Executing [s@macro-dial-one:11] GotoIf("Local/FMPR-1020@from-internal-000001a5;2", "0?next1:cwinusebusy") in new stack
    -- Goto (macro-dial-one,s,23)
    -- Executing [s@macro-dial-one:23] GotoIf("Local/FMPR-1020@from-internal-000001a5;2", "1?next3:continue") in new stack
    -- Goto (macro-dial-one,s,24)
    -- Executing [s@macro-dial-one:24] ExecIf("Local/FMPR-1020@from-internal-000001a5;2", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
    -- Executing [s@macro-dial-one:25] GotoIf("Local/FMPR-1020@from-internal-000001a5;2", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:26] GosubIf("Local/FMPR-1020@from-internal-000001a5;2", "1?dstring,1():dlocal,1()") in new stack
    -- Executing [dstring@macro-dial-one:1] Set("Local/FMPR-1020@from-internal-000001a5;2", "DSTRING=") in new stack
    -- Executing [dstring@macro-dial-one:2] Set("Local/FMPR-1020@from-internal-000001a5;2", "DEVICES=1020") in new stack
    -- Executing [dstring@macro-dial-one:3] ExecIf("Local/FMPR-1020@from-internal-000001a5;2", "0?Return()") in new stack
    -- Executing [dstring@macro-dial-one:4] ExecIf("Local/FMPR-1020@from-internal-000001a5;2", "0?Set(DEVICES=020)") in new stack
    -- Executing [dstring@macro-dial-one:5] Set("Local/FMPR-1020@from-internal-000001a5;2", "LOOPCNT=1") in new stack
    -- Executing [dstring@macro-dial-one:6] Set("Local/FMPR-1020@from-internal-000001a5;2", "ITER=1") in new stack
    -- Executing [dstring@macro-dial-one:7] Set("Local/FMPR-1020@from-internal-000001a5;2", "THISDIAL=SIP/1020") in new stack
    -- Executing [dstring@macro-dial-one:8] GosubIf("Local/FMPR-1020@from-internal-000001a5;2", "1?zap2dahdi,1()") in new stack
    -- Executing [zap2dahdi@macro-dial-one:1] ExecIf("Local/FMPR-1020@from-internal-000001a5;2", "0?Return()") in new stack
    -- Executing [zap2dahdi@macro-dial-one:2] Set("Local/FMPR-1020@from-internal-000001a5;2", "NEWDIAL=") in new stack
    -- Executing [zap2dahdi@macro-dial-one:3] Set("Local/FMPR-1020@from-internal-000001a5;2", "LOOPCNT2=1") in new stack
    -- Executing [zap2dahdi@macro-dial-one:4] Set("Local/FMPR-1020@from-internal-000001a5;2", "ITER2=1") in new stack
    -- Executing [zap2dahdi@macro-dial-one:5] Set("Local/FMPR-1020@from-internal-000001a5;2", "THISPART2=SIP/1020") in new stack
    -- Executing [zap2dahdi@macro-dial-one:6] ExecIf("Local/FMPR-1020@from-internal-000001a5;2", "0?Set(THISPART2=DAHDI/1020)") in new stack
    -- Executing [zap2dahdi@macro-dial-one:7] Set("Local/FMPR-1020@from-internal-000001a5;2", "NEWDIAL=SIP/1020&") in new stack
    -- Executing [zap2dahdi@macro-dial-one:8] Set("Local/FMPR-1020@from-internal-000001a5;2", "ITER2=2") in new stack
    -- Executing [zap2dahdi@macro-dial-one:9] GotoIf("Local/FMPR-1020@from-internal-000001a5;2", "0?begin2") in new stack
    -- Executing [zap2dahdi@macro-dial-one:10] Set("Local/FMPR-1020@from-internal-000001a5;2", "THISDIAL=SIP/1020") in new stack
    -- Executing [zap2dahdi@macro-dial-one:11] Return("Local/FMPR-1020@from-internal-000001a5;2", "") in new stack
    -- Executing [dstring@macro-dial-one:9] Set("Local/FMPR-1020@from-internal-000001a5;2", "DSTRING=SIP/1020&") in new stack
    -- Executing [dstring@macro-dial-one:10] Set("Local/FMPR-1020@from-internal-000001a5;2", "ITER=2") in new stack
    -- Executing [dstring@macro-dial-one:11] GotoIf("Local/FMPR-1020@from-internal-000001a5;2", "0?begin") in new stack
    -- Executing [dstring@macro-dial-one:12] Set("Local/FMPR-1020@from-internal-000001a5;2", "DSTRING=SIP/1020") in new stack
    -- Executing [dstring@macro-dial-one:13] Return("Local/FMPR-1020@from-internal-000001a5;2", "") in new stack
    -- Executing [s@macro-dial-one:27] GotoIf("Local/FMPR-1020@from-internal-000001a5;2", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:28] GotoIf("Local/FMPR-1020@from-internal-000001a5;2", "0?skiptrace") in new stack
    -- Executing [s@macro-dial-one:29] GosubIf("Local/FMPR-1020@from-internal-000001a5;2", "1?ctset,1():ctclear,1()") in new stack
    -- Executing [ctset@macro-dial-one:1] Set("Local/FMPR-1020@from-internal-000001a5;2", "DB(CALLTRACE/1020)=+7XXXXXX2332") in new stack
    -- Executing [ctset@macro-dial-one:2] Return("Local/FMPR-1020@from-internal-000001a5;2", "") in new stack
    -- Executing [s@macro-dial-one:30] Set("Local/FMPR-1020@from-internal-000001a5;2", "D_OPTIONS=TtrM(auto-blkvm)") in new stack
    -- Executing [s@macro-dial-one:31] ExecIf("Local/FMPR-1020@from-internal-000001a5;2", "0?SIPAddHeader(Alert-Info: )") in new stack
    -- Executing [s@macro-dial-one:32] ExecIf("Local/FMPR-1020@from-internal-000001a5;2", "0?SIPAddHeader()") in new stack
    -- Executing [s@macro-dial-one:33] ExecIf("Local/FMPR-1020@from-internal-000001a5;2", "1?Set(CHANNEL(musicclass)=ivr_start)") in new stack
    -- Executing [s@macro-dial-one:34] GosubIf("Local/FMPR-1020@from-internal-000001a5;2", "0?qwait,1()") in new stack
    -- Executing [s@macro-dial-one:35] Set("Local/FMPR-1020@from-internal-000001a5;2", "__CWIGNORE=") in new stack
    -- Executing [s@macro-dial-one:36] Set("Local/FMPR-1020@from-internal-000001a5;2", "__KEEPCID=TRUE") in new stack
    -- Executing [s@macro-dial-one:37] GotoIf("Local/FMPR-1020@from-internal-000001a5;2", "0?usegoto,1") in new stack
    -- Executing [s@macro-dial-one:38] GotoIf("Local/FMPR-1020@from-internal-000001a5;2", "1?godial") in new stack
    -- Goto (macro-dial-one,s,42)
    -- Executing [s@macro-dial-one:42] Dial("Local/FMPR-1020@from-internal-000001a5;2", "SIP/1020,2,TtrM(auto-blkvm)") in new stack
[2014-04-23 09:03:12] WARNING[35644][C-00000058]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-dial-one:43] ExecIf("Local/FMPR-1020@from-internal-000001a5;2", "0?MacroExit()") in new stack
    -- Executing [s@macro-dial-one:44] ExecIf("Local/FMPR-1020@from-internal-000001a5;2", "0?Set(DIALSTATUS=)") in new stack
    -- Executing [s@macro-dial-one:45] GosubIf("Local/FMPR-1020@from-internal-000001a5;2", "0?s-CHANUNAVAIL,1()") in new stack
    -- Executing [s@macro-dial-one:46] MacroExit("Local/FMPR-1020@from-internal-000001a5;2", "") in new stack
    -- Executing [s@macro-simple-dial:7] Set("Local/FMPR-1020@from-internal-000001a5;2", "__CWIGNORE=") in new stack
    -- Executing [s@macro-simple-dial:8] Set("Local/FMPR-1020@from-internal-000001a5;2", "PR_DIALSTATUS=CHANUNAVAIL") in new stack
    -- Executing [s@macro-simple-dial:9] GosubIf("Local/FMPR-1020@from-internal-000001a5;2", "0?docfu,1()") in new stack
    -- Executing [s@macro-simple-dial:10] GosubIf("Local/FMPR-1020@from-internal-000001a5;2", "0?docfb,1()") in new stack
    -- Executing [s@macro-simple-dial:11] Set("Local/FMPR-1020@from-internal-000001a5;2", "DIALSTATUS=CHANUNAVAIL") in new stack
    -- Executing [s@macro-simple-dial:12] Goto("Local/FMPR-1020@from-internal-000001a5;2", "s-CHANUNAVAIL,1") in new stack
    -- Goto (macro-simple-dial,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-simple-dial:1] NoOp("Local/FMPR-1020@from-internal-000001a5;2", "Extension is reporting s-CHANUNAVAIL") in new stack
    -- Executing [FMPR-1020@from-internal:6] ExecIf("Local/FMPR-1020@from-internal-000001a5;2", "0?Set(SHARED(FM_DND,Local/1020@from-queue-000001a4;2)=DND)") in new stack
    -- Executing [FMPR-1020@from-internal:7] Hangup("Local/FMPR-1020@from-internal-000001a5;2", "") in new stack
  == Spawn extension (from-internal, FMPR-1020, 7) exited non-zero on 'Local/FMPR-1020@from-internal-000001a5;2'
    -- Executing [h@from-internal:1] Hangup("Local/FMPR-1020@from-internal-000001a5;2", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'Local/FMPR-1020@from-internal-000001a5;2'
    -- Executing [FMGL-8XXXXXX2087#@from-internal:5] GotoIf("Local/FMGL-8XXXXXX2087#@from-internal-000001a6;2", "1?start") in new stack
    -- Goto (from-internal,FMGL-8XXXXXX2087#,3)
    -- Executing [FMGL-8XXXXXX2087#@from-internal:3] GotoIf("Local/FMGL-8XXXXXX2087#@from-internal-000001a6;2", "0?dodnd") in new stack
    -- Executing [FMGL-8XXXXXX2087#@from-internal:4] Wait("Local/FMGL-8XXXXXX2087#@from-internal-000001a6;2", "1") in new stack
    -- Executing [FMGL-8XXXXXX2087#@from-internal:5] GotoIf("Local/FMGL-8XXXXXX2087#@from-internal-000001a6;2", "0?start") in new stack
    -- Executing [FMGL-8XXXXXX2087#@from-internal:6] Set("Local/FMGL-8XXXXXX2087#@from-internal-000001a6;2", "SHARED(FM_DND,Local/1020@from-queue-000001a4;2)=") in new stack
    -- Executing [FMGL-8XXXXXX2087#@from-internal:7] Macro("Local/FMGL-8XXXXXX2087#@from-internal-000001a6;2", "dial,60,Ttr,8XXXXXX2087#") in new stack
    -- Executing [s@macro-dial:1] GotoIf("Local/FMGL-8XXXXXX2087#@from-internal-000001a6;2", "0?dial") in new stack
    -- Executing [s@macro-dial:2] SetMusicOnHold("Local/FMGL-8XXXXXX2087#@from-internal-000001a6;2", "ivr_start") in new stack
    -- Executing [s@macro-dial:3] AGI("Local/FMGL-8XXXXXX2087#@from-internal-000001a6;2", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
 dialparties.agi: Starting New Dialparties.agi
 dialparties.agi: Caller ID name is 'dongle0' number is '+7XXXXXX2332'
 dialparties.agi: Methodology of ring is  'ringall'
    -- dialparties.agi: Added extension 8XXXXXX2087# to extension map
    -- dialparties.agi: Extension 8XXXXXX2087# cf is disabled
    -- dialparties.agi: Filtered ARG3: 8XXXXXX2087
    -- <Local/FMGL-8XXXXXX2087#@from-internal-000001a6;2>AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:7] Dial("Local/FMGL-8XXXXXX2087#@from-internal-000001a6;2", "Local/RG-1020-8XXXXXX2087#@from-internal,60,Ttr") in new stack
    -- Called Local/RG-1020-8XXXXXX2087#@from-internal
    -- Local/FMGL-8XXXXXX2087#@from-internal-000001a6;1 is ringing
    -- Local/1020@from-queue-000001a4;1 is ringing
    -- Executing [RG-1020-8XXXXXX2087#@from-internal:1] NoCDR("Local/RG-1020-8XXXXXX2087#@from-internal-000001a7;2", "") in new stack
    -- Executing [RG-1020-8XXXXXX2087#@from-internal:2] Macro("Local/RG-1020-8XXXXXX2087#@from-internal-000001a7;2", "dial,60,TtrM(confirm^^^1020),8XXXXXX2087#") in new stack
    -- Executing [s@macro-dial:1] GotoIf("Local/RG-1020-8XXXXXX2087#@from-internal-000001a7;2", "0?dial") in new stack
    -- Executing [s@macro-dial:2] SetMusicOnHold("Local/RG-1020-8XXXXXX2087#@from-internal-000001a7;2", "ivr_start") in new stack
    -- Executing [s@macro-dial:3] AGI("Local/RG-1020-8XXXXXX2087#@from-internal-000001a7;2", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
 dialparties.agi: Starting New Dialparties.agi
 dialparties.agi: Caller ID name is 'dongle0' number is '+7XXXXXX2332'
 dialparties.agi: Methodology of ring is  'none'
    -- dialparties.agi: Added extension 8XXXXXX2087# to extension map
    -- dialparties.agi: Extension 8XXXXXX2087# cf is disabled
    -- dialparties.agi: Filtered ARG3: 8XXXXXX2087
    -- <Local/RG-1020-8XXXXXX2087#@from-internal-000001a7;2>AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:7] Dial("Local/RG-1020-8XXXXXX2087#@from-internal-000001a7;2", "Local/8XXXXXX2087@from-internal/n,60,TtrM(confirm^^^1020)") in new stack
    -- Called Local/8XXXXXX2087@from-internal/n
    -- Local/RG-1020-8XXXXXX2087#@from-internal-000001a7;1 is ringing
    -- Executing [8XXXXXX2087@from-internal:1] Macro("Local/8XXXXXX2087@from-internal-000001a8;2", "user-callerid,LIMIT,") in new stack
    -- Local/FMGL-8XXXXXX2087#@from-internal-000001a6;1 is ringing
    -- Executing [s@macro-user-callerid:1] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "TOUCH_MONITOR=1398229394.1053") in new stack
    -- Executing [s@macro-user-callerid:2] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "AMPUSER=+7XXXXXX2332") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("Local/8XXXXXX2087@from-internal-000001a8;2", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("Local/8XXXXXX2087@from-internal-000001a8;2", "1?Set(REALCALLERIDNUM=+7XXXXXX2332)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:6] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:7] GotoIf("Local/8XXXXXX2087@from-internal-000001a8;2", "1?report") in new stack
    -- Goto (macro-user-callerid,s,14)
    -- Executing [s@macro-user-callerid:14] GotoIf("Local/8XXXXXX2087@from-internal-000001a8;2", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,27)
    -- Executing [s@macro-user-callerid:27] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "CALLERID(number)=+7XXXXXX2332") in new stack
    -- Executing [s@macro-user-callerid:28] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "CALLERID(name)=dongle0") in new stack
    -- Executing [s@macro-user-callerid:29] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "CDR(cnum)=+7XXXXXX2332") in new stack
    -- Executing [s@macro-user-callerid:30] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "CDR(cnam)=dongle0") in new stack
    -- Executing [s@macro-user-callerid:31] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "CHANNEL(language)=ru") in new stack
    -- Executing [8XXXXXX2087@from-internal:2] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "MOHCLASS=ivr_start") in new stack
    -- Executing [8XXXXXX2087@from-internal:3] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "_NODEST=") in new stack
    -- Executing [8XXXXXX2087@from-internal:4] Gosub("Local/8XXXXXX2087@from-internal-000001a8;2", "sub-record-check,s,1(out,8XXXXXX2087,)") in new stack
    -- Executing [s@sub-record-check:1] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "REC_POLICY_MODE_SAVE=always") in new stack
    -- Executing [s@sub-record-check:2] GotoIf("Local/8XXXXXX2087@from-internal-000001a8;2", "1?check") in new stack
    -- Goto (sub-record-check,s,7)
    -- Executing [s@sub-record-check:7] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:8] GotoIf("Local/8XXXXXX2087@from-internal-000001a8;2", "0?next") in new stack
    -- Executing [s@sub-record-check:9] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "CDR(recordingfile)=q-1520-+7XXXXXX2332-20140423-090307-1398229362.1043.wav") in new stack
    -- Executing [s@sub-record-check:10] Return("Local/8XXXXXX2087@from-internal-000001a8;2", "") in new stack
    -- Executing [8XXXXXX2087@from-internal:5] Macro("Local/8XXXXXX2087@from-internal-000001a8;2", "dialout-trunk,1,8XXXXXX2087,,off") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("Local/8XXXXXX2087@from-internal-000001a8;2", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("Local/8XXXXXX2087@from-internal-000001a8;2", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "DIAL_NUMBER=8XXXXXX2087") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("Local/8XXXXXX2087@from-internal-000001a8;2", "0?nomax") in new stack
    -- Executing [s@macro-dialout-trunk:8] GotoIf("Local/8XXXXXX2087@from-internal-000001a8;2", "0?chanfull") in new stack
    -- Executing [s@macro-dialout-trunk:9] GotoIf("Local/8XXXXXX2087@from-internal-000001a8;2", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "DIAL_TRUNK_OPTIONS=Tt") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("Local/8XXXXXX2087@from-internal-000001a8;2", "outbound-callerid,1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("Local/8XXXXXX2087@from-internal-000001a8;2", "1?Set(CALLERPRES()=allowed_not_screened)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("Local/8XXXXXX2087@from-internal-000001a8;2", "0?Set(REALCALLERIDNUM=+7XXXXXX2332)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("Local/8XXXXXX2087@from-internal-000001a8;2", "0?normcid") in new stack
    -- Executing [s@macro-outbound-callerid:4] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "USEROUTCID=+7XXXXXX2332") in new stack
    -- Executing [s@macro-outbound-callerid:5] GotoIf("Local/8XXXXXX2087@from-internal-000001a8;2", "1?bypass") in new stack
    -- Goto (macro-outbound-callerid,s,7)
    -- Executing [s@macro-outbound-callerid:7] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "TRUNKOUTCID=74832363836") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("Local/8XXXXXX2087@from-internal-000001a8;2", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,14)
    -- Executing [s@macro-outbound-callerid:14] ExecIf("Local/8XXXXXX2087@from-internal-000001a8;2", "1?Set(CALLERID(all)=74832363836)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("Local/8XXXXXX2087@from-internal-000001a8;2", "1?Set(CALLERID(all)=+7XXXXXX2332)") in new stack
    -- Executing [s@macro-outbound-callerid:16] ExecIf("Local/8XXXXXX2087@from-internal-000001a8;2", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:17] ExecIf("Local/8XXXXXX2087@from-internal-000001a8;2", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:18] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "CDR(outbound_cnum)=+7XXXXXX2332") in new stack
    -- Executing [s@macro-outbound-callerid:19] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "CDR(outbound_cnam)=") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("Local/8XXXXXX2087@from-internal-000001a8;2", "0?sub-flp-1,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "OUTNUM=8XXXXXX2087") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("Local/8XXXXXX2087@from-internal-000001a8;2", "custom=SIP/ertel") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("Local/8XXXXXX2087@from-internal-000001a8;2", "1?Set(DIAL_TRUNK_OPTIONS=M(setmusic^ivr_start)Tt)") in new stack
    -- Executing [s@macro-dialout-trunk:16] ExecIf("Local/8XXXXXX2087@from-internal-000001a8;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^ivr_start)TtM(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:17] Macro("Local/8XXXXXX2087@from-internal-000001a8;2", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/8XXXXXX2087@from-internal-000001a8;2", "") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("Local/8XXXXXX2087@from-internal-000001a8;2", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:19] ExecIf("Local/8XXXXXX2087@from-internal-000001a8;2", "0?Set(CONNECTEDLINE(num,i)=8XXXXXX2087)") in new stack
    -- Executing [s@macro-dialout-trunk:20] ExecIf("Local/8XXXXXX2087@from-internal-000001a8;2", "0?Set(CONNECTEDLINE(name,i)=CID:+7XXXXXX2332)") in new stack
    -- Executing [s@macro-dialout-trunk:21] GotoIf("Local/8XXXXXX2087@from-internal-000001a8;2", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:22] Dial("Local/8XXXXXX2087@from-internal-000001a8;2", "SIP/ertel/8XXXXXX2087,300,M(setmusic^ivr_start)Tt") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/ertel/8XXXXXX2087
[2014-04-23 09:03:14] WARNING[35636][C-00000058]: channel.c:1002 channel_indicate: [Dongle/dongle0-0100000009] Don't know how to indicate condition 33
    -- Got SIP response 603 "Subscriber account disabled" back from XXX.187.224.6:5060
    -- SIP/ertel-000000b0 is busy
  == Everyone is busy/congested at this time (1:1/0/0)
[2014-04-23 09:03:14] WARNING[35636][C-00000058]: channel.c:1002 channel_indicate: [Dongle/dongle0-0100000009] Don't know how to indicate condition 33
    -- Executing [s@macro-dialout-trunk:23] NoOp("Local/8XXXXXX2087@from-internal-000001a8;2", "Dial failed for some reason with DIALSTATUS = BUSY and HANGUPCAUSE = 21") in new stack
    -- Executing [s@macro-dialout-trunk:24] GotoIf("Local/8XXXXXX2087@from-internal-000001a8;2", "0?continue,1:s-BUSY,1") in new stack
    -- Goto (macro-dialout-trunk,s-BUSY,1)
    -- Executing [s-BUSY@macro-dialout-trunk:1] NoOp("Local/8XXXXXX2087@from-internal-000001a8;2", "Dial failed due to trunk reporting BUSY - giving up") in new stack
    -- Executing [s-BUSY@macro-dialout-trunk:2] PlayTones("Local/8XXXXXX2087@from-internal-000001a8;2", "busy") in new stack
    -- Executing [s-BUSY@macro-dialout-trunk:3] Busy("Local/8XXXXXX2087@from-internal-000001a8;2", "20") in new stack
    -- Local/8XXXXXX2087@from-internal-000001a8;1 is busy
  == Everyone is busy/congested at this time (1:1/0/0)
  == Spawn extension (macro-dialout-trunk, s-BUSY, 3) exited non-zero on 'Local/8XXXXXX2087@from-internal-000001a8;2' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 8XXXXXX2087, 5) exited non-zero on 'Local/8XXXXXX2087@from-internal-000001a8;2'
    -- Executing [h@from-internal:1] Hangup("Local/8XXXXXX2087@from-internal-000001a8;2", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'Local/8XXXXXX2087@from-internal-000001a8;2'
    -- Executing [s@macro-dial:8] Set("Local/RG-1020-8XXXXXX2087#@from-internal-000001a7;2", "DIALSTATUS=BUSY") in new stack
    -- Executing [s@macro-dial:9] GosubIf("Local/RG-1020-8XXXXXX2087#@from-internal-000001a7;2", "0?BUSY,1") in new stack
    -- Auto fallthrough, channel 'Local/RG-1020-8XXXXXX2087#@from-internal-000001a7;2' status is 'BUSY'
    -- Local/RG-1020-8XXXXXX2087#@from-internal-000001a7;1 is busy
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [s@macro-dial:8] Set("Local/FMGL-8XXXXXX2087#@from-internal-000001a6;2", "DIALSTATUS=BUSY") in new stack
    -- Executing [s@macro-dial:9] GosubIf("Local/FMGL-8XXXXXX2087#@from-internal-000001a6;2", "0?BUSY,1") in new stack
    -- Executing [FMGL-8XXXXXX2087#@from-internal:8] Hangup("Local/FMGL-8XXXXXX2087#@from-internal-000001a6;2", "") in new stack
  == Spawn extension (from-internal, FMGL-8XXXXXX2087#, 8) exited non-zero on 'Local/FMGL-8XXXXXX2087#@from-internal-000001a6;2'
    -- Executing [h@from-internal:1] Hangup("Local/FMGL-8XXXXXX2087#@from-internal-000001a6;2", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'Local/FMGL-8XXXXXX2087#@from-internal-000001a6;2'
    -- No one is available to answer at this time (2:0/0/1)
    -- Executing [s@macro-dial:8] Set("Local/1020@from-queue-000001a4;2", "DIALSTATUS=NOANSWER") in new stack
[2014-04-23 09:03:14] WARNING[35647][C-00000058]: channel.c:4816 ast_prod: Prodding channel 'Local/RG-1020-8XXXXXX2087#@from-internal-000001a7;2' failed
    -- Executing [h@from-internal:1] Hangup("Local/RG-1020-8XXXXXX2087#@from-internal-000001a7;2", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'Local/RG-1020-8XXXXXX2087#@from-internal-000001a7;2'
    -- Executing [s@macro-dial:9] GosubIf("Local/1020@from-queue-000001a4;2", "0?NOANSWER,1") in new stack
    -- Executing [s@macro-dial-confirm:8] NoOp("Local/1020@from-queue-000001a4;2", "Deleting: RG/1020/Local/1020@from-queue-000001a4;2 RINGING") in new stack
    -- Executing [s@macro-dial-confirm:9] Set("Local/1020@from-queue-000001a4;2", "USE_CONFIRMATION=") in new stack
    -- Executing [s@macro-dial-confirm:10] Set("Local/1020@from-queue-000001a4;2", "RINGGROUP_INDEX=") in new stack
    -- Executing [1020@from-internal:24] Set("Local/1020@from-queue-000001a4;2", "RingGroupMethod=") in new stack
    -- Executing [1020@from-internal:25] GotoIf("Local/1020@from-queue-000001a4;2", "1?nodest") in new stack
    -- Goto (from-internal,1020,31)
    -- Executing [1020@from-internal:31] NoOp("Local/1020@from-queue-000001a4;2", "SKIPPING DEST, CALL CAME FROM Q/RG: 1520") in new stack
    -- Auto fallthrough, channel 'Local/1020@from-queue-000001a4;2' status is 'NOANSWER'
    -- Executing [h@from-internal:1] Hangup("Local/1020@from-queue-000001a4;2", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'Local/1020@from-queue-000001a4;2'
    -- Nobody picked up in 2000 ms
    -- Stopped music on hold on Dongle/dongle0-0100000009
  == Spawn extension (ext-queues, 1520, 27) exited non-zero on 'Dongle/dongle0-0100000009'
    -- Executing [h@ext-queues:1] Macro("Dongle/dongle0-0100000009", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("Dongle/dongle0-0100000009", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] ExecIf("Dongle/dongle0-0100000009", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:4] Hangup("Dongle/dongle0-0100000009", "") in new stack
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Dongle/dongle0-0100000009' in macro 'hangupcall'
  == Spawn extension (ext-queues, h, 1) exited non-zero on 'Dongle/dongle0-0100000009'
  == MixMonitor close filestream (mixed)
== End MixMonitor Recording Dongle/dongle0-0100000009
pbx*CLI>
удалить закрыть спам изменить тег редактировать

спросил 2014-04-23 09:52:37 +0400

jone31 Gravatar jone31
16 10 2 8

Comments

где именно не установлен callerid? в транке Outbound CallerID установлен в полном формате 748XXXXX836 в исходящем маршруте Route CID тоже задан в полном виде добавил сейчас в followme - не помогло.

если бы транк был настроен неверно, то почему если я звоню с внутреннего номера в очередь все работает и перенаправляет...

jone31 ( 2014-04-23 11:31:22 +0400 )редактировать

К провайдеру.

zzuz ( 2014-04-23 11:40:47 +0400 )редактировать

разобрался, посмотрел дампы пакетов и понял что нехватает fromuser= в конфиге транка... вопрос закрыт.

jone31 ( 2014-05-02 11:56:05 +0400 )редактировать

2 Ответа

0

попробуйте не folowme а вот как в этом вопросе мой ответ. Думаю всё заработает.

ссылка удалить спам редактировать

ответил 2014-04-23 15:29:53 +0400

bandys Gravatar bandys
274 6 8

Comments

не понял что там у вас написано... транк к прову вроде настроен правильно - звонки идут в две стороны.

callerid в транке настроен и звонки проходят. переадресация идет через нужный транк, но пров почему то отдает Got SIP response 603 "Subscriber account disabled" back from XXX.187.224.6:5060

думаю причина в настройке астериска и followme т.к. без него все работает отлично.

jone31 ( 2014-05-01 21:19:18 +0400 )редактировать
0

Очевидно, надо спросить в поддержке ertel ПОЧЕМУ они возращают account disabled.

наиболее вероятная причина - не выставлен callerid

ссылка удалить спам редактировать

ответил 2014-04-23 10:48:44 +0400

meral Gravatar meral flag of Ukraine
21228 23 18 169
http://pro-sip.net/

Ваш ответ

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[скрыть предварительный просмотр]

Закладки и информация

Добавить закладку

подписаться на rss ленту новостей

Статистика

Задан: 2014-04-23 09:52:37 +0400

Просмотрен: 448 раз

Обновлен: Apr 23 '14

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.