WaitForRing( )

WaitForRing( ) Waits the specified number of seconds for a ring

 WaitForRing(   timeout   ) 

Waits at least timeout seconds after the next ring has completed.

Returns on success or -1 on hangup.

 ; wait five seconds for a ring, and then send some DTMF digits     exten => 123,1,Answer(  )  exten => 123,2,WaitForRing(5)  exten => 123,3,SendDTMF(1234) 

Asterisk. The Future of Telephony
Asterisk: The Future of Telephony: The Future of Telephony
Year: 2001
Pages: 380

Similar book on Amazon

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