function Answer(call) 
{
 var  syn, temp, ok;

 call.playMessage("helloworld");
 call.waitIfPlaying(-1);

 syn = call.getSynthesizer();

 syn.speak("Please press a key on your telephone's key pad.");
 ok = call.inputWait1(1, '#', 10000);

 temp = "You pressed ";

 if ( ok )
  temp = temp + call.getChar();

 else
  temp = temp + "nothing";

 syn.speak(temp);

 syn.speak("That was easy, wasn't it?");
 syn.wait(-1);
}