Answer( )


Answer( ) Answers a channel, if it is ringing

 Answer(  ) 

Causes Asterisk to answer the channel if it is currently ringing. If the current channel is not ringing, this application does nothing.

It is usually a good idea to use Answer( ) on the channel before calling any other applications, unless you have a very good reason not to. Most applications require that the channel be answered before they are called, and may not work correctly otherwise .

Returns unless it tries to answer the channel and fails.

  exten => 123,1,Answer(  )  exten => 123,2,Wait(1)     exten => 123,3,Playback(tt-weasels) 

See Also

Hangup( )



Asterisk. The Future of Telephony
Asterisk: The Future of Telephony: The Future of Telephony
ISBN: B0026OR3OO
EAN: N/A
Year: 2001
Pages: 380

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net