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

Joshua Colp (JIRA) noreply at issues.asterisk.org
Mon Jun 18 08:03:54 CDT 2018


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp closed ASTERISK-27922.
----------------------------------

    Resolution: Not A Bug

This is a violation of the use of DTMF frames. A channel driver should not raise an AST_FRAME_DTMF_BEGIN without ending any previous DTMF digit.

> 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