B.9. Answer()

Answers a ringing channel.
Instructs Asterisk to answer the channel if it is ringing. If the channel is not ringing, this application has no effect.
It is generally recommended that the channel be answered before other applications are called, unless there is a specific reason for not doing so. Most applications require that the channel be answered before they are run; if this is not done, the behavior may be unexpected.
The optional delay parameter specifies how long Asterisk should wait, in milliseconds, before answering the channel.
Returns 0 upon success.
exten => 123,1,Answer()
exten => 123,n,Wait(1)
exten => 123,n,Playback(hello)
exten => 123,n,Hangup()


Internal help for this application in Asterisk 1.4:
  -= Info about application 'Answer' =- 

Answer a channel if ringing

  Answer([delay]): If the call has not been answered, this application will
answer it. Otherwise, it has no effect on the call. If a delay is specified,
Asterisk will wait this number of milliseconds before answering the call.
diff output to internal help in Asterisk 1.2:
- none -