aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-14 20:46:50 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-14 20:46:50 +0000
commit95fe2b8fd4f3d52c2a4b86931266af889e748e84 (patch)
treeb90e51c1cacd3ab396da5863aeb9c5152f0f85c3 /funcs
parent9ffe7a545d976f395906d78042216dcfd46d5224 (diff)
update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rwxr-xr-xfuncs/func_callerid.c21
-rwxr-xr-xfuncs/func_cdr.c22
-rwxr-xr-xfuncs/func_db.c19
-rwxr-xr-xfuncs/func_enum.c19
-rwxr-xr-xfuncs/func_env.c21
-rwxr-xr-xfuncs/func_groupcount.c21
-rwxr-xr-xfuncs/func_language.c21
-rwxr-xr-xfuncs/func_logic.c21
-rwxr-xr-xfuncs/func_math.c19
-rwxr-xr-xfuncs/func_md5.c19
-rwxr-xr-xfuncs/func_moh.c21
-rwxr-xr-xfuncs/func_strings.c19
-rwxr-xr-xfuncs/func_timeout.c23
-rwxr-xr-xfuncs/func_uri.c24
-rwxr-xr-xfuncs/pbx_functions.c23
15 files changed, 242 insertions, 71 deletions
diff --git a/funcs/func_callerid.c b/funcs/func_callerid.c
index b5cb68490..de24211fe 100755
--- a/funcs/func_callerid.c
+++ b/funcs/func_callerid.c
@@ -1,12 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Caller ID related dialplan functions
- *
- * Copyright (C) 2005, Digium, Inc.
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
*
* This program is free software, distributed under the terms of
- * the GNU General Public License
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ *
+ * Caller ID related dialplan functions
+ *
*/
#include <stdlib.h>
diff --git a/funcs/func_cdr.c b/funcs/func_cdr.c
index 1a6dc07ec..c3037bf5a 100755
--- a/funcs/func_cdr.c
+++ b/funcs/func_cdr.c
@@ -1,13 +1,25 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
+ *
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
- * Call Detail Record related dialplan functions
- *
- * Copyright (C) 2005, Digium, Inc.
* Portions Copyright (C) 2005, Anthony Minessale II
*
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
+ *
* This program is free software, distributed under the terms of
- * the GNU General Public License
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ *
+ * Call Detail Record related dialplan functions
+ *
*/
#include <stdlib.h>
diff --git a/funcs/func_db.c b/funcs/func_db.c
index d9b60d653..e3256644f 100755
--- a/funcs/func_db.c
+++ b/funcs/func_db.c
@@ -1,16 +1,27 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Functions for interaction with the Asterisk database
- *
* Copyright (C) 2005, Russell Bryant <russelb@clemson.edu>
*
* func_db.c adapted from the old app_db.c, copyright by the following people
* Copyright (C) 2005, Mark Spencer <markster@digium.com>
* Copyright (C) 2003, Jefferson Noxon <jeff@debian.org>
*
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
+ *
* This program is free software, distributed under the terms of
- * the GNU General Public License
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ *
+ * Functions for interaction with the Asterisk database
+ *
*/
#include <stdlib.h>
diff --git a/funcs/func_enum.c b/funcs/func_enum.c
index 3128047e4..51d96e85a 100755
--- a/funcs/func_enum.c
+++ b/funcs/func_enum.c
@@ -1,14 +1,25 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
- *
- * Enum Functions
+ * Asterisk -- An open source telephony toolkit.
*
* Copyright (C) 2005
*
* Oleksiy Krivoshey <oleksiyk@gmail.com>
*
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
+ *
* This program is free software, distributed under the terms of
- * the GNU General Public License
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ *
+ * Enum Functions
+ *
*/
#include <stdlib.h>
diff --git a/funcs/func_env.c b/funcs/func_env.c
index 827dfec97..972b92dae 100755
--- a/funcs/func_env.c
+++ b/funcs/func_env.c
@@ -1,12 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Environment related dialplan functions
- *
- * Copyright (C) 2005, Digium, Inc.
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
*
* This program is free software, distributed under the terms of
- * the GNU General Public License
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ *
+ * Environment related dialplan functions
+ *
*/
#include <stdlib.h>
diff --git a/funcs/func_groupcount.c b/funcs/func_groupcount.c
index 54e6e1084..55aa43086 100755
--- a/funcs/func_groupcount.c
+++ b/funcs/func_groupcount.c
@@ -1,12 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Channel group related dialplan functions
- *
- * Copyright (C) 2005, Digium, Inc.
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
*
* This program is free software, distributed under the terms of
- * the GNU General Public License
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ *
+ * Channel group related dialplan functions
+ *
*/
#include <stdlib.h>
diff --git a/funcs/func_language.c b/funcs/func_language.c
index cce6a8370..8c48ad66c 100755
--- a/funcs/func_language.c
+++ b/funcs/func_language.c
@@ -1,12 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Language related dialplan functions
- *
- * Copyright (C) 2005, Digium, Inc.
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
*
* This program is free software, distributed under the terms of
- * the GNU General Public License
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ *
+ * Language related dialplan functions
+ *
*/
#include <stdlib.h>
diff --git a/funcs/func_logic.c b/funcs/func_logic.c
index 7c9c1af1b..d041c4d17 100755
--- a/funcs/func_logic.c
+++ b/funcs/func_logic.c
@@ -1,13 +1,24 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Conditional logic dialplan functions
- *
- * Copyright (C) 2005, Digium, Inc.
+ * Copyright (C) 1999 - 2005, Digium, Inc.
* Portions Copyright (C) 2005, Anthony Minessale II
*
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
+ *
* This program is free software, distributed under the terms of
- * the GNU General Public License
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ *
+ * Conditional logic dialplan functions
+ *
*/
#include <stdlib.h>
diff --git a/funcs/func_math.c b/funcs/func_math.c
index 9a6a6eab9..8b9cb92d2 100755
--- a/funcs/func_math.c
+++ b/funcs/func_math.c
@@ -1,12 +1,25 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Maths relatad dialplan functions
- *
* Copyright (C) 2004 - 2005, Andy Powell
*
* Updated by Mark Spencer <markster@digium.com>
*
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
+ *
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ *
+ * Maths relatad dialplan functions
+ *
*/
#include <stdlib.h>
diff --git a/funcs/func_md5.c b/funcs/func_md5.c
index 254c31a68..784e49c5d 100755
--- a/funcs/func_md5.c
+++ b/funcs/func_md5.c
@@ -1,14 +1,25 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * MD5 digest related dialplan functions
- *
* Copyright (C) 2005, Digium, Inc.
* Copyright (C) 2005, Olle E. Johansson, Edvina.net
* Copyright (C) 2005, Russell Bryant <russelb@clemson.edu>
*
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
+ *
* This program is free software, distributed under the terms of
- * the GNU General Public License
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ *
+ * MD5 digest related dialplan functions
+ *
*/
#include <stdlib.h>
diff --git a/funcs/func_moh.c b/funcs/func_moh.c
index f3e720b9a..d747ee52b 100755
--- a/funcs/func_moh.c
+++ b/funcs/func_moh.c
@@ -1,14 +1,25 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Functions for reading or setting the MusicOnHold class
- *
- * Copyright (C) 2005, Digium, Inc.
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
* Russell Bryant <russelb@clemson.edu>
*
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
+ *
* This program is free software, distributed under the terms of
- * the GNU General Public License
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ *
+ * Functions for reading or setting the MusicOnHold class
+ *
*/
#include <stdlib.h>
diff --git a/funcs/func_strings.c b/funcs/func_strings.c
index 7b6e072a0..77933b6db 100755
--- a/funcs/func_strings.c
+++ b/funcs/func_strings.c
@@ -1,14 +1,25 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * String manipulation dialplan functions
- *
* Copyright (C) 2005, Digium, Inc.
* Portions Copyright (C) 2005, Tilghman Lesher. All rights reserved.
* Portions Copyright (C) 2005, Anthony Minessale II
*
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
+ *
* This program is free software, distributed under the terms of
- * the GNU General Public License
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ *
+ * String manipulation dialplan functions
+ *
*/
#include <stdlib.h>
diff --git a/funcs/func_timeout.c b/funcs/func_timeout.c
index 76c11e360..5d869d195 100755
--- a/funcs/func_timeout.c
+++ b/funcs/func_timeout.c
@@ -1,12 +1,25 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Channel timeout related dialplan functions
- *
- * Copyright (C) 2005, Digium, Inc.
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
+ *
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
*
* This program is free software, distributed under the terms of
- * the GNU General Public License
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ *
+ * Channel timeout related dialplan functions
+ *
*/
#include <stdlib.h>
diff --git a/funcs/func_uri.c b/funcs/func_uri.c
index 8617e3dde..28cf205c8 100755
--- a/funcs/func_uri.c
+++ b/funcs/func_uri.c
@@ -1,16 +1,28 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
+ *
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Created by Olle E. Johansson, Edvina.net
+ *
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
+ *
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
*
* URI encoding / decoding
*
* For now this code only supports 8 bit characters, not unicode,
* which we ultimately will need to support.
*
- * Copyright (C) 2005, Digium, Inc.
- * Created by Olle E. Johansson, Edvina.net
- *
- * This program is free software, distributed under the terms of
- * the GNU General Public License
*/
#include <stdlib.h>
diff --git a/funcs/pbx_functions.c b/funcs/pbx_functions.c
index 4b9799104..9944f0b9e 100755
--- a/funcs/pbx_functions.c
+++ b/funcs/pbx_functions.c
@@ -1,14 +1,25 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Builtin dialplan functions
- *
- * Copyright (C) 2005, Digium, Inc.
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Kevin P. Fleming <kpfleming@digium.com>
*
- * Kevin P. Fleming <kpfleming@digium.com>
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
*
* This program is free software, distributed under the terms of
- * the GNU General Public License
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ *
+ * Builtin dialplan functions
+ *
*/
#include <sys/types.h>