asterisk: fix getAllLines() in util.sh
This 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.
Please register or sign in to comment