mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
More contributed BSD enhancements
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@919 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -914,7 +914,7 @@ static char usage_noop[] =
|
||||
" Usage: NOOP\n"
|
||||
" Does nothing.\n";
|
||||
|
||||
agi_command commands[] = {
|
||||
static agi_command commands[] = {
|
||||
{ { "answer", NULL }, handle_answer, "Asserts answer", usage_answer },
|
||||
{ { "wait", "for", "digit", NULL }, handle_waitfordigit, "Waits for a digit to be pressed", usage_waitfordigit },
|
||||
{ { "send", "text", NULL }, handle_sendtext, "Sends text to channels supporting it", usage_sendtext },
|
||||
@@ -1343,10 +1343,10 @@ static char dumpagihtml_help[] =
|
||||
"Usage: dump agihtml <filename>\n"
|
||||
" Dumps the agi command list in html format to given filename\n";
|
||||
|
||||
struct ast_cli_entry showagi =
|
||||
static struct ast_cli_entry showagi =
|
||||
{ { "show", "agi", NULL }, handle_showagi, "Show AGI commands or specific help", showagi_help };
|
||||
|
||||
struct ast_cli_entry dumpagihtml =
|
||||
static struct ast_cli_entry dumpagihtml =
|
||||
{ { "dump", "agihtml", NULL }, handle_dumpagihtml, "Dumps a list of agi command in html format", dumpagihtml_help };
|
||||
|
||||
int unload_module(void)
|
||||
|
@@ -83,8 +83,8 @@ LOCAL_USER_DECL;
|
||||
|
||||
static float loudness=4096.0;
|
||||
|
||||
int firstdigittimeout = 20000; /* 20 seconds first digit timeout */
|
||||
int digittimeout = 10000; /* 10 seconds subsequent digit timeout */
|
||||
static int firstdigittimeout = 20000; /* 20 seconds first digit timeout */
|
||||
static int digittimeout = 10000; /* 10 seconds subsequent digit timeout */
|
||||
|
||||
static void make_tone_block(unsigned char *data, float f1, float f2, int len, int *x)
|
||||
{
|
||||
|
@@ -73,7 +73,7 @@
|
||||
#include <sys/file.h>
|
||||
#include "../astconf.h"
|
||||
|
||||
char qdir[255];
|
||||
static char qdir[255];
|
||||
static char *tdesc = "Call from Queue";
|
||||
static pthread_t qcall_thread;
|
||||
static int debug = 0;
|
||||
|
@@ -64,11 +64,11 @@
|
||||
#define BASELINELEN 72
|
||||
#define eol "\r\n"
|
||||
|
||||
int iocp;
|
||||
int iolen;
|
||||
int linelength;
|
||||
int ateof;
|
||||
unsigned char iobuf[BASEMAXINLINE];
|
||||
static int iocp;
|
||||
static int iolen;
|
||||
static int linelength;
|
||||
static int ateof;
|
||||
static unsigned char iobuf[BASEMAXINLINE];
|
||||
|
||||
static char *tdesc = "Comedian Mail (Voicemail System)";
|
||||
|
||||
|
Reference in New Issue
Block a user