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;
memset(array, 0, arraylen * sizeof(char *));
#include <string.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 *synopsis =
"Forks the Call Data Record";
static char *descrip =
" ParkAndAnnounce(announce:template|timeout|dial|[return_context]):\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"
"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"
if (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");
return -1;
}
;
; codecpriority controls the codec negotiation of an inbound IAX call.
; 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:
;
; 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
; (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
;msn=50780023
* 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
* /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.
* Splitting this string into the actual path list is done by getSearchPath()
*/
int ast_app_group_match_get_count(char *groupmatch, char *category);
/*! 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. */
int ast_app_dtget(struct ast_channel *chan, const char *context, char *collect, size_t size, int maxlen, int timeout);
char context[AST_MAX_EXTENSION];
/*! Multiple Subscriber Number */
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];
- /*! 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];
/*! Group(s) we belong to if available */
ast_group_t group;
* 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
* 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>