Good afternoon. Faced with such a problem.
The client in the IVR QUICKLY dials the internal number “567” and receives the error “no-valid-response-transferring”.
In the logs app_read.c: User entered ‘57’.
And so with all the numbers, the 2nd digit is lost
If the user types "278: app_read.c: User entered ‘28’.
Tell me how to solve this problem
You need to enable DTMF logging, and also tell us the channel technology in use and whether it is using inband DTMF, and otherwise how is DTMF encoded. The first thing to be determined is whether Asterisk is actually receiving the digits, and, if so, whether they meet the timing requirements for DTMF.
Looks like you only have DTMF enabled on the console, but you have taken your log from the full log. (Better to enable it on the full log, than to screen scrape the console.)
If you have correctly enabled DTMF logging, no DTMF digits were sent by the provider in the period covered by the logs. That seems to conflict with your initial position that some were being recognized.
I turned on the DTMF logs separately and called the IVR from an external number at 308 and 689
8 [2021-12-06 23:19:25] DTMF[2726][C-00000016] channel.c: DTMF begin ‘3’ received on PJSIP/tel.ru-0000001b
9 [2021-12-06 23:19:25] DTMF[2726][C-00000016] channel.c: DTMF begin ignored ‘3’ on PJSIP/tel.ru-0000001b
10 [2021-12-06 23:19:25] DTMF[2726][C-00000016] channel.c: DTMF end ‘3’ received on PJSIP/tel.ru-0000001b, duration 180 ms
11 [2021-12-06 23:19:25] DTMF[2726][C-00000016] channel.c: DTMF end passthrough ‘3’ on PJSIP/tel.ru-0000001b
12 [2021-12-06 23:19:25] DTMF[2726][C-00000016] channel.c: DTMF begin ‘8’ received on PJSIP/tel.ru-0000001b
13 [2021-12-06 23:19:25] DTMF[2726][C-00000016] channel.c: DTMF begin ignored ‘8’ on PJSIP/tel.ru-0000001b
14 [2021-12-06 23:19:25] DTMF[2726][C-00000016] channel.c: DTMF end ‘8’ received on PJSIP/tel.ru-0000001b, duration 180 ms
15 [2021-12-06 23:19:25] DTMF[2726][C-00000016] channel.c: DTMF end passthrough ‘8’ on PJSIP/tel.ru-0000001b
16 [2021-12-06 23:19:39] DTMF[2780][C-00000017] channel.c: DTMF begin ‘6’ received on PJSIP/tel.ru-0000001c
17 [2021-12-06 23:19:39] DTMF[2780][C-00000017] channel.c: DTMF begin ignored ‘6’ on PJSIP/tel.ru-0000001c
18 [2021-12-06 23:19:39] DTMF[2780][C-00000017] channel.c: DTMF end ‘6’ received on PJSIP/tel.ru-0000001c, duration 180 ms
19 [2021-12-06 23:19:39] DTMF[2780][C-00000017] channel.c: DTMF end passthrough ‘6’ on PJSIP/tel.ru-0000001c
20 [2021-12-06 23:19:40] DTMF[2780][C-00000017] channel.c: DTMF begin ‘9’ received on PJSIP/tel.ru-0000001c
21 [2021-12-06 23:19:40] DTMF[2780][C-00000017] channel.c: DTMF begin ignored ‘9’ on PJSIP/tel.ru-0000001c
22 [2021-12-06 23:19:40] DTMF[2780][C-00000017] channel.c: DTMF end ‘9’ received on PJSIP/tel.ru-0000001c, duration 180 ms
23 [2021-12-06 23:19:40] DTMF[2780][C-00000017] channel.c: DTMF end passthrough ‘9’ on PJSIP/tel.ru-0000001c
815 [2021-12-07 14:01:24] DTMF[29136][C-0000006a] channel.c: DTMF begin ‘2’ received on PJSIP/tel.ru-0000012a
816 [2021-12-07 14:01:24] DTMF[29136][C-0000006a] channel.c: DTMF begin ignored ‘2’ on PJSIP/tel.ru-0000012a
817 [2021-12-07 14:01:24] DTMF[29136][C-0000006a] channel.c: DTMF end ‘2’ received on PJSIP/tel.ru-0000012a, duration 180 ms
818 [2021-12-07 14:01:24] DTMF[29136][C-0000006a] channel.c: DTMF end passthrough ‘2’ on PJSIP/tel.ru-0000012a
819 [2021-12-07 14:01:25] DTMF[29136][C-0000006a] channel.c: DTMF begin ‘3’ received on PJSIP/tel.ru-0000012a
820 [2021-12-07 14:01:25] DTMF[29136][C-0000006a] channel.c: DTMF begin ignored ‘3’ on PJSIP/tel.ru-0000012a
821 [2021-12-07 14:01:25] DTMF[29136][C-0000006a] channel.c: DTMF end ‘3’ received on PJSIP/tel.ru-0000012a, duration 160 ms
822 [2021-12-07 14:01:25] DTMF[29136][C-0000006a] channel.c: DTMF end passthrough ‘3’ on PJSIP/tel.ru-0000012a
823 [2021-12-07 14:01:25] DTMF[29136][C-0000006a] channel.c: DTMF begin ‘5’ received on PJSIP/tel.ru-0000012a
824 [2021-12-07 14:01:25] DTMF[29136][C-0000006a] channel.c: DTMF begin ignored ‘5’ on PJSIP/tel.ru-0000012a
825 [2021-12-07 14:01:25] DTMF[29136][C-0000006a] channel.c: DTMF end ‘5’ received on PJSIP/tel.ru-0000012a, duration 180 ms
826 [2021-12-07 14:01:25] DTMF[29136][C-0000006a] channel.c: DTMF end passthrough ‘5’ on PJSIP/tel.ru-0000012a
827 [2021-12-07 14:01:43] DTMF[29216][C-0000006b] channel.c: DTMF begin ‘3’ received on PJSIP/tel.ru-0000012c
828 [2021-12-07 14:01:43] DTMF[29216][C-0000006b] channel.c: DTMF begin ignored ‘3’ on PJSIP/tel.ru-0000012c
829 [2021-12-07 14:01:43] DTMF[29216][C-0000006b] channel.c: DTMF end ‘3’ received on PJSIP/tel.ru-0000012c, duration 180 ms
830 [2021-12-07 14:01:43] DTMF[29216][C-0000006b] channel.c: DTMF end passthrough ‘3’ on PJSIP/tel.ru-0000012c
831 [2021-12-07 14:01:44] DTMF[29216][C-0000006b] channel.c: DTMF begin ‘6’ received on PJSIP/tel.ru-0000012c
832 [2021-12-07 14:01:44] DTMF[29216][C-0000006b] channel.c: DTMF begin ignored ‘6’ on PJSIP/tel.ru-0000012c
833 [2021-12-07 14:01:44] DTMF[29216][C-0000006b] channel.c: DTMF end ‘6’ received on PJSIP/tel.ru-0000012c, duration 180 ms
834 [2021-12-07 14:01:44] DTMF[29216][C-0000006b] channel.c: DTMF end passthrough ‘6’ on PJSIP/tel.ru-0000012c
835 [2021-12-07 14:02:11] DTMF[29410][C-0000006c] channel.c: DTMF begin ‘5’ received on PJSIP/tel.ru-0000012d
836 [2021-12-07 14:02:11] DTMF[29410][C-0000006c] channel.c: DTMF begin ignored ‘5’ on PJSIP/tel.ru-0000012d
837 [2021-12-07 14:02:11] DTMF[29410][C-0000006c] channel.c: DTMF end ‘5’ received on PJSIP/tel.ru-0000012d, duration 180 ms
838 [2021-12-07 14:02:11] DTMF[29410][C-0000006c] channel.c: DTMF end passthrough ‘5’ on PJSIP/tel.ru-0000012d
839 [2021-12-07 14:02:12] DTMF[29410][C-0000006c] channel.c: DTMF begin ‘0’ received on PJSIP/tel.ru-0000012d
840 [2021-12-07 14:02:12] DTMF[29410][C-0000006c] channel.c: DTMF begin ignored ‘0’ on PJSIP/tel.ru-0000012d
841 [2021-12-07 14:02:12] DTMF[29410][C-0000006c] channel.c: DTMF end ‘0’ received on PJSIP/tel.ru-0000012d, duration 180 ms
842 [2021-12-07 14:02:12] DTMF[29410][C-0000006c] channel.c: DTMF end passthrough ‘0’ on PJSIP/tel.ru-0000012d
843 [2021-12-07 14:02:29] DTMF[29514][C-0000006d] channel.c: DTMF begin ‘4’ received on PJSIP/tel.ru-0000012e
844 [2021-12-07 14:02:29] DTMF[29514][C-0000006d] channel.c: DTMF begin ignored ‘4’ on PJSIP/tel.ru-0000012e
845 [2021-12-07 14:02:29] DTMF[29514][C-0000006d] channel.c: DTMF end ‘4’ received on PJSIP/tel.ru-0000012e, duration 200 ms
846 [2021-12-07 14:02:29] DTMF[29514][C-0000006d] channel.c: DTMF end passthrough ‘4’ on PJSIP/tel.ru-0000012e
847 [2021-12-07 14:02:30] DTMF[29514][C-0000006d] channel.c: DTMF begin ‘6’ received on PJSIP/tel.ru-0000012e
848 [2021-12-07 14:02:30] DTMF[29514][C-0000006d] channel.c: DTMF begin ignored ‘6’ on PJSIP/tel.ru-0000012e
849 [2021-12-07 14:02:30] DTMF[29514][C-0000006d] channel.c: DTMF end ‘6’ received on PJSIP/tel.ru-0000012e, duration 180 ms
850 [2021-12-07 14:02:30] DTMF[29514][C-0000006d] channel.c: DTMF end passthrough ‘6’ on PJSIP/tel.ru-0000012e
It looks like the missing digits are not being transmitted by the upstream system. You could double check that using “rtp set debug on”, or using tcpdump and wireshark to capture the RTP before it reaches Asterisk.
By whatever is at the other end of the tel.ru trunk (although it could be even further up stream if the DTMF is carried out of band further away (e.g. over a mobile phone network)).
Mobile phones transmit DTMF out of band, so it could be the phone itself not sending the digits. I’d suggest calling a real landline number (no VoIP anywhere) and using something like audacity to capture and analyse the actual tones being forwarded by the mobile base station.