Skip to content

asterisk: fix getAllLines() in util.sh

Markus Gothe requested to merge (removed):fix-util-script into devel

This commit fixes getAllLines() to not use hard-coded number of lines. Instead we look at hw.board.VoicePorts and enumerates the ports from the value.

This solves an issue with the FT-P3414B which only has one FXS port.

Edited by Markus Gothe

Merge request reports