[asterisk-bugs] [JIRA] Closed: (DAHLIN-105) [patch] dahdi_dialparams fields are inconsistent

Shaun Ruffell (JIRA) noreply at issues.asterisk.org
Mon Sep 10 08:04:07 CDT 2012


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

Shaun Ruffell closed DAHLIN-105.
--------------------------------

    Resolution: Fixed

Dmitry: Sorry this say unlooked at for so long.  However, I don't think this applies since [r9616 "dahdi: Move the default tone lengths into include/dahdi/dahdi_config.h"|http://svnview.digium.com/svn/dahdi?view=revision&revision=9616].  If I'm wrong please reopen. Again, my apologies for the silence on this one.

> [patch] dahdi_dialparams fields are inconsistent
> ------------------------------------------------
>
>                 Key: DAHLIN-105
>                 URL: https://issues.asterisk.org/jira/browse/DAHLIN-105
>             Project: DAHDI-Linux
>          Issue Type: Bug
>          Components: General
>            Reporter: Dmitry Andrianov
>            Severity: Minor
>         Attachments: v1-15173.patch
>
>
> DISCLAIMER
> The patch is "theoreticsl" - I just checked it compiles but I can not even test it because I'm not using DAHDI but currently running on Zaptel instead.
> While I believe the patch is right, I'm not saying it is the exact changes that needs to be applied. It is more like an illustration to a DAHDI developer with a proposed fix to the problem I discovered.
> END OF DISCLAIMER
> I found that fields of global_dialparams like dtmf_tonelen may be a bit inconsistent - these are initialized with DEFAULT_DTMF_LENGTH which is length in samples but when userspace uses DAHDI_SET_DIALPARAMS ioctl, to set the desired value, the same field receives duration in milliseconds. The ioctl_load_zone expects these fields to be length in samples thougt...
> The patch tries to remove this inconsistency by making sure that these tonelen fields are always in milliseconds. Again, needs to be revied by DAHDI guy.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list