Asterisk - The Open Source Telephony Project
21.4.1
|
Call Parking CLI commands. More...
#include "asterisk.h"
#include "res_parking.h"
#include "asterisk/config.h"
#include "asterisk/config_options.h"
#include "asterisk/utils.h"
#include "asterisk/module.h"
#include "asterisk/cli.h"
#include "asterisk/astobj2.h"
#include "asterisk/features.h"
#include "asterisk/manager.h"
Go to the source code of this file.
Data Structures | |
struct | parking_lot_complete |
Functions | |
static void | cli_display_parking_global (int fd) |
static void | cli_display_parking_lot (int fd, const char *name) |
static void | cli_display_parking_lot_list (int fd) |
static char * | complete_parking_lot (const char *word, int seeking) |
static int | complete_parking_lot_search (void *obj, void *arg, void *data, int flags) |
static void | display_parked_call (struct parked_user *user, int fd) |
static int | display_parked_users_cb (void *obj, void *arg, int flags) |
static void | display_parking_lot (struct parking_lot *lot, int fd) |
static int | display_parking_lot_cb (void *obj, void *arg, int flags) |
static char * | handle_show_parking_lot_cmd (struct ast_cli_entry *e, int cmd, struct ast_cli_args *a) |
command parking show <name> | |
int | load_parking_ui (void) |
Register CLI commands. More... | |
void | unload_parking_ui (void) |
Unregister CLI commands. More... | |
Variables | |
static struct ast_cli_entry | cli_parking_lot [] |
Call Parking CLI commands.
Definition in file parking_ui.c.
int load_parking_ui | ( | void | ) |
Register CLI commands.
0 | if successful |
-1 | on failure |
Definition at line 198 of file parking_ui.c.
References ast_cli_register_multiple.
void unload_parking_ui | ( | void | ) |
Unregister CLI commands.
Definition at line 203 of file parking_ui.c.
References ast_cli_unregister_multiple().
|
static |
Definition at line 194 of file parking_ui.c.