VIDEOCHAT  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

FreePBX Внешние звонки на группу

Проблемы Asterisk без вэб-оболочек и их решения

Модераторы: april22, Zavr2008

Ответить
Sciron
Сообщения: 7
Зарегистрирован: 17 сен 2018, 17:24

FreePBX Внешние звонки на группу

Сообщение Sciron »

Приветствую.

При звонке снаружи на внешний номер астериска не удается набрать внутренний номер группы или очереди. Голосовая отбивка "Мы не получили действительный ответ". Внутренние номера набрать можно.
Входящая маршрутизация отправляет звонок с внешнего транка на IVR, в котором разрешено набирать внутренние номера.
Подскажите, пожалуйста, в чем причина. Спасибо.
ded
Сообщения: 15622
Зарегистрирован: 26 авг 2010, 19:00

Re: FreePBX Внешние звонки на группу

Сообщение ded »

Причина в некорректном DTMF на входящем транке. Можно предполагать, что у вас он по SIP, тогда включитет логгирование dtmf в logger.conf? и дебаг SIP на транке, чтобы увидеть приходящий тип DTMF
и смотрите параметр dtmfmode
Sciron
Сообщения: 7
Зарегистрирован: 17 сен 2018, 17:24

Re: FreePBX Внешние звонки на группу

Сообщение Sciron »

Т.е. DTMF сигнал на внутренний номер отрабатывает, а на группу нет? Просто уточняю, что бы копать в нужную сторону.
Аватара пользователя
zzuz
Сообщения: 1658
Зарегистрирован: 21 сен 2010, 13:33
Контактная информация:

Re: FreePBX Внешние звонки на группу

Сообщение zzuz »

Копать всегда нужно в сторону логгирования. Экстрасенсорика тут не работает.
Линия24 - Системы Массового Телефонного Обслуживания
Sciron
Сообщения: 7
Зарегистрирован: 17 сен 2018, 17:24

Re: FreePBX Внешние звонки на группу

Сообщение Sciron »

ded писал(а):Причина в некорректном DTMF на входящем транке. Можно предполагать, что у вас он по SIP, тогда включитет логгирование dtmf в logger.conf? и дебаг SIP на транке, чтобы увидеть приходящий тип DTMF
и смотрите параметр dtmfmode
Лог DTMF на группу 4912 и на внутренний номер 4911

Код: Выделить всё

[2020-04-17 13:54:06] DTMF[26580][C-00000077] channel.c: DTMF begin '4' received on SIP/wiland-000000f6
[2020-04-17 13:54:06] DTMF[26580][C-00000077] channel.c: DTMF begin ignored '4' on SIP/wiland-000000f6
[2020-04-17 13:54:06] DTMF[26580][C-00000077] channel.c: DTMF end '4' received on SIP/wiland-000000f6, duration 220 ms
[2020-04-17 13:54:06] DTMF[26580][C-00000077] channel.c: DTMF end passthrough '4' on SIP/wiland-000000f6
[2020-04-17 13:54:07] DTMF[26580][C-00000077] channel.c: DTMF begin '9' received on SIP/wiland-000000f6
[2020-04-17 13:54:07] DTMF[26580][C-00000077] channel.c: DTMF begin ignored '9' on SIP/wiland-000000f6
[2020-04-17 13:54:07] DTMF[26580][C-00000077] channel.c: DTMF end '9' received on SIP/wiland-000000f6, duration 230 ms
[2020-04-17 13:54:07] DTMF[26580][C-00000077] channel.c: DTMF end passthrough '9' on SIP/wiland-000000f6
[2020-04-17 13:54:07] DTMF[26580][C-00000077] channel.c: DTMF begin '1' received on SIP/wiland-000000f6
[2020-04-17 13:54:07] DTMF[26580][C-00000077] channel.c: DTMF begin ignored '1' on SIP/wiland-000000f6
[2020-04-17 13:54:07] DTMF[26580][C-00000077] channel.c: DTMF end '1' received on SIP/wiland-000000f6, duration 225 ms
[2020-04-17 13:54:07] DTMF[26580][C-00000077] channel.c: DTMF end passthrough '1' on SIP/wiland-000000f6
[2020-04-17 13:54:08] DTMF[26580][C-00000077] channel.c: DTMF begin '2' received on SIP/wiland-000000f6
[2020-04-17 13:54:08] DTMF[26580][C-00000077] channel.c: DTMF begin ignored '2' on SIP/wiland-000000f6
[2020-04-17 13:54:08] DTMF[26580][C-00000077] channel.c: DTMF end '2' received on SIP/wiland-000000f6, duration 235 ms
[2020-04-17 13:54:08] DTMF[26580][C-00000077] channel.c: DTMF end passthrough '2' on SIP/wiland-000000f6
[2020-04-17 13:55:21] DTMF[26715][C-00000078] channel.c: DTMF begin '4' received on SIP/wiland-000000f7
[2020-04-17 13:55:21] DTMF[26715][C-00000078] channel.c: DTMF begin ignored '4' on SIP/wiland-000000f7
[2020-04-17 13:55:21] DTMF[26715][C-00000078] channel.c: DTMF end '4' received on SIP/wiland-000000f7, duration 135 ms
[2020-04-17 13:55:21] DTMF[26715][C-00000078] channel.c: DTMF end passthrough '4' on SIP/wiland-000000f7
[2020-04-17 13:55:21] DTMF[26715][C-00000078] channel.c: DTMF begin '9' received on SIP/wiland-000000f7
[2020-04-17 13:55:21] DTMF[26715][C-00000078] channel.c: DTMF begin ignored '9' on SIP/wiland-000000f7
[2020-04-17 13:55:21] DTMF[26715][C-00000078] channel.c: DTMF end '9' received on SIP/wiland-000000f7, duration 160 ms
[2020-04-17 13:55:21] DTMF[26715][C-00000078] channel.c: DTMF end passthrough '9' on SIP/wiland-000000f7
[2020-04-17 13:55:21] DTMF[26715][C-00000078] channel.c: DTMF begin '1' received on SIP/wiland-000000f7
[2020-04-17 13:55:21] DTMF[26715][C-00000078] channel.c: DTMF begin ignored '1' on SIP/wiland-000000f7
[2020-04-17 13:55:22] DTMF[26715][C-00000078] channel.c: DTMF end '1' received on SIP/wiland-000000f7, duration 145 ms
[2020-04-17 13:55:22] DTMF[26715][C-00000078] channel.c: DTMF end passthrough '1' on SIP/wiland-000000f7
[2020-04-17 13:55:22] DTMF[26715][C-00000078] channel.c: DTMF begin '1' received on SIP/wiland-000000f7
[2020-04-17 13:55:22] DTMF[26715][C-00000078] channel.c: DTMF begin ignored '1' on SIP/wiland-000000f7
[2020-04-17 13:55:22] DTMF[26715][C-00000078] channel.c: DTMF end '1' received on SIP/wiland-000000f7, duration 125 ms
[2020-04-17 13:55:22] DTMF[26715][C-00000078] channel.c: DTMF end passthrough '1' on SIP/wiland-000000f7
ded
Сообщения: 15622
Зарегистрирован: 26 авг 2010, 19:00

Re: FreePBX Внешние звонки на группу

Сообщение ded »

Вы не видите остальных сообщений в консоли, вероятно потому, что не сделали
CLI> core set verbose 5

Нужно научиться читать то, что пишет Астериск.
Sciron
Сообщения: 7
Зарегистрирован: 17 сен 2018, 17:24

Re: FreePBX Внешние звонки на группу

Сообщение Sciron »

Ок. Наберитесь терпения)

Это звонок на Группу 4912

Код: Выделить всё

[2020-04-17 15:12:38] DTMF[5793][C-00000085] channel.c: DTMF begin '4' received on SIP/wiland-00000113
[2020-04-17 15:12:38] DTMF[5793][C-00000085] channel.c: DTMF begin ignored '4' on SIP/wiland-00000113
[2020-04-17 15:12:38] DTMF[5793][C-00000085] channel.c: DTMF end '4' received on SIP/wiland-00000113, duration 206 ms
[2020-04-17 15:12:38] DTMF[5793][C-00000085] channel.c: DTMF end passthrough '4' on SIP/wiland-00000113
[2020-04-17 15:12:38] DTMF[5793][C-00000085] channel.c: DTMF begin '9' received on SIP/wiland-00000113
[2020-04-17 15:12:38] DTMF[5793][C-00000085] channel.c: DTMF begin ignored '9' on SIP/wiland-00000113
[2020-04-17 15:12:38] DTMF[5793][C-00000085] channel.c: DTMF end '9' received on SIP/wiland-00000113, duration 287 ms
[2020-04-17 15:12:38] DTMF[5793][C-00000085] channel.c: DTMF end passthrough '9' on SIP/wiland-00000113
[2020-04-17 15:12:39] DTMF[5793][C-00000085] channel.c: DTMF begin '1' received on SIP/wiland-00000113
[2020-04-17 15:12:39] DTMF[5793][C-00000085] channel.c: DTMF begin ignored '1' on SIP/wiland-00000113
[2020-04-17 15:12:39] DTMF[5793][C-00000085] channel.c: DTMF end '1' received on SIP/wiland-00000113, duration 108 ms
[2020-04-17 15:12:39] DTMF[5793][C-00000085] channel.c: DTMF end passthrough '1' on SIP/wiland-00000113
[2020-04-17 15:12:39] DTMF[5793][C-00000085] channel.c: DTMF begin '2' received on SIP/wiland-00000113
[2020-04-17 15:12:39] DTMF[5793][C-00000085] channel.c: DTMF begin ignored '2' on SIP/wiland-00000113
[2020-04-17 15:12:39] DTMF[5793][C-00000085] channel.c: DTMF end '2' received on SIP/wiland-00000113, duration 207 ms
[2020-04-17 15:12:39] DTMF[5793][C-00000085] channel.c: DTMF end passthrough '2' on SIP/wiland-00000113
[2020-04-17 15:12:42] VERBOSE[5793][C-00000085] pbx.c: Executing [4912@ivr-2:1] GotoIf("SIP/wiland-00000113", "1?i,1") in new stack
[2020-04-17 15:12:42] VERBOSE[5793][C-00000085] pbx_builtins.c: Goto (ivr-2,i,1)
[2020-04-17 15:12:42] VERBOSE[5793][C-00000085] pbx.c: Executing [i@ivr-2:1] Set("SIP/wiland-00000113", "INVALID_LOOPCOUNT=1") in new stack
[2020-04-17 15:12:42] VERBOSE[5793][C-00000085] pbx.c: Executing [i@ivr-2:2] GotoIf("SIP/wiland-00000113", "0?final") in new stack
[2020-04-17 15:12:42] VERBOSE[5793][C-00000085] pbx.c: Executing [i@ivr-2:3] Set("SIP/wiland-00000113", "IVR_MSG=no-valid-responce-pls-try-again&custom/welcome_male") in new stack
[2020-04-17 15:12:42] VERBOSE[5793][C-00000085] pbx.c: Executing [i@ivr-2:4] Goto("SIP/wiland-00000113", "s,start") in new stack
[2020-04-17 15:12:42] VERBOSE[5793][C-00000085] pbx_builtins.c: Goto (ivr-2,s,10)
[2020-04-17 15:12:42] VERBOSE[5793][C-00000085] pbx.c: Executing [s@ivr-2:10] Set("SIP/wiland-00000113", "TIMEOUT(digit)=3") in new stack
[2020-04-17 15:12:42] VERBOSE[5793][C-00000085] func_timeout.c: Digit timeout set to 3.000
[2020-04-17 15:12:42] VERBOSE[5793][C-00000085] pbx.c: Executing [s@ivr-2:11] ExecIf("SIP/wiland-00000113", "1?Background(no-valid-responce-pls-try-again&custom/welcome_male)") in new stack
[2020-04-17 15:12:42] VERBOSE[5793][C-00000085] file.c: <SIP/wiland-00000113> Playing 'no-valid-responce-pls-try-again.ulaw' (language 'ru')
[2020-04-17 15:12:44] VERBOSE[5793][C-00000085] pbx.c: Spawn extension (ivr-2, s, 11) exited non-zero on 'SIP/wiland-00000113'
[2020-04-17 15:12:44] VERBOSE[5793][C-00000085] pbx.c: Executing [h@ivr-2:1] Hangup("SIP/wiland-00000113", "") in new stack
[2020-04-17 15:12:44] VERBOSE[5793][C-00000085] pbx.c: Spawn extension (ivr-2, h, 1) exited non-zero on 'SIP/wiland-00000113'
[2020-04-17 15:12:44] VERBOSE[5801][C-00000085] app_mixmonitor.c: MixMonitor close filestream (mixed)
[2020-04-17 15:12:44] VERBOSE[5801][C-00000085] app_mixmonitor.c: End MixMonitor Recording SIP/wiland-00000113
Это звонок на внутренний номер 4911

Код: Выделить всё

[2020-04-17 15:17:09] DTMF[6250][C-00000086] channel.c: DTMF begin '4' received on SIP/wiland-00000114
[2020-04-17 15:17:09] DTMF[6250][C-00000086] channel.c: DTMF begin ignored '4' on SIP/wiland-00000114
[2020-04-17 15:17:09] DTMF[6250][C-00000086] channel.c: DTMF end '4' received on SIP/wiland-00000114, duration 292 ms
[2020-04-17 15:17:09] DTMF[6250][C-00000086] channel.c: DTMF end passthrough '4' on SIP/wiland-00000114
[2020-04-17 15:17:09] DTMF[6250][C-00000086] channel.c: DTMF begin '9' received on SIP/wiland-00000114
[2020-04-17 15:17:09] DTMF[6250][C-00000086] channel.c: DTMF begin ignored '9' on SIP/wiland-00000114
[2020-04-17 15:17:09] DTMF[6250][C-00000086] channel.c: DTMF end '9' received on SIP/wiland-00000114, duration 272 ms
[2020-04-17 15:17:09] DTMF[6250][C-00000086] channel.c: DTMF end passthrough '9' on SIP/wiland-00000114
[2020-04-17 15:17:10] DTMF[6250][C-00000086] channel.c: DTMF begin '1' received on SIP/wiland-00000114
[2020-04-17 15:17:10] DTMF[6250][C-00000086] channel.c: DTMF begin ignored '1' on SIP/wiland-00000114
[2020-04-17 15:17:10] DTMF[6250][C-00000086] channel.c: DTMF end '1' received on SIP/wiland-00000114, duration 333 ms
[2020-04-17 15:17:10] DTMF[6250][C-00000086] channel.c: DTMF end passthrough '1' on SIP/wiland-00000114
[2020-04-17 15:17:10] DTMF[6250][C-00000086] channel.c: DTMF begin '1' received on SIP/wiland-00000114
[2020-04-17 15:17:10] DTMF[6250][C-00000086] channel.c: DTMF begin ignored '1' on SIP/wiland-00000114
[2020-04-17 15:17:10] DTMF[6250][C-00000086] channel.c: DTMF end '1' received on SIP/wiland-00000114, duration 314 ms
[2020-04-17 15:17:10] DTMF[6250][C-00000086] channel.c: DTMF end passthrough '1' on SIP/wiland-00000114
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [4911@ivr-2:1] GotoIf("SIP/wiland-00000114", "0?i,1") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [4911@ivr-2:2] Macro("SIP/wiland-00000114", "blkvm-clr,") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-blkvm-clr:1] Set("SIP/wiland-00000114", "SHARED(BLKVM,)=") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-blkvm-clr:2] Set("SIP/wiland-00000114", "GOSUB_RETVAL=") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-blkvm-clr:3] MacroExit("SIP/wiland-00000114", "") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [4911@ivr-2:3] Set("SIP/wiland-00000114", "__NODEST=") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [4911@ivr-2:4] Goto("SIP/wiland-00000114", "from-did-direct,4911,1") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx_builtins.c: Goto (from-did-direct,4911,1)
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [4911@from-did-direct:1] GotoIf("SIP/wiland-00000114", "0?ext-local,4911,1:followme-check,4911,1") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx_builtins.c: Goto (followme-check,4911,1)
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [4911@followme-check:1] Gosub("SIP/wiland-00000114", "followme-sub,4911,1()") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [4911@followme-sub:1] Macro("SIP/wiland-00000114", "user-callerid,") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:1] Set("SIP/wiland-00000114", "TOUCH_MONITOR=1587125824.480") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:2] Set("SIP/wiland-00000114", "AMPUSER=89857795930") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:3] Set("SIP/wiland-00000114", "HOTDESCKCHAN=wiland-00000114") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:4] Set("SIP/wiland-00000114", "HOTDESKEXTEN=wiland") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:5] Set("SIP/wiland-00000114", "HOTDESKCALL=0") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:6] ExecIf("SIP/wiland-00000114", "0?Set(HOTDESKCALL=1)") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:7] ExecIf("SIP/wiland-00000114", "0?Set(CALLERID(name)=)") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:8] GotoIf("SIP/wiland-00000114", "0?report") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:9] ExecIf("SIP/wiland-00000114", "1?Set(REALCALLERIDNUM=89857795930)") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:10] Set("SIP/wiland-00000114", "AMPUSER=") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:11] GotoIf("SIP/wiland-00000114", "0?limit") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:12] Set("SIP/wiland-00000114", "AMPUSERCIDNAME=") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:13] ExecIf("SIP/wiland-00000114", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:14] GotoIf("SIP/wiland-00000114", "1?report") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx_builtins.c: Goto (macro-user-callerid,s,21)
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:21] NoOp("SIP/wiland-00000114", "Macro Depth is 1") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:22] GotoIf("SIP/wiland-00000114", "1?report2:macroerror") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx_builtins.c: Goto (macro-user-callerid,s,23)
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:23] GotoIf("SIP/wiland-00000114", "0?continue") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:24] ExecIf("SIP/wiland-00000114", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:25] Set("SIP/wiland-00000114", "__TTL=64") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:26] GotoIf("SIP/wiland-00000114", "1?continue") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx_builtins.c: Goto (macro-user-callerid,s,42)
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:42] Set("SIP/wiland-00000114", "CALLERID(number)=89857795930") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:43] Set("SIP/wiland-00000114", "CALLERID(name)=9857795930") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:44] GotoIf("SIP/wiland-00000114", "0?cnum") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:45] Set("SIP/wiland-00000114", "CDR(cnam)=9857795930") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:46] Set("SIP/wiland-00000114", "CDR(cnum)=89857795930") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [s@macro-user-callerid:47] Set("SIP/wiland-00000114", "CHANNEL(language)=ru") in new stack
[2020-04-17 15:17:13] VERBOSE[6250][C-00000086] pbx.c: Executing [4911@followme-sub:2] Set("SIP/wiland-00000114", "DIAL_OPTIONS=TtrI") in new stack
Оно?
ded
Сообщения: 15622
Зарегистрирован: 26 авг 2010, 19:00

Re: FreePBX Внешние звонки на группу

Сообщение ded »

Нет.
Вот вам направление <s>в поликлинику на обследование </s> в библиотеку, читать Книгу о будущем телефонии.
http://asterisk.ru/knowledgebase/books
И, наберитесь терпения!
BorisTheBlade
Сообщения: 167
Зарегистрирован: 14 фев 2011, 14:24

Re: FreePBX Внешние звонки на группу

Сообщение BorisTheBlade »

Собственно если заглянуть в конфиги, то станет понятно что ivr включает ext-locals но не включает ext-group.
Добавьте в extensions_custom.conf

Код: Выделить всё

[ivr-2-custom]
include => ext-group
и группы заработают для этого IVR
Sciron
Сообщения: 7
Зарегистрирован: 17 сен 2018, 17:24

Re: FreePBX Внешние звонки на группу

Сообщение Sciron »

Хвала тебе добрый человек! Спасибо за помощь.
Ответить
© 2008 — 2024 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH