Asterisk - The Open Source Telephony Project  21.4.1
Functions | Variables
res_cliexec.c File Reference

Execute dialplan applications from the CLI. More...

#include "asterisk.h"
#include "asterisk/channel.h"
#include "asterisk/pbx.h"
#include "asterisk/module.h"
#include "asterisk/cli.h"
#include "asterisk/utils.h"
#include "asterisk/frame.h"
#include "asterisk/format_cache.h"

Go to the source code of this file.

Functions

 AST_MODULE_INFO_STANDARD_EXTENDED (ASTERISK_GPL_KEY,"Simple dialplan execution from the CLI")
 
static char * handle_exec (struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
 CLI support for executing application.
 
static int load_module (void)
 
static int unload_module (void)
 

Variables

static int cli_chan = 0
 
static struct ast_cli_entry cli_cliorig []
 
static const struct ast_channel_tech mock_channel_tech
 

Detailed Description

Execute dialplan applications from the CLI.

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

Definition in file res_cliexec.c.

Variable Documentation

struct ast_cli_entry cli_cliorig[]
static
Initial value:
= {
{ .handler = handle_exec , .summary = "Execute a dialplan application" ,},
}
static char * handle_exec(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
CLI support for executing application.
Definition: res_cliexec.c:48

Definition at line 144 of file res_cliexec.c.

const struct ast_channel_tech mock_channel_tech
static
Initial value:
= {
}

Definition at line 42 of file res_cliexec.c.