sent to invalid extension but no invalid handler: context,exten,priority=outrt-10,79066358080,2
Потому что номер без + набирал, сделал с + набор и снова уперся в проблему
Код: Выделить всё
-- Executing [+79066358080@outrt-10:1] Macro("PJSIP/703-00042cbe", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("PJSIP/703-00042cbe", "TOUCH_MONITOR=1635883349.902353") in new stack
-- Executing [s@macro-user-callerid:2] Set("PJSIP/703-00042cbe", "AMPUSER=703") in new stack
-- Executing [s@macro-user-callerid:3] Set("PJSIP/703-00042cbe", "HOTDESCKCHAN=703-00042cbe") in new stack
-- Executing [s@macro-user-callerid:4] Set("PJSIP/703-00042cbe", "HOTDESKEXTEN=703") in new stack
-- Executing [s@macro-user-callerid:5] Set("PJSIP/703-00042cbe", "HOTDESKCALL=0") in new stack
-- Executing [s@macro-user-callerid:6] ExecIf("PJSIP/703-00042cbe", "0?Set(HOTDESKCALL=1)") in new stack
-- Executing [s@macro-user-callerid:7] ExecIf("PJSIP/703-00042cbe", "0?Set(CALLERID(name)=)") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("PJSIP/703-00042cbe", "18?report") in new stack
-- Goto (macro-user-callerid,s,29)
-- Executing [s@macro-user-callerid:29] NoOp("PJSIP/703-00042cbe", "Macro Depth is 6") in new stack
-- Executing [s@macro-user-callerid:30] GotoIf("PJSIP/703-00042cbe", "0?report2:macroerror") in new stack
-- Goto (macro-user-callerid,s,40)
-- Executing [s@macro-user-callerid:40] NoOp("PJSIP/703-00042cbe", "Macro Limit Reached. Aborting Call") in new stack
-- Executing [s@macro-user-callerid:41] Answer("PJSIP/703-00042cbe", "") in new stack
-- Executing [s@macro-user-callerid:42] Wait("PJSIP/703-00042cbe", "1") in new stack
-- Executing [s@macro-user-callerid:43] Gosub("PJSIP/703-00042cbe", "macro-user-callerid,lang-playback,1(hook_2)") in new stack
-- Executing [lang-playback@macro-user-callerid:1] GosubIf("PJSIP/703-00042cbe", "0?macro-user-callerid,ru,hook_2():macro-user-callerid,en,hook_2()") in new stack
-- Executing [en@macro-user-callerid:5] Playback("PJSIP/703-00042cbe", "im-sorry&an-error-has-occurred") in new stack
Код: Выделить всё
dialplan show +79066358080@outrt-10
[ Context 'outrt-10' created by 'pbx_config' ]
'_+790663[1-9]XXXX' => 1. Macro(user-callerid,LIMIT,EXTERNAL,) [pbx_config]
2. Gosub(sub-record-check,s,1(out,${EXTEN},yes)) [pbx_config]
3. ExecIf($[ "${CALLEE_ACCOUNCODE}" != "" ] ?Set(CDR(accountcode)=${CALLEE_ACCOUNCODE})) [pbx_config]
4. Set(_ROUTEID=10) [pbx_config]
5. Set(_ROUTENAME=BEELINE) [pbx_config]
6. Set(MOHCLASS=${IF($["${MOHCLASS}"=""]?default:${MOHCLASS})}) [pbx_config]
7. Set(_CALLERIDNAMEINTERNAL=${CALLERID(name)}) [pbx_config]
8. Set(_CALLERIDNUMINTERNAL=${CALLERID(num)}) [pbx_config]
9. Set(_EMAILNOTIFICATION=FALSE) [pbx_config]
10. Set(_NODEST=) [pbx_config]
11. Macro(dialout-trunk,9,${EXTEN},,off) [pbx_config]
12. Macro(dialout-trunk,10,${EXTEN},,off) [pbx_config]
13. Macro(dialout-trunk,2,${EXTEN},,off) [pbx_config]
14. Macro(dialout-trunk,8,${EXTEN},,off) [pbx_config]
15. Macro(outisbusy,) [pbx_config]
-= 1 extension (15 priorities) in 1 context. =-