Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

musiconhold.h

Go to the documentation of this file.
00001 /*
00002  * Asterisk -- A telephony toolkit for Linux.
00003  *
00004  * Options provided by main asterisk program
00005  * 
00006  * Copyright (C) 1999, Mark Spencer
00007  *
00008  * Mark Spencer <markster@linux-support.net>
00009  *
00010  * This program is free software, distributed under the terms of
00011  * the GNU General Public License
00012  */
00013 
00014 #ifndef _ASTERISK_MOH_H
00015 #define _ASTERISK_MOH_H
00016 
00017 #if defined(__cplusplus) || defined(c_plusplus)
00018 extern "C" {
00019 #endif
00020 
00021 /*! Turn on music on hold on a given channel */
00022 extern int ast_moh_start(struct ast_channel *chan, char *mclass);
00023 
00024 /*! Turn off music on hold on a given channel */
00025 extern void ast_moh_stop(struct ast_channel *chan);
00026 
00027 #if defined(__cplusplus) || defined(c_plusplus)
00028 }
00029 #endif
00030 
00031 
00032 
00033 #endif

Generated on Sat Nov 25 19:09:40 2006 for Asterisk by  doxygen 1.4.2