#include <stdio.h>#include <stdlib.h>#include <pthread.h>#include <string.h>#include <sys/time.h>#include <signal.h>#include <errno.h>#include <unistd.h>#include <math.h>#include <asterisk/pbx.h>#include <asterisk/frame.h>#include <asterisk/sched.h>#include <asterisk/options.h>#include <asterisk/channel.h>#include <asterisk/channel_pvt.h>#include <asterisk/logger.h>#include <asterisk/file.h>#include <asterisk/translate.h>#include <asterisk/manager.h>#include <asterisk/chanvars.h>#include <asterisk/linkedlists.h>#include <asterisk/indications.h>Include dependency graph for autoservice.c:

Go to the source code of this file.
Data Structures | |
| struct | asent |
Defines | |
| #define | MAX_AUTOMONS 256 |
Functions | |
| AST_MUTEX_DEFINE_STATIC (autolock) | |
| int | ast_autoservice_start (struct ast_channel *chan) |
| int | ast_autoservice_stop (struct ast_channel *chan) |
|
|
Definition at line 37 of file autoservice.c. |
|
|
Automatically service a channel for us... Definition at line 87 of file autoservice.c. References ast_log(), ast_mutex_lock, ast_mutex_unlock, AST_PTHREADT_NULL, free, LOG_WARNING, malloc, asent::next, and ast_channel::next. Referenced by ast_dtmf_stream(), ast_get_enum(), ast_get_srv(), and ast_get_txt().
|
|
|
Stop servicing a channel for us... Returns -1 on error or if channel has been hungup Definition at line 123 of file autoservice.c. References ast_channel::_softhangup, ast_mutex_lock, ast_mutex_unlock, AST_PTHREADT_NULL, ast_channel::blocking, free, and asent::next. Referenced by ast_dtmf_stream(), ast_get_enum(), ast_get_srv(), and ast_get_txt().
|
|
|
|
1.3.7