[fso m3] vibrate over and over
arne anka
openmoko at ginguppin.de
Thu Sep 18 22:01:42 CEST 2008
> I had at least one missed call, I can't find a call log, so it may have
> been more.
numbers are in zhone.log.
i hacked an ugly script extracting those numbers -- but if you reboot,
zhone.log is created fom scratch (still want to do it in python, but the
documentation is ... sparse and hard to find).
the script puts out date, time and number
#!/bin/bash
LINES=`grep "CALL STATUS" /tmp/zhone.log | grep incoming`
declare -a LINE
LINE=(`echo $LINES`)
#echo ${LINE[@]}
echo "CALLS"
for (( i=0;i<${#LINE[@]};i++ )); do
if [ $(($i%21)) = 0 ]; then
echo ${LINE[$i]} ${LINE[$((i+1))]} ":" `echo ${LINE[$(($i+12))]}
| cut -f2 -d"'" -`
fi
done
echo "DONE"
More information about the support
mailing list