On my 2.8.0.3 TB server is installed a Sangoma A200 card with two FXO each connected to a differente PSTN line.
In my FOP2 panel only one DAHADI channel is showed even if all the two channels works well in my phone system.
This is an extraxt of autoconfig-buttons-freepbx.sh :
DAHDI=`asterisk -rx "dahdi show channels" | grep -v from-internal | grep -v pseudo | grep -v Language | awk '{print $1}' | head -n 1`
if [ "X${DAHDI}" != "X" ]; then
echo
echo "[DAHDI/$DAHDI]"
echo "type=trunk"
echo "label=Telecom Italia 1"
asterisk -rx "dahdi show channels" | grep -v from-internal | grep -v pseudo | grep -v Language | awk '{print $1}' | tail -n +2 | while read LINEA
do
echo "channel=DAHDI/$LINEA"
done
fi
Is needed any different configuration in the autoconfig-buttons-freepbx.sh to show even the second dahdi channel?
Thanks in advance.
Ing. Cosimo MERCURO
Mercuro for Business