russell
184bfd1c04
update res_odbc to support pooled connections
...
(from tilghman's developer branch, res_odbc_rewrite)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21181 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-18 18:16:32 +00:00
rizzo
a849373bc0
remove some unnecessary braces
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20170 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 22:55:58 +00:00
tilghman
0d933f8a05
Compatibility fixes for loader changes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20075 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 18:44:24 +00:00
rizzo
3664249356
This rather large commit changes the way modules are loaded.
...
As partly documented in loader.c and include/asterisk/module.h,
modules are now expected to return all of their methods and flags
into a structure 'mod_data', and are normally loaded with RTLD_NOW
| RTLD_LOCAL, so symbols are resolved immediately and conflicts
should be less likely. Only in a small number of cases (res_*,
typically) modules are loaded RTLD_GLOBAL, so they can export
symbols.
The core of the change is only the two files loader.c and
include/asterisk/module.h, all the rest is simply adaptation of the
existing modules to the new API, a rather mechanical (but believe
me, time and finger-consuming!) process whose detail you can figure
out by svn diff'ing any single module.
Expect some minor compilation issue after this change, please
report it on mantis http://bugs.digium.com/view.php?id=6968
so we collect all the feedback in one place.
I am just sorry that this change missed SVN version number 20000!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 14:08:19 +00:00
tilghman
52a359c8dd
Bugs 6883, 6930: compiler warnings
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19095 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11 05:37:05 +00:00
kpfleming
e4880150b1
since the module API is changing, it's a good time to const-ify the description() and key() return values
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08 22:01:19 +00:00
tilghman
a52b96290e
Bug 6670 - Additional parameters to the CHANNEL func
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14870 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25 05:24:52 +00:00
rizzo
f700d93bf8
Do the (expensive) LOCAL_USER_ADD only after we are sure
...
that arguments are valid.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14785 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-24 18:33:48 +00:00
tilghman
8cbd10e054
Bug 6699 - Fix for ENUMLOOKUP
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@13710 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-21 05:54:04 +00:00
oej
566af08e49
README files have changed names, better change references too :-)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12572 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-12 17:27:57 +00:00
tilghman
e7f4d1bd28
Sun's shell: just different enough to cause problems
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11505 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-01 17:57:43 +00:00
tilghman
c3f0ff1ef4
Bug 6619 - Fix Solaris issue with doubled [[
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11478 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-01 06:15:35 +00:00
tilghman
4f1ce1ea49
Move conditional compilation for CURL from apps/ to funcs/
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10961 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23 23:43:06 +00:00
kpfleming
00eb2ed1c1
correct documentation typo
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10960 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23 23:38:05 +00:00
mogorman
15e5f0999a
minor fixes to commit 10934 from bug#6257
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10959 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23 23:36:53 +00:00
tilghman
d14ce4c739
Bug 6417 - Allow retrieval of raw CDR values
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10953 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23 23:12:41 +00:00
mogorman
eaf5d33648
added function QUOTE into strings, which allows
...
for quoted strings, and escapes them properly.
slightly modified patch from bug #6257
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10934 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23 22:59:16 +00:00
tilghman
ec65ad3b78
Move CURL function from apps/ to funcs/
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10932 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23 22:27:49 +00:00
tilghman
3ffc3c23aa
Some sick individuals use SQL queries longer than 512 bytes in the dialplan. ;-)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10895 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23 19:26:22 +00:00
kpfleming
9c4950dff3
add 'consumed' argument to ast_get_time_t, so callers can know how many characters were used in the parser
...
update pbx_dundi to use ast_get_time_t
eliminate some compiler warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10871 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23 17:13:57 +00:00
kpfleming
12c605e61b
revert change to ENUM functionality (go back to supplying a default zone)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10823 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-22 23:07:34 +00:00
kpfleming
298fa6c9e1
merge rizzo's patch to make compiler warnings stop the build, and fix a bunch of warnings found
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10805 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-22 22:53:49 +00:00
kpfleming
d94c9147f9
set keywords property correctly
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10627 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-21 17:15:17 +00:00
russell
5134a87422
suppress compiler warning
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10286 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-16 17:21:56 +00:00
russell
c72e5e1b38
remove the uses of the deprecated STANDARD_LOCAL_USER
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10241 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15 20:11:56 +00:00
kpfleming
c97e52dc7e
add KEYPADHASH dialplan function (issue #6441 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10113 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15 00:59:01 +00:00
kpfleming
728842d73f
handle longer ENUM lookup results (issue #6476 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10112 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15 00:51:21 +00:00
kpfleming
15db46a445
add API function for parsing strings to time_t (issue #6320 , with mods)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10105 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15 00:24:24 +00:00
kpfleming
0be5cc8fb2
don't force a default zone for ENUM() lookups, use the configuration file (issue #6036 , with update to UPGRADE.txt)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10047 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14 21:57:26 +00:00
markster
6dacce7f24
Fix build issues...
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9988 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14 19:08:12 +00:00
russell
4c6776c6d7
remove LOCAL_USER_ACF_ADD since it is now the same as LOCAL_USER_ADD
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9800 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-13 20:12:50 +00:00
russell
dcdfdeb537
use the zone and options set by the arg parsing macros
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9719 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-12 19:26:15 +00:00
kpfleming
e217105bfc
ensure that dependencies are rebuilt after 'make update' so that builds don't break when files are removed/renamed
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9691 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-12 16:52:42 +00:00
kpfleming
5d9ed5739a
major dialplan functions update
...
deprecate LANGUAGE() and MUSICCLASS(), in favor of CHANNEL()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9674 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-12 04:28:58 +00:00
kpfleming
32337b7e7f
use auto-build for apps, simplify variable setting
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9564 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 17:12:05 +00:00
kpfleming
dda3cfe4a0
use auto-build for res modules too
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 16:44:15 +00:00
kpfleming
7af82de9e9
prepare to use auto-build rules in other Makefiles
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9551 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 16:30:23 +00:00
kpfleming
c5e42c6158
set standard properties on all non-binary files
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9549 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 16:15:11 +00:00
tilghman
bde9850ff5
Fix compile time warnings
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9548 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 16:13:03 +00:00
kpfleming
801e0575cd
remove last vestiges of pbx_functions
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9471 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 03:21:09 +00:00
kpfleming
5f90b9bebd
build function modules independently (no more pbx_functions.so)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9469 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 03:14:05 +00:00
tilghman
d36e97804d
Bug 6322 - Implementation of SHA1 in Asterisk (plus dialplan function to use it)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9138 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-03 22:37:29 +00:00
kpfleming
21d21f89c0
use string fields for some stuff in ast_channel
...
const-ify some more APIs
remove 'type' field from ast_channel, in favor of the one in the channel's tech structure
allow string field module users to specify the 'chunk size' for pool allocations
update chan_alsa to be compatible with recent const-ification patches
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9060 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01 23:05:28 +00:00
mogorman
4ef13bdcda
Allows for user to uninstall asterisk binaries
...
bug 6177
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01 18:39:41 +00:00
tilghman
f0b67955ad
Bug 6378 - deprecate CHECK_MD5 function
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8883 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-30 06:07:05 +00:00
oej
353cec56ea
Reverting change in revision 8539 - fixed wrong problem. Sorry.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8548 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24 17:47:41 +00:00
oej
e5f9da6e43
Issue #6323 , FreeBSD compatibility with compilation of func_odbc.c (reported by nulbyte)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8539 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24 13:53:45 +00:00
mogorman
4df94f3769
code clean up and macro implementation from
...
bug 6247
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8505 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-23 18:07:12 +00:00
tilghman
7272fcf49e
Bug 6262 - New function STRPTIME
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8428 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-22 08:09:02 +00:00
russell
252fb982f4
on this pass, only remove duplicate log messages
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8403 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 20:57:06 +00:00