mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 03:50:31 +00:00
Fix misspellings of separate (bug #3607)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
app.c
2
app.c
@@ -1053,7 +1053,7 @@ int ast_app_group_match_get_count(char *groupmatch, char *category)
|
|||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
|
||||||
int ast_seperate_app_args(char *buf, char delim, char **array, int arraylen)
|
int ast_separate_app_args(char *buf, char delim, char **array, int arraylen)
|
||||||
{
|
{
|
||||||
int x = 0;
|
int x = 0;
|
||||||
memset(array, 0, arraylen * sizeof(char *));
|
memset(array, 0, arraylen * sizeof(char *));
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
||||||
static char *tdesc = "Fork The CDR into 2 seperate entities.";
|
static char *tdesc = "Fork The CDR into 2 separate entities.";
|
||||||
static char *app = "ForkCDR";
|
static char *app = "ForkCDR";
|
||||||
static char *synopsis =
|
static char *synopsis =
|
||||||
"Forks the Call Data Record";
|
"Forks the Call Data Record";
|
||||||
|
@@ -41,7 +41,7 @@ static char *synopsis = "Park and Announce";
|
|||||||
static char *descrip =
|
static char *descrip =
|
||||||
" ParkAndAnnounce(announce:template|timeout|dial|[return_context]):\n"
|
" ParkAndAnnounce(announce:template|timeout|dial|[return_context]):\n"
|
||||||
"Park a call into the parkinglot and announce the call over the console.\n"
|
"Park a call into the parkinglot and announce the call over the console.\n"
|
||||||
"announce template: colon seperated list of files to announce, the word PARKED\n"
|
"announce template: colon separated list of files to announce, the word PARKED\n"
|
||||||
" will be replaced by a say_digits of the ext the call is parked in\n"
|
" will be replaced by a say_digits of the ext the call is parked in\n"
|
||||||
"timeout: time in seconds before the call returns into the return context.\n"
|
"timeout: time in seconds before the call returns into the return context.\n"
|
||||||
"dial: The app_dial style resource to call to make the announcement. Console/dsp calls the console.\n"
|
"dial: The app_dial style resource to call to make the announcement. Console/dsp calls the console.\n"
|
||||||
|
@@ -76,7 +76,7 @@ static int read_exec(struct ast_channel *chan, void *data)
|
|||||||
if (data)
|
if (data)
|
||||||
argcopy = ast_strdupa((char *)data);
|
argcopy = ast_strdupa((char *)data);
|
||||||
|
|
||||||
if (ast_seperate_app_args(argcopy, '|', args, sizeof(args) / sizeof(args[0])) < 1) {
|
if (ast_separate_app_args(argcopy, '|', args, sizeof(args) / sizeof(args[0])) < 1) {
|
||||||
ast_log(LOG_WARNING, "Cannot Parse Arguements.\n");
|
ast_log(LOG_WARNING, "Cannot Parse Arguements.\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
@@ -177,7 +177,7 @@ tos=lowdelay
|
|||||||
;
|
;
|
||||||
; codecpriority controls the codec negotiation of an inbound IAX call.
|
; codecpriority controls the codec negotiation of an inbound IAX call.
|
||||||
; This option is inherited to all user entities. It can also be defined
|
; This option is inherited to all user entities. It can also be defined
|
||||||
; in each user entity seperately which will override the setting in general.
|
; in each user entity separately which will override the setting in general.
|
||||||
;
|
;
|
||||||
; The valid values are:
|
; The valid values are:
|
||||||
;
|
;
|
||||||
|
@@ -84,7 +84,7 @@ mode=immediate
|
|||||||
; two other devices, which are in group '1' and are used when an
|
; two other devices, which are in group '1' and are used when an
|
||||||
; outgoing dial used: exten => s,1,Dial,Modem/g1:1234|60|r
|
; outgoing dial used: exten => s,1,Dial,Modem/g1:1234|60|r
|
||||||
; (we do not need more outgoing devices, since ISDN2 has only 2 channels.)
|
; (we do not need more outgoing devices, since ISDN2 has only 2 channels.)
|
||||||
; Lines can be in more than one group (0-63); comma seperated list.
|
; Lines can be in more than one group (0-63); comma separated list.
|
||||||
;
|
;
|
||||||
group=1 ; group=1,2,3,9-12
|
group=1 ; group=1,2,3,9-12
|
||||||
;msn=50780023
|
;msn=50780023
|
||||||
|
2
dlfcn.c
2
dlfcn.c
@@ -270,7 +270,7 @@ static const struct mach_header *get_mach_header_from_NSModule(NSModule * mod)
|
|||||||
* trying to locate a module. We first look at the values of LD_LIBRARY_PATH
|
* trying to locate a module. We first look at the values of LD_LIBRARY_PATH
|
||||||
* and DYLD_LIBRARY_PATH, and then finally fall back to looking into
|
* and DYLD_LIBRARY_PATH, and then finally fall back to looking into
|
||||||
* /usr/lib and /lib. Since both of the environments variables can contain a
|
* /usr/lib and /lib. Since both of the environments variables can contain a
|
||||||
* list of colon seperated paths, we simply concat them and the two other paths
|
* list of colon separated paths, we simply concat them and the two other paths
|
||||||
* into one big string, which we then can easily parse.
|
* into one big string, which we then can easily parse.
|
||||||
* Splitting this string into the actual path list is done by getSearchPath()
|
* Splitting this string into the actual path list is done by getSearchPath()
|
||||||
*/
|
*/
|
||||||
|
@@ -95,7 +95,7 @@ int ast_app_group_get_count(char *group, char *category);
|
|||||||
int ast_app_group_match_get_count(char *groupmatch, char *category);
|
int ast_app_group_match_get_count(char *groupmatch, char *category);
|
||||||
|
|
||||||
/*! Create an argc argv type structure for app args */
|
/*! Create an argc argv type structure for app args */
|
||||||
int ast_seperate_app_args(char *buf, char delim, char **array, int arraylen);
|
int ast_separate_app_args(char *buf, char delim, char **array, int arraylen);
|
||||||
|
|
||||||
/*! Present a dialtone and collect a certain length extension. Returns 1 on valid extension entered, -1 on hangup, or 0 on invalid extension. */
|
/*! Present a dialtone and collect a certain length extension. Returns 1 on valid extension entered, -1 on hangup, or 0 on invalid extension. */
|
||||||
int ast_app_dtget(struct ast_channel *chan, const char *context, char *collect, size_t size, int maxlen, int timeout);
|
int ast_app_dtget(struct ast_channel *chan, const char *context, char *collect, size_t size, int maxlen, int timeout);
|
||||||
|
@@ -111,9 +111,9 @@ struct ast_modem_pvt {
|
|||||||
char context[AST_MAX_EXTENSION];
|
char context[AST_MAX_EXTENSION];
|
||||||
/*! Multiple Subscriber Number */
|
/*! Multiple Subscriber Number */
|
||||||
char msn[AST_MAX_EXTENSION];
|
char msn[AST_MAX_EXTENSION];
|
||||||
/*! Multiple Subscriber Number we listen to (; seperated list) */
|
/*! Multiple Subscriber Number we listen to (; separated list) */
|
||||||
char incomingmsn[AST_MAX_EXTENSION];
|
char incomingmsn[AST_MAX_EXTENSION];
|
||||||
/*! Multiple Subscriber Number we accept for outgoing calls (; seperated list) */
|
/*! Multiple Subscriber Number we accept for outgoing calls (; separated list) */
|
||||||
char outgoingmsn[AST_MAX_EXTENSION];
|
char outgoingmsn[AST_MAX_EXTENSION];
|
||||||
/*! Group(s) we belong to if available */
|
/*! Group(s) we belong to if available */
|
||||||
ast_group_t group;
|
ast_group_t group;
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
* This set of function allow us to play a list of tones on a channel.
|
* This set of function allow us to play a list of tones on a channel.
|
||||||
* Each element has two frequencies, which are mixed together and a
|
* Each element has two frequencies, which are mixed together and a
|
||||||
* duration. For silence both frequencies can be set to 0.
|
* duration. For silence both frequencies can be set to 0.
|
||||||
* The playtones can be given as a comma seperated string.
|
* The playtones can be given as a comma separated string.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
Reference in New Issue
Block a user