Страница 1 из 1

Снова про DTMF или Call-Transfer/Call PickUp

Добавлено: 06 июн 2014, 13:28
feo_sobolev
Всем добрый день.
Я новичок, на данный момент занимаюсь реализацией своего первого проекта на базе Asterisk с FreePBX.
В целом, вроде-бы все хорошо и работает, однако имею небольшую странность с DTMF(подозреваю что с ним, хотя могу ошибаться, поэтому решил проконсультироваться с Вами.

Итак, имеем: PBX => Asterisk 11.8.1, FreePBX 2.11, парк устройств: voip-шлюзы(AddPac 700, DVG-5008S,7044S,SPA-301, Gigaset A510 ) ip-телефоны (SPA-962, SPA504G, SNR 7020 :D ) клиент X-lite.
Проблема заключается в том, что при звонках между разными устройствами, далеко не всегда, работает перевод, (feuature code, для трансфера - стандартный для FreePBX ## ), так-же не работает перехват звонков, в пределах одной pickup/call group с dvg-шлюзов.
Первое, что пришло в голову, на основании моих скромных знаний, что проблема заключается в DTMF, а именно Asterisk не слышит/не понимает сигналов dtmf передающихся от шлюзов, т.к. с ip-телефона SPA-962, все работает, а вот к примеру с телефона SPA504G уже нет.
В настройках всех клиентов, стоит по умолчанию тип DTMF: RFC-2833, в настройках SPA-962 и SPA504G тип DTMF стоит auto. Безусловно я пробовал на SPA504G, менять настройки dtmf, так-же пробовал менять во FreePBX в настройках внутреннего номера. Результата не дало.
Ситуация такая, что при разговоре, пользователи нажимают на клавиши, и слышны их нажатия, но функция перевод, не активируется.
К примеру: звонок с X-Lite (199) на SPA504G(102), пробую перевести с X-lite вызов на номер 100, комбинацией ##100, слышу нажатие клавиш, функция перевод не активируется, смотрю dtmf debug и вижу это:

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

2014-06-06 13:00:56] DTMF[8646][C-0000013d] channel.c: DTMF begin '#' received on SIP/199-00000275
[2014-06-06 13:00:56] DTMF[8646][C-0000013d] channel.c: DTMF begin passthrough '#' on SIP/199-00000275
[2014-06-06 13:00:56] DTMF[8646][C-0000013d] channel.c: DTMF end '#' received on SIP/199-00000275, duration 100 ms
[2014-06-06 13:00:56] DTMF[8646][C-0000013d] channel.c: DTMF end accepted with begin '#' on SIP/199-00000275
[2014-06-06 13:00:56] DTMF[8646][C-0000013d] channel.c: DTMF end '#' detected to have actual duration 76 on the wire, emulation will be triggered on SIP/199-00000275
[2014-06-06 13:00:56] DTMF[8646][C-0000013d] channel.c: DTMF end '#' has duration 76 but want minimum 80, emulating on SIP/199-00000275
[2014-06-06 13:00:56] DTMF[8646][C-0000013d] channel.c: DTMF end emulation of '#' queued on SIP/199-00000275
[2014-06-06 13:00:56] DTMF[8646][C-0000013d] channel.c: DTMF begin '#' received on SIP/199-00000275
[2014-06-06 13:00:56] DTMF[8646][C-0000013d] channel.c: DTMF begin passthrough '#' on SIP/199-00000275
[2014-06-06 13:00:56] DTMF[8646][C-0000013d] channel.c: DTMF end '#' received on SIP/199-00000275, duration 100 ms
[2014-06-06 13:00:56] DTMF[8646][C-0000013d] channel.c: DTMF end accepted with begin '#' on SIP/199-00000275
[2014-06-06 13:00:56] DTMF[8646][C-0000013d] channel.c: DTMF end passthrough '#' on SIP/199-00000275
[2014-06-06 13:00:57] DTMF[8646][C-0000013d] channel.c: DTMF begin '1' received on SIP/199-00000275
[2014-06-06 13:00:57] DTMF[8646][C-0000013d] channel.c: DTMF begin passthrough '1' on SIP/199-00000275
[2014-06-06 13:00:57] DTMF[8646][C-0000013d] channel.c: DTMF end '1' received on SIP/199-00000275, duration 100 ms
[2014-06-06 13:00:57] DTMF[8646][C-0000013d] channel.c: DTMF end accepted with begin '1' on SIP/199-00000275
[2014-06-06 13:00:57] DTMF[8646][C-0000013d] channel.c: DTMF end passthrough '1' on SIP/199-00000275
[2014-06-06 13:00:58] DTMF[8646][C-0000013d] channel.c: DTMF begin '0' received on SIP/199-00000275
[2014-06-06 13:00:58] DTMF[8646][C-0000013d] channel.c: DTMF begin passthrough '0' on SIP/199-00000275
[2014-06-06 13:00:58] DTMF[8646][C-0000013d] channel.c: DTMF end '0' received on SIP/199-00000275, duration 100 ms
[2014-06-06 13:00:58] DTMF[8646][C-0000013d] channel.c: DTMF end accepted with begin '0' on SIP/199-00000275
[2014-06-06 13:00:58] DTMF[8646][C-0000013d] channel.c: DTMF end passthrough '0' on SIP/199-00000275
[2014-06-06 13:00:58] DTMF[8646][C-0000013d] channel.c: DTMF begin '0' received on SIP/199-00000275
[2014-06-06 13:00:58] DTMF[8646][C-0000013d] channel.c: DTMF begin passthrough '0' on SIP/199-00000275
[2014-06-06 13:00:58] DTMF[8646][C-0000013d] channel.c: DTMF end '0' received on SIP/199-00000275, duration 100 ms
[2014-06-06 13:00:58] DTMF[8646][C-0000013d] channel.c: DTMF end accepted with begin '0' on SIP/199-00000275
[2014-06-06 13:00:58] DTMF[8646][C-0000013d] channel.c: DTMF end '0' detected to have actual duration 78 on the wire, emulation will be triggered on SIP/199-00000275
[2014-06-06 13:00:58] DTMF[8646][C-0000013d] channel.c: DTMF end '0' has duration 78 but want minimum 80, emulating on SIP/199-00000275
[2014-06-06 13:00:58] DTMF[8646][C-0000013d] channel.c: DTMF end emulation of '0' queued on SIP/199-00000275
В случае, набора клавиш на SPA504G, ситуация идентична. Получается, что в Asterisk dtmf таки приходят, однако он не обрабатывает функции...

Звонок с этого-же X-lite (199) на SPA-962 (100), с идентичными настройками (как у 504G) и перевод звонка абненту 102

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

[2014-06-06 13:11:20] DTMF[9583][C-00000149] channel.c: DTMF begin '#' received on SIP/199-0000028d
[2014-06-06 13:11:20] DTMF[9583][C-00000149] channel.c: DTMF begin passthrough '#' on SIP/199-0000028d
[2014-06-06 13:11:20] DTMF[9583][C-00000149] channel.c: DTMF end '#' received on SIP/199-0000028d, duration 100 ms
[2014-06-06 13:11:20] DTMF[9583][C-00000149] channel.c: DTMF end accepted with begin '#' on SIP/199-0000028d
[2014-06-06 13:11:20] DTMF[9583][C-00000149] channel.c: DTMF end '#' detected to have actual duration 78 on the wire, emulation will be triggered on SIP/199-0000028d
[2014-06-06 13:11:20] DTMF[9583][C-00000149] channel.c: DTMF end '#' has duration 78 but want minimum 80, emulating on SIP/199-0000028d
[2014-06-06 13:11:20] DTMF[9583][C-00000149] channel.c: DTMF end emulation of '#' queued on SIP/199-0000028d
[2014-06-06 13:11:20] DTMF[9583][C-00000149] channel.c: DTMF begin '#' received on SIP/199-0000028d
[2014-06-06 13:11:20] DTMF[9583][C-00000149] channel.c: DTMF begin passthrough '#' on SIP/199-0000028d
[2014-06-06 13:11:20] DTMF[9583][C-00000149] channel.c: DTMF end '#' received on SIP/199-0000028d, duration 100 ms
[2014-06-06 13:11:20] DTMF[9583][C-00000149] channel.c: DTMF end accepted with begin '#' on SIP/199-0000028d
[2014-06-06 13:11:20] DTMF[9583][C-00000149] channel.c: DTMF end '#' detected to have actual duration 78 on the wire, emulation will be triggered on SIP/199-0000028d
[2014-06-06 13:11:20] DTMF[9583][C-00000149] channel.c: DTMF end '#' has duration 78 but want minimum 80, emulating on SIP/199-0000028d
[2014-06-06 13:11:20] DTMF[9583][C-00000149] channel.c: DTMF end emulation of '#' queued on SIP/199-0000028d
[2014-06-06 13:11:21] DTMF[9583][C-00000149] channel.c: DTMF begin '1' received on SIP/199-0000028d
[2014-06-06 13:11:21] DTMF[9583][C-00000149] channel.c: DTMF begin ignored '1' on SIP/199-0000028d
[2014-06-06 13:11:21] DTMF[9583][C-00000149] channel.c: DTMF end '1' received on SIP/199-0000028d, duration 100 ms
[2014-06-06 13:11:21] DTMF[9583][C-00000149] channel.c: DTMF end passthrough '1' on SIP/199-0000028d
[2014-06-06 13:11:22] DTMF[9583][C-00000149] channel.c: DTMF begin '0' received on SIP/199-0000028d
[2014-06-06 13:11:22] DTMF[9583][C-00000149] channel.c: DTMF begin ignored '0' on SIP/199-0000028d
[2014-06-06 13:11:22] DTMF[9583][C-00000149] channel.c: DTMF end '0' received on SIP/199-0000028d, duration 100 ms
[2014-06-06 13:11:22] DTMF[9583][C-00000149] channel.c: DTMF end passthrough '0' on SIP/199-0000028d
[2014-06-06 13:11:22] DTMF[9583][C-00000149] channel.c: DTMF begin '2' received on SIP/199-0000028d
[2014-06-06 13:11:22] DTMF[9583][C-00000149] channel.c: DTMF begin ignored '2' on SIP/199-0000028d
[2014-06-06 13:11:23] DTMF[9583][C-00000149] channel.c: DTMF end '2' received on SIP/199-0000028d, duration 100 ms
[2014-06-06 13:11:23] DTMF[9583][C-00000149] channel.c: DTMF end passthrough '2' on SIP/199-0000028d
Так-же, есть еще более интересный случай, при звонке с номера 198 (SNR-7020), на x-lite (199) и наоборот, в настройках SNR-7020 тип dtmf стоит rfc-2834/
При вызове с номер 198 (7020) на 199 (X-lite), делаю попытку совершить перевод на номер 105, сначала с X-lite (199) затем с 7020(198),

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

[2014-06-06 13:19:40] DTMF[10268][C-00000150] channel.c: DTMF begin '#' received on SIP/199-0000029b
[2014-06-06 13:19:40] DTMF[10268][C-00000150] channel.c: DTMF begin passthrough '#' on SIP/199-0000029b
[2014-06-06 13:19:40] DTMF[10268][C-00000150] channel.c: DTMF end '#' received on SIP/199-0000029b, duration 100 ms
[2014-06-06 13:19:40] DTMF[10268][C-00000150] channel.c: DTMF end accepted with begin '#' on SIP/199-0000029b
[2014-06-06 13:19:40] DTMF[10268][C-00000150] channel.c: DTMF end passthrough '#' on SIP/199-0000029b
[2014-06-06 13:19:40] DTMF[10268][C-00000150] channel.c: DTMF begin '#' received on SIP/199-0000029b
[2014-06-06 13:19:40] DTMF[10268][C-00000150] channel.c: DTMF begin passthrough '#' on SIP/199-0000029b
[2014-06-06 13:19:41] DTMF[10268][C-00000150] channel.c: DTMF end '#' received on SIP/199-0000029b, duration 100 ms
[2014-06-06 13:19:41] DTMF[10268][C-00000150] channel.c: DTMF end accepted with begin '#' on SIP/199-0000029b
[2014-06-06 13:19:41] DTMF[10268][C-00000150] channel.c: DTMF end passthrough '#' on SIP/199-0000029b
[2014-06-06 13:19:44] DTMF[10268][C-00000150] channel.c: DTMF begin '1' received on SIP/199-0000029b
[2014-06-06 13:19:44] DTMF[10268][C-00000150] channel.c: DTMF begin passthrough '1' on SIP/199-0000029b
[2014-06-06 13:19:44] DTMF[10268][C-00000150] channel.c: DTMF end '1' received on SIP/199-0000029b, duration 100 ms
[2014-06-06 13:19:44] DTMF[10268][C-00000150] channel.c: DTMF end accepted with begin '1' on SIP/199-0000029b
[2014-06-06 13:19:44] DTMF[10268][C-00000150] channel.c: DTMF end '1' detected to have actual duration 78 on the wire, emulation will be triggered on SIP/199-0000029b
[2014-06-06 13:19:44] DTMF[10268][C-00000150] channel.c: DTMF end '1' has duration 78 but want minimum 80, emulating on SIP/199-0000029b
[2014-06-06 13:19:44] DTMF[10268][C-00000150] channel.c: DTMF end emulation of '1' queued on SIP/199-0000029b
[2014-06-06 13:19:44] DTMF[10268][C-00000150] channel.c: DTMF begin '0' received on SIP/199-0000029b
[2014-06-06 13:19:44] DTMF[10268][C-00000150] channel.c: DTMF begin passthrough '0' on SIP/199-0000029b
[2014-06-06 13:19:44] DTMF[10268][C-00000150] channel.c: DTMF end '0' received on SIP/199-0000029b, duration 100 ms
[2014-06-06 13:19:44] DTMF[10268][C-00000150] channel.c: DTMF end accepted with begin '0' on SIP/199-0000029b
[2014-06-06 13:19:44] DTMF[10268][C-00000150] channel.c: DTMF end '0' detected to have actual duration 78 on the wire, emulation will be triggered on SIP/199-0000029b
[2014-06-06 13:19:44] DTMF[10268][C-00000150] channel.c: DTMF end '0' has duration 78 but want minimum 80, emulating on SIP/199-0000029b
[2014-06-06 13:19:44] DTMF[10268][C-00000150] channel.c: DTMF end emulation of '0' queued on SIP/199-0000029b
[2014-06-06 13:19:45] DTMF[10268][C-00000150] channel.c: DTMF begin '5' received on SIP/199-0000029b
[2014-06-06 13:19:45] DTMF[10268][C-00000150] channel.c: DTMF begin passthrough '5' on SIP/199-0000029b
[2014-06-06 13:19:45] DTMF[10268][C-00000150] channel.c: DTMF end '5' received on SIP/199-0000029b, duration 100 ms
[2014-06-06 13:19:45] DTMF[10268][C-00000150] channel.c: DTMF end accepted with begin '5' on SIP/199-0000029b
[2014-06-06 13:19:45] DTMF[10268][C-00000150] channel.c: DTMF end '5' detected to have actual duration 76 on the wire, emulation will be triggered on SIP/199-0000029b
[2014-06-06 13:19:45] DTMF[10268][C-00000150] channel.c: DTMF end '5' has duration 76 but want minimum 80, emulating on SIP/199-0000029b
[2014-06-06 13:19:45] DTMF[10268][C-00000150] channel.c: DTMF end emulation of '5' queued on SIP/199-0000029b
[2014-06-06 13:19:49] DTMF[10268][C-00000150] channel.c: DTMF begin '#' received on SIP/198-0000029a
[2014-06-06 13:19:49] DTMF[10268][C-00000150] channel.c: DTMF begin passthrough '#' on SIP/198-0000029a
[2014-06-06 13:19:49] DTMF[10268][C-00000150] channel.c: DTMF end '#' received on SIP/198-0000029a, duration 130 ms
[2014-06-06 13:19:49] DTMF[10268][C-00000150] channel.c: DTMF end accepted with begin '#' on SIP/198-0000029a
[2014-06-06 13:19:49] DTMF[10268][C-00000150] channel.c: DTMF end passthrough '#' on SIP/198-0000029a
[2014-06-06 13:19:49] DTMF[10268][C-00000150] channel.c: DTMF begin '#' received on SIP/198-0000029a
[2014-06-06 13:19:49] DTMF[10268][C-00000150] channel.c: DTMF begin passthrough '#' on SIP/198-0000029a
[2014-06-06 13:19:50] DTMF[10268][C-00000150] channel.c: DTMF end '#' received on SIP/198-0000029a, duration 120 ms
[2014-06-06 13:19:50] DTMF[10268][C-00000150] channel.c: DTMF end accepted with begin '#' on SIP/198-0000029a
[2014-06-06 13:19:50] DTMF[10268][C-00000150] channel.c: DTMF end passthrough '#' on SIP/198-0000029a
[2014-06-06 13:19:50] DTMF[10268][C-00000150] channel.c: DTMF begin '1' received on SIP/198-0000029a
[2014-06-06 13:19:50] DTMF[10268][C-00000150] channel.c: DTMF begin passthrough '1' on SIP/198-0000029a
[2014-06-06 13:19:50] DTMF[10268][C-00000150] channel.c: DTMF end '1' received on SIP/198-0000029a, duration 130 ms
[2014-06-06 13:19:50] DTMF[10268][C-00000150] channel.c: DTMF end accepted with begin '1' on SIP/198-0000029a
[2014-06-06 13:19:50] DTMF[10268][C-00000150] channel.c: DTMF end passthrough '1' on SIP/198-0000029a
[2014-06-06 13:19:51] DTMF[10268][C-00000150] channel.c: DTMF begin '0' received on SIP/198-0000029a
[2014-06-06 13:19:51] DTMF[10268][C-00000150] channel.c: DTMF begin passthrough '0' on SIP/198-0000029a
[2014-06-06 13:19:51] DTMF[10268][C-00000150] channel.c: DTMF end '0' received on SIP/198-0000029a, duration 130 ms
[2014-06-06 13:19:51] DTMF[10268][C-00000150] channel.c: DTMF end accepted with begin '0' on SIP/198-0000029a
[2014-06-06 13:19:51] DTMF[10268][C-00000150] channel.c: DTMF end passthrough '0' on SIP/198-0000029a
[2014-06-06 13:19:52] DTMF[10268][C-00000150] channel.c: DTMF begin '5' received on SIP/198-0000029a
[2014-06-06 13:19:52] DTMF[10268][C-00000150] channel.c: DTMF begin passthrough '5' on SIP/198-0000029a
[2014-06-06 13:19:52] DTMF[10268][C-00000150] channel.c: DTMF end '5' received on SIP/198-0000029a, duration 130 ms
[2014-06-06 13:19:52] DTMF[10268][C-00000150] channel.c: DTMF end accepted with begin '5' on SIP/198-0000029a
[2014-06-06 13:19:52] DTMF[10268][C-00000150] channel.c: DTMF end passthrough '5' on SIP/198-0000029a
Далее, набираем с этого-же X-lite (199) наш SNR-7020 (198) и делаем перевод на 105 с Xlite - Перевод РАБОТАЕТ!

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

[2014-06-06 13:22:30] DTMF[10526][C-00000151] channel.c: DTMF begin '#' received on SIP/199-0000029c
[2014-06-06 13:22:30] DTMF[10526][C-00000151] channel.c: DTMF begin passthrough '#' on SIP/199-0000029c
[2014-06-06 13:22:30] DTMF[10526][C-00000151] channel.c: DTMF end '#' received on SIP/199-0000029c, duration 100 ms
[2014-06-06 13:22:30] DTMF[10526][C-00000151] channel.c: DTMF end accepted with begin '#' on SIP/199-0000029c
[2014-06-06 13:22:30] DTMF[10526][C-00000151] channel.c: DTMF end '#' detected to have actual duration 76 on the wire, emulation will be triggered on SIP/199-0000029c
[2014-06-06 13:22:30] DTMF[10526][C-00000151] channel.c: DTMF end '#' has duration 76 but want minimum 80, emulating on SIP/199-0000029c
[2014-06-06 13:22:30] DTMF[10526][C-00000151] channel.c: DTMF end emulation of '#' queued on SIP/199-0000029c
[2014-06-06 13:22:30] DTMF[10526][C-00000151] channel.c: DTMF begin '#' received on SIP/199-0000029c
[2014-06-06 13:22:30] DTMF[10526][C-00000151] channel.c: DTMF begin passthrough '#' on SIP/199-0000029c
[2014-06-06 13:22:30] DTMF[10526][C-00000151] channel.c: DTMF end '#' received on SIP/199-0000029c, duration 100 ms
[2014-06-06 13:22:30] DTMF[10526][C-00000151] channel.c: DTMF end accepted with begin '#' on SIP/199-0000029c
[2014-06-06 13:22:30] DTMF[10526][C-00000151] channel.c: DTMF end '#' detected to have actual duration 77 on the wire, emulation will be triggered on SIP/199-0000029c
[2014-06-06 13:22:30] DTMF[10526][C-00000151] channel.c: DTMF end '#' has duration 77 but want minimum 80, emulating on SIP/199-0000029c
[2014-06-06 13:22:30] DTMF[10526][C-00000151] channel.c: DTMF end emulation of '#' queued on SIP/199-0000029c
[2014-06-06 13:22:31] DTMF[10526][C-00000151] channel.c: DTMF begin '1' received on SIP/199-0000029c
[2014-06-06 13:22:31] DTMF[10526][C-00000151] channel.c: DTMF begin ignored '1' on SIP/199-0000029c
[2014-06-06 13:22:31] DTMF[10526][C-00000151] channel.c: DTMF end '1' received on SIP/199-0000029c, duration 100 ms
[2014-06-06 13:22:31] DTMF[10526][C-00000151] channel.c: DTMF end passthrough '1' on SIP/199-0000029c
[2014-06-06 13:22:32] DTMF[10526][C-00000151] channel.c: DTMF begin '0' received on SIP/199-0000029c
[2014-06-06 13:22:32] DTMF[10526][C-00000151] channel.c: DTMF begin ignored '0' on SIP/199-0000029c
[2014-06-06 13:22:32] DTMF[10526][C-00000151] channel.c: DTMF end '0' received on SIP/199-0000029c, duration 100 ms
[2014-06-06 13:22:32] DTMF[10526][C-00000151] channel.c: DTMF end passthrough '0' on SIP/199-0000029c
[2014-06-06 13:22:32] DTMF[10526][C-00000151] channel.c: DTMF begin '5' received on SIP/199-0000029c
[2014-06-06 13:22:32] DTMF[10526][C-00000151] channel.c: DTMF begin ignored '5' on SIP/199-0000029c
[2014-06-06 13:22:32] DTMF[10526][C-00000151] channel.c: DTMF end '5' received on SIP/199-0000029c, duration 100 ms
[2014-06-06 13:22:32] DTMF[10526][C-00000151] channel.c: DTMF end passthrough '5' on SIP/199-0000029c
Повторяем эксперимент, набираем с 199 на 198 (с xlite на 7020) и делаем перевод, со стороны 7020 (198) на 105:

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

[2014-06-06 13:24:11] DTMF[10661][C-00000153] channel.c: DTMF begin '#' received on SIP/198-000002a0
[2014-06-06 13:24:11] DTMF[10661][C-00000153] channel.c: DTMF begin passthrough '#' on SIP/198-000002a0
[2014-06-06 13:24:11] DTMF[10661][C-00000153] channel.c: DTMF end '#' received on SIP/198-000002a0, duration 110 ms
[2014-06-06 13:24:11] DTMF[10661][C-00000153] channel.c: DTMF end accepted with begin '#' on SIP/198-000002a0
[2014-06-06 13:24:11] DTMF[10661][C-00000153] channel.c: DTMF end passthrough '#' on SIP/198-000002a0
[2014-06-06 13:24:11] DTMF[10661][C-00000153] channel.c: DTMF begin '#' received on SIP/198-000002a0
[2014-06-06 13:24:11] DTMF[10661][C-00000153] channel.c: DTMF begin passthrough '#' on SIP/198-000002a0
[2014-06-06 13:24:11] DTMF[10661][C-00000153] channel.c: DTMF end '#' received on SIP/198-000002a0, duration 110 ms
[2014-06-06 13:24:11] DTMF[10661][C-00000153] channel.c: DTMF end accepted with begin '#' on SIP/198-000002a0
[2014-06-06 13:24:11] DTMF[10661][C-00000153] channel.c: DTMF end passthrough '#' on SIP/198-000002a0
[2014-06-06 13:24:12] DTMF[10661][C-00000153] channel.c: DTMF begin '1' received on SIP/198-000002a0
[2014-06-06 13:24:12] DTMF[10661][C-00000153] channel.c: DTMF begin ignored '1' on SIP/198-000002a0
[2014-06-06 13:24:12] DTMF[10661][C-00000153] channel.c: DTMF end '1' received on SIP/198-000002a0, duration 110 ms
[2014-06-06 13:24:12] DTMF[10661][C-00000153] channel.c: DTMF end passthrough '1' on SIP/198-000002a0
[2014-06-06 13:24:13] DTMF[10661][C-00000153] channel.c: DTMF begin '0' received on SIP/198-000002a0
[2014-06-06 13:24:13] DTMF[10661][C-00000153] channel.c: DTMF begin ignored '0' on SIP/198-000002a0
[2014-06-06 13:24:13] DTMF[10661][C-00000153] channel.c: DTMF end '0' received on SIP/198-000002a0, duration 110 ms
[2014-06-06 13:24:13] DTMF[10661][C-00000153] channel.c: DTMF end passthrough '0' on SIP/198-000002a0
[2014-06-06 13:24:13] DTMF[10661][C-00000153] channel.c: DTMF begin '5' received on SIP/198-000002a0
[2014-06-06 13:24:13] DTMF[10661][C-00000153] channel.c: DTMF begin ignored '5' on SIP/198-000002a0
[2014-06-06 13:24:13] DTMF[10661][C-00000153] channel.c: DTMF end '5' received on SIP/198-000002a0, duration 110 ms
[2014-06-06 13:24:13] DTMF[10661][C-00000153] channel.c: DTMF end passthrough '5' on SIP/198-000002a0
И перевод срабатывает....

Строго не судите, первый мой раз, я только учусь. Пробовал искать свою проблему на форумах, но сталкивался с тем, что dtmf обычно не приходит, или приходит не так....
Тут, вроде бы все приходит верно. Или я чего-то не вижу. Буду признателен за совет или подсказку.
Спасибо за внимание.
В догонку, только что, совершенный звонок с 198 (7020) на 102 (SPA504G) и попытка перевода с обоих сторон:
Пробовал хотя-бы инициализировать функции перевода путем нажатия ##

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

[2014-06-06 13:47:39] DTMF[12618][C-00000171] channel.c: DTMF begin '#' received on SIP/198-000002da
[2014-06-06 13:47:39] DTMF[12618][C-00000171] channel.c: DTMF begin passthrough '#' on SIP/198-000002da
[2014-06-06 13:47:39] DTMF[12618][C-00000171] channel.c: DTMF end '#' received on SIP/198-000002da, duration 110 ms
[2014-06-06 13:47:39] DTMF[12618][C-00000171] channel.c: DTMF end accepted with begin '#' on SIP/198-000002da
[2014-06-06 13:47:39] DTMF[12618][C-00000171] channel.c: DTMF end passthrough '#' on SIP/198-000002da
[2014-06-06 13:47:40] DTMF[12618][C-00000171] channel.c: DTMF begin '#' received on SIP/198-000002da
[2014-06-06 13:47:40] DTMF[12618][C-00000171] channel.c: DTMF begin passthrough '#' on SIP/198-000002da
[2014-06-06 13:47:40] DTMF[12618][C-00000171] channel.c: DTMF end '#' received on SIP/198-000002da, duration 110 ms
[2014-06-06 13:47:40] DTMF[12618][C-00000171] channel.c: DTMF end accepted with begin '#' on SIP/198-000002da
[2014-06-06 13:47:40] DTMF[12618][C-00000171] channel.c: DTMF end passthrough '#' on SIP/198-000002da
[2014-06-06 13:47:47] DTMF[12618][C-00000171] channel.c: DTMF begin '#' received on SIP/102-000002db
[2014-06-06 13:47:47] DTMF[12618][C-00000171] channel.c: DTMF begin passthrough '#' on SIP/102-000002db
[2014-06-06 13:47:48] DTMF[12618][C-00000171] channel.c: DTMF end '#' received on SIP/102-000002db, duration 210 ms
[2014-06-06 13:47:48] DTMF[12618][C-00000171] channel.c: DTMF end accepted with begin '#' on SIP/102-000002db
[2014-06-06 13:47:48] DTMF[12618][C-00000171] channel.c: DTMF end passthrough '#' on SIP/102-000002db
[2014-06-06 13:47:48] DTMF[12618][C-00000171] channel.c: DTMF begin '#' received on SIP/102-000002db
[2014-06-06 13:47:48] DTMF[12618][C-00000171] channel.c: DTMF begin passthrough '#' on SIP/102-000002db
[2014-06-06 13:47:48] DTMF[12618][C-00000171] channel.c: DTMF end '#' received on SIP/102-000002db, duration 150 ms
[2014-06-06 13:47:48] DTMF[12618][C-00000171] channel.c: DTMF end accepted with begin '#' on SIP/102-000002db
[2014-06-06 13:47:48] DTMF[12618][C-00000171] channel.c: DTMF end passthrough '#' on SIP/102-000002db
С уважением.

Re: Снова про DTMF или Call-Transfer/Call PickUp

Добавлено: 06 июн 2014, 13:58
Vlad1983
feo_sobolev писал(а):DTMF end '#' has duration 76 but want minimum 80

Re: Снова про DTMF или Call-Transfer/Call PickUp

Добавлено: 06 июн 2014, 14:01
feo_sobolev
Благодарю за интерес темой и ответ, да, действительно, я тоже это замечал, но проблема похоже не в этом, еще один звонок, совершенный только что с (7020) 198 на AddPac 700 (140) и попытка инициализировать перевод ##

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

[2014-06-06 13:58:44] DTMF[13555][C-00000184] channel.c: DTMF begin '#' received on SIP/198-000002fe
[2014-06-06 13:58:44] DTMF[13555][C-00000184] channel.c: DTMF begin passthrough '#' on SIP/198-000002fe
[2014-06-06 13:58:44] DTMF[13555][C-00000184] channel.c: DTMF end '#' received on SIP/198-000002fe, duration 110 ms
[2014-06-06 13:58:44] DTMF[13555][C-00000184] channel.c: DTMF end accepted with begin '#' on SIP/198-000002fe
[2014-06-06 13:58:44] DTMF[13555][C-00000184] channel.c: DTMF end passthrough '#' on SIP/198-000002fe
[2014-06-06 13:58:45] DTMF[13555][C-00000184] channel.c: DTMF begin '#' received on SIP/198-000002fe
[2014-06-06 13:58:45] DTMF[13555][C-00000184] channel.c: DTMF begin passthrough '#' on SIP/198-000002fe
[2014-06-06 13:58:45] DTMF[13555][C-00000184] channel.c: DTMF end '#' received on SIP/198-000002fe, duration 110 ms
[2014-06-06 13:58:45] DTMF[13555][C-00000184] channel.c: DTMF end accepted with begin '#' on SIP/198-000002fe
[2014-06-06 13:58:45] DTMF[13555][C-00000184] channel.c: DTMF end passthrough '#' on SIP/198-000002fe
[2014-06-06 13:58:55] DTMF[13555][C-00000184] channel.c: DTMF begin '#' received on SIP/140-000002ff
[2014-06-06 13:58:55] DTMF[13555][C-00000184] channel.c: DTMF begin passthrough '#' on SIP/140-000002ff
[2014-06-06 13:58:55] DTMF[13555][C-00000184] channel.c: DTMF end '#' received on SIP/140-000002ff, duration 190 ms
[2014-06-06 13:58:55] DTMF[13555][C-00000184] channel.c: DTMF end accepted with begin '#' on SIP/140-000002ff
[2014-06-06 13:58:55] DTMF[13555][C-00000184] channel.c: DTMF end passthrough '#' on SIP/140-000002ff
[2014-06-06 13:58:55] DTMF[13555][C-00000184] channel.c: DTMF begin '#' received on SIP/140-000002ff
[2014-06-06 13:58:55] DTMF[13555][C-00000184] channel.c: DTMF begin passthrough '#' on SIP/140-000002ff
[2014-06-06 13:58:55] DTMF[13555][C-00000184] channel.c: DTMF end '#' received on SIP/140-000002ff, duration 200 ms
[2014-06-06 13:58:55] DTMF[13555][C-00000184] channel.c: DTMF end accepted with begin '#' on SIP/140-000002ff
[2014-06-06 13:58:55] DTMF[13555][C-00000184] channel.c: DTMF end passthrough '#' on SIP/140-000002f
Не инициализируется.
Все номера находятся в дефолтном для FreePBX контексте для внутренних номеров
[from-internal]

Re: Снова про DTMF или Call-Transfer/Call PickUp

Добавлено: 06 июн 2014, 14:28
zzuz
Опции Tt команды Dial для вашего случая.

Re: Снова про DTMF или Call-Transfer/Call PickUp

Добавлено: 06 июн 2014, 14:58
feo_sobolev
zzuz писал(а):Опции Tt команды Dial для вашего случая.
У меня стоит FreePBX, все, что касаемо внутренних номеров, все стандартно. Если я Вас правильно понял о чем Вы:
Изображение
В Файле /etc/asterisk/extensions_additional.conf

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

DIAL_OPTIONS = Ttr
TRUNK_OPTIONS = Tt
.....................................
exten => 199,n,Set(DIAL_OPTIONS=${DIAL_OPTIONS}I)
Ну и в остальных номерах, так-же...

Re: Снова про DTMF или Call-Transfer/Call PickUp

Добавлено: 10 июн 2014, 11:01
feo_sobolev
С вопросом разобрался. Вопрос закрыт. Проблема была в том, что я по неопытности включил, во всех внутренних номерах "Follow me", в котором прописал лишь внутренний номер, например для 100 "Follow me" на номер "100", для того, чтобы при звонках между внутренними номерами, вместо КПВ, была слышна мелодия MoH, до того, как абонент поднимет трубку.
Кстати, можно ли это как-то реализовать, не делая для каждого внутреннего номера "Очередь"?
После отключения "Follow me", все прекрасно работает.
Тему можно закрыть. Всем спасибо :)

Re: Снова про DTMF или Call-Transfer/Call PickUp

Добавлено: 10 июн 2014, 11:09
ded
Опция m команды Dial для вашего случая.
Настраивается как и все другие опции через вэб интерфейс.
Книжку не читали, или недочиталм.

Re: Снова про DTMF или Call-Transfer/Call PickUp

Добавлено: 10 июн 2014, 11:19
feo_sobolev
Не дочитал, но обязательно дочитаю. Даю слово. Спасибо!