What are The Answer(), Playback(), and Hangup() Applications in Asterisk? sagitraz 05-September-2008 01:47:01 PMComments www.scribd.com/doc/18626782/shashi-sdh Posted by crouse www.the-asterisk-book.com/unstable/die-extension.html Posted by crouse Answer() The Answer() application does just that - it answers a call. When a channel rings, Answer() tells Asterisk to "lift the virtual receiver." (See also the section called “Answer()”.) Hangup() Hangup() is the opposite of Answer(). An active connection is terminated, and Asterisk "hangs up" the virtual receiver (see also the section called “Hangup()”). Playback(soundfile) This tells Asterisk to play a specified sound file. By default, it plays files found in /var/lib/asterisk/sounds/, but you can also specify another source directory. No file extension is specified because the directory may contain the same sound in different formats. Asterisk will select the most appropriate format -- more on that later (see also the section called “Playback()”). Posted by jackson |
Posted: 01-October-2008 11:39:20 PM By: jackson Answer() The Answer() application does just that - it answers a call. When a channel rings, Answer() tells Asterisk to "lift the virtual receiver." (See also the section called “Answer()”.) Hangup() Hangup() is the opposite of Answer(). An active connection is terminated, and Asterisk "hangs up" the virtual receiver (see also the section called “Hangup()”). Playback(soundfile) This tells Asterisk to play a specified sound file. By default, it plays files found in /var/lib/asterisk/sounds/, but you can also specify another source directory. No file extension is specified because the directory may contain the same sound in different formats. Asterisk will select the most appropriate format -- more on that later (see also the section called “Playback()”). | |
Posted: 26-September-2009 08:26:43 AM By: crouse www.the-asterisk-book.com/unstable/die-extension.html | |
Posted: 26-September-2009 09:04:29 AM By: crouse www.scribd.com/doc/18626782/shashi-sdh |