Asterisk - The Open Source Telephony Project  21.4.1
Data Structures | Functions | Variables
app_dtmfstore.c File Reference

Technology independent asynchronous DTMF collection. More...

#include "asterisk.h"
#include "asterisk/module.h"
#include "asterisk/channel.h"
#include "asterisk/pbx.h"
#include "asterisk/framehook.h"
#include "asterisk/app.h"
#include "asterisk/conversions.h"

Go to the source code of this file.

Data Structures

struct  dtmf_store_data
 Private data structure used with the function's datastore. More...
 

Functions

 AST_MODULE_INFO_STANDARD_EXTENDED (ASTERISK_GPL_KEY,"Technology independent async DTMF storage")
 
static void datastore_destroy_cb (void *data)
 
static struct ast_framedtmf_store_framehook (struct ast_channel *chan, struct ast_frame *f, enum ast_framehook_event event, void *data)
 Frame hook that is called to intercept digit/undigit.
 
static int dtmfstore_exec (struct ast_channel *chan, const char *appdata)
 
static int load_module (void)
 
static int remove_dtmf_store (struct ast_channel *chan)
 
static int unload_module (void)
 

Variables

static char * app = "StoreDTMF"
 
static const struct ast_datastore_info dtmf_store_datastore
 The channel datastore the function uses to store state. More...
 

Detailed Description

Technology independent asynchronous DTMF collection.

Author
Naveen Albert aster.nosp@m.isk@.nosp@m.phrea.nosp@m.knet.nosp@m..org

Definition in file app_dtmfstore.c.

Variable Documentation

const struct ast_datastore_info dtmf_store_datastore
static
Initial value:
= {
.type = "dtmf_store",
.destroy = datastore_destroy_cb
}

The channel datastore the function uses to store state.

Definition at line 105 of file app_dtmfstore.c.