aplusmiami

Member

Last active 15 years ago

  1. 15 years ago
    Wed Sep 30 15:00:37 2009
    aplusmiami started the conversation dahdi trixbox and trunks.

    FYI.. I could not get the auto-config-buttons-freepbx.sh to detect dahdi trunks in trixbox latest build.

    I modfied the script as follows in order to get it to work:

    FROM:

    DAHDI=`asterisk -rx "zap show channels" | grep -v from-internal | grep -v pseudo | grep -v Language | awk '{print $1}' | head -n 1`

    TO:

    DAHDI=`asterisk -rx "dahdi show channels" | grep -v from-internal | grep -v pseudo | grep -v Language | awk '{print $1}' | head -n 1`

    ALSO--------

    FROM:

    asterisk -rx "zap show channels" | grep -v from-internal | grep -v pseudo | grep -v Language | awk '{print $1}' | tail -n 2 | while read LINEA

    TO:

    asterisk -rx "dahdi show channels" | grep -v from-internal | grep -v pseudo | grep -v Language | awk '{print $1}' | tail -n +2 | while read LINEA