Mrd telment enervé que j'ai oublié ca merci beaucoup , il me reste juste a faire mon petit AGI ou DeadAGI je sais pas, c juste pour faire rappeller la personne si £REASON est égal (0 ou...ou 8)
le script est trés simple
Code:
#!/bin/bash
EtatLigne=$1
if [ $EtatLigne -eq "0" ] || [ $EtatLigne -eq "1" ] || [ $EtatLigne s-eq "3" ]|| [ $EtatLigne -eq "5" ] || [ $EtatLigne -eq "8" ] ; then
./test_1.sh;
fi
et coté Dialplan j'ai mis ca :
Code:
exten => failed,1,AGI(/tmp/ConvertFile/script_test.agi |${REASON})
Merci