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

История изменений [назад]

нажмите, чтобы скрыть/показать версии 1
изначальная версия
редактировать

спросил 2015-09-07 22:02:34 +0400

cooller51190 Gravatar cooller51190

Elastix+Quasar MEE не проходят входящие звонки

Очень нужна помощь Установлен Elastix 2.5.0 c картой Quasar MEE. Исходящие вызовы по обоим транкам проходят, а вот со входящими вызовами беда. Входящий маршрут добавлен. Сейчас сделано кольцо между двумя транками, то есть с одного выхожу на другой по did входящий должен придти, но увы. идёт сообщение что соединение невозможно, пожалуйста проверьте номер. Лог прикрепляю Вызов делаю с номера 102 на 222333 ноль выход на транк на входящем маршруте настроено 222333 приходить на внутренний 101.

== Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 -- Executing [0222333@from-internal:1] Macro("SIP/102-0000000f", "user-callerid,LIMIT,EXTERNAL,") in new stack -- Executing [s@macro-user-callerid:1] Set("SIP/102-0000000f", "TOUCHMONITOR=1441647595.41") in new stack -- Executing [s@macro-user-callerid:2] Set("SIP/102-0000000f", "AMPUSER=102") in new stack -- Executing [s@macro-user-callerid:3] GotoIf("SIP/102-0000000f", "0?report") in new stack -- Executing [s@macro-user-callerid:4] ExecIf("SIP/102-0000000f", "1?Set(REALCALLERIDNUM=102)") in new stack -- Executing [s@macro-user-callerid:5] Set("SIP/102-0000000f", "AMPUSER=102") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("SIP/102-0000000f", "0?limit") in new stack -- Executing [s@macro-user-callerid:7] Set("SIP/102-0000000f", "AMPUSERCIDNAME=102") in new stack -- Executing [s@macro-user-callerid:8] GotoIf("SIP/102-0000000f", "0?report") in new stack -- Executing [s@macro-user-callerid:9] Set("SIP/102-0000000f", "AMPUSERCID=102") in new stack -- Executing [s@macro-user-callerid:10] Set("SIP/102-0000000f", "DIALOPTIONS=tr") in new stack -- Executing [s@macro-user-callerid:11] Set("SIP/102-0000000f", "CALLERID(all)="102" <102>") in new stack -- Executing [s@macro-user-callerid:12] GotoIf("SIP/102-0000000f", "0?limit") in new stack -- Executing [s@macro-user-callerid:13] ExecIf("SIP/102-0000000f", "1?Set(GROUP(concurrencylimit)=102)") in new stack -- Executing [s@macro-user-callerid:14] ExecIf("SIP/102-0000000f", "0?Set(CHANNEL(language)=)") in new stack -- Executing [s@macro-user-callerid:15] GotoIf("SIP/102-0000000f", "1?continue") in new stack -- Goto (macro-user-callerid,s,28) -- Executing [s@macro-user-callerid:28] Set("SIP/102-0000000f", "CALLERID(number)=102") in new stack -- Executing [s@macro-user-callerid:29] Set("SIP/102-0000000f", "CALLERID(name)=102") in new stack -- Executing [s@macro-user-callerid:30] Set("SIP/102-0000000f", "CDR(cnum)=102") in new stack -- Executing [s@macro-user-callerid:31] Set("SIP/102-0000000f", "CDR(cnam)=102") in new stack -- Executing [s@macro-user-callerid:32] Set("SIP/102-0000000f", "CHANNEL(language)=ru") in new stack -- Executing [0222333@from-internal:2] Set("SIP/102-0000000f", "MOHCLASS=default") in new stack -- Executing [0222333@from-internal:3] Set("SIP/102-0000000f", "NODEST=") in new stack -- Executing [0222333@from-internal:4] Gosub("SIP/102-0000000f", "sub-record-check,s,1(out,0222333,)") in new stack -- Executing [s@sub-record-check:1] Set("SIP/102-0000000f", "RECPOLICYMODESAVE=") in new stack -- Executing [s@sub-record-check:2] GotoIf("SIP/102-0000000f", "1?check") in new stack -- Goto (sub-record-check,s,7) -- Executing [s@sub-record-check:7] Set("SIP/102-0000000f", "MONFMT=wav") in new stack -- Executing [s@sub-record-check:8] GotoIf("SIP/102-0000000f", "1?next") in new stack -- Goto (sub-record-check,s,11) -- Executing [s@sub-record-check:11] ExecIf("SIP/102-0000000f", "0?Return()") in new stack -- Executing [s@sub-record-check:12] ExecIf("SIP/102-0000000f", "0?Set(RECPOLICYMODE=)") in new stack -- Executing [s@sub-record-check:13] GotoIf("SIP/102-0000000f", "0?out,1") in new stack -- Executing [s@sub-record-check:14] Set("SIP/102-0000000f", "RECSTATUS=INITIALIZED") in new stack -- Executing [s@sub-record-check:15] Set("SIP/102-0000000f", "NOW=1441647595") in new stack -- Executing [s@sub-record-check:16] Set("SIP/102-0000000f", "DAY=07") in new stack -- Executing [s@sub-record-check:17] Set("SIP/102-0000000f", "MONTH=09") in new stack -- Executing [s@sub-record-check:18] Set("SIP/102-0000000f", "YEAR=2015") in new stack -- Executing [s@sub-record-check:19] Set("SIP/102-0000000f", "TIMESTR=20150907-213955") in new stack -- Executing [s@sub-record-check:20] Set("SIP/102-0000000f", "FROMEXTEN=102") in new stack -- Executing [s@sub-record-check:21] Set("SIP/102-0000000f", "CALLFILENAME=out-0222333-102-20150907-213955-1441647595.41") in new stack -- Executing [s@sub-record-check:22] Goto("SIP/102-0000000f", "out,1") in new stack -- Goto (sub-record-check,out,1) -- Executing [out@sub-record-check:1] ExecIf("SIP/102-0000000f", "1?Set(RECPOLICYMODE=dontcare)") in new stack -- Executing [out@sub-record-check:2] GosubIf("SIP/102-0000000f", "0?record,1(exten,0222333,102)") in new stack -- Executing [out@sub-record-check:3] Return("SIP/102-0000000f", "") in new stack -- Executing [0222333@from-internal:5] Macro("SIP/102-0000000f", "dialout-trunk,1,222333,,off") in new stack -- Executing [s@macro-dialout-trunk:1] Set("SIP/102-0000000f", "DIALTRUNK=1") in new stack -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/102-0000000f", "0?sub-pincheck,s,1()") in new stack -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/102-0000000f", "0?disabletrunk,1") in new stack -- Executing [s@macro-dialout-trunk:4] Set("SIP/102-0000000f", "DIALNUMBER=222333") in new stack -- Executing [s@macro-dialout-trunk:5] Set("SIP/102-0000000f", "DIALTRUNKOPTIONS=tr") in new stack -- Executing [s@macro-dialout-trunk:6] Set("SIP/102-0000000f", "OUTBOUNDGROUP=OUT1") in new stack -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/102-0000000f", "1?nomax") in new stack -- Goto (macro-dialout-trunk,s,9) -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/102-0000000f", "0?skipoutcid") in new stack -- Executing [s@macro-dialout-trunk:10] Set("SIP/102-0000000f", "DIALTRUNKOPTIONS=") in new stack -- Executing [s@macro-dialout-trunk:11] Macro("SIP/102-0000000f", "outbound-callerid,1") in new stack -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/102-0000000f", "0?Set(CALLERPRES()=)") in new stack -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/102-0000000f", "0?Set(REALCALLERIDNUM=102)") in new stack -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/102-0000000f", "1?normcid") in new stack -- Goto (macro-outbound-callerid,s,6) -- Executing [s@macro-outbound-callerid:6] Set("SIP/102-0000000f", "USEROUTCID=") in new stack -- Executing [s@macro-outbound-callerid:7] Set("SIP/102-0000000f", "EMERGENCYCID=") in new stack -- Executing [s@macro-outbound-callerid:8] Set("SIP/102-0000000f", "TRUNKOUTCID=") in new stack -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/102-0000000f", "1?trunkcid") in new stack -- Goto (macro-outbound-callerid,s,14) -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/102-0000000f", "0?Set(CALLERPRES()=prohibpassedscreen)") in new stack -- Executing [s@macro-outbound-callerid:18] Set("SIP/102-0000000f", "CDR(outboundcnum)=102") in new stack -- Executing [s@macro-outbound-callerid:19] Set("SIP/102-0000000f", "CDR(outboundcnam)=102") in new stack -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/102-0000000f", "0?sub-flp-1,s,1()") in new stack -- Executing [s@macro-dialout-trunk:13] Set("SIP/102-0000000f", "OUTNUM=222333") in new stack -- Executing [s@macro-dialout-trunk:14] Set("SIP/102-0000000f", "custom=DAHDI/g0") in new stack -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/102-0000000f", "0?Set(DIALTRUNKOPTIONS=M(setmusic^default))") in new stack -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/102-0000000f", "0?Set(DIALTRUNK_OPTIONS=M(confirm))") in new stack -- Executing [s@macro-dialout-trunk:17] Macro("SIP/102-0000000f", "dialout-trunk-predial-hook,") in new stack -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/102-0000000f", "") in new stack -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/102-0000000f", "0?bypass,1") in new stack -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/102-0000000f", "1?Set(CONNECTEDLINE(num,i)=222333)") in new stack -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/102-0000000f", "1?Set(CONNECTEDLINE(name,i)=CID:102)") in new stack -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/102-0000000f", "0?customtrunk") in new stack -- Executing [s@macro-dialout-trunk:22] Dial("SIP/102-0000000f", "DAHDI/g0/222333,300,") in new stack -- Requested transfer capability: 0x00 - SPEECH -- Called DAHDI/g0/222333 -- Accepting call from '102' to '222333' on channel 0/1, span 2 -- Executing [222333@from-internal:1] ResetCDR("DAHDI/i2/102-e", "") in new stack -- Executing [222333@from-internal:2] NoCDR("DAHDI/i2/102-e", "") in new stack -- Executing [222333@from-internal:3] Progress("DAHDI/i2/102-e", "") in new stack -- Executing [222333@from-internal:4] Wait("DAHDI/i2/102-e", "1") in new stack -- DAHDI/i1/222333-e is proceeding passing it to SIP/102-0000000f -- DAHDI/i1/222333-e is making progress passing it to SIP/102-0000000f -- Executing [222333@from-internal:5] Progress("DAHDI/i2/102-e", "") in new stack -- Executing [222333@from-internal:6] Playback("DAHDI/i2/102-e", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack -- <dahdi i2="" 102-e=""> Playing 'silence/1.slin' (language 'ru') -- <dahdi i2="" 102-e=""> Playing 'cannot-complete-as-dialed.slin' (language 'ru') -- <dahdi i2="" 102-e=""> Playing 'check-number-dial-again.slin' (language 'ru') -- Remote UNIX connection -- Remote UNIX connection disconnected -- Executing [222333@from-internal:7] Wait("DAHDI/i2/102-e", "1") in new stack -- Hungup 'DAHDI/i1/222333-e' == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/102-0000000f' in macro 'dialout-trunk' == Spawn extension (from-internal, 0222333, 5) exited non-zero on 'SIP/102-0000000f' -- Executing [h@from-internal:1] Hangup("SIP/102-0000000f", "") in new stack == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/102-0000000f' -- Span 2: Channel 0/1 got hangup request, cause 16 == Spawn extension (from-internal, 222333, 7) exited non-zero on 'DAHDI/i2/102-e' -- Executing [h@from-internal:1] Hangup("DAHDI/i2/102-e", "") in new stack == Spawn extension (from-internal, h, 1) exited non-zero on 'DAHDI/i2/102-e' -- Hungup 'DAHDI/i2/102-e'

Elastix+Quasar MEE не проходят входящие звонки

Очень нужна помощь Установлен Elastix 2.5.0 c картой Quasar MEE. Исходящие вызовы по обоим транкам проходят, а вот со входящими вызовами беда. Входящий маршрут добавлен. Сейчас сделано кольцо между двумя транками, то есть с одного выхожу на другой по did входящий должен придти, но увы. идёт сообщение что соединение невозможно, пожалуйста проверьте номер. Лог прикрепляю Вызов делаю с номера 102 на 222333 ноль выход на транк на входящем маршруте настроено 222333 приходить на внутренний 101.

== Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [0222333@from-internal:1] Macro("SIP/102-0000000f", "user-callerid,LIMIT,EXTERNAL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/102-0000000f", "TOUCHMONITOR=1441647595.41") "TOUCH_MONITOR=1441647595.41") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/102-0000000f", "AMPUSER=102") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/102-0000000f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/102-0000000f", "1?Set(REALCALLERIDNUM=102)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/102-0000000f", "AMPUSER=102") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/102-0000000f", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/102-0000000f", "AMPUSERCIDNAME=102") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/102-0000000f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/102-0000000f", "AMPUSERCID=102") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/102-0000000f", "DIALOPTIONS=tr") "__DIAL_OPTIONS=tr") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/102-0000000f", "CALLERID(all)="102" <102>") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/102-0000000f", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("SIP/102-0000000f", "1?Set(GROUP(concurrencylimit)=102)") "1?Set(GROUP(concurrency_limit)=102)") in new stack
    -- Executing [s@macro-user-callerid:14] ExecIf("SIP/102-0000000f", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:15] GotoIf("SIP/102-0000000f", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,28)
    -- Executing [s@macro-user-callerid:28] Set("SIP/102-0000000f", "CALLERID(number)=102") in new stack
    -- Executing [s@macro-user-callerid:29] Set("SIP/102-0000000f", "CALLERID(name)=102") in new stack
    -- Executing [s@macro-user-callerid:30] Set("SIP/102-0000000f", "CDR(cnum)=102") in new stack
    -- Executing [s@macro-user-callerid:31] Set("SIP/102-0000000f", "CDR(cnam)=102") in new stack
    -- Executing [s@macro-user-callerid:32] Set("SIP/102-0000000f", "CHANNEL(language)=ru") in new stack
    -- Executing [0222333@from-internal:2] Set("SIP/102-0000000f", "MOHCLASS=default") in new stack
    -- Executing [0222333@from-internal:3] Set("SIP/102-0000000f", "NODEST=") "_NODEST=") in new stack
    -- Executing [0222333@from-internal:4] Gosub("SIP/102-0000000f", "sub-record-check,s,1(out,0222333,)") in new stack
    -- Executing [s@sub-record-check:1] Set("SIP/102-0000000f", "RECPOLICYMODESAVE=") "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:2] GotoIf("SIP/102-0000000f", "1?check") in new stack
    -- Goto (sub-record-check,s,7)
    -- Executing [s@sub-record-check:7] Set("SIP/102-0000000f", "MONFMT=wav") "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:8] GotoIf("SIP/102-0000000f", "1?next") in new stack
    -- Goto (sub-record-check,s,11)
    -- Executing [s@sub-record-check:11] ExecIf("SIP/102-0000000f", "0?Return()") in new stack
    -- Executing [s@sub-record-check:12] ExecIf("SIP/102-0000000f", "0?Set(RECPOLICYMODE=)") "0?Set(__REC_POLICY_MODE=)") in new stack
    -- Executing [s@sub-record-check:13] GotoIf("SIP/102-0000000f", "0?out,1") in new stack
    -- Executing [s@sub-record-check:14] Set("SIP/102-0000000f", "RECSTATUS=INITIALIZED") "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:15] Set("SIP/102-0000000f", "NOW=1441647595") in new stack
    -- Executing [s@sub-record-check:16] Set("SIP/102-0000000f", "DAY=07") "__DAY=07") in new stack
    -- Executing [s@sub-record-check:17] Set("SIP/102-0000000f", "MONTH=09") "__MONTH=09") in new stack
    -- Executing [s@sub-record-check:18] Set("SIP/102-0000000f", "YEAR=2015") "__YEAR=2015") in new stack
    -- Executing [s@sub-record-check:19] Set("SIP/102-0000000f", "TIMESTR=20150907-213955") "__TIMESTR=20150907-213955") in new stack
    -- Executing [s@sub-record-check:20] Set("SIP/102-0000000f", "FROMEXTEN=102") "__FROMEXTEN=102") in new stack
    -- Executing [s@sub-record-check:21] Set("SIP/102-0000000f", "CALLFILENAME=out-0222333-102-20150907-213955-1441647595.41") "__CALLFILENAME=out-0222333-102-20150907-213955-1441647595.41") in new stack
    -- Executing [s@sub-record-check:22] Goto("SIP/102-0000000f", "out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [out@sub-record-check:1] ExecIf("SIP/102-0000000f", "1?Set(RECPOLICYMODE=dontcare)") "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
    -- Executing [out@sub-record-check:2] GosubIf("SIP/102-0000000f", "0?record,1(exten,0222333,102)") in new stack
    -- Executing [out@sub-record-check:3] Return("SIP/102-0000000f", "") in new stack
    -- Executing [0222333@from-internal:5] Macro("SIP/102-0000000f", "dialout-trunk,1,222333,,off") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/102-0000000f", "DIALTRUNK=1") "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/102-0000000f", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/102-0000000f", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/102-0000000f", "DIALNUMBER=222333") "DIAL_NUMBER=222333") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/102-0000000f", "DIALTRUNKOPTIONS=tr") "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/102-0000000f", "OUTBOUNDGROUP=OUT1") "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/102-0000000f", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/102-0000000f", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/102-0000000f", "DIALTRUNKOPTIONS=") "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/102-0000000f", "outbound-callerid,1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/102-0000000f", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/102-0000000f", "0?Set(REALCALLERIDNUM=102)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/102-0000000f", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/102-0000000f", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/102-0000000f", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/102-0000000f", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/102-0000000f", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,14)
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/102-0000000f", "0?Set(CALLERPRES()=prohibpassedscreen)") "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:18] Set("SIP/102-0000000f", "CDR(outboundcnum)=102") "CDR(outbound_cnum)=102") in new stack
    -- Executing [s@macro-outbound-callerid:19] Set("SIP/102-0000000f", "CDR(outboundcnam)=102") "CDR(outbound_cnam)=102") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/102-0000000f", "0?sub-flp-1,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/102-0000000f", "OUTNUM=222333") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/102-0000000f", "custom=DAHDI/g0") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/102-0000000f", "0?Set(DIALTRUNKOPTIONS=M(setmusic^default))") "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
    -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/102-0000000f", "0?Set(DIALTRUNK_OPTIONS=M(confirm))") "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/102-0000000f", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/102-0000000f", "") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/102-0000000f", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/102-0000000f", "1?Set(CONNECTEDLINE(num,i)=222333)") in new stack
    -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/102-0000000f", "1?Set(CONNECTEDLINE(name,i)=CID:102)") in new stack
    -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/102-0000000f", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:22] Dial("SIP/102-0000000f", "DAHDI/g0/222333,300,") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called DAHDI/g0/222333
    -- Accepting call from '102' to '222333' on channel 0/1, span 2
    -- Executing [222333@from-internal:1] ResetCDR("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:2] NoCDR("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:3] Progress("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:4] Wait("DAHDI/i2/102-e", "1") in new stack
    -- DAHDI/i1/222333-e is proceeding passing it to SIP/102-0000000f
    -- DAHDI/i1/222333-e is making progress passing it to SIP/102-0000000f
    -- Executing [222333@from-internal:5] Progress("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:6] Playback("DAHDI/i2/102-e", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
    -- <dahdi i2="" 102-e=""> <DAHDI/i2/102-e> Playing 'silence/1.slin' (language 'ru')
    -- <dahdi i2="" 102-e=""> <DAHDI/i2/102-e> Playing 'cannot-complete-as-dialed.slin' (language 'ru')
    -- <dahdi i2="" 102-e=""> <DAHDI/i2/102-e> Playing 'check-number-dial-again.slin' (language 'ru')
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Executing [222333@from-internal:7] Wait("DAHDI/i2/102-e", "1") in new stack
    -- Hungup 'DAHDI/i1/222333-e'
  == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/102-0000000f' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 0222333, 5) exited non-zero on 'SIP/102-0000000f'
    -- Executing [h@from-internal:1] Hangup("SIP/102-0000000f", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/102-0000000f'
    -- Span 2: Channel 0/1 got hangup request, cause 16
  == Spawn extension (from-internal, 222333, 7) exited non-zero on 'DAHDI/i2/102-e'
    -- Executing [h@from-internal:1] Hangup("DAHDI/i2/102-e", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'DAHDI/i2/102-e'
    -- Hungup 'DAHDI/i2/102-e'

'DAHDI/i2/102-e'

Elastix+Quasar MEE не проходят входящие звонки

Очень нужна помощь Установлен Elastix 2.5.0 c картой Quasar MEE. Исходящие вызовы по обоим транкам проходят, а вот со входящими вызовами беда. Входящий маршрут добавлен. Сейчас сделано кольцо между двумя транками, то есть с одного выхожу на другой по did входящий должен придти, но увы. идёт сообщение что соединение невозможно, пожалуйста проверьте номер. Лог прикрепляю Вызов делаю с номера 102 на 222333 ноль выход на транк на входящем маршруте настроено 222333 приходить на внутренний 101.

== Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [0222333@from-internal:1] Macro("SIP/102-0000000f", "user-callerid,LIMIT,EXTERNAL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/102-0000000f", "TOUCH_MONITOR=1441647595.41") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/102-0000000f", "AMPUSER=102") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/102-0000000f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/102-0000000f", "1?Set(REALCALLERIDNUM=102)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/102-0000000f", "AMPUSER=102") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/102-0000000f", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/102-0000000f", "AMPUSERCIDNAME=102") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/102-0000000f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/102-0000000f", "AMPUSERCID=102") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/102-0000000f", "__DIAL_OPTIONS=tr") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/102-0000000f", "CALLERID(all)="102" <102>") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/102-0000000f", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("SIP/102-0000000f", "1?Set(GROUP(concurrency_limit)=102)") in new stack
    -- Executing [s@macro-user-callerid:14] ExecIf("SIP/102-0000000f", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:15] GotoIf("SIP/102-0000000f", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,28)
    -- Executing [s@macro-user-callerid:28] Set("SIP/102-0000000f", "CALLERID(number)=102") in new stack
    -- Executing [s@macro-user-callerid:29] Set("SIP/102-0000000f", "CALLERID(name)=102") in new stack
    -- Executing [s@macro-user-callerid:30] Set("SIP/102-0000000f", "CDR(cnum)=102") in new stack
    -- Executing [s@macro-user-callerid:31] Set("SIP/102-0000000f", "CDR(cnam)=102") in new stack
    -- Executing [s@macro-user-callerid:32] Set("SIP/102-0000000f", "CHANNEL(language)=ru") in new stack
    -- Executing [0222333@from-internal:2] Set("SIP/102-0000000f", "MOHCLASS=default") in new stack
    -- Executing [0222333@from-internal:3] Set("SIP/102-0000000f", "_NODEST=") in new stack
    -- Executing [0222333@from-internal:4] Gosub("SIP/102-0000000f", "sub-record-check,s,1(out,0222333,)") in new stack
    -- Executing [s@sub-record-check:1] Set("SIP/102-0000000f", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:2] GotoIf("SIP/102-0000000f", "1?check") in new stack
    -- Goto (sub-record-check,s,7)
    -- Executing [s@sub-record-check:7] Set("SIP/102-0000000f", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:8] GotoIf("SIP/102-0000000f", "1?next") in new stack
    -- Goto (sub-record-check,s,11)
    -- Executing [s@sub-record-check:11] ExecIf("SIP/102-0000000f", "0?Return()") in new stack
    -- Executing [s@sub-record-check:12] ExecIf("SIP/102-0000000f", "0?Set(__REC_POLICY_MODE=)") in new stack
    -- Executing [s@sub-record-check:13] GotoIf("SIP/102-0000000f", "0?out,1") in new stack
    -- Executing [s@sub-record-check:14] Set("SIP/102-0000000f", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:15] Set("SIP/102-0000000f", "NOW=1441647595") in new stack
    -- Executing [s@sub-record-check:16] Set("SIP/102-0000000f", "__DAY=07") in new stack
    -- Executing [s@sub-record-check:17] Set("SIP/102-0000000f", "__MONTH=09") in new stack
    -- Executing [s@sub-record-check:18] Set("SIP/102-0000000f", "__YEAR=2015") in new stack
    -- Executing [s@sub-record-check:19] Set("SIP/102-0000000f", "__TIMESTR=20150907-213955") in new stack
    -- Executing [s@sub-record-check:20] Set("SIP/102-0000000f", "__FROMEXTEN=102") in new stack
    -- Executing [s@sub-record-check:21] Set("SIP/102-0000000f", "__CALLFILENAME=out-0222333-102-20150907-213955-1441647595.41") in new stack
    -- Executing [s@sub-record-check:22] Goto("SIP/102-0000000f", "out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [out@sub-record-check:1] ExecIf("SIP/102-0000000f", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
    -- Executing [out@sub-record-check:2] GosubIf("SIP/102-0000000f", "0?record,1(exten,0222333,102)") in new stack
    -- Executing [out@sub-record-check:3] Return("SIP/102-0000000f", "") in new stack
    -- Executing [0222333@from-internal:5] Macro("SIP/102-0000000f", "dialout-trunk,1,222333,,off") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/102-0000000f", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/102-0000000f", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/102-0000000f", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/102-0000000f", "DIAL_NUMBER=222333") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/102-0000000f", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/102-0000000f", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/102-0000000f", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/102-0000000f", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/102-0000000f", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/102-0000000f", "outbound-callerid,1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/102-0000000f", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/102-0000000f", "0?Set(REALCALLERIDNUM=102)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/102-0000000f", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/102-0000000f", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/102-0000000f", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/102-0000000f", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/102-0000000f", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,14)
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/102-0000000f", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:18] Set("SIP/102-0000000f", "CDR(outbound_cnum)=102") in new stack
    -- Executing [s@macro-outbound-callerid:19] Set("SIP/102-0000000f", "CDR(outbound_cnam)=102") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/102-0000000f", "0?sub-flp-1,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/102-0000000f", "OUTNUM=222333") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/102-0000000f", "custom=DAHDI/g0") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/102-0000000f", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
    -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/102-0000000f", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/102-0000000f", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/102-0000000f", "") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/102-0000000f", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/102-0000000f", "1?Set(CONNECTEDLINE(num,i)=222333)") in new stack
    -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/102-0000000f", "1?Set(CONNECTEDLINE(name,i)=CID:102)") in new stack
    -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/102-0000000f", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:22] Dial("SIP/102-0000000f", "DAHDI/g0/222333,300,") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called DAHDI/g0/222333
    -- Accepting call from '102' to '222333' on channel 0/1, span 2
    -- Executing [222333@from-internal:1] ResetCDR("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:2] NoCDR("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:3] Progress("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:4] Wait("DAHDI/i2/102-e", "1") in new stack
    -- DAHDI/i1/222333-e is proceeding passing it to SIP/102-0000000f
    -- DAHDI/i1/222333-e is making progress passing it to SIP/102-0000000f
    -- Executing [222333@from-internal:5] Progress("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:6] Playback("DAHDI/i2/102-e", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
    -- <DAHDI/i2/102-e> Playing 'silence/1.slin' (language 'ru')
    -- <DAHDI/i2/102-e> Playing 'cannot-complete-as-dialed.slin' (language 'ru')
    -- <DAHDI/i2/102-e> Playing 'check-number-dial-again.slin' (language 'ru')
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Executing [222333@from-internal:7] Wait("DAHDI/i2/102-e", "1") in new stack
    -- Hungup 'DAHDI/i1/222333-e'
  == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/102-0000000f' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 0222333, 5) exited non-zero on 'SIP/102-0000000f'
    -- Executing [h@from-internal:1] Hangup("SIP/102-0000000f", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/102-0000000f'
    -- Span 2: Channel 0/1 got hangup request, cause 16
  == Spawn extension (from-internal, 222333, 7) exited non-zero on 'DAHDI/i2/102-e'
    -- Executing [h@from-internal:1] Hangup("DAHDI/i2/102-e", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'DAHDI/i2/102-e'
    -- Hungup 'DAHDI/i2/102-e'

Я не изменял ничего после установки, добавил только исходящий и входящий маршруты через web интерфейс. В extensions.conf содержится только такой контекст ; INTERNAL DIALPLAN, NOT OPEN TO THE PUBLIC WORLD * ;************************* ;

;------------------------------------------------------------------------------- ; from-internal: ; ; Internal dialplan that most internal phones have access to ; [from-internal] include => from-internal-noxfer include => from-internal-xfer include => bad-number ; auto-generated ;-------------------------------------------------------------------------------

;------------------------------------------------------------------------------- ; from-internal-noxfer: ; ; Place to put internal dialplan that should not be accessible during a blind ; transfer, this context will not be visible during such. ; [from-internal-noxfer] include => from-internal-noxfer-custom include => from-internal-noxfer-additional ; auto-generated ;-------------------------------------------------------------------------------

;------------------------------------------------------------------------------- ; from-internal-xfer: ; ; Place to put most internal dialplan, will be visible during normal calls and ; blind transfers. ; [from-internal-xfer] include => from-internal-custom include => from-internal-additional ; auto-generated exten => s,1,Macro(hangupcall) exten => h,1,Macro(hangupcall) ;-------------------------------------------------------------------------------

а при добавление правила изменяется файл extensionsadditionals [ext-did-0002] include => ext-did-0002-custom exten => fax,1,Goto(${CUT(FAXDEST,^,1)},${CUT(FAXDEST,^,2)},${CUT(FAXDEST,^,3)})

exten => 222333,1,Set(FROMDID=${EXTEN}) exten => 222333,n,Gosub(app-blacklist-check,s,1()) exten => 222333,n,Set(CDR(did)=${FROMDID}) exten => 222333,n,ExecIf($[ "${CALLERID(name)}" = "" ] ?Set(CALLERID(name)=${CALLERID(num)})) exten => 222333,n,Set(CHANNEL(musicclass)=default) exten => 222333,n,Set(MOHCLASS=default) exten => 222333,n,Set(_CALLINGPRESSV=${CALLERPRES()}) exten => 222333,n,Set(CALLERPRES()=allowednotscreened) exten => 222333,n(dest-ext),Goto(ivr-4,s,1)

Elastix+Quasar MEE не проходят входящие звонки

Очень нужна помощь Установлен Elastix 2.5.0 c картой Quasar MEE. Исходящие вызовы по обоим транкам проходят, а вот со входящими вызовами беда. Входящий маршрут добавлен. Сейчас сделано кольцо между двумя транками, то есть с одного выхожу на другой по did входящий должен придти, но увы. идёт сообщение что соединение невозможно, пожалуйста проверьте номер. Лог прикрепляю Вызов делаю с номера 102 на 222333 ноль выход на транк на входящем маршруте настроено 222333 приходить на внутренний 101.

== Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [0222333@from-internal:1] Macro("SIP/102-0000000f", "user-callerid,LIMIT,EXTERNAL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/102-0000000f", "TOUCH_MONITOR=1441647595.41") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/102-0000000f", "AMPUSER=102") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/102-0000000f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/102-0000000f", "1?Set(REALCALLERIDNUM=102)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/102-0000000f", "AMPUSER=102") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/102-0000000f", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/102-0000000f", "AMPUSERCIDNAME=102") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/102-0000000f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/102-0000000f", "AMPUSERCID=102") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/102-0000000f", "__DIAL_OPTIONS=tr") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/102-0000000f", "CALLERID(all)="102" <102>") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/102-0000000f", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("SIP/102-0000000f", "1?Set(GROUP(concurrency_limit)=102)") in new stack
    -- Executing [s@macro-user-callerid:14] ExecIf("SIP/102-0000000f", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:15] GotoIf("SIP/102-0000000f", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,28)
    -- Executing [s@macro-user-callerid:28] Set("SIP/102-0000000f", "CALLERID(number)=102") in new stack
    -- Executing [s@macro-user-callerid:29] Set("SIP/102-0000000f", "CALLERID(name)=102") in new stack
    -- Executing [s@macro-user-callerid:30] Set("SIP/102-0000000f", "CDR(cnum)=102") in new stack
    -- Executing [s@macro-user-callerid:31] Set("SIP/102-0000000f", "CDR(cnam)=102") in new stack
    -- Executing [s@macro-user-callerid:32] Set("SIP/102-0000000f", "CHANNEL(language)=ru") in new stack
    -- Executing [0222333@from-internal:2] Set("SIP/102-0000000f", "MOHCLASS=default") in new stack
    -- Executing [0222333@from-internal:3] Set("SIP/102-0000000f", "_NODEST=") in new stack
    -- Executing [0222333@from-internal:4] Gosub("SIP/102-0000000f", "sub-record-check,s,1(out,0222333,)") in new stack
    -- Executing [s@sub-record-check:1] Set("SIP/102-0000000f", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:2] GotoIf("SIP/102-0000000f", "1?check") in new stack
    -- Goto (sub-record-check,s,7)
    -- Executing [s@sub-record-check:7] Set("SIP/102-0000000f", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:8] GotoIf("SIP/102-0000000f", "1?next") in new stack
    -- Goto (sub-record-check,s,11)
    -- Executing [s@sub-record-check:11] ExecIf("SIP/102-0000000f", "0?Return()") in new stack
    -- Executing [s@sub-record-check:12] ExecIf("SIP/102-0000000f", "0?Set(__REC_POLICY_MODE=)") in new stack
    -- Executing [s@sub-record-check:13] GotoIf("SIP/102-0000000f", "0?out,1") in new stack
    -- Executing [s@sub-record-check:14] Set("SIP/102-0000000f", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:15] Set("SIP/102-0000000f", "NOW=1441647595") in new stack
    -- Executing [s@sub-record-check:16] Set("SIP/102-0000000f", "__DAY=07") in new stack
    -- Executing [s@sub-record-check:17] Set("SIP/102-0000000f", "__MONTH=09") in new stack
    -- Executing [s@sub-record-check:18] Set("SIP/102-0000000f", "__YEAR=2015") in new stack
    -- Executing [s@sub-record-check:19] Set("SIP/102-0000000f", "__TIMESTR=20150907-213955") in new stack
    -- Executing [s@sub-record-check:20] Set("SIP/102-0000000f", "__FROMEXTEN=102") in new stack
    -- Executing [s@sub-record-check:21] Set("SIP/102-0000000f", "__CALLFILENAME=out-0222333-102-20150907-213955-1441647595.41") in new stack
    -- Executing [s@sub-record-check:22] Goto("SIP/102-0000000f", "out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [out@sub-record-check:1] ExecIf("SIP/102-0000000f", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
    -- Executing [out@sub-record-check:2] GosubIf("SIP/102-0000000f", "0?record,1(exten,0222333,102)") in new stack
    -- Executing [out@sub-record-check:3] Return("SIP/102-0000000f", "") in new stack
    -- Executing [0222333@from-internal:5] Macro("SIP/102-0000000f", "dialout-trunk,1,222333,,off") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/102-0000000f", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/102-0000000f", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/102-0000000f", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/102-0000000f", "DIAL_NUMBER=222333") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/102-0000000f", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/102-0000000f", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/102-0000000f", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/102-0000000f", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/102-0000000f", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/102-0000000f", "outbound-callerid,1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/102-0000000f", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/102-0000000f", "0?Set(REALCALLERIDNUM=102)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/102-0000000f", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/102-0000000f", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/102-0000000f", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/102-0000000f", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/102-0000000f", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,14)
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/102-0000000f", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:18] Set("SIP/102-0000000f", "CDR(outbound_cnum)=102") in new stack
    -- Executing [s@macro-outbound-callerid:19] Set("SIP/102-0000000f", "CDR(outbound_cnam)=102") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/102-0000000f", "0?sub-flp-1,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/102-0000000f", "OUTNUM=222333") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/102-0000000f", "custom=DAHDI/g0") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/102-0000000f", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
    -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/102-0000000f", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/102-0000000f", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/102-0000000f", "") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/102-0000000f", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/102-0000000f", "1?Set(CONNECTEDLINE(num,i)=222333)") in new stack
    -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/102-0000000f", "1?Set(CONNECTEDLINE(name,i)=CID:102)") in new stack
    -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/102-0000000f", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:22] Dial("SIP/102-0000000f", "DAHDI/g0/222333,300,") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called DAHDI/g0/222333
    -- Accepting call from '102' to '222333' on channel 0/1, span 2
    -- Executing [222333@from-internal:1] ResetCDR("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:2] NoCDR("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:3] Progress("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:4] Wait("DAHDI/i2/102-e", "1") in new stack
    -- DAHDI/i1/222333-e is proceeding passing it to SIP/102-0000000f
    -- DAHDI/i1/222333-e is making progress passing it to SIP/102-0000000f
    -- Executing [222333@from-internal:5] Progress("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:6] Playback("DAHDI/i2/102-e", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
    -- <DAHDI/i2/102-e> Playing 'silence/1.slin' (language 'ru')
    -- <DAHDI/i2/102-e> Playing 'cannot-complete-as-dialed.slin' (language 'ru')
    -- <DAHDI/i2/102-e> Playing 'check-number-dial-again.slin' (language 'ru')
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Executing [222333@from-internal:7] Wait("DAHDI/i2/102-e", "1") in new stack
    -- Hungup 'DAHDI/i1/222333-e'
  == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/102-0000000f' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 0222333, 5) exited non-zero on 'SIP/102-0000000f'
    -- Executing [h@from-internal:1] Hangup("SIP/102-0000000f", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/102-0000000f'
    -- Span 2: Channel 0/1 got hangup request, cause 16
  == Spawn extension (from-internal, 222333, 7) exited non-zero on 'DAHDI/i2/102-e'
    -- Executing [h@from-internal:1] Hangup("DAHDI/i2/102-e", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'DAHDI/i2/102-e'
    -- Hungup 'DAHDI/i2/102-e'

Я не изменял ничего после установки, добавил только исходящий и входящий маршруты через web интерфейс. В extensions.conf содержится только такой контекст ; ==; INTERNAL DIALPLAN, NOT OPEN TO THE PUBLIC WORLD * ;==;************************* ;==;

;------------------------------------------------------------------------------- ; ==;------------------------------------------------------------------------------- --; from-internal: ; ; --; --; Internal dialplan that most internal phones have access to ; [from-internal] include => from-internal-noxfer include => from-internal-xfer include => bad-number ; auto-generated ;-------------------------------------------------------------------------------

;------------------------------------------------------------------------------- ; from-internal-noxfer: ; ; Place to put internal dialplan that should not be accessible during a blind ; transfer, this context will not be visible during such. ; [from-internal-noxfer] include => from-internal-noxfer-custom include => from-internal-noxfer-additional ; auto-generated ;-------------------------------------------------------------------------------

;------------------------------------------------------------------------------- ; from-internal-xfer: ; ; Place to put most internal dialplan, will be visible during normal calls and ; blind transfers. ; [from-internal-xfer] include => from-internal-custom include => from-internal-additional ; auto-generated exten => s,1,Macro(hangupcall) exten => h,1,Macro(hangupcall) ;-------------------------------------------------------------------------------

а при добавление правила изменяется файл extensionsadditionals [ext-did-0002] include => ext-did-0002-custom exten => fax,1,Goto(${CUT(FAXDEST,^,1)},${CUT(FAXDEST,^,2)},${CUT(FAXDEST,^,3)})

exten => 222333,1,Set(FROMDID=${EXTEN}) exten => 222333,n,Gosub(app-blacklist-check,s,1()) exten => 222333,n,Set(CDR(did)=${FROMDID}) exten => 222333,n,ExecIf($[ "${CALLERID(name)}" = "" ] ?Set(CALLERID(name)=${CALLERID(num)})) exten => 222333,n,Set(CHANNEL(musicclass)=default) exten => 222333,n,Set(MOHCLASS=default) exten => 222333,n,Set(_CALLINGPRESSV=${CALLERPRES()}) exten => 222333,n,Set(CALLERPRES()=allowednotscreened) exten => 222333,n(dest-ext),Goto(ivr-4,s,1)

Elastix+Quasar MEE не проходят входящие звонки

Очень нужна помощь Установлен Elastix 2.5.0 c картой Quasar MEE. Исходящие вызовы по обоим транкам проходят, а вот со входящими вызовами беда. Входящий маршрут добавлен. Сейчас сделано кольцо между двумя транками, то есть с одного выхожу на другой по did входящий должен придти, но увы. идёт сообщение что соединение невозможно, пожалуйста проверьте номер. Лог прикрепляю Вызов делаю с номера 102 на 222333 ноль выход на транк на входящем маршруте настроено 222333 приходить на внутренний 101.

== Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [0222333@from-internal:1] Macro("SIP/102-0000000f", "user-callerid,LIMIT,EXTERNAL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/102-0000000f", "TOUCH_MONITOR=1441647595.41") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/102-0000000f", "AMPUSER=102") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/102-0000000f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/102-0000000f", "1?Set(REALCALLERIDNUM=102)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/102-0000000f", "AMPUSER=102") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/102-0000000f", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/102-0000000f", "AMPUSERCIDNAME=102") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/102-0000000f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/102-0000000f", "AMPUSERCID=102") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/102-0000000f", "__DIAL_OPTIONS=tr") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/102-0000000f", "CALLERID(all)="102" <102>") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/102-0000000f", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("SIP/102-0000000f", "1?Set(GROUP(concurrency_limit)=102)") in new stack
    -- Executing [s@macro-user-callerid:14] ExecIf("SIP/102-0000000f", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:15] GotoIf("SIP/102-0000000f", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,28)
    -- Executing [s@macro-user-callerid:28] Set("SIP/102-0000000f", "CALLERID(number)=102") in new stack
    -- Executing [s@macro-user-callerid:29] Set("SIP/102-0000000f", "CALLERID(name)=102") in new stack
    -- Executing [s@macro-user-callerid:30] Set("SIP/102-0000000f", "CDR(cnum)=102") in new stack
    -- Executing [s@macro-user-callerid:31] Set("SIP/102-0000000f", "CDR(cnam)=102") in new stack
    -- Executing [s@macro-user-callerid:32] Set("SIP/102-0000000f", "CHANNEL(language)=ru") in new stack
    -- Executing [0222333@from-internal:2] Set("SIP/102-0000000f", "MOHCLASS=default") in new stack
    -- Executing [0222333@from-internal:3] Set("SIP/102-0000000f", "_NODEST=") in new stack
    -- Executing [0222333@from-internal:4] Gosub("SIP/102-0000000f", "sub-record-check,s,1(out,0222333,)") in new stack
    -- Executing [s@sub-record-check:1] Set("SIP/102-0000000f", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:2] GotoIf("SIP/102-0000000f", "1?check") in new stack
    -- Goto (sub-record-check,s,7)
    -- Executing [s@sub-record-check:7] Set("SIP/102-0000000f", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:8] GotoIf("SIP/102-0000000f", "1?next") in new stack
    -- Goto (sub-record-check,s,11)
    -- Executing [s@sub-record-check:11] ExecIf("SIP/102-0000000f", "0?Return()") in new stack
    -- Executing [s@sub-record-check:12] ExecIf("SIP/102-0000000f", "0?Set(__REC_POLICY_MODE=)") in new stack
    -- Executing [s@sub-record-check:13] GotoIf("SIP/102-0000000f", "0?out,1") in new stack
    -- Executing [s@sub-record-check:14] Set("SIP/102-0000000f", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:15] Set("SIP/102-0000000f", "NOW=1441647595") in new stack
    -- Executing [s@sub-record-check:16] Set("SIP/102-0000000f", "__DAY=07") in new stack
    -- Executing [s@sub-record-check:17] Set("SIP/102-0000000f", "__MONTH=09") in new stack
    -- Executing [s@sub-record-check:18] Set("SIP/102-0000000f", "__YEAR=2015") in new stack
    -- Executing [s@sub-record-check:19] Set("SIP/102-0000000f", "__TIMESTR=20150907-213955") in new stack
    -- Executing [s@sub-record-check:20] Set("SIP/102-0000000f", "__FROMEXTEN=102") in new stack
    -- Executing [s@sub-record-check:21] Set("SIP/102-0000000f", "__CALLFILENAME=out-0222333-102-20150907-213955-1441647595.41") in new stack
    -- Executing [s@sub-record-check:22] Goto("SIP/102-0000000f", "out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [out@sub-record-check:1] ExecIf("SIP/102-0000000f", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
    -- Executing [out@sub-record-check:2] GosubIf("SIP/102-0000000f", "0?record,1(exten,0222333,102)") in new stack
    -- Executing [out@sub-record-check:3] Return("SIP/102-0000000f", "") in new stack
    -- Executing [0222333@from-internal:5] Macro("SIP/102-0000000f", "dialout-trunk,1,222333,,off") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/102-0000000f", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/102-0000000f", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/102-0000000f", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/102-0000000f", "DIAL_NUMBER=222333") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/102-0000000f", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/102-0000000f", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/102-0000000f", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/102-0000000f", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/102-0000000f", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/102-0000000f", "outbound-callerid,1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/102-0000000f", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/102-0000000f", "0?Set(REALCALLERIDNUM=102)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/102-0000000f", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/102-0000000f", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/102-0000000f", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/102-0000000f", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/102-0000000f", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,14)
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/102-0000000f", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:18] Set("SIP/102-0000000f", "CDR(outbound_cnum)=102") in new stack
    -- Executing [s@macro-outbound-callerid:19] Set("SIP/102-0000000f", "CDR(outbound_cnam)=102") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/102-0000000f", "0?sub-flp-1,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/102-0000000f", "OUTNUM=222333") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/102-0000000f", "custom=DAHDI/g0") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/102-0000000f", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
    -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/102-0000000f", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/102-0000000f", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/102-0000000f", "") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/102-0000000f", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/102-0000000f", "1?Set(CONNECTEDLINE(num,i)=222333)") in new stack
    -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/102-0000000f", "1?Set(CONNECTEDLINE(name,i)=CID:102)") in new stack
    -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/102-0000000f", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:22] Dial("SIP/102-0000000f", "DAHDI/g0/222333,300,") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called DAHDI/g0/222333
    -- Accepting call from '102' to '222333' on channel 0/1, span 2
    -- Executing [222333@from-internal:1] ResetCDR("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:2] NoCDR("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:3] Progress("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:4] Wait("DAHDI/i2/102-e", "1") in new stack
    -- DAHDI/i1/222333-e is proceeding passing it to SIP/102-0000000f
    -- DAHDI/i1/222333-e is making progress passing it to SIP/102-0000000f
    -- Executing [222333@from-internal:5] Progress("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:6] Playback("DAHDI/i2/102-e", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
    -- <DAHDI/i2/102-e> Playing 'silence/1.slin' (language 'ru')
    -- <DAHDI/i2/102-e> Playing 'cannot-complete-as-dialed.slin' (language 'ru')
    -- <DAHDI/i2/102-e> Playing 'check-number-dial-again.slin' (language 'ru')
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Executing [222333@from-internal:7] Wait("DAHDI/i2/102-e", "1") in new stack
    -- Hungup 'DAHDI/i1/222333-e'
  == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/102-0000000f' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 0222333, 5) exited non-zero on 'SIP/102-0000000f'
    -- Executing [h@from-internal:1] Hangup("SIP/102-0000000f", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/102-0000000f'
    -- Span 2: Channel 0/1 got hangup request, cause 16
  == Spawn extension (from-internal, 222333, 7) exited non-zero on 'DAHDI/i2/102-e'
    -- Executing [h@from-internal:1] Hangup("DAHDI/i2/102-e", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'DAHDI/i2/102-e'
    -- Hungup 'DAHDI/i2/102-e'

Я не изменял ничего после установки, добавил только исходящий и входящий маршруты через web интерфейс. В extensions.conf содержится только такой контекст ==; INTERNAL DIALPLAN, NOT OPEN TO THE PUBLIC WORLD * ==;************************* ==;

==;------------------------------------------------------------------------------- --; from-internal: --; --; Internal dialplan that most internal phones have access to ; [from-internal] include => from-internal-noxfer include => from-internal-xfer include => bad-number ; auto-generated ;-------------------------------------------------------------------------------

;------------------------------------------------------------------------------- ; from-internal-noxfer: ; ; Place to put internal dialplan that should not be accessible during a blind ; transfer, this context will not be visible during such. ; [from-internal-noxfer] include => from-internal-noxfer-custom include => from-internal-noxfer-additional ; auto-generated ;-------------------------------------------------------------------------------

;------------------------------------------------------------------------------- ; from-internal-xfer: ; ; Place to put most internal dialplan, will be visible during normal calls and ; blind transfers. ; [from-internal-xfer] include => from-internal-custom include => from-internal-additional ; auto-generated exten => s,1,Macro(hangupcall) exten => h,1,Macro(hangupcall) ;-------------------------------------------------------------------------------

а при добавление правила изменяется файл extensionsadditionals [ext-did-0002] include => ext-did-0002-custom exten => fax,1,Goto(${CUT(FAXDEST,^,1)},${CUT(FAXDEST,^,2)},${CUT(FAXDEST,^,3)})

exten => 222333,1,Set(FROMDID=${EXTEN}) exten => 222333,n,Gosub(app-blacklist-check,s,1()) exten => 222333,n,Set(CDR(did)=${FROMDID}) exten => 222333,n,ExecIf($[ "${CALLERID(name)}" = "" ] ?Set(CALLERID(name)=${CALLERID(num)})) exten => 222333,n,Set(CHANNEL(musicclass)=default) exten => 222333,n,Set(MOHCLASS=default) exten => 222333,n,Set(_CALLINGPRESSV=${CALLERPRES()}) exten => 222333,n,Set(CALLERPRES()=allowednotscreened) exten => 222333,n(dest-ext),Goto(ivr-4,s,1)

Elastix+Quasar MEE не проходят входящие звонки

Очень нужна помощь Установлен Elastix 2.5.0 c картой Quasar MEE. Исходящие вызовы по обоим транкам проходят, а вот со входящими вызовами беда. Входящий маршрут добавлен. Сейчас сделано кольцо между двумя транками, то есть с одного выхожу на другой по did входящий должен придти, но увы. идёт сообщение что соединение невозможно, пожалуйста проверьте номер. Лог прикрепляю Вызов делаю с номера 102 на 222333 ноль выход на транк на входящем маршруте настроено 222333 приходить на внутренний 101.

== Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [0222333@from-internal:1] Macro("SIP/102-0000000f", "user-callerid,LIMIT,EXTERNAL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/102-0000000f", "TOUCH_MONITOR=1441647595.41") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/102-0000000f", "AMPUSER=102") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/102-0000000f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/102-0000000f", "1?Set(REALCALLERIDNUM=102)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/102-0000000f", "AMPUSER=102") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/102-0000000f", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/102-0000000f", "AMPUSERCIDNAME=102") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/102-0000000f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/102-0000000f", "AMPUSERCID=102") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/102-0000000f", "__DIAL_OPTIONS=tr") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/102-0000000f", "CALLERID(all)="102" <102>") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/102-0000000f", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("SIP/102-0000000f", "1?Set(GROUP(concurrency_limit)=102)") in new stack
    -- Executing [s@macro-user-callerid:14] ExecIf("SIP/102-0000000f", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:15] GotoIf("SIP/102-0000000f", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,28)
    -- Executing [s@macro-user-callerid:28] Set("SIP/102-0000000f", "CALLERID(number)=102") in new stack
    -- Executing [s@macro-user-callerid:29] Set("SIP/102-0000000f", "CALLERID(name)=102") in new stack
    -- Executing [s@macro-user-callerid:30] Set("SIP/102-0000000f", "CDR(cnum)=102") in new stack
    -- Executing [s@macro-user-callerid:31] Set("SIP/102-0000000f", "CDR(cnam)=102") in new stack
    -- Executing [s@macro-user-callerid:32] Set("SIP/102-0000000f", "CHANNEL(language)=ru") in new stack
    -- Executing [0222333@from-internal:2] Set("SIP/102-0000000f", "MOHCLASS=default") in new stack
    -- Executing [0222333@from-internal:3] Set("SIP/102-0000000f", "_NODEST=") in new stack
    -- Executing [0222333@from-internal:4] Gosub("SIP/102-0000000f", "sub-record-check,s,1(out,0222333,)") in new stack
    -- Executing [s@sub-record-check:1] Set("SIP/102-0000000f", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:2] GotoIf("SIP/102-0000000f", "1?check") in new stack
    -- Goto (sub-record-check,s,7)
    -- Executing [s@sub-record-check:7] Set("SIP/102-0000000f", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:8] GotoIf("SIP/102-0000000f", "1?next") in new stack
    -- Goto (sub-record-check,s,11)
    -- Executing [s@sub-record-check:11] ExecIf("SIP/102-0000000f", "0?Return()") in new stack
    -- Executing [s@sub-record-check:12] ExecIf("SIP/102-0000000f", "0?Set(__REC_POLICY_MODE=)") in new stack
    -- Executing [s@sub-record-check:13] GotoIf("SIP/102-0000000f", "0?out,1") in new stack
    -- Executing [s@sub-record-check:14] Set("SIP/102-0000000f", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:15] Set("SIP/102-0000000f", "NOW=1441647595") in new stack
    -- Executing [s@sub-record-check:16] Set("SIP/102-0000000f", "__DAY=07") in new stack
    -- Executing [s@sub-record-check:17] Set("SIP/102-0000000f", "__MONTH=09") in new stack
    -- Executing [s@sub-record-check:18] Set("SIP/102-0000000f", "__YEAR=2015") in new stack
    -- Executing [s@sub-record-check:19] Set("SIP/102-0000000f", "__TIMESTR=20150907-213955") in new stack
    -- Executing [s@sub-record-check:20] Set("SIP/102-0000000f", "__FROMEXTEN=102") in new stack
    -- Executing [s@sub-record-check:21] Set("SIP/102-0000000f", "__CALLFILENAME=out-0222333-102-20150907-213955-1441647595.41") in new stack
    -- Executing [s@sub-record-check:22] Goto("SIP/102-0000000f", "out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [out@sub-record-check:1] ExecIf("SIP/102-0000000f", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
    -- Executing [out@sub-record-check:2] GosubIf("SIP/102-0000000f", "0?record,1(exten,0222333,102)") in new stack
    -- Executing [out@sub-record-check:3] Return("SIP/102-0000000f", "") in new stack
    -- Executing [0222333@from-internal:5] Macro("SIP/102-0000000f", "dialout-trunk,1,222333,,off") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/102-0000000f", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/102-0000000f", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/102-0000000f", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/102-0000000f", "DIAL_NUMBER=222333") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/102-0000000f", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/102-0000000f", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/102-0000000f", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/102-0000000f", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/102-0000000f", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/102-0000000f", "outbound-callerid,1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/102-0000000f", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/102-0000000f", "0?Set(REALCALLERIDNUM=102)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/102-0000000f", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/102-0000000f", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/102-0000000f", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/102-0000000f", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/102-0000000f", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,14)
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/102-0000000f", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:18] Set("SIP/102-0000000f", "CDR(outbound_cnum)=102") in new stack
    -- Executing [s@macro-outbound-callerid:19] Set("SIP/102-0000000f", "CDR(outbound_cnam)=102") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/102-0000000f", "0?sub-flp-1,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/102-0000000f", "OUTNUM=222333") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/102-0000000f", "custom=DAHDI/g0") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/102-0000000f", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
    -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/102-0000000f", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/102-0000000f", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/102-0000000f", "") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/102-0000000f", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/102-0000000f", "1?Set(CONNECTEDLINE(num,i)=222333)") in new stack
    -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/102-0000000f", "1?Set(CONNECTEDLINE(name,i)=CID:102)") in new stack
    -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/102-0000000f", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:22] Dial("SIP/102-0000000f", "DAHDI/g0/222333,300,") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called DAHDI/g0/222333
    -- Accepting call from '102' to '222333' on channel 0/1, span 2
    -- Executing [222333@from-internal:1] ResetCDR("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:2] NoCDR("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:3] Progress("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:4] Wait("DAHDI/i2/102-e", "1") in new stack
    -- DAHDI/i1/222333-e is proceeding passing it to SIP/102-0000000f
    -- DAHDI/i1/222333-e is making progress passing it to SIP/102-0000000f
    -- Executing [222333@from-internal:5] Progress("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:6] Playback("DAHDI/i2/102-e", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
    -- <DAHDI/i2/102-e> Playing 'silence/1.slin' (language 'ru')
    -- <DAHDI/i2/102-e> Playing 'cannot-complete-as-dialed.slin' (language 'ru')
    -- <DAHDI/i2/102-e> Playing 'check-number-dial-again.slin' (language 'ru')
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Executing [222333@from-internal:7] Wait("DAHDI/i2/102-e", "1") in new stack
    -- Hungup 'DAHDI/i1/222333-e'
  == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/102-0000000f' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 0222333, 5) exited non-zero on 'SIP/102-0000000f'
    -- Executing [h@from-internal:1] Hangup("SIP/102-0000000f", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/102-0000000f'
    -- Span 2: Channel 0/1 got hangup request, cause 16
  == Spawn extension (from-internal, 222333, 7) exited non-zero on 'DAHDI/i2/102-e'
    -- Executing [h@from-internal:1] Hangup("DAHDI/i2/102-e", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'DAHDI/i2/102-e'
    -- Hungup 'DAHDI/i2/102-e'

Я не изменял ничего после установки, добавил только исходящий и входящий маршруты через web интерфейс. В extensions.conf содержится только такой контекст ==; INTERNAL DIALPLAN, NOT OPEN TO THE PUBLIC WORLD * ==;************************* ==;

;------------------------------------------------------------------------------- ; from-internal: ; ; Internal dialplan that most internal phones have access to ; [from-internal] include => from-internal-noxfer include => from-internal-xfer include => bad-number ; auto-generated ;-------------------------------------------------------------------------------

;------------------------------------------------------------------------------- ; from-internal-noxfer: ; ; Place to put internal dialplan that should not be accessible during a blind ; transfer, this context will not be visible during such. ; [from-internal-noxfer] include => from-internal-noxfer-custom include => from-internal-noxfer-additional ; auto-generated ;-------------------------------------------------------------------------------

;------------------------------------------------------------------------------- ; from-internal-xfer: ; ; Place to put most internal dialplan, will be visible during normal calls and ; blind transfers. ; [from-internal-xfer] include => from-internal-custom include => from-internal-additional ; auto-generated exten => s,1,Macro(hangupcall) exten => h,1,Macro(hangupcall) ;-------------------------------------------------------------------------------

а при добавление правила изменяется файл extensionsadditionals [ext-did-0002] include => ext-did-0002-custom exten => fax,1,Goto(${CUT(FAXDEST,^,1)},${CUT(FAXDEST,^,2)},${CUT(FAXDEST,^,3)})

exten => 222333,1,Set(FROMDID=${EXTEN}) exten => 222333,n,Gosub(app-blacklist-check,s,1()) exten => 222333,n,Set(CDR(did)=${FROMDID}) exten => 222333,n,ExecIf($[ "${CALLERID(name)}" = "" ] ?Set(CALLERID(name)=${CALLERID(num)})) exten => 222333,n,Set(CHANNEL(musicclass)=default) exten => 222333,n,Set(MOHCLASS=default) exten => 222333,n,Set(_CALLINGPRESSV=${CALLERPRES()}) exten => 222333,n,Set(CALLERPRES()=allowednotscreened) exten => 222333,n(dest-ext),Goto(ivr-4,s,1)

Как правильно поправить мне чтоб у меня заработало?

Elastix+Quasar MEE не проходят входящие звонки

Очень нужна помощь Установлен Elastix 2.5.0 c картой Quasar MEE. Исходящие вызовы по обоим транкам проходят, а вот со входящими вызовами беда. Входящий маршрут добавлен. Сейчас сделано кольцо между двумя транками, то есть с одного выхожу на другой по did входящий должен придти, но увы. идёт сообщение что соединение невозможно, пожалуйста проверьте номер. Лог прикрепляю Вызов делаю с номера 102 на 222333 ноль выход на транк на входящем маршруте настроено 222333 приходить на внутренний 101.

== Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [0222333@from-internal:1] Macro("SIP/102-0000000f", "user-callerid,LIMIT,EXTERNAL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/102-0000000f", "TOUCH_MONITOR=1441647595.41") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/102-0000000f", "AMPUSER=102") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/102-0000000f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/102-0000000f", "1?Set(REALCALLERIDNUM=102)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/102-0000000f", "AMPUSER=102") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/102-0000000f", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/102-0000000f", "AMPUSERCIDNAME=102") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/102-0000000f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/102-0000000f", "AMPUSERCID=102") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/102-0000000f", "__DIAL_OPTIONS=tr") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/102-0000000f", "CALLERID(all)="102" <102>") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/102-0000000f", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("SIP/102-0000000f", "1?Set(GROUP(concurrency_limit)=102)") in new stack
    -- Executing [s@macro-user-callerid:14] ExecIf("SIP/102-0000000f", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:15] GotoIf("SIP/102-0000000f", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,28)
    -- Executing [s@macro-user-callerid:28] Set("SIP/102-0000000f", "CALLERID(number)=102") in new stack
    -- Executing [s@macro-user-callerid:29] Set("SIP/102-0000000f", "CALLERID(name)=102") in new stack
    -- Executing [s@macro-user-callerid:30] Set("SIP/102-0000000f", "CDR(cnum)=102") in new stack
    -- Executing [s@macro-user-callerid:31] Set("SIP/102-0000000f", "CDR(cnam)=102") in new stack
    -- Executing [s@macro-user-callerid:32] Set("SIP/102-0000000f", "CHANNEL(language)=ru") in new stack
    -- Executing [0222333@from-internal:2] Set("SIP/102-0000000f", "MOHCLASS=default") in new stack
    -- Executing [0222333@from-internal:3] Set("SIP/102-0000000f", "_NODEST=") in new stack
    -- Executing [0222333@from-internal:4] Gosub("SIP/102-0000000f", "sub-record-check,s,1(out,0222333,)") in new stack
    -- Executing [s@sub-record-check:1] Set("SIP/102-0000000f", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:2] GotoIf("SIP/102-0000000f", "1?check") in new stack
    -- Goto (sub-record-check,s,7)
    -- Executing [s@sub-record-check:7] Set("SIP/102-0000000f", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:8] GotoIf("SIP/102-0000000f", "1?next") in new stack
    -- Goto (sub-record-check,s,11)
    -- Executing [s@sub-record-check:11] ExecIf("SIP/102-0000000f", "0?Return()") in new stack
    -- Executing [s@sub-record-check:12] ExecIf("SIP/102-0000000f", "0?Set(__REC_POLICY_MODE=)") in new stack
    -- Executing [s@sub-record-check:13] GotoIf("SIP/102-0000000f", "0?out,1") in new stack
    -- Executing [s@sub-record-check:14] Set("SIP/102-0000000f", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:15] Set("SIP/102-0000000f", "NOW=1441647595") in new stack
    -- Executing [s@sub-record-check:16] Set("SIP/102-0000000f", "__DAY=07") in new stack
    -- Executing [s@sub-record-check:17] Set("SIP/102-0000000f", "__MONTH=09") in new stack
    -- Executing [s@sub-record-check:18] Set("SIP/102-0000000f", "__YEAR=2015") in new stack
    -- Executing [s@sub-record-check:19] Set("SIP/102-0000000f", "__TIMESTR=20150907-213955") in new stack
    -- Executing [s@sub-record-check:20] Set("SIP/102-0000000f", "__FROMEXTEN=102") in new stack
    -- Executing [s@sub-record-check:21] Set("SIP/102-0000000f", "__CALLFILENAME=out-0222333-102-20150907-213955-1441647595.41") in new stack
    -- Executing [s@sub-record-check:22] Goto("SIP/102-0000000f", "out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [out@sub-record-check:1] ExecIf("SIP/102-0000000f", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
    -- Executing [out@sub-record-check:2] GosubIf("SIP/102-0000000f", "0?record,1(exten,0222333,102)") in new stack
    -- Executing [out@sub-record-check:3] Return("SIP/102-0000000f", "") in new stack
    -- Executing [0222333@from-internal:5] Macro("SIP/102-0000000f", "dialout-trunk,1,222333,,off") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/102-0000000f", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/102-0000000f", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/102-0000000f", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/102-0000000f", "DIAL_NUMBER=222333") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/102-0000000f", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/102-0000000f", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/102-0000000f", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/102-0000000f", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/102-0000000f", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/102-0000000f", "outbound-callerid,1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/102-0000000f", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/102-0000000f", "0?Set(REALCALLERIDNUM=102)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/102-0000000f", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/102-0000000f", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/102-0000000f", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/102-0000000f", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/102-0000000f", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,14)
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/102-0000000f", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:18] Set("SIP/102-0000000f", "CDR(outbound_cnum)=102") in new stack
    -- Executing [s@macro-outbound-callerid:19] Set("SIP/102-0000000f", "CDR(outbound_cnam)=102") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/102-0000000f", "0?sub-flp-1,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/102-0000000f", "OUTNUM=222333") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/102-0000000f", "custom=DAHDI/g0") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/102-0000000f", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
    -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/102-0000000f", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/102-0000000f", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/102-0000000f", "") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/102-0000000f", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/102-0000000f", "1?Set(CONNECTEDLINE(num,i)=222333)") in new stack
    -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/102-0000000f", "1?Set(CONNECTEDLINE(name,i)=CID:102)") in new stack
    -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/102-0000000f", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:22] Dial("SIP/102-0000000f", "DAHDI/g0/222333,300,") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called DAHDI/g0/222333
    -- Accepting call from '102' to '222333' on channel 0/1, span 2
    -- Executing [222333@from-internal:1] ResetCDR("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:2] NoCDR("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:3] Progress("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:4] Wait("DAHDI/i2/102-e", "1") in new stack
    -- DAHDI/i1/222333-e is proceeding passing it to SIP/102-0000000f
    -- DAHDI/i1/222333-e is making progress passing it to SIP/102-0000000f
    -- Executing [222333@from-internal:5] Progress("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:6] Playback("DAHDI/i2/102-e", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
    -- <DAHDI/i2/102-e> Playing 'silence/1.slin' (language 'ru')
    -- <DAHDI/i2/102-e> Playing 'cannot-complete-as-dialed.slin' (language 'ru')
    -- <DAHDI/i2/102-e> Playing 'check-number-dial-again.slin' (language 'ru')
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Executing [222333@from-internal:7] Wait("DAHDI/i2/102-e", "1") in new stack
    -- Hungup 'DAHDI/i1/222333-e'
  == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/102-0000000f' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 0222333, 5) exited non-zero on 'SIP/102-0000000f'
    -- Executing [h@from-internal:1] Hangup("SIP/102-0000000f", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/102-0000000f'
    -- Span 2: Channel 0/1 got hangup request, cause 16
  == Spawn extension (from-internal, 222333, 7) exited non-zero on 'DAHDI/i2/102-e'
    -- Executing [h@from-internal:1] Hangup("DAHDI/i2/102-e", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'DAHDI/i2/102-e'
    -- Hungup 'DAHDI/i2/102-e'

Я не изменял ничего после установки, добавил только исходящий и входящий маршруты через web интерфейс. В extensions.conf содержится только такой контекст контекст

==; INTERNAL DIALPLAN, NOT OPEN TO THE PUBLIC WORLD                              *
==;*************************==;*******************************************************************************
==;
 ==;

;------------------------------------------------------------------------------- ; from-internal: ; ; Internal dialplan that most internal phones have access to ; [from-internal] include => from-internal-noxfer include => from-internal-xfer include => bad-number ; auto-generated ;-------------------------------------------------------------------------------

;-------------------------------------------------------------------------------

;------------------------------------------------------------------------------- ; from-internal-noxfer: ; ; Place to put internal dialplan that should not be accessible during a blind ; transfer, this context will not be visible during such. ; [from-internal-noxfer] include => from-internal-noxfer-custom include => from-internal-noxfer-additional ; auto-generated ;-------------------------------------------------------------------------------

;-------------------------------------------------------------------------------

;------------------------------------------------------------------------------- ; from-internal-xfer: ; ; Place to put most internal dialplan, will be visible during normal calls and ; blind transfers. ; [from-internal-xfer] include => from-internal-custom include => from-internal-additional ; auto-generated exten => s,1,Macro(hangupcall) exten => h,1,Macro(hangupcall) ;-------------------------------------------------------------------------------

;-------------------------------------------------------------------------------

а при добавление правила изменяется файл extensionsadditionals extensions_additionals [ext-did-0002] include => ext-did-0002-custom exten => fax,1,Goto(${CUT(FAXDEST,^,1)},${CUT(FAXDEST,^,2)},${CUT(FAXDEST,^,3)})

fax,1,Goto(${CUT(FAX_DEST,^,1)},${CUT(FAX_DEST,^,2)},${CUT(FAX_DEST,^,3)})

exten => 222333,1,Set(FROMDID=${EXTEN}) 222333,1,Set(__FROM_DID=${EXTEN}) exten => 222333,n,Gosub(app-blacklist-check,s,1()) exten => 222333,n,Set(CDR(did)=${FROMDID}) 222333,n,Set(CDR(did)=${FROM_DID}) exten => 222333,n,ExecIf($[ "${CALLERID(name)}" = "" ] ?Set(CALLERID(name)=${CALLERID(num)})) exten => 222333,n,Set(CHANNEL(musicclass)=default) exten => 222333,n,Set(MOHCLASS=default) 222333,n,Set(__MOHCLASS=default) exten => 222333,n,Set(_CALLINGPRESSV=${CALLERPRES()}) 222333,n,Set(__CALLINGPRES_SV=${CALLERPRES()}) exten => 222333,n,Set(CALLERPRES()=allowednotscreened) 222333,n,Set(CALLERPRES()=allowed_not_screened) exten => 222333,n(dest-ext),Goto(ivr-4,s,1)

222333,n(dest-ext),Goto(ivr-4,s,1)

Как правильно поправить мне чтоб у меня заработало?

Elastix+Quasar MEE не проходят входящие звонки

Очень нужна помощь Установлен Elastix 2.5.0 c картой Quasar MEE. Исходящие вызовы по обоим транкам проходят, а вот со входящими вызовами беда. Входящий маршрут добавлен. Сейчас сделано кольцо между двумя транками, то есть с одного выхожу на другой по did входящий должен придти, но увы. идёт сообщение что соединение невозможно, пожалуйста проверьте номер. Лог прикрепляю Вызов делаю с номера 102 на 222333 ноль выход на транк на входящем маршруте настроено 222333 приходить на внутренний 101.

== Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [0222333@from-internal:1] Macro("SIP/102-0000000f", "user-callerid,LIMIT,EXTERNAL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/102-0000000f", "TOUCH_MONITOR=1441647595.41") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/102-0000000f", "AMPUSER=102") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/102-0000000f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/102-0000000f", "1?Set(REALCALLERIDNUM=102)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/102-0000000f", "AMPUSER=102") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/102-0000000f", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/102-0000000f", "AMPUSERCIDNAME=102") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/102-0000000f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/102-0000000f", "AMPUSERCID=102") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/102-0000000f", "__DIAL_OPTIONS=tr") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/102-0000000f", "CALLERID(all)="102" <102>") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/102-0000000f", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("SIP/102-0000000f", "1?Set(GROUP(concurrency_limit)=102)") in new stack
    -- Executing [s@macro-user-callerid:14] ExecIf("SIP/102-0000000f", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:15] GotoIf("SIP/102-0000000f", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,28)
    -- Executing [s@macro-user-callerid:28] Set("SIP/102-0000000f", "CALLERID(number)=102") in new stack
    -- Executing [s@macro-user-callerid:29] Set("SIP/102-0000000f", "CALLERID(name)=102") in new stack
    -- Executing [s@macro-user-callerid:30] Set("SIP/102-0000000f", "CDR(cnum)=102") in new stack
    -- Executing [s@macro-user-callerid:31] Set("SIP/102-0000000f", "CDR(cnam)=102") in new stack
    -- Executing [s@macro-user-callerid:32] Set("SIP/102-0000000f", "CHANNEL(language)=ru") in new stack
    -- Executing [0222333@from-internal:2] Set("SIP/102-0000000f", "MOHCLASS=default") in new stack
    -- Executing [0222333@from-internal:3] Set("SIP/102-0000000f", "_NODEST=") in new stack
    -- Executing [0222333@from-internal:4] Gosub("SIP/102-0000000f", "sub-record-check,s,1(out,0222333,)") in new stack
    -- Executing [s@sub-record-check:1] Set("SIP/102-0000000f", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:2] GotoIf("SIP/102-0000000f", "1?check") in new stack
    -- Goto (sub-record-check,s,7)
    -- Executing [s@sub-record-check:7] Set("SIP/102-0000000f", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:8] GotoIf("SIP/102-0000000f", "1?next") in new stack
    -- Goto (sub-record-check,s,11)
    -- Executing [s@sub-record-check:11] ExecIf("SIP/102-0000000f", "0?Return()") in new stack
    -- Executing [s@sub-record-check:12] ExecIf("SIP/102-0000000f", "0?Set(__REC_POLICY_MODE=)") in new stack
    -- Executing [s@sub-record-check:13] GotoIf("SIP/102-0000000f", "0?out,1") in new stack
    -- Executing [s@sub-record-check:14] Set("SIP/102-0000000f", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:15] Set("SIP/102-0000000f", "NOW=1441647595") in new stack
    -- Executing [s@sub-record-check:16] Set("SIP/102-0000000f", "__DAY=07") in new stack
    -- Executing [s@sub-record-check:17] Set("SIP/102-0000000f", "__MONTH=09") in new stack
    -- Executing [s@sub-record-check:18] Set("SIP/102-0000000f", "__YEAR=2015") in new stack
    -- Executing [s@sub-record-check:19] Set("SIP/102-0000000f", "__TIMESTR=20150907-213955") in new stack
    -- Executing [s@sub-record-check:20] Set("SIP/102-0000000f", "__FROMEXTEN=102") in new stack
    -- Executing [s@sub-record-check:21] Set("SIP/102-0000000f", "__CALLFILENAME=out-0222333-102-20150907-213955-1441647595.41") in new stack
    -- Executing [s@sub-record-check:22] Goto("SIP/102-0000000f", "out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [out@sub-record-check:1] ExecIf("SIP/102-0000000f", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
    -- Executing [out@sub-record-check:2] GosubIf("SIP/102-0000000f", "0?record,1(exten,0222333,102)") in new stack
    -- Executing [out@sub-record-check:3] Return("SIP/102-0000000f", "") in new stack
    -- Executing [0222333@from-internal:5] Macro("SIP/102-0000000f", "dialout-trunk,1,222333,,off") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/102-0000000f", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/102-0000000f", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/102-0000000f", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/102-0000000f", "DIAL_NUMBER=222333") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/102-0000000f", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/102-0000000f", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/102-0000000f", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/102-0000000f", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/102-0000000f", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/102-0000000f", "outbound-callerid,1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/102-0000000f", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/102-0000000f", "0?Set(REALCALLERIDNUM=102)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/102-0000000f", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/102-0000000f", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/102-0000000f", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/102-0000000f", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/102-0000000f", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,14)
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/102-0000000f", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:18] Set("SIP/102-0000000f", "CDR(outbound_cnum)=102") in new stack
    -- Executing [s@macro-outbound-callerid:19] Set("SIP/102-0000000f", "CDR(outbound_cnam)=102") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/102-0000000f", "0?sub-flp-1,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/102-0000000f", "OUTNUM=222333") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/102-0000000f", "custom=DAHDI/g0") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/102-0000000f", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
    -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/102-0000000f", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/102-0000000f", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/102-0000000f", "") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/102-0000000f", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/102-0000000f", "1?Set(CONNECTEDLINE(num,i)=222333)") in new stack
    -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/102-0000000f", "1?Set(CONNECTEDLINE(name,i)=CID:102)") in new stack
    -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/102-0000000f", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:22] Dial("SIP/102-0000000f", "DAHDI/g0/222333,300,") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called DAHDI/g0/222333
    -- Accepting call from '102' to '222333' on channel 0/1, span 2
    -- Executing [222333@from-internal:1] ResetCDR("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:2] NoCDR("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:3] Progress("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:4] Wait("DAHDI/i2/102-e", "1") in new stack
    -- DAHDI/i1/222333-e is proceeding passing it to SIP/102-0000000f
    -- DAHDI/i1/222333-e is making progress passing it to SIP/102-0000000f
    -- Executing [222333@from-internal:5] Progress("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:6] Playback("DAHDI/i2/102-e", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
    -- <DAHDI/i2/102-e> Playing 'silence/1.slin' (language 'ru')
    -- <DAHDI/i2/102-e> Playing 'cannot-complete-as-dialed.slin' (language 'ru')
    -- <DAHDI/i2/102-e> Playing 'check-number-dial-again.slin' (language 'ru')
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Executing [222333@from-internal:7] Wait("DAHDI/i2/102-e", "1") in new stack
    -- Hungup 'DAHDI/i1/222333-e'
  == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/102-0000000f' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 0222333, 5) exited non-zero on 'SIP/102-0000000f'
    -- Executing [h@from-internal:1] Hangup("SIP/102-0000000f", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/102-0000000f'
    -- Span 2: Channel 0/1 got hangup request, cause 16
  == Spawn extension (from-internal, 222333, 7) exited non-zero on 'DAHDI/i2/102-e'
    -- Executing [h@from-internal:1] Hangup("DAHDI/i2/102-e", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'DAHDI/i2/102-e'
    -- Hungup 'DAHDI/i2/102-e'

Я не изменял ничего после установки, добавил только исходящий и входящий маршруты через web интерфейс. В extensions.conf содержится только такой контекст

==; INTERNAL DIALPLAN, NOT OPEN TO THE PUBLIC WORLD                              *
==;*******************************************************************************
==;

;-------------------------------------------------------------------------------
; from-internal:
;
; Internal dialplan that most internal phones have access to
;
[from-internal]
include => from-internal-noxfer
include => from-internal-xfer
include => bad-number ; auto-generated
;-------------------------------------------------------------------------------

;-------------------------------------------------------------------------------
; from-internal-noxfer:
;
; Place to put internal dialplan that should not be accessible during a blind
; transfer, this context will not be visible during such.
;
[from-internal-noxfer]
include => from-internal-noxfer-custom
include => from-internal-noxfer-additional ; auto-generated
;-------------------------------------------------------------------------------

;-------------------------------------------------------------------------------
; from-internal-xfer:
;
; Place to put most internal dialplan, will be visible during normal calls and
; blind transfers.
;
[from-internal-xfer]
include => from-internal-custom
include => from-internal-additional ; auto-generated
exten => s,1,Macro(hangupcall)
exten => h,1,Macro(hangupcall)
;-------------------------------------------------------------------------------

а при добавление правила изменяется файл extensions_additionals
[ext-did-0002]
include => ext-did-0002-custom
exten => fax,1,Goto(${CUT(FAX_DEST,^,1)},${CUT(FAX_DEST,^,2)},${CUT(FAX_DEST,^,3)})

exten => 222333,1,Set(__FROM_DID=${EXTEN})
exten => 222333,n,Gosub(app-blacklist-check,s,1())
exten => 222333,n,Set(CDR(did)=${FROM_DID})
exten => 222333,n,ExecIf($[ "${CALLERID(name)}" = "" ] ?Set(CALLERID(name)=${CALLERID(num)}))
exten => 222333,n,Set(CHANNEL(musicclass)=default)
exten => 222333,n,Set(__MOHCLASS=default)
exten => 222333,n,Set(__CALLINGPRES_SV=${CALLERPRES()})
exten => 222333,n,Set(CALLERPRES()=allowed_not_screened)
exten => 222333,n(dest-ext),Goto(ivr-4,s,1)

Как правильно поправить мне чтоб у меня заработало?

Возникла вот следующия проблема. Звонки с города на еластикс и через него на самсунг ходят нормально, а вот с самсунга на эластикс нет, независимо что набираем в pri с самсунга os7070 выдаёт вот такой вот лог на астериске -- Accepting call from '222333' to 's' on channel 0/31, span 1 -- Executing [s@from-internal:1] Macro("DAHDI/i1/222333-2", "hangupcall") in new stack -- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/i1/222333-2", "1?endmixmoncheck") in new stack -- Goto (macro-hangupcall,s,9) -- Executing [s@macro-hangupcall:9] NoOp("DAHDI/i1/222333-2", "End of MIXMON check") in new stack -- Executing [s@macro-hangupcall:10] GotoIf("DAHDI/i1/222333-2", "1?nomeetmemon") in new stack -- Goto (macro-hangupcall,s,28) -- Executing [s@macro-hangupcall:28] NoOp("DAHDI/i1/222333-2", "End of MEETME check") in new stack -- Executing [s@macro-hangupcall:29] GotoIf("DAHDI/i1/222333-2", "1?noautomon") in new stack -- Goto (macro-hangupcall,s,34) -- Executing [s@macro-hangupcall:34] NoOp("DAHDI/i1/222333-2", "TOUCHMONITOROUTPUT=") in new stack -- Executing [s@macro-hangupcall:35] GotoIf("DAHDI/i1/222333-2", "1?noautomon2") in new stack -- Goto (macro-hangupcall,s,41) -- Executing [s@macro-hangupcall:41] NoOp("DAHDI/i1/222333-2", "MONITOR_FILENAME=") in new stack -- Executing [s@macro-hangupcall:42] GotoIf("DAHDI/i1/222333-2", "1?skiprg") in new stack -- Goto (macro-hangupcall,s,45) -- Executing [s@macro-hangupcall:45] GotoIf("DAHDI/i1/222333-2", "1?skipblkvm") in new stack -- Goto (macro-hangupcall,s,48) -- Executing [s@macro-hangupcall:48] GotoIf("DAHDI/i1/222333-2", "1?theend") in new stack -- Goto (macro-hangupcall,s,50) -- Executing [s@macro-hangupcall:50] AGI("DAHDI/i1/222333-2", "hangup.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi -- <dahdi i1="" 222333-2="">AGI Script hangup.agi completed, returning 0 -- Executing [s@macro-hangupcall:51] Hangup("DAHDI/i1/222333-2", "") in new stack == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'DAHDI/i1/222333-2' in macro 'hangupcall' == Spawn extension (from-internal, s, 1) exited non-zero on 'DAHDI/i1/222333-2' -- Executing [h@from-internal:1] Hangup("DAHDI/i1/222333-2", "") in new stack == Spawn extension (from-internal, h, 1) exited non-zero on 'DAHDI/i1/222333-2' -- Hungup 'DAHDI/i1/222333-2'

это звонок с самсунга на эластикс на эластиксе на этом транке поставлен контекст from-internal.

Хотя если делаю петлю внутри эластикса на потоках проходит всё нормально и выдаёт такой вот лог. Как это исправить.

Elastix+Quasar MEE не проходят входящие звонки

Очень нужна помощь Установлен Elastix 2.5.0 c картой Quasar MEE. Исходящие вызовы по обоим транкам проходят, а вот со входящими вызовами беда. Входящий маршрут добавлен. Сейчас сделано кольцо между двумя транками, то есть с одного выхожу на другой по did входящий должен придти, но увы. идёт сообщение что соединение невозможно, пожалуйста проверьте номер. Лог прикрепляю Вызов делаю с номера 102 на 222333 ноль выход на транк на входящем маршруте настроено 222333 приходить на внутренний 101.

== Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [0222333@from-internal:1] Macro("SIP/102-0000000f", "user-callerid,LIMIT,EXTERNAL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/102-0000000f", "TOUCH_MONITOR=1441647595.41") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/102-0000000f", "AMPUSER=102") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/102-0000000f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/102-0000000f", "1?Set(REALCALLERIDNUM=102)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/102-0000000f", "AMPUSER=102") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/102-0000000f", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/102-0000000f", "AMPUSERCIDNAME=102") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/102-0000000f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/102-0000000f", "AMPUSERCID=102") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/102-0000000f", "__DIAL_OPTIONS=tr") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/102-0000000f", "CALLERID(all)="102" <102>") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/102-0000000f", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("SIP/102-0000000f", "1?Set(GROUP(concurrency_limit)=102)") in new stack
    -- Executing [s@macro-user-callerid:14] ExecIf("SIP/102-0000000f", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:15] GotoIf("SIP/102-0000000f", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,28)
    -- Executing [s@macro-user-callerid:28] Set("SIP/102-0000000f", "CALLERID(number)=102") in new stack
    -- Executing [s@macro-user-callerid:29] Set("SIP/102-0000000f", "CALLERID(name)=102") in new stack
    -- Executing [s@macro-user-callerid:30] Set("SIP/102-0000000f", "CDR(cnum)=102") in new stack
    -- Executing [s@macro-user-callerid:31] Set("SIP/102-0000000f", "CDR(cnam)=102") in new stack
    -- Executing [s@macro-user-callerid:32] Set("SIP/102-0000000f", "CHANNEL(language)=ru") in new stack
    -- Executing [0222333@from-internal:2] Set("SIP/102-0000000f", "MOHCLASS=default") in new stack
    -- Executing [0222333@from-internal:3] Set("SIP/102-0000000f", "_NODEST=") in new stack
    -- Executing [0222333@from-internal:4] Gosub("SIP/102-0000000f", "sub-record-check,s,1(out,0222333,)") in new stack
    -- Executing [s@sub-record-check:1] Set("SIP/102-0000000f", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:2] GotoIf("SIP/102-0000000f", "1?check") in new stack
    -- Goto (sub-record-check,s,7)
    -- Executing [s@sub-record-check:7] Set("SIP/102-0000000f", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:8] GotoIf("SIP/102-0000000f", "1?next") in new stack
    -- Goto (sub-record-check,s,11)
    -- Executing [s@sub-record-check:11] ExecIf("SIP/102-0000000f", "0?Return()") in new stack
    -- Executing [s@sub-record-check:12] ExecIf("SIP/102-0000000f", "0?Set(__REC_POLICY_MODE=)") in new stack
    -- Executing [s@sub-record-check:13] GotoIf("SIP/102-0000000f", "0?out,1") in new stack
    -- Executing [s@sub-record-check:14] Set("SIP/102-0000000f", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:15] Set("SIP/102-0000000f", "NOW=1441647595") in new stack
    -- Executing [s@sub-record-check:16] Set("SIP/102-0000000f", "__DAY=07") in new stack
    -- Executing [s@sub-record-check:17] Set("SIP/102-0000000f", "__MONTH=09") in new stack
    -- Executing [s@sub-record-check:18] Set("SIP/102-0000000f", "__YEAR=2015") in new stack
    -- Executing [s@sub-record-check:19] Set("SIP/102-0000000f", "__TIMESTR=20150907-213955") in new stack
    -- Executing [s@sub-record-check:20] Set("SIP/102-0000000f", "__FROMEXTEN=102") in new stack
    -- Executing [s@sub-record-check:21] Set("SIP/102-0000000f", "__CALLFILENAME=out-0222333-102-20150907-213955-1441647595.41") in new stack
    -- Executing [s@sub-record-check:22] Goto("SIP/102-0000000f", "out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [out@sub-record-check:1] ExecIf("SIP/102-0000000f", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
    -- Executing [out@sub-record-check:2] GosubIf("SIP/102-0000000f", "0?record,1(exten,0222333,102)") in new stack
    -- Executing [out@sub-record-check:3] Return("SIP/102-0000000f", "") in new stack
    -- Executing [0222333@from-internal:5] Macro("SIP/102-0000000f", "dialout-trunk,1,222333,,off") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/102-0000000f", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/102-0000000f", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/102-0000000f", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/102-0000000f", "DIAL_NUMBER=222333") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/102-0000000f", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/102-0000000f", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/102-0000000f", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/102-0000000f", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/102-0000000f", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/102-0000000f", "outbound-callerid,1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/102-0000000f", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/102-0000000f", "0?Set(REALCALLERIDNUM=102)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/102-0000000f", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/102-0000000f", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/102-0000000f", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/102-0000000f", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/102-0000000f", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,14)
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/102-0000000f", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:18] Set("SIP/102-0000000f", "CDR(outbound_cnum)=102") in new stack
    -- Executing [s@macro-outbound-callerid:19] Set("SIP/102-0000000f", "CDR(outbound_cnam)=102") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/102-0000000f", "0?sub-flp-1,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/102-0000000f", "OUTNUM=222333") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/102-0000000f", "custom=DAHDI/g0") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/102-0000000f", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
    -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/102-0000000f", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/102-0000000f", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/102-0000000f", "") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/102-0000000f", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/102-0000000f", "1?Set(CONNECTEDLINE(num,i)=222333)") in new stack
    -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/102-0000000f", "1?Set(CONNECTEDLINE(name,i)=CID:102)") in new stack
    -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/102-0000000f", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:22] Dial("SIP/102-0000000f", "DAHDI/g0/222333,300,") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called DAHDI/g0/222333
    -- Accepting call from '102' to '222333' on channel 0/1, span 2
    -- Executing [222333@from-internal:1] ResetCDR("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:2] NoCDR("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:3] Progress("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:4] Wait("DAHDI/i2/102-e", "1") in new stack
    -- DAHDI/i1/222333-e is proceeding passing it to SIP/102-0000000f
    -- DAHDI/i1/222333-e is making progress passing it to SIP/102-0000000f
    -- Executing [222333@from-internal:5] Progress("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:6] Playback("DAHDI/i2/102-e", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
    -- <DAHDI/i2/102-e> Playing 'silence/1.slin' (language 'ru')
    -- <DAHDI/i2/102-e> Playing 'cannot-complete-as-dialed.slin' (language 'ru')
    -- <DAHDI/i2/102-e> Playing 'check-number-dial-again.slin' (language 'ru')
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Executing [222333@from-internal:7] Wait("DAHDI/i2/102-e", "1") in new stack
    -- Hungup 'DAHDI/i1/222333-e'
  == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/102-0000000f' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 0222333, 5) exited non-zero on 'SIP/102-0000000f'
    -- Executing [h@from-internal:1] Hangup("SIP/102-0000000f", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/102-0000000f'
    -- Span 2: Channel 0/1 got hangup request, cause 16
  == Spawn extension (from-internal, 222333, 7) exited non-zero on 'DAHDI/i2/102-e'
    -- Executing [h@from-internal:1] Hangup("DAHDI/i2/102-e", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'DAHDI/i2/102-e'
    -- Hungup 'DAHDI/i2/102-e'

Я не изменял ничего после установки, добавил только исходящий и входящий маршруты через web интерфейс. В extensions.conf содержится только такой контекст

==; INTERNAL DIALPLAN, NOT OPEN TO THE PUBLIC WORLD                              *
==;*******************************************************************************
==;

;-------------------------------------------------------------------------------
; from-internal:
;
; Internal dialplan that most internal phones have access to
;
[from-internal]
include => from-internal-noxfer
include => from-internal-xfer
include => bad-number ; auto-generated
;-------------------------------------------------------------------------------

;-------------------------------------------------------------------------------
; from-internal-noxfer:
;
; Place to put internal dialplan that should not be accessible during a blind
; transfer, this context will not be visible during such.
;
[from-internal-noxfer]
include => from-internal-noxfer-custom
include => from-internal-noxfer-additional ; auto-generated
;-------------------------------------------------------------------------------

;-------------------------------------------------------------------------------
; from-internal-xfer:
;
; Place to put most internal dialplan, will be visible during normal calls and
; blind transfers.
;
[from-internal-xfer]
include => from-internal-custom
include => from-internal-additional ; auto-generated
exten => s,1,Macro(hangupcall)
exten => h,1,Macro(hangupcall)
;-------------------------------------------------------------------------------

а при добавление правила изменяется файл extensions_additionals
[ext-did-0002]
include => ext-did-0002-custom
exten => fax,1,Goto(${CUT(FAX_DEST,^,1)},${CUT(FAX_DEST,^,2)},${CUT(FAX_DEST,^,3)})

exten => 222333,1,Set(__FROM_DID=${EXTEN})
exten => 222333,n,Gosub(app-blacklist-check,s,1())
exten => 222333,n,Set(CDR(did)=${FROM_DID})
exten => 222333,n,ExecIf($[ "${CALLERID(name)}" = "" ] ?Set(CALLERID(name)=${CALLERID(num)}))
exten => 222333,n,Set(CHANNEL(musicclass)=default)
exten => 222333,n,Set(__MOHCLASS=default)
exten => 222333,n,Set(__CALLINGPRES_SV=${CALLERPRES()})
exten => 222333,n,Set(CALLERPRES()=allowed_not_screened)
exten => 222333,n(dest-ext),Goto(ivr-4,s,1)

Как правильно поправить мне чтоб у меня заработало?

Возникла вот следующия проблема. Звонки с города на еластикс и через него на самсунг ходят нормально, а вот с самсунга на эластикс нет, независимо что набираем в pri с самсунга os7070 выдаёт вот такой вот лог на астериске -- Accepting call from '222333' to 's' on channel 0/31, span 1 -- Executing [s@from-internal:1] Macro("DAHDI/i1/222333-2", "hangupcall") in new stack -- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/i1/222333-2", "1?endmixmoncheck") in new stack -- Goto (macro-hangupcall,s,9) -- Executing [s@macro-hangupcall:9] NoOp("DAHDI/i1/222333-2", "End of MIXMON check") in new stack -- Executing [s@macro-hangupcall:10] GotoIf("DAHDI/i1/222333-2", "1?nomeetmemon") in new stack -- Goto (macro-hangupcall,s,28) -- Executing [s@macro-hangupcall:28] NoOp("DAHDI/i1/222333-2", "End of MEETME check") in new stack -- Executing [s@macro-hangupcall:29] GotoIf("DAHDI/i1/222333-2", "1?noautomon") in new stack -- Goto (macro-hangupcall,s,34) -- Executing [s@macro-hangupcall:34] NoOp("DAHDI/i1/222333-2", "TOUCHMONITOROUTPUT=") in new stack -- Executing [s@macro-hangupcall:35] GotoIf("DAHDI/i1/222333-2", "1?noautomon2") in new stack -- Goto (macro-hangupcall,s,41) -- Executing [s@macro-hangupcall:41] NoOp("DAHDI/i1/222333-2", "MONITOR_FILENAME=") in new stack -- Executing [s@macro-hangupcall:42] GotoIf("DAHDI/i1/222333-2", "1?skiprg") in new stack -- Goto (macro-hangupcall,s,45) -- Executing [s@macro-hangupcall:45] GotoIf("DAHDI/i1/222333-2", "1?skipblkvm") in new stack -- Goto (macro-hangupcall,s,48) -- Executing [s@macro-hangupcall:48] GotoIf("DAHDI/i1/222333-2", "1?theend") in new stack -- Goto (macro-hangupcall,s,50) -- Executing [s@macro-hangupcall:50] AGI("DAHDI/i1/222333-2", "hangup.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi -- <dahdi i1="" 222333-2="">AGI Script hangup.agi completed, returning 0 -- Executing [s@macro-hangupcall:51] Hangup("DAHDI/i1/222333-2", "") in new stack == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'DAHDI/i1/222333-2' in macro 'hangupcall' == Spawn extension (from-internal, s, 1) exited non-zero on 'DAHDI/i1/222333-2' -- Executing [h@from-internal:1] Hangup("DAHDI/i1/222333-2", "") in new stack == Spawn extension (from-internal, h, 1) exited non-zero on 'DAHDI/i1/222333-2' -- Hungup 'DAHDI/i1/222333-2'

это звонок с самсунга на эластикс на эластиксе на этом транке поставлен контекст from-internal.

Хотя если делаю петлю внутри эластикса на потоках проходит всё нормально и выдаёт такой вот лог. Как это исправить.

-- Executing [9101@from-internal:1] Macro("SIP/139-00000007", "user-callerid,LIMIT,EXTERNAL,") in new stack -- Executing [s@macro-user-callerid:1] Set("SIP/139-00000007", "TOUCHMONITOR=1441910790.102") in new stack -- Executing [s@macro-user-callerid:2] Set("SIP/139-00000007", "AMPUSER=139") in new stack -- Executing [s@macro-user-callerid:3] GotoIf("SIP/139-00000007", "0?report") in new stack -- Executing [s@macro-user-callerid:4] ExecIf("SIP/139-00000007", "1?Set(REALCALLERIDNUM=139)") in new stack -- Executing [s@macro-user-callerid:5] Set("SIP/139-00000007", "AMPUSER=139") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("SIP/139-00000007", "0?limit") in new stack -- Executing [s@macro-user-callerid:7] Set("SIP/139-00000007", "AMPUSERCIDNAME=139") in new stack -- Executing [s@macro-user-callerid:8] GotoIf("SIP/139-00000007", "0?report") in new stack -- Executing [s@macro-user-callerid:9] Set("SIP/139-00000007", "AMPUSERCID=139") in new stack -- Executing [s@macro-user-callerid:10] Set("SIP/139-00000007", "DIALOPTIONS=tr") in new stack -- Executing [s@macro-user-callerid:11] Set("SIP/139-00000007", "CALLERID(all)="139" <139>") in new stack -- Executing [s@macro-user-callerid:12] GotoIf("SIP/139-00000007", "0?limit") in new stack -- Executing [s@macro-user-callerid:13] ExecIf("SIP/139-00000007", "1?Set(GROUP(concurrencylimit)=139)") in new stack -- Executing [s@macro-user-callerid:14] ExecIf("SIP/139-00000007", "0?Set(CHANNEL(language)=)") in new stack -- Executing [s@macro-user-callerid:15] GotoIf("SIP/139-00000007", "1?continue") in new stack -- Goto (macro-user-callerid,s,28) -- Executing [s@macro-user-callerid:28] Set("SIP/139-00000007", "CALLERID(number)=139") in new stack -- Executing [s@macro-user-callerid:29] Set("SIP/139-00000007", "CALLERID(name)=139") in new stack -- Executing [s@macro-user-callerid:30] Set("SIP/139-00000007", "CDR(cnum)=139") in new stack -- Executing [s@macro-user-callerid:31] Set("SIP/139-00000007", "CDR(cnam)=139") in new stack -- Executing [s@macro-user-callerid:32] Set("SIP/139-00000007", "CHANNEL(language)=ru") in new stack -- Executing [9101@from-internal:2] Set("SIP/139-00000007", "MOHCLASS=default") in new stack -- Executing [9101@from-internal:3] Set("SIP/139-00000007", "NODEST=") in new stack -- Executing [9101@from-internal:4] Gosub("SIP/139-00000007", "sub-record-check,s,1(out,9101,)") in new stack -- Executing [s@sub-record-check:1] Set("SIP/139-00000007", "RECPOLICYMODESAVE=") in new stack -- Executing [s@sub-record-check:2] GotoIf("SIP/139-00000007", "1?check") in new stack -- Goto (sub-record-check,s,7) -- Executing [s@sub-record-check:7] Set("SIP/139-00000007", "MONFMT=wav") in new stack -- Executing [s@sub-record-check:8] GotoIf("SIP/139-00000007", "1?next") in new stack -- Goto (sub-record-check,s,11) -- Executing [s@sub-record-check:11] ExecIf("SIP/139-00000007", "0?Return()") in new stack -- Executing [s@sub-record-check:12] ExecIf("SIP/139-00000007", "0?Set(RECPOLICYMODE=)") in new stack -- Executing [s@sub-record-check:13] GotoIf("SIP/139-00000007", "0?out,1") in new stack -- Executing [s@sub-record-check:14] Set("SIP/139-00000007", "RECSTATUS=INITIALIZED") in new stack -- Executing [s@sub-record-check:15] Set("SIP/139-00000007", "NOW=1441910790") in new stack -- Executing [s@sub-record-check:16] Set("SIP/139-00000007", "DAY=10") in new stack -- Executing [s@sub-record-check:17] Set("SIP/139-00000007", "MONTH=09") in new stack -- Executing [s@sub-record-check:18] Set("SIP/139-00000007", "YEAR=2015") in new stack -- Executing [s@sub-record-check:19] Set("SIP/139-00000007", "TIMESTR=20150910-214630") in new stack -- Executing [s@sub-record-check:20] Set("SIP/139-00000007", "FROMEXTEN=139") in new stack -- Executing [s@sub-record-check:21] Set("SIP/139-00000007", "CALLFILENAME=out-9101-139-20150910-214630-1441910790.102") in new stack -- Executing [s@sub-record-check:22] Goto("SIP/139-00000007", "out,1") in new stack -- Goto (sub-record-check,out,1) -- Executing [out@sub-record-check:1] ExecIf("SIP/139-00000007", "1?Set(RECPOLICYMODE=dontcare)") in new stack -- Executing [out@sub-record-check:2] GosubIf("SIP/139-00000007", "0?record,1(exten,9101,139)") in new stack -- Executing [out@sub-record-check:3] Return("SIP/139-00000007", "") in new stack -- Executing [9101@from-internal:5] Macro("SIP/139-00000007", "dialout-trunk,1,101,,off") in new stack -- Executing [s@macro-dialout-trunk:1] Set("SIP/139-00000007", "DIALTRUNK=1") in new stack -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/139-00000007", "0?sub-pincheck,s,1()") in new stack -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/139-00000007", "0?disabletrunk,1") in new stack -- Executing [s@macro-dialout-trunk:4] Set("SIP/139-00000007", "DIALNUMBER=101") in new stack -- Executing [s@macro-dialout-trunk:5] Set("SIP/139-00000007", "DIALTRUNKOPTIONS=tr") in new stack -- Executing [s@macro-dialout-trunk:6] Set("SIP/139-00000007", "OUTBOUNDGROUP=OUT1") in new stack -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/139-00000007", "1?nomax") in new stack -- Goto (macro-dialout-trunk,s,9) -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/139-00000007", "0?skipoutcid") in new stack -- Executing [s@macro-dialout-trunk:10] Set("SIP/139-00000007", "DIALTRUNKOPTIONS=") in new stack -- Executing [s@macro-dialout-trunk:11] Macro("SIP/139-00000007", "outbound-callerid,1") in new stack -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/139-00000007", "0?Set(CALLERPRES()=)") in new stack -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/139-00000007", "0?Set(REALCALLERIDNUM=139)") in new stack -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/139-00000007", "1?normcid") in new stack -- Goto (macro-outbound-callerid,s,6) -- Executing [s@macro-outbound-callerid:6] Set("SIP/139-00000007", "USEROUTCID=") in new stack -- Executing [s@macro-outbound-callerid:7] Set("SIP/139-00000007", "EMERGENCYCID=") in new stack -- Executing [s@macro-outbound-callerid:8] Set("SIP/139-00000007", "TRUNKOUTCID=") in new stack -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/139-00000007", "1?trunkcid") in new stack -- Goto (macro-outbound-callerid,s,14) -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/139-00000007", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/139-00000007", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/139-00000007", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/139-00000007", "0?Set(CALLERPRES()=prohibpassedscreen)") in new stack -- Executing [s@macro-outbound-callerid:18] Set("SIP/139-00000007", "CDR(outboundcnum)=139") in new stack -- Executing [s@macro-outbound-callerid:19] Set("SIP/139-00000007", "CDR(outboundcnam)=139") in new stack -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/139-00000007", "0?sub-flp-1,s,1()") in new stack -- Executing [s@macro-dialout-trunk:13] Set("SIP/139-00000007", "OUTNUM=101") in new stack -- Executing [s@macro-dialout-trunk:14] Set("SIP/139-00000007", "custom=DAHDI/g0") in new stack -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/139-00000007", "0?Set(DIALTRUNKOPTIONS=M(setmusic^default))") in new stack -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/139-00000007", "0?Set(DIALTRUNKOPTIONS=M(confirm))") in new stack -- Executing [s@macro-dialout-trunk:17] Macro("SIP/139-00000007", "dialout-trunk-predial-hook,") in new stack -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/139-00000007", "") in new stack -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/139-00000007", "0?bypass,1") in new stack -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/139-00000007", "1?Set(CONNECTEDLINE(num,i)=101)") in new stack -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/139-00000007", "1?Set(CONNECTEDLINE(name,i)=CID:139)") in new stack -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/139-00000007", "0?customtrunk") in new stack -- Executing [s@macro-dialout-trunk:22] Dial("SIP/139-00000007", "DAHDI/g0/101,300,") in new stack -- Requested transfer capability: 0x00 - SPEECH -- Called DAHDI/g0/101 -- Accepting call from '139' to '101' on channel 0/1, span 2 -- Executing [101@from-trunk:1] GotoIf("DAHDI/i2/139-c", "0?ext-local,101,1") in new stack -- Executing [101@from-trunk:2] Macro("DAHDI/i2/139-c", "user-callerid,") in new stack -- Executing [s@macro-user-callerid:1] Set("DAHDI/i2/139-c", "TOUCHMONITOR=1441910790.104") in new stack -- Executing [s@macro-user-callerid:2] Set("DAHDI/i2/139-c", "AMPUSER=139") in new stack -- Executing [s@macro-user-callerid:3] GotoIf("DAHDI/i2/139-c", "0?report") in new stack -- Executing [s@macro-user-callerid:4] ExecIf("DAHDI/i2/139-c", "1?Set(REALCALLERIDNUM=139)") in new stack -- Executing [s@macro-user-callerid:5] Set("DAHDI/i2/139-c", "AMPUSER=139") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/i2/139-c", "0?limit") in new stack -- Executing [s@macro-user-callerid:7] Set("DAHDI/i2/139-c", "AMPUSERCIDNAME=139") in new stack -- Executing [s@macro-user-callerid:8] GotoIf("DAHDI/i2/139-c", "0?report") in new stack -- Executing [s@macro-user-callerid:9] Set("DAHDI/i2/139-c", "AMPUSERCID=139") in new stack -- Executing [s@macro-user-callerid:10] Set("DAHDI/i2/139-c", "DIALOPTIONS=tr") in new stack -- Executing [s@macro-user-callerid:11] Set("DAHDI/i2/139-c", "CALLERID(all)="139" <139>") in new stack -- Executing [s@macro-user-callerid:12] GotoIf("DAHDI/i2/139-c", "0?limit") in new stack -- Executing [s@macro-user-callerid:13] ExecIf("DAHDI/i2/139-c", "0?Set(GROUP(concurrencylimit)=139)") in new stack -- Executing [s@macro-user-callerid:14] ExecIf("DAHDI/i2/139-c", "0?Set(CHANNEL(language)=)") in new stack -- Executing [s@macro-user-callerid:15] GotoIf("DAHDI/i2/139-c", "0?continue") in new stack -- Executing [s@macro-user-callerid:16] Set("DAHDI/i2/139-c", "TTL=64") in new stack -- Executing [s@macro-user-callerid:17] GotoIf("DAHDI/i2/139-c", "1?continue") in new stack -- Goto (macro-user-callerid,s,28) -- Executing [s@macro-user-callerid:28] Set("DAHDI/i2/139-c", "CALLERID(number)=139") in new stack -- Executing [s@macro-user-callerid:29] Set("DAHDI/i2/139-c", "CALLERID(name)=139") in new stack -- Executing [s@macro-user-callerid:30] Set("DAHDI/i2/139-c", "CDR(cnum)=139") in new stack -- Executing [s@macro-user-callerid:31] Set("DAHDI/i2/139-c", "CDR(cnam)=139") in new stack -- Executing [s@macro-user-callerid:32] Set("DAHDI/i2/139-c", "CHANNEL(language)=en") in new stack -- Executing [101@from-trunk:3] Set("DAHDI/i2/139-c", "DIALOPTIONS=trI") in new stack -- Executing [101@from-trunk:4] Set("DAHDI/i2/139-c", "CONNECTEDLINE(num)=101") in new stack -- Executing [101@from-trunk:5] Gosub("DAHDI/i2/139-c", "sub-presencestate-display,s,1(101)") in new stack -- Executing [s@sub-presencestate-display:1] Goto("DAHDI/i2/139-c", "state-,1") in new stack -- Goto (sub-presencestate-display,state-,1) -- Executing [state-@sub-presencestate-display:1] Set("DAHDI/i2/139-c", "PRESENCESTATEDISPLAY=") in new stack -- Executing [state-@sub-presencestate-display:2] Return("DAHDI/i2/139-c", "") in new stack -- Executing [101@from-trunk:6] Set("DAHDI/i2/139-c", "CONNECTEDLINE(name,i)=101") in new stack -- Executing [101@from-trunk:7] Set("DAHDI/i2/139-c", "FMDIALSTATUS=NOTINUSE") in new stack -- Executing [101@from-trunk:8] Set("DAHDI/i2/139-c", "EXTTOCALL=101") in new stack -- Executing [101@from-trunk:9] Set("DAHDI/i2/139-c", "PICKUPMARK=101") in new stack -- Executing [101@from-trunk:10] Macro("DAHDI/i2/139-c", "blkvm-setifempty,") in new stack -- Executing [s@macro-blkvm-setifempty:1] GotoIf("DAHDI/i2/139-c", "1?init") in new stack -- Goto (macro-blkvm-setifempty,s,4) -- Executing [s@macro-blkvm-setifempty:4] Set("DAHDI/i2/139-c", "BLKVMCHANNEL=DAHDI/i2/139-c") in new stack -- Executing [s@macro-blkvm-setifempty:5] Set("DAHDI/i2/139-c", "SHARED(BLKVM,DAHDI/i2/139-c)=TRUE") in new stack -- Executing [s@macro-blkvm-setifempty:6] Set("DAHDI/i2/139-c", "GOSUBRETVAL=TRUE") in new stack -- Executing [s@macro-blkvm-setifempty:7] MacroExit("DAHDI/i2/139-c", "") in new stack -- Executing [101@from-trunk:11] GotoIf("DAHDI/i2/139-c", "1?skipov") in new stack -- Goto (from-trunk,101,14) -- Executing [101@from-trunk:14] Set("DAHDI/i2/139-c", "RRNODEST=") in new stack -- Executing [101@from-trunk:15] Set("DAHDI/i2/139-c", "NODEST=101") in new stack -- Executing [101@from-trunk:16] GosubIf("DAHDI/i2/139-c", "0?sub-fmsetcid,s,1()") in new stack -- Executing [101@from-trunk:17] Set("DAHDI/i2/139-c", "RecordMethod=Group") in new stack -- Executing [101@from-trunk:18] Gosub("DAHDI/i2/139-c", "sub-record-check,s,1(exten,101,)") in new stack -- Executing [s@sub-record-check:1] Set("DAHDI/i2/139-c", "RECPOLICYMODESAVE=") in new stack -- Executing [s@sub-record-check:2] GotoIf("DAHDI/i2/139-c", "1?check") in new stack -- Goto (sub-record-check,s,7) -- Executing [s@sub-record-check:7] Set("DAHDI/i2/139-c", "MONFMT=wav") in new stack -- Executing [s@sub-record-check:8] GotoIf("DAHDI/i2/139-c", "1?next") in new stack -- Goto (sub-record-check,s,11) -- Executing [s@sub-record-check:11] ExecIf("DAHDI/i2/139-c", "0?Return()") in new stack -- Executing [s@sub-record-check:12] ExecIf("DAHDI/i2/139-c", "0?Set(RECPOLICYMODE=)") in new stack -- Executing [s@sub-record-check:13] GotoIf("DAHDI/i2/139-c", "0?exten,1") in new stack -- Executing [s@sub-record-check:14] Set("DAHDI/i2/139-c", "RECSTATUS=INITIALIZED") in new stack -- Executing [s@sub-record-check:15] Set("DAHDI/i2/139-c", "NOW=1441910790") in new stack -- Executing [s@sub-record-check:16] Set("DAHDI/i2/139-c", "DAY=10") in new stack -- Executing [s@sub-record-check:17] Set("DAHDI/i2/139-c", "MONTH=09") in new stack -- Executing [s@sub-record-check:18] Set("DAHDI/i2/139-c", "YEAR=2015") in new stack -- Executing [s@sub-record-check:19] Set("DAHDI/i2/139-c", "TIMESTR=20150910-214630") in new stack -- Executing [s@sub-record-check:20] Set("DAHDI/i2/139-c", "FROMEXTEN=139") in new stack -- Executing [s@sub-record-check:21] Set("DAHDI/i2/139-c", "CALLFILENAME=exten-101-139-20150910-214630-1441910790.104") in new stack -- Executing [s@sub-record-check:22] Goto("DAHDI/i2/139-c", "exten,1") in new stack -- Goto (sub-record-check,exten,1) -- Executing [exten@sub-record-check:1] GotoIf("DAHDI/i2/139-c", "0?callee") in new stack -- Executing [exten@sub-record-check:2] Set("DAHDI/i2/139-c", "RECPOLICYMODE=dontcare") in new stack -- Executing [exten@sub-record-check:3] GotoIf("DAHDI/i2/139-c", "1?caller") in new stack -- Goto (sub-record-check,exten,10) -- Executing [exten@sub-record-check:10] Set("DAHDI/i2/139-c", "RECPOLICYMODE=dontcare") in new stack -- Executing [exten@sub-record-check:11] GosubIf("DAHDI/i2/139-c", "0?record,1(exten,101,139)") in new stack -- Executing [exten@sub-record-check:12] Return("DAHDI/i2/139-c", "") in new stack -- Executing [101@from-trunk:19] Set("DAHDI/i2/139-c", "RingGroupMethod=ringallv2") in new stack -- Executing [101@from-trunk:20] Set("DAHDI/i2/139-c", "FMGRP=101") in new stack -- Executing [101@from-trunk:21] GotoIf("DAHDI/i2/139-c", "0?doconfirm") in new stack -- Executing [101@from-trunk:22] Macro("DAHDI/i2/139-c", "dial,60,trI,101") in new stack -- Executing [s@macro-dial:1] GotoIf("DAHDI/i2/139-c", "1?dial") in new stack -- Goto (macro-dial,s,3) -- Executing [s@macro-dial:3] AGI("DAHDI/i2/139-c", "dialparties.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi -- DAHDI/i1/101-13 is proceeding passing it to SIP/139-00000007 dialparties.agi: Starting New Dialparties.agi dialparties.agi: Caller ID name is '139' number is '139' dialparties.agi: Methodology of ring is 'ringallv2' -- dialparties.agi: Added extension 101 to extension map -- dialparties.agi: Extension 101 cf is disabled -- dialparties.agi: Extension 101 do not disturb is disabled dialparties.agi: EXTENSIONSTATE: 0 (NOTINUSE) dialparties.agi: Extension 101 has ExtensionState: 0 -- dialparties.agi: Checking CW and CFB status for extension 101 -- dialparties.agi: dbset CALLTRACE/101 to 139 -- dialparties.agi: Filtered ARG3: 101 -- <dahdi i2="" 139-c="">AGI Script dialparties.agi completed, returning 0 -- Executing [s@macro-dial:7] Dial("DAHDI/i2/139-c", "SIP/101,62,trIM(auto-blkvm)") in new stack == Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 -- Called SIP/101 -- Connected line update to DAHDI/i2/139-c prevented. -- DAHDI/i1/101-13 is ringing -- DAHDI/i1/101-13 is making progress passing it to SIP/139-00000007 -- SIP/101-00000008 is ringing -- SIP/101-00000008 is ringing -- Connected line update to DAHDI/i2/139-c prevented. -- SIP/101-00000008 answered DAHDI/i2/139-c -- Executing [s@macro-auto-blkvm:1] Set("SIP/101-00000008", "_MACRORESULT=") in new stack -- Executing [s@macro-auto-blkvm:2] Set("SIP/101-00000008", "CFIGNORE=") in new stack -- Executing [s@macro-auto-blkvm:3] Set("SIP/101-00000008", "MASTERCHANNEL(CFIGNORE)=") in new stack -- Executing [s@macro-auto-blkvm:4] Set("SIP/101-00000008", "FORWARDCONTEXT=from-internal") in new stack -- Executing [s@macro-auto-blkvm:5] Set("SIP/101-00000008", "MASTERCHANNEL(FORWARDCONTEXT)=from-internal") in new stack -- Executing [s@macro-auto-blkvm:6] Macro("SIP/101-00000008", "blkvm-clr,") in new stack -- Executing [s@macro-blkvm-clr:1] Set("SIP/101-00000008", "SHARED(BLKVM,DAHDI/i2/139-c)=") in new stack -- Executing [s@macro-blkvm-clr:2] Set("SIP/101-00000008", "GOSUBRETVAL=") in new stack -- Executing [s@macro-blkvm-clr:3] MacroExit("SIP/101-00000008", "") in new stack -- Executing [s@macro-auto-blkvm:7] ExecIf("SIP/101-00000008", "0?Set(MASTERCHANNEL(CONNECTEDLINE(num))=101)") in new stack -- Executing [s@macro-auto-blkvm:8] ExecIf("SIP/101-00000008", "0?Set(MASTERCHANNEL(CONNECTEDLINE(name))=101)") in new stack -- DAHDI/i1/101-13 answered SIP/139-00000007 -- Started music on hold, class 'default', on DAHDI/i1/101-13 -- Executing [h@macro-dial:1] Macro("DAHDI/i2/139-c", "hangupcall") in new stack -- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/i2/139-c", "1?endmixmoncheck") in new stack -- Goto (macro-hangupcall,s,9) -- Executing [s@macro-hangupcall:9] NoOp("DAHDI/i2/139-c", "End of MIXMON check") in new stack -- Executing [s@macro-hangupcall:10] GotoIf("DAHDI/i2/139-c", "1?nomeetmemon") in new stack -- Goto (macro-hangupcall,s,28) -- Executing [s@macro-hangupcall:28] NoOp("DAHDI/i2/139-c", "End of MEETME check") in new stack -- Executing [s@macro-hangupcall:29] GotoIf("DAHDI/i2/139-c", "1?noautomon") in new stack -- Goto (macro-hangupcall,s,34) -- Executing [s@macro-hangupcall:34] NoOp("DAHDI/i2/139-c", "TOUCHMONITOROUTPUT=") in new stack -- Executing [s@macro-hangupcall:35] GotoIf("DAHDI/i2/139-c", "1?noautomon2") in new stack -- Goto (macro-hangupcall,s,41) -- Executing [s@macro-hangupcall:41] NoOp("DAHDI/i2/139-c", "MONITORFILENAME=") in new stack -- Executing [s@macro-hangupcall:42] GotoIf("DAHDI/i2/139-c", "1?skiprg") in new stack -- Goto (macro-hangupcall,s,45) -- Executing [s@macro-hangupcall:45] GotoIf("DAHDI/i2/139-c", "1?skipblkvm") in new stack -- Goto (macro-hangupcall,s,48) -- Executing [s@macro-hangupcall:48] GotoIf("DAHDI/i2/139-c", "1?theend") in new stack -- Goto (macro-hangupcall,s,50) -- Executing [s@macro-hangupcall:50] AGI("DAHDI/i2/139-c", "hangup.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi -- <dahdi i2="" 139-c="">AGI Script hangup.agi completed, returning 0 -- Executing [s@macro-hangupcall:51] Hangup("DAHDI/i2/139-c", "") in new stack == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'DAHDI/i2/139-c' in macro 'hangupcall' == Spawn extension (macro-dial, h, 1) exited non-zero on 'DAHDI/i2/139-c' == Spawn extension (macro-dial, s, 7) exited non-zero on 'DAHDI/i2/139-c' in macro 'dial' == Spawn extension (from-trunk, 101, 22) exited non-zero on 'DAHDI/i2/139-c' -- Hungup 'DAHDI/i2/139-c' -- Span 1: Channel 0/1 got hangup request, cause 16 -- Stopped music on hold on DAHDI/i1/101-13 -- Executing [h@macro-dialout-trunk:1] Macro("SIP/139-00000007", "hangupcall,") in new stack -- Executing [s@macro-hangupcall:1] GotoIf("SIP/139-00000007", "1?endmixmoncheck") in new stack -- Goto (macro-hangupcall,s,9) -- Executing [s@macro-hangupcall:9] NoOp("SIP/139-00000007", "End of MIXMON check") in new stack -- Executing [s@macro-hangupcall:10] GotoIf("SIP/139-00000007", "1?nomeetmemon") in new stack -- Goto (macro-hangupcall,s,28) -- Executing [s@macro-hangupcall:28] NoOp("SIP/139-00000007", "End of MEETME check") in new stack -- Executing [s@macro-hangupcall:29] GotoIf("SIP/139-00000007", "1?noautomon") in new stack -- Goto (macro-hangupcall,s,34) -- Executing [s@macro-hangupcall:34] NoOp("SIP/139-00000007", "TOUCHMONITOROUTPUT=") in new stack -- Executing [s@macro-hangupcall:35] GotoIf("SIP/139-00000007", "1?noautomon2") in new stack -- Goto (macro-hangupcall,s,41) -- Executing [s@macro-hangupcall:41] NoOp("SIP/139-00000007", "MONITOR_FILENAME=") in new stack -- Executing [s@macro-hangupcall:42] GotoIf("SIP/139-00000007", "1?skiprg") in new stack -- Goto (macro-hangupcall,s,45) -- Executing [s@macro-hangupcall:45] GotoIf("SIP/139-00000007", "1?skipblkvm") in new stack -- Goto (macro-hangupcall,s,48) -- Executing [s@macro-hangupcall:48] GotoIf("SIP/139-00000007", "1?theend") in new stack -- Goto (macro-hangupcall,s,50) -- Executing [s@macro-hangupcall:50] AGI("SIP/139-00000007", "hangup.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi -- <sip 139-00000007="">AGI Script hangup.agi completed, returning 0 -- Executing [s@macro-hangupcall:51] Hangup("SIP/139-00000007", "") in new stack == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/139-00000007' in macro 'hangupcall' == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/139-00000007' -- Hungup 'DAHDI/i1/101-13' == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/139-00000007' in macro 'dialout-trunk' == Spawn extension (from-internal, 9101, 5) exited non-zero on 'SIP/139-00000007'

нажмите, чтобы скрыть/показать версии 10
автор - ленивый неуважающий других спамер.
редактировать

Elastix+Quasar MEE не проходят входящие звонки

Очень нужна помощь Установлен Elastix 2.5.0 c картой Quasar MEE. Исходящие вызовы по обоим транкам проходят, а вот со входящими вызовами беда. Входящий маршрут добавлен. Сейчас сделано кольцо между двумя транками, то есть с одного выхожу на другой по did входящий должен придти, но увы. идёт сообщение что соединение невозможно, пожалуйста проверьте номер. Лог прикрепляю Вызов делаю с номера 102 на 222333 ноль выход на транк на входящем маршруте настроено 222333 приходить на внутренний 101.

== Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [0222333@from-internal:1] Macro("SIP/102-0000000f", "user-callerid,LIMIT,EXTERNAL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/102-0000000f", "TOUCH_MONITOR=1441647595.41") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/102-0000000f", "AMPUSER=102") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/102-0000000f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/102-0000000f", "1?Set(REALCALLERIDNUM=102)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/102-0000000f", "AMPUSER=102") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/102-0000000f", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/102-0000000f", "AMPUSERCIDNAME=102") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/102-0000000f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/102-0000000f", "AMPUSERCID=102") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/102-0000000f", "__DIAL_OPTIONS=tr") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/102-0000000f", "CALLERID(all)="102" <102>") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/102-0000000f", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("SIP/102-0000000f", "1?Set(GROUP(concurrency_limit)=102)") in new stack
    -- Executing [s@macro-user-callerid:14] ExecIf("SIP/102-0000000f", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:15] GotoIf("SIP/102-0000000f", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,28)
    -- Executing [s@macro-user-callerid:28] Set("SIP/102-0000000f", "CALLERID(number)=102") in new stack
    -- Executing [s@macro-user-callerid:29] Set("SIP/102-0000000f", "CALLERID(name)=102") in new stack
    -- Executing [s@macro-user-callerid:30] Set("SIP/102-0000000f", "CDR(cnum)=102") in new stack
    -- Executing [s@macro-user-callerid:31] Set("SIP/102-0000000f", "CDR(cnam)=102") in new stack
    -- Executing [s@macro-user-callerid:32] Set("SIP/102-0000000f", "CHANNEL(language)=ru") in new stack
    -- Executing [0222333@from-internal:2] Set("SIP/102-0000000f", "MOHCLASS=default") in new stack
    -- Executing [0222333@from-internal:3] Set("SIP/102-0000000f", "_NODEST=") in new stack
    -- Executing [0222333@from-internal:4] Gosub("SIP/102-0000000f", "sub-record-check,s,1(out,0222333,)") in new stack
    -- Executing [s@sub-record-check:1] Set("SIP/102-0000000f", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:2] GotoIf("SIP/102-0000000f", "1?check") in new stack
    -- Goto (sub-record-check,s,7)
    -- Executing [s@sub-record-check:7] Set("SIP/102-0000000f", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:8] GotoIf("SIP/102-0000000f", "1?next") in new stack
    -- Goto (sub-record-check,s,11)
    -- Executing [s@sub-record-check:11] ExecIf("SIP/102-0000000f", "0?Return()") in new stack
    -- Executing [s@sub-record-check:12] ExecIf("SIP/102-0000000f", "0?Set(__REC_POLICY_MODE=)") in new stack
    -- Executing [s@sub-record-check:13] GotoIf("SIP/102-0000000f", "0?out,1") in new stack
    -- Executing [s@sub-record-check:14] Set("SIP/102-0000000f", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:15] Set("SIP/102-0000000f", "NOW=1441647595") in new stack
    -- Executing [s@sub-record-check:16] Set("SIP/102-0000000f", "__DAY=07") in new stack
    -- Executing [s@sub-record-check:17] Set("SIP/102-0000000f", "__MONTH=09") in new stack
    -- Executing [s@sub-record-check:18] Set("SIP/102-0000000f", "__YEAR=2015") in new stack
    -- Executing [s@sub-record-check:19] Set("SIP/102-0000000f", "__TIMESTR=20150907-213955") in new stack
    -- Executing [s@sub-record-check:20] Set("SIP/102-0000000f", "__FROMEXTEN=102") in new stack
    -- Executing [s@sub-record-check:21] Set("SIP/102-0000000f", "__CALLFILENAME=out-0222333-102-20150907-213955-1441647595.41") in new stack
    -- Executing [s@sub-record-check:22] Goto("SIP/102-0000000f", "out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [out@sub-record-check:1] ExecIf("SIP/102-0000000f", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
    -- Executing [out@sub-record-check:2] GosubIf("SIP/102-0000000f", "0?record,1(exten,0222333,102)") in new stack
    -- Executing [out@sub-record-check:3] Return("SIP/102-0000000f", "") in new stack
    -- Executing [0222333@from-internal:5] Macro("SIP/102-0000000f", "dialout-trunk,1,222333,,off") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/102-0000000f", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/102-0000000f", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/102-0000000f", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/102-0000000f", "DIAL_NUMBER=222333") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/102-0000000f", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/102-0000000f", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/102-0000000f", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/102-0000000f", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/102-0000000f", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/102-0000000f", "outbound-callerid,1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/102-0000000f", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/102-0000000f", "0?Set(REALCALLERIDNUM=102)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/102-0000000f", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/102-0000000f", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/102-0000000f", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/102-0000000f", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/102-0000000f", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,14)
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/102-0000000f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/102-0000000f", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:18] Set("SIP/102-0000000f", "CDR(outbound_cnum)=102") in new stack
    -- Executing [s@macro-outbound-callerid:19] Set("SIP/102-0000000f", "CDR(outbound_cnam)=102") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/102-0000000f", "0?sub-flp-1,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/102-0000000f", "OUTNUM=222333") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/102-0000000f", "custom=DAHDI/g0") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/102-0000000f", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
    -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/102-0000000f", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/102-0000000f", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/102-0000000f", "") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/102-0000000f", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/102-0000000f", "1?Set(CONNECTEDLINE(num,i)=222333)") in new stack
    -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/102-0000000f", "1?Set(CONNECTEDLINE(name,i)=CID:102)") in new stack
    -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/102-0000000f", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:22] Dial("SIP/102-0000000f", "DAHDI/g0/222333,300,") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called DAHDI/g0/222333
    -- Accepting call from '102' to '222333' on channel 0/1, span 2
    -- Executing [222333@from-internal:1] ResetCDR("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:2] NoCDR("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:3] Progress("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:4] Wait("DAHDI/i2/102-e", "1") in new stack
    -- DAHDI/i1/222333-e is proceeding passing it to SIP/102-0000000f
    -- DAHDI/i1/222333-e is making progress passing it to SIP/102-0000000f
    -- Executing [222333@from-internal:5] Progress("DAHDI/i2/102-e", "") in new stack
    -- Executing [222333@from-internal:6] Playback("DAHDI/i2/102-e", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
    -- <DAHDI/i2/102-e> Playing 'silence/1.slin' (language 'ru')
    -- <DAHDI/i2/102-e> Playing 'cannot-complete-as-dialed.slin' (language 'ru')
    -- <DAHDI/i2/102-e> Playing 'check-number-dial-again.slin' (language 'ru')
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Executing [222333@from-internal:7] Wait("DAHDI/i2/102-e", "1") in new stack
    -- Hungup 'DAHDI/i1/222333-e'
  == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/102-0000000f' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 0222333, 5) exited non-zero on 'SIP/102-0000000f'
    -- Executing [h@from-internal:1] Hangup("SIP/102-0000000f", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/102-0000000f'
    -- Span 2: Channel 0/1 got hangup request, cause 16
  == Spawn extension (from-internal, 222333, 7) exited non-zero on 'DAHDI/i2/102-e'
    -- Executing [h@from-internal:1] Hangup("DAHDI/i2/102-e", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'DAHDI/i2/102-e'
    -- Hungup 'DAHDI/i2/102-e'

Я не изменял ничего после установки, добавил только исходящий и входящий маршруты через web интерфейс. В extensions.conf содержится только такой контекст

==; INTERNAL DIALPLAN, NOT OPEN TO THE PUBLIC WORLD                              *
==;*******************************************************************************
==;

;-------------------------------------------------------------------------------
; from-internal:
;
; Internal dialplan that most internal phones have access to
;
[from-internal]
include => from-internal-noxfer
include => from-internal-xfer
include => bad-number ; auto-generated
;-------------------------------------------------------------------------------

;-------------------------------------------------------------------------------
; from-internal-noxfer:
;
; Place to put internal dialplan that should not be accessible during a blind
; transfer, this context will not be visible during such.
;
[from-internal-noxfer]
include => from-internal-noxfer-custom
include => from-internal-noxfer-additional ; auto-generated
;-------------------------------------------------------------------------------

;-------------------------------------------------------------------------------
; from-internal-xfer:
;
; Place to put most internal dialplan, will be visible during normal calls and
; blind transfers.
;
[from-internal-xfer]
include => from-internal-custom
include => from-internal-additional ; auto-generated
exten => s,1,Macro(hangupcall)
exten => h,1,Macro(hangupcall)
;-------------------------------------------------------------------------------

а при добавление правила изменяется файл extensions_additionals
[ext-did-0002]
include => ext-did-0002-custom
exten => fax,1,Goto(${CUT(FAX_DEST,^,1)},${CUT(FAX_DEST,^,2)},${CUT(FAX_DEST,^,3)})

exten => 222333,1,Set(__FROM_DID=${EXTEN})
exten => 222333,n,Gosub(app-blacklist-check,s,1())
exten => 222333,n,Set(CDR(did)=${FROM_DID})
exten => 222333,n,ExecIf($[ "${CALLERID(name)}" = "" ] ?Set(CALLERID(name)=${CALLERID(num)}))
exten => 222333,n,Set(CHANNEL(musicclass)=default)
exten => 222333,n,Set(__MOHCLASS=default)
exten => 222333,n,Set(__CALLINGPRES_SV=${CALLERPRES()})
exten => 222333,n,Set(CALLERPRES()=allowed_not_screened)
exten => 222333,n(dest-ext),Goto(ivr-4,s,1)

Как правильно поправить мне чтоб у меня заработало?

Возникла вот следующия проблема. Звонки с города на еластикс и через него на самсунг ходят нормально, а вот с самсунга на эластикс нет, независимо что набираем в pri с самсунга os7070 выдаёт вот такой вот лог на астериске

-- Accepting call from '222333' to 's' on channel 0/31, span 1
    -- Executing [s@from-internal:1] Macro("DAHDI/i1/222333-2", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/i1/222333-2", "1?endmixmoncheck") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] NoOp("DAHDI/i1/222333-2", "End of MIXMON check") in new stack
    -- Executing [s@macro-hangupcall:10] GotoIf("DAHDI/i1/222333-2", "1?nomeetmemon") in new stack
    -- Goto (macro-hangupcall,s,28)
    -- Executing [s@macro-hangupcall:28] NoOp("DAHDI/i1/222333-2", "End of MEETME check") in new stack
    -- Executing [s@macro-hangupcall:29] GotoIf("DAHDI/i1/222333-2", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,34)
    -- Executing [s@macro-hangupcall:34] NoOp("DAHDI/i1/222333-2", "TOUCHMONITOROUTPUT=") "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:35] GotoIf("DAHDI/i1/222333-2", "1?noautomon2") in new stack
    -- Goto (macro-hangupcall,s,41)
    -- Executing [s@macro-hangupcall:41] NoOp("DAHDI/i1/222333-2", "MONITOR_FILENAME=") in new stack
    -- Executing [s@macro-hangupcall:42] GotoIf("DAHDI/i1/222333-2", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,45)
    -- Executing [s@macro-hangupcall:45] GotoIf("DAHDI/i1/222333-2", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,48)
    -- Executing [s@macro-hangupcall:48] GotoIf("DAHDI/i1/222333-2", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,50)
    -- Executing [s@macro-hangupcall:50] AGI("DAHDI/i1/222333-2", "hangup.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
    -- <dahdi i1="" 222333-2="">AGI <DAHDI/i1/222333-2>AGI Script hangup.agi completed, returning 0
    -- Executing [s@macro-hangupcall:51] Hangup("DAHDI/i1/222333-2", "") in new stack
  == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'DAHDI/i1/222333-2' in macro 'hangupcall'
  == Spawn extension (from-internal, s, 1) exited non-zero on 'DAHDI/i1/222333-2'
    -- Executing [h@from-internal:1] Hangup("DAHDI/i1/222333-2", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'DAHDI/i1/222333-2'
    -- Hungup 'DAHDI/i1/222333-2'

'DAHDI/i1/222333-2'

это звонок с самсунга на эластикс на эластиксе на этом транке поставлен контекст from-internal.

from-internal.

Хотя если делаю петлю внутри эластикса на потоках проходит всё нормально и выдаёт такой вот лог. Как это исправить.

исправить.

-- Executing [9101@from-internal:1] Macro("SIP/139-00000007", "user-callerid,LIMIT,EXTERNAL,") in new stack -- Executing [s@macro-user-callerid:1] Set("SIP/139-00000007", "TOUCHMONITOR=1441910790.102") "TOUCH_MONITOR=1441910790.102") in new stack -- Executing [s@macro-user-callerid:2] Set("SIP/139-00000007", "AMPUSER=139") in new stack -- Executing [s@macro-user-callerid:3] GotoIf("SIP/139-00000007", "0?report") in new stack -- Executing [s@macro-user-callerid:4] ExecIf("SIP/139-00000007", "1?Set(REALCALLERIDNUM=139)") in new stack -- Executing [s@macro-user-callerid:5] Set("SIP/139-00000007", "AMPUSER=139") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("SIP/139-00000007", "0?limit") in new stack -- Executing [s@macro-user-callerid:7] Set("SIP/139-00000007", "AMPUSERCIDNAME=139") in new stack -- Executing [s@macro-user-callerid:8] GotoIf("SIP/139-00000007", "0?report") in new stack -- Executing [s@macro-user-callerid:9] Set("SIP/139-00000007", "AMPUSERCID=139") in new stack -- Executing [s@macro-user-callerid:10] Set("SIP/139-00000007", "DIALOPTIONS=tr") "__DIAL_OPTIONS=tr") in new stack -- Executing [s@macro-user-callerid:11] Set("SIP/139-00000007", "CALLERID(all)="139" <139>") in new stack -- Executing [s@macro-user-callerid:12] GotoIf("SIP/139-00000007", "0?limit") in new stack -- Executing [s@macro-user-callerid:13] ExecIf("SIP/139-00000007", "1?Set(GROUP(concurrencylimit)=139)") "1?Set(GROUP(concurrency_limit)=139)") in new stack -- Executing [s@macro-user-callerid:14] ExecIf("SIP/139-00000007", "0?Set(CHANNEL(language)=)") in new stack -- Executing [s@macro-user-callerid:15] GotoIf("SIP/139-00000007", "1?continue") in new stack -- Goto (macro-user-callerid,s,28) -- Executing [s@macro-user-callerid:28] Set("SIP/139-00000007", "CALLERID(number)=139") in new stack -- Executing [s@macro-user-callerid:29] Set("SIP/139-00000007", "CALLERID(name)=139") in new stack -- Executing [s@macro-user-callerid:30] Set("SIP/139-00000007", "CDR(cnum)=139") in new stack -- Executing [s@macro-user-callerid:31] Set("SIP/139-00000007", "CDR(cnam)=139") in new stack -- Executing [s@macro-user-callerid:32] Set("SIP/139-00000007", "CHANNEL(language)=ru") in new stack -- Executing [9101@from-internal:2] Set("SIP/139-00000007", "MOHCLASS=default") in new stack -- Executing [9101@from-internal:3] Set("SIP/139-00000007", "NODEST=") "_NODEST=") in new stack -- Executing [9101@from-internal:4] Gosub("SIP/139-00000007", "sub-record-check,s,1(out,9101,)") in new stack -- Executing [s@sub-record-check:1] Set("SIP/139-00000007", "RECPOLICYMODESAVE=") "REC_POLICY_MODE_SAVE=") in new stack -- Executing [s@sub-record-check:2] GotoIf("SIP/139-00000007", "1?check") in new stack -- Goto (sub-record-check,s,7) -- Executing [s@sub-record-check:7] Set("SIP/139-00000007", "MONFMT=wav") "__MON_FMT=wav") in new stack -- Executing [s@sub-record-check:8] GotoIf("SIP/139-00000007", "1?next") in new stack -- Goto (sub-record-check,s,11) -- Executing [s@sub-record-check:11] ExecIf("SIP/139-00000007", "0?Return()") in new stack -- Executing [s@sub-record-check:12] ExecIf("SIP/139-00000007", "0?Set(RECPOLICYMODE=)") "0?Set(__REC_POLICY_MODE=)") in new stack -- Executing [s@sub-record-check:13] GotoIf("SIP/139-00000007", "0?out,1") in new stack -- Executing [s@sub-record-check:14] Set("SIP/139-00000007", "RECSTATUS=INITIALIZED") "__REC_STATUS=INITIALIZED") in new stack -- Executing [s@sub-record-check:15] Set("SIP/139-00000007", "NOW=1441910790") in new stack -- Executing [s@sub-record-check:16] Set("SIP/139-00000007", "DAY=10") "__DAY=10") in new stack -- Executing [s@sub-record-check:17] Set("SIP/139-00000007", "MONTH=09") "__MONTH=09") in new stack -- Executing [s@sub-record-check:18] Set("SIP/139-00000007", "YEAR=2015") "__YEAR=2015") in new stack -- Executing [s@sub-record-check:19] Set("SIP/139-00000007", "TIMESTR=20150910-214630") "__TIMESTR=20150910-214630") in new stack -- Executing [s@sub-record-check:20] Set("SIP/139-00000007", "FROMEXTEN=139") "__FROMEXTEN=139") in new stack -- Executing [s@sub-record-check:21] Set("SIP/139-00000007", "CALLFILENAME=out-9101-139-20150910-214630-1441910790.102") "__CALLFILENAME=out-9101-139-20150910-214630-1441910790.102") in new stack -- Executing [s@sub-record-check:22] Goto("SIP/139-00000007", "out,1") in new stack -- Goto (sub-record-check,out,1) -- Executing [out@sub-record-check:1] ExecIf("SIP/139-00000007", "1?Set(RECPOLICYMODE=dontcare)") "1?Set(__REC_POLICY_MODE=dontcare)") in new stack -- Executing [out@sub-record-check:2] GosubIf("SIP/139-00000007", "0?record,1(exten,9101,139)") in new stack -- Executing [out@sub-record-check:3] Return("SIP/139-00000007", "") in new stack -- Executing [9101@from-internal:5] Macro("SIP/139-00000007", "dialout-trunk,1,101,,off") in new stack -- Executing [s@macro-dialout-trunk:1] Set("SIP/139-00000007", "DIALTRUNK=1") "DIAL_TRUNK=1") in new stack -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/139-00000007", "0?sub-pincheck,s,1()") in new stack -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/139-00000007", "0?disabletrunk,1") in new stack -- Executing [s@macro-dialout-trunk:4] Set("SIP/139-00000007", "DIALNUMBER=101") "DIAL_NUMBER=101") in new stack -- Executing [s@macro-dialout-trunk:5] Set("SIP/139-00000007", "DIALTRUNKOPTIONS=tr") "DIAL_TRUNK_OPTIONS=tr") in new stack -- Executing [s@macro-dialout-trunk:6] Set("SIP/139-00000007", "OUTBOUNDGROUP=OUT1") "OUTBOUND_GROUP=OUT_1") in new stack -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/139-00000007", "1?nomax") in new stack -- Goto (macro-dialout-trunk,s,9) -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/139-00000007", "0?skipoutcid") in new stack -- Executing [s@macro-dialout-trunk:10] Set("SIP/139-00000007", "DIALTRUNKOPTIONS=") "DIAL_TRUNK_OPTIONS=") in new stack -- Executing [s@macro-dialout-trunk:11] Macro("SIP/139-00000007", "outbound-callerid,1") in new stack -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/139-00000007", "0?Set(CALLERPRES()=)") in new stack -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/139-00000007", "0?Set(REALCALLERIDNUM=139)") in new stack -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/139-00000007", "1?normcid") in new stack -- Goto (macro-outbound-callerid,s,6) -- Executing [s@macro-outbound-callerid:6] Set("SIP/139-00000007", "USEROUTCID=") in new stack -- Executing [s@macro-outbound-callerid:7] Set("SIP/139-00000007", "EMERGENCYCID=") in new stack -- Executing [s@macro-outbound-callerid:8] Set("SIP/139-00000007", "TRUNKOUTCID=") in new stack -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/139-00000007", "1?trunkcid") in new stack -- Goto (macro-outbound-callerid,s,14) -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/139-00000007", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/139-00000007", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/139-00000007", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/139-00000007", "0?Set(CALLERPRES()=prohibpassedscreen)") "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack -- Executing [s@macro-outbound-callerid:18] Set("SIP/139-00000007", "CDR(outboundcnum)=139") "CDR(outbound_cnum)=139") in new stack -- Executing [s@macro-outbound-callerid:19] Set("SIP/139-00000007", "CDR(outboundcnam)=139") "CDR(outbound_cnam)=139") in new stack -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/139-00000007", "0?sub-flp-1,s,1()") in new stack -- Executing [s@macro-dialout-trunk:13] Set("SIP/139-00000007", "OUTNUM=101") in new stack -- Executing [s@macro-dialout-trunk:14] Set("SIP/139-00000007", "custom=DAHDI/g0") in new stack -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/139-00000007", "0?Set(DIALTRUNKOPTIONS=M(setmusic^default))") "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/139-00000007", "0?Set(DIALTRUNKOPTIONS=M(confirm))") "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack -- Executing [s@macro-dialout-trunk:17] Macro("SIP/139-00000007", "dialout-trunk-predial-hook,") in new stack -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/139-00000007", "") in new stack -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/139-00000007", "0?bypass,1") in new stack -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/139-00000007", "1?Set(CONNECTEDLINE(num,i)=101)") in new stack -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/139-00000007", "1?Set(CONNECTEDLINE(name,i)=CID:139)") in new stack -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/139-00000007", "0?customtrunk") in new stack -- Executing [s@macro-dialout-trunk:22] Dial("SIP/139-00000007", "DAHDI/g0/101,300,") in new stack -- Requested transfer capability: 0x00 - SPEECH -- Called DAHDI/g0/101 -- Accepting call from '139' to '101' on channel 0/1, span 2 -- Executing [101@from-trunk:1] GotoIf("DAHDI/i2/139-c", "0?ext-local,101,1") in new stack -- Executing [101@from-trunk:2] Macro("DAHDI/i2/139-c", "user-callerid,") in new stack -- Executing [s@macro-user-callerid:1] Set("DAHDI/i2/139-c", "TOUCHMONITOR=1441910790.104") "TOUCH_MONITOR=1441910790.104") in new stack -- Executing [s@macro-user-callerid:2] Set("DAHDI/i2/139-c", "AMPUSER=139") in new stack -- Executing [s@macro-user-callerid:3] GotoIf("DAHDI/i2/139-c", "0?report") in new stack -- Executing [s@macro-user-callerid:4] ExecIf("DAHDI/i2/139-c", "1?Set(REALCALLERIDNUM=139)") in new stack -- Executing [s@macro-user-callerid:5] Set("DAHDI/i2/139-c", "AMPUSER=139") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/i2/139-c", "0?limit") in new stack -- Executing [s@macro-user-callerid:7] Set("DAHDI/i2/139-c", "AMPUSERCIDNAME=139") in new stack -- Executing [s@macro-user-callerid:8] GotoIf("DAHDI/i2/139-c", "0?report") in new stack -- Executing [s@macro-user-callerid:9] Set("DAHDI/i2/139-c", "AMPUSERCID=139") in new stack -- Executing [s@macro-user-callerid:10] Set("DAHDI/i2/139-c", "DIALOPTIONS=tr") "__DIAL_OPTIONS=tr") in new stack -- Executing [s@macro-user-callerid:11] Set("DAHDI/i2/139-c", "CALLERID(all)="139" <139>") in new stack -- Executing [s@macro-user-callerid:12] GotoIf("DAHDI/i2/139-c", "0?limit") in new stack -- Executing [s@macro-user-callerid:13] ExecIf("DAHDI/i2/139-c", "0?Set(GROUP(concurrencylimit)=139)") "0?Set(GROUP(concurrency_limit)=139)") in new stack -- Executing [s@macro-user-callerid:14] ExecIf("DAHDI/i2/139-c", "0?Set(CHANNEL(language)=)") in new stack -- Executing [s@macro-user-callerid:15] GotoIf("DAHDI/i2/139-c", "0?continue") in new stack -- Executing [s@macro-user-callerid:16] Set("DAHDI/i2/139-c", "TTL=64") "__TTL=64") in new stack -- Executing [s@macro-user-callerid:17] GotoIf("DAHDI/i2/139-c", "1?continue") in new stack -- Goto (macro-user-callerid,s,28) -- Executing [s@macro-user-callerid:28] Set("DAHDI/i2/139-c", "CALLERID(number)=139") in new stack -- Executing [s@macro-user-callerid:29] Set("DAHDI/i2/139-c", "CALLERID(name)=139") in new stack -- Executing [s@macro-user-callerid:30] Set("DAHDI/i2/139-c", "CDR(cnum)=139") in new stack -- Executing [s@macro-user-callerid:31] Set("DAHDI/i2/139-c", "CDR(cnam)=139") in new stack -- Executing [s@macro-user-callerid:32] Set("DAHDI/i2/139-c", "CHANNEL(language)=en") in new stack -- Executing [101@from-trunk:3] Set("DAHDI/i2/139-c", "DIALOPTIONS=trI") "DIAL_OPTIONS=trI") in new stack -- Executing [101@from-trunk:4] Set("DAHDI/i2/139-c", "CONNECTEDLINE(num)=101") in new stack -- Executing [101@from-trunk:5] Gosub("DAHDI/i2/139-c", "sub-presencestate-display,s,1(101)") in new stack [2015-09-10 21:46:30] WARNING[4160][C-00000016]: func_presencestate.c:132 presence_read: PRESENCE_STATE unknown -- Executing [s@sub-presencestate-display:1] Goto("DAHDI/i2/139-c", "state-,1") in new stack -- Goto (sub-presencestate-display,state-,1) -- Executing [state-@sub-presencestate-display:1] Set("DAHDI/i2/139-c", "PRESENCESTATEDISPLAY=") "PRESENCESTATE_DISPLAY=") in new stack -- Executing [state-@sub-presencestate-display:2] Return("DAHDI/i2/139-c", "") in new stack -- Executing [101@from-trunk:6] Set("DAHDI/i2/139-c", "CONNECTEDLINE(name,i)=101") in new stack -- Executing [101@from-trunk:7] Set("DAHDI/i2/139-c", "FMDIALSTATUS=NOTINUSE") "FM_DIALSTATUS=NOT_INUSE") in new stack -- Executing [101@from-trunk:8] Set("DAHDI/i2/139-c", "EXTTOCALL=101") "__EXTTOCALL=101") in new stack -- Executing [101@from-trunk:9] Set("DAHDI/i2/139-c", "PICKUPMARK=101") "__PICKUPMARK=101") in new stack -- Executing [101@from-trunk:10] Macro("DAHDI/i2/139-c", "blkvm-setifempty,") in new stack -- Executing [s@macro-blkvm-setifempty:1] GotoIf("DAHDI/i2/139-c", "1?init") in new stack -- Goto (macro-blkvm-setifempty,s,4) -- Executing [s@macro-blkvm-setifempty:4] Set("DAHDI/i2/139-c", "BLKVMCHANNEL=DAHDI/i2/139-c") "__BLKVM_CHANNEL=DAHDI/i2/139-c") in new stack -- Executing [s@macro-blkvm-setifempty:5] Set("DAHDI/i2/139-c", "SHARED(BLKVM,DAHDI/i2/139-c)=TRUE") in new stack -- Executing [s@macro-blkvm-setifempty:6] Set("DAHDI/i2/139-c", "GOSUBRETVAL=TRUE") "GOSUB_RETVAL=TRUE") in new stack -- Executing [s@macro-blkvm-setifempty:7] MacroExit("DAHDI/i2/139-c", "") in new stack -- Executing [101@from-trunk:11] GotoIf("DAHDI/i2/139-c", "1?skipov") in new stack -- Goto (from-trunk,101,14) -- Executing [101@from-trunk:14] Set("DAHDI/i2/139-c", "RRNODEST=") in new stack -- Executing [101@from-trunk:15] Set("DAHDI/i2/139-c", "NODEST=101") "__NODEST=101") in new stack -- Executing [101@from-trunk:16] GosubIf("DAHDI/i2/139-c", "0?sub-fmsetcid,s,1()") in new stack -- Executing [101@from-trunk:17] Set("DAHDI/i2/139-c", "RecordMethod=Group") in new stack -- Executing [101@from-trunk:18] Gosub("DAHDI/i2/139-c", "sub-record-check,s,1(exten,101,)") in new stack -- Executing [s@sub-record-check:1] Set("DAHDI/i2/139-c", "RECPOLICYMODESAVE=") "REC_POLICY_MODE_SAVE=") in new stack -- Executing [s@sub-record-check:2] GotoIf("DAHDI/i2/139-c", "1?check") in new stack -- Goto (sub-record-check,s,7) -- Executing [s@sub-record-check:7] Set("DAHDI/i2/139-c", "MONFMT=wav") "__MON_FMT=wav") in new stack -- Executing [s@sub-record-check:8] GotoIf("DAHDI/i2/139-c", "1?next") in new stack -- Goto (sub-record-check,s,11) -- Executing [s@sub-record-check:11] ExecIf("DAHDI/i2/139-c", "0?Return()") in new stack -- Executing [s@sub-record-check:12] ExecIf("DAHDI/i2/139-c", "0?Set(RECPOLICYMODE=)") "0?Set(__REC_POLICY_MODE=)") in new stack -- Executing [s@sub-record-check:13] GotoIf("DAHDI/i2/139-c", "0?exten,1") in new stack -- Executing [s@sub-record-check:14] Set("DAHDI/i2/139-c", "RECSTATUS=INITIALIZED") "__REC_STATUS=INITIALIZED") in new stack -- Executing [s@sub-record-check:15] Set("DAHDI/i2/139-c", "NOW=1441910790") in new stack -- Executing [s@sub-record-check:16] Set("DAHDI/i2/139-c", "DAY=10") "__DAY=10") in new stack -- Executing [s@sub-record-check:17] Set("DAHDI/i2/139-c", "MONTH=09") "__MONTH=09") in new stack -- Executing [s@sub-record-check:18] Set("DAHDI/i2/139-c", "YEAR=2015") "__YEAR=2015") in new stack -- Executing [s@sub-record-check:19] Set("DAHDI/i2/139-c", "TIMESTR=20150910-214630") "__TIMESTR=20150910-214630") in new stack -- Executing [s@sub-record-check:20] Set("DAHDI/i2/139-c", "FROMEXTEN=139") "__FROMEXTEN=139") in new stack -- Executing [s@sub-record-check:21] Set("DAHDI/i2/139-c", "CALLFILENAME=exten-101-139-20150910-214630-1441910790.104") "__CALLFILENAME=exten-101-139-20150910-214630-1441910790.104") in new stack -- Executing [s@sub-record-check:22] Goto("DAHDI/i2/139-c", "exten,1") in new stack -- Goto (sub-record-check,exten,1) -- Executing [exten@sub-record-check:1] GotoIf("DAHDI/i2/139-c", "0?callee") in new stack -- Executing [exten@sub-record-check:2] Set("DAHDI/i2/139-c", "RECPOLICYMODE=dontcare") "__REC_POLICY_MODE=dontcare") in new stack -- Executing [exten@sub-record-check:3] GotoIf("DAHDI/i2/139-c", "1?caller") in new stack -- Goto (sub-record-check,exten,10) -- Executing [exten@sub-record-check:10] Set("DAHDI/i2/139-c", "RECPOLICYMODE=dontcare") "__REC_POLICY_MODE=dontcare") in new stack -- Executing [exten@sub-record-check:11] GosubIf("DAHDI/i2/139-c", "0?record,1(exten,101,139)") in new stack -- Executing [exten@sub-record-check:12] Return("DAHDI/i2/139-c", "") in new stack -- Executing [101@from-trunk:19] Set("DAHDI/i2/139-c", "RingGroupMethod=ringallv2") in new stack -- Executing [101@from-trunk:20] Set("DAHDI/i2/139-c", "FMGRP=101") "_FMGRP=101") in new stack -- Executing [101@from-trunk:21] GotoIf("DAHDI/i2/139-c", "0?doconfirm") in new stack -- Executing [101@from-trunk:22] Macro("DAHDI/i2/139-c", "dial,60,trI,101") in new stack -- Executing [s@macro-dial:1] GotoIf("DAHDI/i2/139-c", "1?dial") in new stack -- Goto (macro-dial,s,3) -- Executing [s@macro-dial:3] AGI("DAHDI/i2/139-c", "dialparties.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi -- DAHDI/i1/101-13 is proceeding passing it to SIP/139-00000007 dialparties.agi: Starting New Dialparties.agi dialparties.agi: Caller ID name is '139' number is '139' dialparties.agi: Methodology of ring is 'ringallv2' -- dialparties.agi: Added extension 101 to extension map -- dialparties.agi: Extension 101 cf is disabled -- dialparties.agi: Extension 101 do not disturb is disabled dialparties.agi: EXTENSIONSTATE: EXTENSION_STATE: 0 (NOTINUSE) (NOT_INUSE) dialparties.agi: Extension 101 has ExtensionState: 0 -- dialparties.agi: Checking CW and CFB status for extension 101 -- dialparties.agi: dbset CALLTRACE/101 to 139 -- dialparties.agi: Filtered ARG3: 101 -- <dahdi i2="" 139-c="">AGI <DAHDI/i2/139-c>AGI Script dialparties.agi completed, returning 0 -- Executing [s@macro-dial:7] Dial("DAHDI/i2/139-c", "SIP/101,62,trIM(auto-blkvm)") in new stack == Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 -- Called SIP/101 -- Connected line update to DAHDI/i2/139-c prevented. -- DAHDI/i1/101-13 is ringing -- DAHDI/i1/101-13 is making progress passing it to SIP/139-00000007 -- SIP/101-00000008 is ringing -- SIP/101-00000008 is ringing -- Connected line update to DAHDI/i2/139-c prevented. -- SIP/101-00000008 answered DAHDI/i2/139-c -- Executing [s@macro-auto-blkvm:1] Set("SIP/101-00000008", "_MACRORESULT=") "__MACRO_RESULT=") in new stack -- Executing [s@macro-auto-blkvm:2] Set("SIP/101-00000008", "CFIGNORE=") in new stack -- Executing [s@macro-auto-blkvm:3] Set("SIP/101-00000008", "MASTERCHANNEL(CFIGNORE)=") "MASTER_CHANNEL(CFIGNORE)=") in new stack -- Executing [s@macro-auto-blkvm:4] Set("SIP/101-00000008", "FORWARDCONTEXT=from-internal") "FORWARD_CONTEXT=from-internal") in new stack -- Executing [s@macro-auto-blkvm:5] Set("SIP/101-00000008", "MASTERCHANNEL(FORWARDCONTEXT)=from-internal") "MASTER_CHANNEL(FORWARD_CONTEXT)=from-internal") in new stack -- Executing [s@macro-auto-blkvm:6] Macro("SIP/101-00000008", "blkvm-clr,") in new stack -- Executing [s@macro-blkvm-clr:1] Set("SIP/101-00000008", "SHARED(BLKVM,DAHDI/i2/139-c)=") in new stack -- Executing [s@macro-blkvm-clr:2] Set("SIP/101-00000008", "GOSUBRETVAL=") "GOSUB_RETVAL=") in new stack -- Executing [s@macro-blkvm-clr:3] MacroExit("SIP/101-00000008", "") in new stack -- Executing [s@macro-auto-blkvm:7] ExecIf("SIP/101-00000008", "0?Set(MASTERCHANNEL(CONNECTEDLINE(num))=101)") "0?Set(MASTER_CHANNEL(CONNECTEDLINE(num))=101)") in new stack -- Executing [s@macro-auto-blkvm:8] ExecIf("SIP/101-00000008", "0?Set(MASTERCHANNEL(CONNECTEDLINE(name))=101)") "0?Set(MASTER_CHANNEL(CONNECTEDLINE(name))=101)") in new stack -- DAHDI/i1/101-13 answered SIP/139-00000007 -- Started music on hold, class 'default', on DAHDI/i1/101-13 -- Executing [h@macro-dial:1] Macro("DAHDI/i2/139-c", "hangupcall") in new stack -- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/i2/139-c", "1?endmixmoncheck") in new stack -- Goto (macro-hangupcall,s,9) -- Executing [s@macro-hangupcall:9] NoOp("DAHDI/i2/139-c", "End of MIXMON check") in new stack -- Executing [s@macro-hangupcall:10] GotoIf("DAHDI/i2/139-c", "1?nomeetmemon") in new stack -- Goto (macro-hangupcall,s,28) -- Executing [s@macro-hangupcall:28] NoOp("DAHDI/i2/139-c", "End of MEETME check") in new stack -- Executing [s@macro-hangupcall:29] GotoIf("DAHDI/i2/139-c", "1?noautomon") in new stack -- Goto (macro-hangupcall,s,34) -- Executing [s@macro-hangupcall:34] NoOp("DAHDI/i2/139-c", "TOUCHMONITOROUTPUT=") "TOUCH_MONITOR_OUTPUT=") in new stack -- Executing [s@macro-hangupcall:35] GotoIf("DAHDI/i2/139-c", "1?noautomon2") in new stack -- Goto (macro-hangupcall,s,41) -- Executing [s@macro-hangupcall:41] NoOp("DAHDI/i2/139-c", "MONITORFILENAME=") "MONITOR_FILENAME=") in new stack -- Executing [s@macro-hangupcall:42] GotoIf("DAHDI/i2/139-c", "1?skiprg") in new stack -- Goto (macro-hangupcall,s,45) -- Executing [s@macro-hangupcall:45] GotoIf("DAHDI/i2/139-c", "1?skipblkvm") in new stack -- Goto (macro-hangupcall,s,48) -- Executing [s@macro-hangupcall:48] GotoIf("DAHDI/i2/139-c", "1?theend") in new stack -- Goto (macro-hangupcall,s,50) -- Executing [s@macro-hangupcall:50] AGI("DAHDI/i2/139-c", "hangup.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi -- <dahdi i2="" 139-c="">AGI <DAHDI/i2/139-c>AGI Script hangup.agi completed, returning 0 -- Executing [s@macro-hangupcall:51] Hangup("DAHDI/i2/139-c", "") in new stack == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'DAHDI/i2/139-c' in macro 'hangupcall' == Spawn extension (macro-dial, h, 1) exited non-zero on 'DAHDI/i2/139-c' == Spawn extension (macro-dial, s, 7) exited non-zero on 'DAHDI/i2/139-c' in macro 'dial' == Spawn extension (from-trunk, 101, 22) exited non-zero on 'DAHDI/i2/139-c' -- Hungup 'DAHDI/i2/139-c' -- Span 1: Channel 0/1 got hangup request, cause 16 -- Stopped music on hold on DAHDI/i1/101-13 -- Executing [h@macro-dialout-trunk:1] Macro("SIP/139-00000007", "hangupcall,") in new stack -- Executing [s@macro-hangupcall:1] GotoIf("SIP/139-00000007", "1?endmixmoncheck") in new stack -- Goto (macro-hangupcall,s,9) -- Executing [s@macro-hangupcall:9] NoOp("SIP/139-00000007", "End of MIXMON check") in new stack -- Executing [s@macro-hangupcall:10] GotoIf("SIP/139-00000007", "1?nomeetmemon") in new stack -- Goto (macro-hangupcall,s,28) -- Executing [s@macro-hangupcall:28] NoOp("SIP/139-00000007", "End of MEETME check") in new stack -- Executing [s@macro-hangupcall:29] GotoIf("SIP/139-00000007", "1?noautomon") in new stack -- Goto (macro-hangupcall,s,34) -- Executing [s@macro-hangupcall:34] NoOp("SIP/139-00000007", "TOUCHMONITOROUTPUT=") "TOUCH_MONITOR_OUTPUT=") in new stack -- Executing [s@macro-hangupcall:35] GotoIf("SIP/139-00000007", "1?noautomon2") in new stack -- Goto (macro-hangupcall,s,41) -- Executing [s@macro-hangupcall:41] NoOp("SIP/139-00000007", "MONITOR_FILENAME=") in new stack -- Executing [s@macro-hangupcall:42] GotoIf("SIP/139-00000007", "1?skiprg") in new stack -- Goto (macro-hangupcall,s,45) -- Executing [s@macro-hangupcall:45] GotoIf("SIP/139-00000007", "1?skipblkvm") in new stack -- Goto (macro-hangupcall,s,48) -- Executing [s@macro-hangupcall:48] GotoIf("SIP/139-00000007", "1?theend") in new stack -- Goto (macro-hangupcall,s,50) -- Executing [s@macro-hangupcall:50] AGI("SIP/139-00000007", "hangup.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi -- <sip 139-00000007="">AGI <SIP/139-00000007>AGI Script hangup.agi completed, returning 0 -- Executing [s@macro-hangupcall:51] Hangup("SIP/139-00000007", "") in new stack == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/139-00000007' in macro 'hangupcall' == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/139-00000007' -- Hungup 'DAHDI/i1/101-13' == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/139-00000007' in macro 'dialout-trunk' == Spawn extension (from-internal, 9101, 5) exited non-zero on 'SIP/139-00000007'

'SIP/139-00000007'

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