35#include <dahdi/user.h> 
   65static char *
app = 
"Flash";
 
   71    i = DAHDI_IOMUX_SIGEVENT;
 
   72    if (ioctl(fd, DAHDI_IOMUX, &i) == -1) 
return -1;
 
   73    if (ioctl(fd, DAHDI_GETEVENT, &j) == -1) 
return -1;
 
 
   81    struct dahdi_params dahdip;
 
   88    memset(&dahdip, 0, 
sizeof(dahdip));
 
   91        if (dahdip.sigtype & __DAHDI_SIG_FXS) {
 
   94            if (!res || (
errno == EINPROGRESS)) {
 
 
static int dahdi_wait_event(int fd)
static int flash_exec(struct ast_channel *chan, const char *data)
static int load_module(void)
static int unload_module(void)
Asterisk main include file. File version handling, generic pbx functions.
General Asterisk PBX channel definitions.
const char * ast_channel_name(const struct ast_channel *chan)
int ast_channel_fd(const struct ast_channel *chan, int which)
int ast_safe_sleep(struct ast_channel *chan, int ms)
Wait for a specified amount of time, looking for hangups.
Generic File Format Support. Should be included by clients of the file handling routines....
General Asterisk channel definitions for image handling.
#define ast_verb(level,...)
Asterisk locking-related definitions:
Asterisk module definitions.
#define AST_MODULE_INFO_STANDARD(keystr, desc)
#define ASTERISK_GPL_KEY
The text the key() function should return.
int ast_unregister_application(const char *app)
Unregister an application.
#define ast_register_application_xml(app, execute)
Register an application using XML documentation.
Core PBX routines and definitions.
Structure to describe a channel "technology", ie a channel driver See for examples:
Main Channel structure associated with a channel.
Support for translation of data formats. translate.c.