Fixed this. It was a simple script error. Instead of "eq" it is supposed to
be "-eq". Working fine now.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf
Of Walter Hansen
Sent: Wednesday, July 18, 2007 7:32 PM
To: [email protected]
Subject: [Bayonne-devel] if wierd behavior

This script is recording ten seconds regardless of the value of %lastdialed.
Am I coding this wrong? This is bayonne 1.x stable.

if %lastdialed eq "0000\-00\-00\ 00:00:00"
  then
    slog "recording prompt"
    record maxTime=10 %file
  else
    sleep 10
  endif




_______________________________________________
Bayonne-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bayonne-devel



_______________________________________________
Bayonne-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bayonne-devel

Reply via email to