[asterisk-bugs] [JIRA] (DAHTOOL-82) dahdi_span_assignments fails because of missing "spantypes"

Oron Peled (JIRA) noreply at issues.asterisk.org
Mon Mar 18 12:37:47 CDT 2019


    [ https://issues.asterisk.org/jira/browse/DAHTOOL-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246593#comment-246593 ] 

Oron Peled edited comment on DAHTOOL-82 at 3/18/19 12:36 PM:
-------------------------------------------------------------

Both patches were tested on {{Debian/buster}} as follows:
* DAHDI and Asterisk were installed directly from Debian repositories.
* The scripts were replaced with the upstream scripts (the patches are against upstream and not older versions included in Debian)
* An Astribank with E1/T1 modules was connected.
* The issue was observed.
* The patches were applied to the 3 scripts.
* After the patch, registration works OK.

As a safety, the patches were tested under old installation:
* A Xorcom Spark (Debian/jessie on armhf -- kernel 4.8.4)
* The scripts were patched (they were already aligned to upstream versions before patch)
* The system was rebooted.
* The built-in devices (FXS + FXO) registered and functioned as before.



was (Author: oron):
Both patches were tested on {{Debian/buster}} as follows:
* DAHDI and Asterisk were installed directly from Debian repositories.
* The scripts were replaced with the upstream scripts (the patches are against upstream and not older versions included in Debian)
* An Astribank with E1/T1 modules was connected.
* The issue was observed.
* The patches were applied to the 3 scripts.
* After the patch, registration works OK.

As a safety, the patches were tested under old installation:
* A Xorcom Spark (Debian/jessie on armhf)
* The scripts were patched (they were already aligned to upstream versions before patch)
* The system was rebooted.
* The built-in devices (FXS + FXO) registered and functioned as before.


> dahdi_span_assignments fails because of missing "spantypes"
> -----------------------------------------------------------
>
>                 Key: DAHTOOL-82
>                 URL: https://issues.asterisk.org/jira/browse/DAHTOOL-82
>             Project: DAHDI-Tools
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>    Affects Versions: 2.10.0
>            Reporter: Tzafrir Cohen
>            Assignee: Keith Morgan
>              Labels: patch
>         Attachments: 0001-handle-both-spantypes-and-dahdi_spantypes-in-sysfs.patch, dahdi_waitfor_span_assignments.patch
>
>
> With recent dahdi-linux the interface to userspace was slightly modified: the sysfs device attribute "spantypes" was replaced with "dahdi_spantypes".
> This causes dahdi_span_assignment and dahdi_span_types to fail.
> Attached a fix to handle both the old and the new interface.



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



More information about the asterisk-bugs mailing list