[asterisk-bugs] [JIRA] (ASTERISK-27922) Force AST_FRAME_DTMF_END on AST_FRAME_DTMF_BEGIN

Fiftyz Fifty (JIRA) noreply at issues.asterisk.org
Sat Jun 16 07:58:54 CDT 2018


Fiftyz Fifty created ASTERISK-27922:
---------------------------------------

             Summary: Force AST_FRAME_DTMF_END on AST_FRAME_DTMF_BEGIN
                 Key: ASTERISK-27922
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27922
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/General
    Affects Versions: 13.20.0
            Reporter: Fiftyz Fifty


My logs look like this:
{code}
channel.c: DTMF begin '2' received on Dongle/dongle1-0100000033
channel.c: DTMF begin passthrough '2' on Dongle/dongle1-0100000033
channel.c: DTMF begin '2' received on Dongle/dongle1-0100000033
channel.c: DTMF begin passthrough '2' on Dongle/dongle1-0100000033
{code}
and DTMF are not detected because an AST_FRAME_DTMF_END is never received.
I think, but I'm not a very good C programmer, in channel.c,  function *__ast_read(), frame switch, case AST_FRAME_DTMF_BEGIN case, if (ast_test_flag(ast_channel_flags(chan), AST_FLAG_IN_DTMF)) is true an end  dtmf frame should be forced before AST_FRAME_DTMF_BEGIN frame because cannot be 2 DTMF tones simultaneus on a channel but I don't know how this can be done in C.





--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list