This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
void | ast_install_music_functions (int(*start_ptr)(struct ast_channel *, char *), void(*stop_ptr)(struct ast_channel *), void(*cleanup_ptr)(struct ast_channel *)) |
void | ast_moh_cleanup (struct ast_channel *chan) |
int | ast_moh_start (struct ast_channel *chan, char *mclass) |
void | ast_moh_stop (struct ast_channel *chan) |
void | ast_uninstall_music_functions (void) |
Definition in file musiconhold.h.
|
Definition at line 3787 of file channel.c. References ast_moh_cleanup_ptr, ast_moh_start_ptr, and ast_moh_stop_ptr. Referenced by load_module(), and reload(). 03791 { 03792 ast_moh_start_ptr = start_ptr; 03793 ast_moh_stop_ptr = stop_ptr; 03794 ast_moh_cleanup_ptr = cleanup_ptr; 03795 }
|
|
Definition at line 3823 of file channel.c. References ast_moh_cleanup_ptr. Referenced by ast_channel_free(). 03824 { 03825 if(ast_moh_cleanup_ptr) 03826 ast_moh_cleanup_ptr(chan); 03827 }
|
|
Turn on music on hold on a given channel Definition at line 3805 of file channel.c. References ast_moh_start_ptr, ast_verbose(), option_verbose, and VERBOSE_PREFIX_3. Referenced by __login_exec(), agent_hangup(), ast_park_call(), builtin_atxfer(), builtin_blindtransfer(), cb_events(), conf_run(), dial_exec_full(), do_parking_thread(), handle_request(), handle_setmusic(), moh0_exec(), moh1_exec(), moh3_exec(), pbx_builtin_waitexten(), process_sdp(), queue_exec(), retrydial_exec(), say_periodic_announcement(), say_position(), socket_read(), zt_handle_event(), and zt_hangup(). 03806 { 03807 if (ast_moh_start_ptr) 03808 return ast_moh_start_ptr(chan, mclass); 03809 03810 if (option_verbose > 2) 03811 ast_verbose(VERBOSE_PREFIX_3 "Music class %s requested but no musiconhold loaded.\n", mclass ? mclass : "default"); 03812 03813 return 0; 03814 }
|
|
Turn off music on hold on a given channel Definition at line 3817 of file channel.c. References ast_moh_stop_ptr. Referenced by __zt_exception(), agent_new(), attempt_transfer(), builtin_atxfer(), builtin_blindtransfer(), cb_events(), conf_run(), dial_exec_full(), do_parking_thread(), handle_hd_hf(), handle_request(), handle_request_bye(), handle_request_refer(), handle_setmusic(), misdn_transfer_bc(), moh0_exec(), moh1_exec(), moh4_exec(), park_exec(), pbx_builtin_waitexten(), process_sdp(), queue_exec(), retrydial_exec(), say_periodic_announcement(), say_position(), socket_read(), ss_thread(), try_calling(), zt_handle_event(), and zt_hangup(). 03818 { 03819 if(ast_moh_stop_ptr) 03820 ast_moh_stop_ptr(chan); 03821 }
|
|
Definition at line 3797 of file channel.c. References ast_moh_cleanup_ptr, ast_moh_start_ptr, and ast_moh_stop_ptr. 03798 { 03799 ast_moh_start_ptr = NULL; 03800 ast_moh_stop_ptr = NULL; 03801 ast_moh_cleanup_ptr = NULL; 03802 }
|