List Info

Thread: if wierd behavior




if wierd behavior
country flaguser name
United States
2007-07-18 21:32:26
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
Bayonne-develgnu.org
h
ttp://lists.gnu.org/mailman/listinfo/bayonne-devel

RE: if wierd behavior
country flaguser name
United States
2007-07-19 21:02:27
Fixed this. It was a simple script error. Instead of
"eq" it is supposed to
be "-eq". Working fine now.

-----Original Message-----
From: bayonne-devel-bounces+whansen=corporate-image.comgnu.org
[mailto:bayonne-devel-bounces+whansen=corporate-image.comgnu.org]On Behalf
Of Walter Hansen
Sent: Wednesday, July 18, 2007 7:32 PM
To: Bayonne-develgnu.org
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
Bayonne-develgnu.org
h
ttp://lists.gnu.org/mailman/listinfo/bayonne-devel



_______________________________________________
Bayonne-devel mailing list
Bayonne-develgnu.org
h
ttp://lists.gnu.org/mailman/listinfo/bayonne-devel

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )