dahdi_waitfor_span_assignments: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/sbin/dahdi_waitfor_span_assignments - from package: dahdi

You may install the required package with command apt-get install {package}
Error in other languages:
dahdi_waitfor_span_assignments: bevel nie gevind nie
dahdi_waitfor_span_assignments: comandă negăsită
dahdi_waitfor_span_assignments: comando não encontrado
dahdi_waitfor_span_assignments: commande introuvable
dahdi_waitfor_span_assignments: command not found
dahdi_waitfor_span_assignments: käsku ei ole
dahdi_waitfor_span_assignments: không tìm thấy lệnh
dahdi_waitfor_span_assignments: komanda nerasta
dahdi_waitfor_span_assignments: Kommando nicht gefunden.
dahdi_waitfor_span_assignments: kommandot finns inte
dahdi_waitfor_span_assignments: komut yok
dahdi_waitfor_span_assignments: nie znaleziono polecenia
dahdi_waitfor_span_assignments: níor aimsíodh an t-ordú
dahdi_waitfor_span_assignments: no se encontró la orden
dahdi_waitfor_span_assignments: no s'ha trobat l'ordre
dahdi_waitfor_span_assignments: opdracht niet gevonden
dahdi_waitfor_span_assignments: parancs nem található
dahdi_waitfor_span_assignments: perintah tidak ditemukan
dahdi_waitfor_span_assignments: príkaz nenájdený
dahdi_waitfor_span_assignments: příkaz nenalezen
dahdi_waitfor_span_assignments: команда не найдена
dahdi_waitfor_span_assignments: командата не е открита
dahdi_waitfor_span_assignments: 命令找不到
dahdi_waitfor_span_assignments: コマンドが見つかりません