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

Re: Дублирование первой цифры dtmf (IVR)

Добавлено: 09 апр 2014, 18:05
kreved
Вот логи dtmf и соснифанный с астериска трафик
call.png

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

[Apr  9 19:58:05] DTMF[9055][C-0000008d] channel.c: DTMF begin '6' received on SIP/toCCME-000000f7
[Apr  9 19:58:05] DTMF[9055][C-0000008d] channel.c: DTMF begin ignored '6' on SIP/toCCME-000000f7
[Apr  9 19:58:05] DTMF[9055][C-0000008d] channel.c: DTMF end '6' received on SIP/toCCME-000000f7, duration 250 ms
[Apr  9 19:58:05] DTMF[9055][C-0000008d] channel.c: DTMF end passthrough '6' on SIP/toCCME-000000f7
[Apr  9 19:58:05] DTMF[9055][C-0000008d] channel.c: DTMF end '6' received on SIP/toCCME-000000f7, duration 250 ms
[Apr  9 19:58:05] DTMF[9055][C-0000008d] channel.c: DTMF end passthrough '6' on SIP/toCCME-000000f7
[Apr  9 19:58:05] DTMF[9055][C-0000008d] channel.c: DTMF end '6' received on SIP/toCCME-000000f7, duration 250 ms
[Apr  9 19:58:05] DTMF[9055][C-0000008d] channel.c: DTMF begin emulation of '6' with duration 250 queued on SIP/toCCME-000000f7
[Apr  9 19:58:05] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '6' queued on SIP/toCCME-000000f7
[Apr  9 19:58:06] DTMF[9055][C-0000008d] channel.c: DTMF begin '0' received on SIP/toCCME-000000f7
[Apr  9 19:58:06] DTMF[9055][C-0000008d] channel.c: DTMF begin passthrough '0' on SIP/toCCME-000000f7
[Apr  9 19:58:06] DTMF[9055][C-0000008d] channel.c: DTMF end '0' received on SIP/toCCME-000000f7, duration 230 ms
[Apr  9 19:58:06] DTMF[9055][C-0000008d] channel.c: DTMF end accepted with begin '0' on SIP/toCCME-000000f7
[Apr  9 19:58:06] DTMF[9055][C-0000008d] channel.c: DTMF end passthrough '0' on SIP/toCCME-000000f7
[Apr  9 19:58:06] DTMF[9055][C-0000008d] channel.c: DTMF end '0' received on SIP/toCCME-000000f7, duration 230 ms
[Apr  9 19:58:06] DTMF[9055][C-0000008d] channel.c: DTMF begin emulation of '0' with duration 230 queued on SIP/toCCME-000000f7
[Apr  9 19:58:06] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '0' queued on SIP/toCCME-000000f7
[Apr  9 19:58:06] DTMF[9055][C-0000008d] channel.c: DTMF end '0' received on SIP/toCCME-000000f7, duration 230 ms
[Apr  9 19:58:06] DTMF[9055][C-0000008d] channel.c: DTMF begin emulation of '0' with duration 230 queued on SIP/toCCME-000000f7
[Apr  9 19:58:07] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '0' queued on SIP/toCCME-000000f7
[Apr  9 19:58:07] DTMF[9055][C-0000008d] channel.c: DTMF begin '0' received on SIP/toCCME-000000f7
[Apr  9 19:58:07] DTMF[9055][C-0000008d] channel.c: DTMF begin passthrough '0' on SIP/toCCME-000000f7
[Apr  9 19:58:07] DTMF[9055][C-0000008d] channel.c: DTMF end '0' received on SIP/toCCME-000000f7, duration 210 ms
[Apr  9 19:58:07] DTMF[9055][C-0000008d] channel.c: DTMF end accepted with begin '0' on SIP/toCCME-000000f7
[Apr  9 19:58:07] DTMF[9055][C-0000008d] channel.c: DTMF end passthrough '0' on SIP/toCCME-000000f7
[Apr  9 19:58:07] DTMF[9055][C-0000008d] channel.c: DTMF end '0' received on SIP/toCCME-000000f7, duration 210 ms
[Apr  9 19:58:07] DTMF[9055][C-0000008d] channel.c: DTMF begin emulation of '0' with duration 210 queued on SIP/toCCME-000000f7
[Apr  9 19:58:07] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '0' queued on SIP/toCCME-000000f7
[Apr  9 19:58:07] DTMF[9055][C-0000008d] channel.c: DTMF end '0' received on SIP/toCCME-000000f7, duration 210 ms
[Apr  9 19:58:07] DTMF[9055][C-0000008d] channel.c: DTMF begin emulation of '0' with duration 210 queued on SIP/toCCME-000000f7
[Apr  9 19:58:07] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '0' queued on SIP/toCCME-000000f7
[Apr  9 19:58:08] DTMF[9055][C-0000008d] channel.c: DTMF begin '1' received on SIP/toCCME-000000f7
[Apr  9 19:58:08] DTMF[9055][C-0000008d] channel.c: DTMF begin passthrough '1' on SIP/toCCME-000000f7
[Apr  9 19:58:09] DTMF[9055][C-0000008d] channel.c: DTMF end '1' received on SIP/toCCME-000000f7, duration 170 ms
[Apr  9 19:58:09] DTMF[9055][C-0000008d] channel.c: DTMF end accepted with begin '1' on SIP/toCCME-000000f7
[Apr  9 19:58:09] DTMF[9055][C-0000008d] channel.c: DTMF end passthrough '1' on SIP/toCCME-000000f7
[Apr  9 19:58:09] DTMF[9055][C-0000008d] channel.c: DTMF end '1' received on SIP/toCCME-000000f7, duration 170 ms
[Apr  9 19:58:09] DTMF[9055][C-0000008d] channel.c: DTMF begin emulation of '1' with duration 170 queued on SIP/toCCME-000000f7
[Apr  9 19:58:09] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '1' queued on SIP/toCCME-000000f7
[Apr  9 19:58:09] DTMF[9055][C-0000008d] channel.c: DTMF end '1' received on SIP/toCCME-000000f7, duration 170 ms
[Apr  9 19:58:09] DTMF[9055][C-0000008d] channel.c: DTMF begin emulation of '1' with duration 170 queued on SIP/toCCME-000000f7
[Apr  9 19:58:09] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '1' queued on SIP/toCCME-000000f7
[Apr  9 19:58:09] DTMF[9055][C-0000008d] channel.c: DTMF begin '2' received on SIP/toCCME-000000f7
[Apr  9 19:58:09] DTMF[9055][C-0000008d] channel.c: DTMF begin passthrough '2' on SIP/toCCME-000000f7
[Apr  9 19:58:09] DTMF[9055][C-0000008d] channel.c: DTMF end '2' received on SIP/toCCME-000000f7, duration 190 ms
[Apr  9 19:58:09] DTMF[9055][C-0000008d] channel.c: DTMF end accepted with begin '2' on SIP/toCCME-000000f7
[Apr  9 19:58:09] DTMF[9055][C-0000008d] channel.c: DTMF end '2' detected to have actual duration 45 on the wire, emulation will be triggered on SIP/toCCME-000000f7
[Apr  9 19:58:09] DTMF[9055][C-0000008d] channel.c: DTMF end '2' has duration 45 but want minimum 80, emulating on SIP/toCCME-000000f7
[Apr  9 19:58:09] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '2' queued on SIP/toCCME-000000f7
[Apr  9 19:58:09] DTMF[9055][C-0000008d] channel.c: DTMF end '2' received on SIP/toCCME-000000f7, duration 190 ms
[Apr  9 19:58:09] DTMF[9055][C-0000008d] channel.c: DTMF begin emulation of '2' with duration 190 queued on SIP/toCCME-000000f7
[Apr  9 19:58:09] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '2' queued on SIP/toCCME-000000f7
[Apr  9 19:58:09] DTMF[9055][C-0000008d] channel.c: DTMF end '2' received on SIP/toCCME-000000f7, duration 190 ms
[Apr  9 19:58:09] DTMF[9055][C-0000008d] channel.c: DTMF begin emulation of '2' with duration 190 queued on SIP/toCCME-000000f7
[Apr  9 19:58:10] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '2' queued on SIP/toCCME-000000f7
[Apr  9 19:58:10] DTMF[9055][C-0000008d] channel.c: DTMF begin '3' received on SIP/toCCME-000000f7
[Apr  9 19:58:10] DTMF[9055][C-0000008d] channel.c: DTMF begin passthrough '3' on SIP/toCCME-000000f7
[Apr  9 19:58:10] DTMF[9055][C-0000008d] channel.c: DTMF end '3' received on SIP/toCCME-000000f7, duration 210 ms
[Apr  9 19:58:10] DTMF[9055][C-0000008d] channel.c: DTMF end accepted with begin '3' on SIP/toCCME-000000f7
[Apr  9 19:58:10] DTMF[9055][C-0000008d] channel.c: DTMF end '3' detected to have actual duration 45 on the wire, emulation will be triggered on SIP/toCCME-000000f7
[Apr  9 19:58:10] DTMF[9055][C-0000008d] channel.c: DTMF end '3' has duration 45 but want minimum 80, emulating on SIP/toCCME-000000f7
[Apr  9 19:58:10] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '3' queued on SIP/toCCME-000000f7
[Apr  9 19:58:10] DTMF[9055][C-0000008d] channel.c: DTMF end '3' received on SIP/toCCME-000000f7, duration 210 ms
[Apr  9 19:58:10] DTMF[9055][C-0000008d] channel.c: DTMF begin emulation of '3' with duration 210 queued on SIP/toCCME-000000f7
[Apr  9 19:58:10] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '3' queued on SIP/toCCME-000000f7
[Apr  9 19:58:10] DTMF[9055][C-0000008d] channel.c: DTMF end '3' received on SIP/toCCME-000000f7, duration 210 ms
[Apr  9 19:58:10] DTMF[9055][C-0000008d] channel.c: DTMF begin emulation of '3' with duration 210 queued on SIP/toCCME-000000f7
[Apr  9 19:58:10] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '3' queued on SIP/toCCME-000000f7
[Apr  9 19:58:10] DTMF[9055][C-0000008d] channel.c: DTMF begin '4' received on SIP/toCCME-000000f7
[Apr  9 19:58:10] DTMF[9055][C-0000008d] channel.c: DTMF begin passthrough '4' on SIP/toCCME-000000f7
[Apr  9 19:58:10] DTMF[9055][C-0000008d] channel.c: DTMF end '4' received on SIP/toCCME-000000f7, duration 370 ms
[Apr  9 19:58:10] DTMF[9055][C-0000008d] channel.c: DTMF end accepted with begin '4' on SIP/toCCME-000000f7
[Apr  9 19:58:10] DTMF[9055][C-0000008d] channel.c: DTMF end passthrough '4' on SIP/toCCME-000000f7
[Apr  9 19:58:10] DTMF[9055][C-0000008d] channel.c: DTMF end '4' received on SIP/toCCME-000000f7, duration 370 ms
[Apr  9 19:58:10] DTMF[9055][C-0000008d] channel.c: DTMF begin emulation of '4' with duration 370 queued on SIP/toCCME-000000f7
[Apr  9 19:58:11] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '4' queued on SIP/toCCME-000000f7
[Apr  9 19:58:11] DTMF[9055][C-0000008d] channel.c: DTMF end '4' received on SIP/toCCME-000000f7, duration 370 ms
[Apr  9 19:58:11] DTMF[9055][C-0000008d] channel.c: DTMF begin emulation of '4' with duration 370 queued on SIP/toCCME-000000f7
[Apr  9 19:58:11] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '4' queued on SIP/toCCME-000000f7
[Apr  9 19:58:11] DTMF[9055][C-0000008d] channel.c: DTMF begin '5' received on SIP/toCCME-000000f7
[Apr  9 19:58:11] DTMF[9055][C-0000008d] channel.c: DTMF begin passthrough '5' on SIP/toCCME-000000f7
[Apr  9 19:58:11] DTMF[9055][C-0000008d] channel.c: DTMF end '5' received on SIP/toCCME-000000f7, duration 330 ms
[Apr  9 19:58:11] DTMF[9055][C-0000008d] channel.c: DTMF end accepted with begin '5' on SIP/toCCME-000000f7
[Apr  9 19:58:11] DTMF[9055][C-0000008d] channel.c: DTMF end '5' detected to have actual duration 45 on the wire, emulation will be triggered on SIP/toCCME-000000f7
[Apr  9 19:58:11] DTMF[9055][C-0000008d] channel.c: DTMF end '5' has duration 45 but want minimum 80, emulating on SIP/toCCME-000000f7
[Apr  9 19:58:11] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '5' queued on SIP/toCCME-000000f7
[Apr  9 19:58:11] DTMF[9055][C-0000008d] channel.c: DTMF end '5' received on SIP/toCCME-000000f7, duration 330 ms
[Apr  9 19:58:11] DTMF[9055][C-0000008d] channel.c: DTMF begin emulation of '5' with duration 330 queued on SIP/toCCME-000000f7
[Apr  9 19:58:12] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '5' queued on SIP/toCCME-000000f7
[Apr  9 19:58:12] DTMF[9055][C-0000008d] channel.c: DTMF end '5' received on SIP/toCCME-000000f7, duration 330 ms
[Apr  9 19:58:12] DTMF[9055][C-0000008d] channel.c: DTMF begin emulation of '5' with duration 330 queued on SIP/toCCME-000000f7
[Apr  9 19:58:12] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '5' queued on SIP/toCCME-000000f7
[Apr  9 19:58:12] DTMF[9055][C-0000008d] channel.c: DTMF begin '6' received on SIP/toCCME-000000f7
[Apr  9 19:58:12] DTMF[9055][C-0000008d] channel.c: DTMF begin passthrough '6' on SIP/toCCME-000000f7
[Apr  9 19:58:12] DTMF[9055][C-0000008d] channel.c: DTMF end '6' received on SIP/toCCME-000000f7, duration 270 ms
[Apr  9 19:58:12] DTMF[9055][C-0000008d] channel.c: DTMF end accepted with begin '6' on SIP/toCCME-000000f7
[Apr  9 19:58:12] DTMF[9055][C-0000008d] channel.c: DTMF end passthrough '6' on SIP/toCCME-000000f7
[Apr  9 19:58:12] DTMF[9055][C-0000008d] channel.c: DTMF end '6' received on SIP/toCCME-000000f7, duration 270 ms
[Apr  9 19:58:12] DTMF[9055][C-0000008d] channel.c: DTMF begin emulation of '6' with duration 270 queued on SIP/toCCME-000000f7
[Apr  9 19:58:12] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '6' queued on SIP/toCCME-000000f7
[Apr  9 19:58:12] DTMF[9055][C-0000008d] channel.c: DTMF end '6' received on SIP/toCCME-000000f7, duration 270 ms
[Apr  9 19:58:12] DTMF[9055][C-0000008d] channel.c: DTMF begin emulation of '6' with duration 270 queued on SIP/toCCME-000000f7
[Apr  9 19:58:13] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '6' queued on SIP/toCCME-000000f7
[Apr  9 19:58:13] DTMF[9055][C-0000008d] channel.c: DTMF begin '7' received on SIP/toCCME-000000f7
[Apr  9 19:58:13] DTMF[9055][C-0000008d] channel.c: DTMF begin passthrough '7' on SIP/toCCME-000000f7
[Apr  9 19:58:13] DTMF[9055][C-0000008d] channel.c: DTMF end '7' received on SIP/toCCME-000000f7, duration 235 ms
[Apr  9 19:58:13] DTMF[9055][C-0000008d] channel.c: DTMF end accepted with begin '7' on SIP/toCCME-000000f7
[Apr  9 19:58:13] DTMF[9055][C-0000008d] channel.c: DTMF end '7' detected to have actual duration 45 on the wire, emulation will be triggered on SIP/toCCME-000000f7
[Apr  9 19:58:13] DTMF[9055][C-0000008d] channel.c: DTMF end '7' has duration 45 but want minimum 80, emulating on SIP/toCCME-000000f7
[Apr  9 19:58:13] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '7' queued on SIP/toCCME-000000f7
[Apr  9 19:58:13] DTMF[9055][C-0000008d] channel.c: DTMF end '7' received on SIP/toCCME-000000f7, duration 235 ms
[Apr  9 19:58:13] DTMF[9055][C-0000008d] channel.c: DTMF begin emulation of '7' with duration 235 queued on SIP/toCCME-000000f7
[Apr  9 19:58:13] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '7' queued on SIP/toCCME-000000f7
[Apr  9 19:58:13] DTMF[9055][C-0000008d] channel.c: DTMF end '7' received on SIP/toCCME-000000f7, duration 235 ms
[Apr  9 19:58:13] DTMF[9055][C-0000008d] channel.c: DTMF begin emulation of '7' with duration 235 queued on SIP/toCCME-000000f7
[Apr  9 19:58:13] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '7' queued on SIP/toCCME-000000f7
[Apr  9 19:58:13] DTMF[9055][C-0000008d] channel.c: DTMF begin '8' received on SIP/toCCME-000000f7
[Apr  9 19:58:13] DTMF[9055][C-0000008d] channel.c: DTMF begin passthrough '8' on SIP/toCCME-000000f7
[Apr  9 19:58:13] DTMF[9055][C-0000008d] channel.c: DTMF end '8' received on SIP/toCCME-000000f7, duration 210 ms
[Apr  9 19:58:13] DTMF[9055][C-0000008d] channel.c: DTMF end accepted with begin '8' on SIP/toCCME-000000f7
[Apr  9 19:58:13] DTMF[9055][C-0000008d] channel.c: DTMF end '8' detected to have actual duration 45 on the wire, emulation will be triggered on SIP/toCCME-000000f7
[Apr  9 19:58:13] DTMF[9055][C-0000008d] channel.c: DTMF end '8' has duration 45 but want minimum 80, emulating on SIP/toCCME-000000f7
[Apr  9 19:58:13] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '8' queued on SIP/toCCME-000000f7
[Apr  9 19:58:14] DTMF[9055][C-0000008d] channel.c: DTMF end '8' received on SIP/toCCME-000000f7, duration 210 ms
[Apr  9 19:58:14] DTMF[9055][C-0000008d] channel.c: DTMF begin emulation of '8' with duration 210 queued on SIP/toCCME-000000f7
[Apr  9 19:58:14] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '8' queued on SIP/toCCME-000000f7
[Apr  9 19:58:14] DTMF[9055][C-0000008d] channel.c: DTMF end '8' received on SIP/toCCME-000000f7, duration 210 ms
[Apr  9 19:58:14] DTMF[9055][C-0000008d] channel.c: DTMF begin emulation of '8' with duration 210 queued on SIP/toCCME-000000f7
[Apr  9 19:58:14] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '8' queued on SIP/toCCME-000000f7
[Apr  9 19:58:14] DTMF[9055][C-0000008d] channel.c: DTMF begin '9' received on SIP/toCCME-000000f7
[Apr  9 19:58:14] DTMF[9055][C-0000008d] channel.c: DTMF begin passthrough '9' on SIP/toCCME-000000f7
[Apr  9 19:58:14] DTMF[9055][C-0000008d] channel.c: DTMF end '9' received on SIP/toCCME-000000f7, duration 170 ms
[Apr  9 19:58:14] DTMF[9055][C-0000008d] channel.c: DTMF end accepted with begin '9' on SIP/toCCME-000000f7
[Apr  9 19:58:14] DTMF[9055][C-0000008d] channel.c: DTMF end '9' detected to have actual duration 45 on the wire, emulation will be triggered on SIP/toCCME-000000f7
[Apr  9 19:58:14] DTMF[9055][C-0000008d] channel.c: DTMF end '9' has duration 45 but want minimum 80, emulating on SIP/toCCME-000000f7
[Apr  9 19:58:14] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '9' queued on SIP/toCCME-000000f7
[Apr  9 19:58:14] DTMF[9055][C-0000008d] channel.c: DTMF end '9' received on SIP/toCCME-000000f7, duration 170 ms
[Apr  9 19:58:14] DTMF[9055][C-0000008d] channel.c: DTMF begin emulation of '9' with duration 170 queued on SIP/toCCME-000000f7
[Apr  9 19:58:14] DTMF[9055][C-0000008d] channel.c: DTMF end emulation of '9' queued on SIP/toCCME-000000f7 

Здесь видно что на астериск все цифры приходят однократно (за исключение 0 который я 2 раза нажал в попытках набрать 6001).
Откуда у астериска начинают цифры внутри него самого двоиться и троиться?

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

[Apr  9 19:58:02] VERBOSE[9055][C-0000008d] file.c:     -- <SIP/toCCME-000000f7> Playing 'ru/prepaid-welcome.gsm' (language 'en')
[Apr  9 19:58:03] VERBOSE[9055][C-0000008d] pbx.c:     -- Executing [s@ivr-3:13] WaitExten("SIP/toCCME-000000f7", ",") in new stack
[Apr  9 19:58:05] VERBOSE[9055][C-0000008d] pbx.c:     -- Invalid extension '[b]66[/b]' in context 'ivr-3' on SIP/toCCME-000000f7

Re: Дублирование первой цифры dtmf (IVR)

Добавлено: 09 апр 2014, 18:08
ded
kreved писал(а):Внутренние донаборы были разрешены, но Asterisk при попытке набрать номер которого нет в его Extentions сразу же сбрасывает вызов, для этого надо регистрировать внутренние телефоны на астериске, а они зарегистрированы на call manager'e.
Я бы на месте Астериска тоже так делал! Смотрите: вызов поступает в CUCM, там бы его и обрабатывать вам, с IVR, донаборами. и прочими плюшками,
Но Вы не знаете как, поэтому передаёте вызов а Астериск, с которым поверхностно знакомы. И там можно было бы это обработать вручную, но - нет, надо через непонятную Вам логику freePBX. Сделали бы на CUCMе - не было бы гимора, сделали бы вручную на Астериске - не было бы гимора, но, хочется жёсткокого садо-мазо.
Пуританский секс с входящими сценариями наскучил.
kreved писал(а):off: форум не дает цитировать последнее сообщение
ибо не зачем, оверквотинг, расстрельная 58-я статья.

Re: Дублирование первой цифры dtmf (IVR)

Добавлено: 09 апр 2014, 18:17
kreved
Смотрите: вызов поступает в CUCM, там бы его и обрабатывать вам, с IVR, донаборами. и прочими плюшками
Расшиение IVR для CCME стоит денег и не малых, около 1750$ на 2 активных линии.
А решение на астериске вроде бы не сильно замороченное и работает, за исключением некорректной обработки dtmf (только для внешних линий, с внутренними все отлично). Весь максимум который позволяет сделать CCME без дополнительных финансовых затрат я из него выжал. И теперь лишь проблема осталась в непонятной для меня логике астериска (потому что я не могу найти этого в логах), если приходит 1 цифра, откуда он берет еще одну или даже две иногда? :roll:

Re: Дублирование первой цифры dtmf (IVR)

Добавлено: 09 апр 2014, 18:38
ded
В зепу ваш CCME, со всеми расширениями.
Выкрасить и выбросить.
Принимайте и обрабатывайте всё в Астериске, и внутренние номера - тоже, иначе - бег на костылях, пожизненно.

Re: Дублирование первой цифры dtmf (IVR)

Добавлено: 09 апр 2014, 19:16
ded
kreved писал(а):решение на астериске вроде бы не сильно замороченное и работает, за исключением некорректной обработки dtmf (только для внешних линий, с внутренними все отлично).
Ну так и налаживайте обрабатку dtmf на внешних линиях, при чём тут Астериск? Это параметр dtmfmode= на транке, он может принимать разные значения.
kreved писал(а): И теперь лишь проблема осталась в непонятной для меня логике астериска (потому что я не могу найти этого в логах), если приходит 1 цифра, откуда он берет еще одну или даже две иногда? :roll:
Вы зря побежали по трудному пути freePBX, логика макросов и вложений ещё долго будет оставаться непонятной. Я повторю
сделали бы вручную на Астериске - не было бы гимора

Re: Дублирование первой цифры dtmf (IVR)

Добавлено: 10 апр 2014, 14:19
kreved
Вообщем тестирование
методом отправки цифр на

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

[dtmf_test]
exten => s,1,Answer()
exten => s,n,Wait(1)
exten => s,n(collect),Read(digito,,11)
exten => s,n,SayDigits(${digito})
exten => s,n,GoTo(collect)
exten => s,n,Hangup
выявило что цифры повторяются все, и не по одному разу, а по три, написал вот такой костыль
Первая строка будет работать для внутренних звонков (фактически не будет использоваться, т.к. на IVR звонки пойдут только из города),
а вторая для звонков городской - sip - ccme - asterisk - ccme - Cisco IP Phone.

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

[ivr-3-custom]
exten =>_60XX,1,Goto(from-internal,${EXTEN},1)
exten =>_666000XXXXXX,1,Goto(from-internal,${EXTEN:0:1}${EXTEN:3:1}${EXTEN:6:1}${EXTEN:9:1},1)
Так и не нашел способ победить утроение DTMF :( в wireshark нарисовано что цифра всего одна, а в dtmf логе - уже 3.
p.s. послушал на последнем куске - оказывается в трубке эхо (3 раза повторяются тоны), если звонить напрямую городской - sip - CCME - IP Phone или городской - sip - CCME - sip - asterisk - softphone то эха нет. Эхо только при схеме городской - sip - ccme - sip - asterisk -sip- ccme - Cisco IP Phone появляется.

Re: Дублирование первой цифры dtmf (IVR)

Добавлено: 10 апр 2014, 14:35
ded
wireshark показывает правильно, рисует что цифра всего одна, а в dtmf логе - посылки разными методами, слишком подробно для Вас, вы его не поняли просто.
Ну и почитайте про такой волшебный порошок: relaxdtmf=yes, может поможет?.
http://lists.digium.com/pipermail/aster ... 54692.html

Re: Дублирование первой цифры dtmf (IVR)

Добавлено: 10 апр 2014, 17:57
Vlad1983
послушать в дампе трафа нет ли передачи внутриканально с небольшой задержкой от внеканальной

Re: Дублирование первой цифры dtmf (IVR)

Добавлено: 10 апр 2014, 23:27
tma
У меня грандстрим 2000 в случае указания нескольких методов передачи DTMF всеми этими методами его и слал.
В результате цифры задваивались и затраивались. Может у Вас аналогично?