dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

71 Commits

Author SHA1 Message Date
tilghman c378273d19 Merged revisions 36377 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r36377 | tilghman | 2006-06-30 09:05:53 -0500 (Fri, 30 Jun 2006) | 5 lines

Bug 7349 - Directory did not work correctly when USE_ODBC_STORAGE was defined.

Note: Russell agreed that this should have worked, which is why this is
classified as a bugfix.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36380 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-30 14:10:53 +00:00
kpfleming 73c525e6e2 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 18:54:56 +00:00
kpfleming 75168aeb12 fix various typos and other bits (from Ian Kinner)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30800 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-30 16:01:50 +00:00
russell d99b677f35 remove almost all of the checks of the result from ast_strdupa() or alloca().
As it turns out, all of these checks were useless, because alloca will never
return NULL.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26451 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 13:22:15 +00:00
rizzo 6149076261 minor cleanup
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23067 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 06:40:40 +00:00
rizzo a139aad1f4 convert to use ast_stream_and_wait
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22082 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 20:57:29 +00:00
rizzo 03f9214af5 code simplifications
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20168 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 22:32:13 +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
bweschke b53f772681 Provide the ability to read extension number after name #6938 (delink)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19221 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11 15:38:17 +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
mogorman 7f2b0a39ea Janitor work converting !ast_strlen_zero(a)?a:b
to S_OR functions. from bug note 6805 with minor
modifications.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15283 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-27 19:31:54 +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
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
russell b14bdc5a12 revert my pass through the tree to remove checks of the result of ast_strdupa
(revisions 8378 through 8381)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8387 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 17:50:04 +00:00
russell 3f2c7248c6 remove lots of useless checks of the result of ast_strdupa
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8379 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 08:13:12 +00:00
russell 9909f9bd4d conversions to memory allocation wrappers (issue #6210)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7991 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11 22:41:34 +00:00
russell ab6566173e update doxygen docs to specify authors
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30 21:18:06 +00:00
russell d3eab04fc9 use app arg parsing macros (issue #5681)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7238 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-30 20:09:58 +00:00
kpfleming 24c1e3c222 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
russell 6278fdcd82 update the descriptions of a couple more apps
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7073 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-11 15:52:55 +00:00
kpfleming e61f71745f application doc update
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6992 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-07 22:01:22 +00:00
russell d3ddc001a2 issue #5605
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6979 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06 15:09:47 +00:00
russell 2a1fd152ed remove unnecessary checks before calls to ast_strlen_zero
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 19:48:14 +00:00
russell 2c3b3edc86 Doxygen documentation update from oej (issue #5505)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24 20:12:06 +00:00
russell 58818426d6 Massive cleanups to applications for LOCAL_USER handling and some other things.
In general, LOCAL_USER_ADD/REMOVE should be the first/last thing called in an
application.  An exception is if there is some *fast* setup code that might
halt the execution of the application, such as checking to see if an argument
exists.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6832 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-19 18:19:02 +00:00
russell 2c83f05ebb it's a good idea to unregister everything before calling STANDARD_HANGUP_LOCALUSERS
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6828 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-18 22:52:21 +00:00
kpfleming 28ee0af707 fix memory leak and unload problems (issue #5380)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6719 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-04 22:44:15 +00:00
kpfleming 856484baac _really_ fix app_directory (doh... how did I miss this before?) (issue #5232, take two)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6611 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15 01:31:49 +00:00
kpfleming b8dde1bb2d revert a portion of issue #5138 which broke this app (issue #5232)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6609 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15 00:56:09 +00:00
kpfleming 95fe2b8fd4 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
2005-09-14 20:46:50 +00:00
kpfleming a21860310e convert a bunch of apps to use ast_goto_if_exists() (issue #5138)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6533 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-07 19:13:00 +00:00
kpfleming 63a6a077da phase two of string portability stuff:
don't need ast_ prefixes on functions
  use individual #defines for function presence
  add vasprintf to portability library


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6143 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 22:06:15 +00:00
russell d99da55a16 more ast_copy_string conversions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6074 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-10 23:12:25 +00:00
kpfleming 8dc28b2439 the last round of file version tags
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5867 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 22:39:32 +00:00
kpfleming e500673791 major Makefile and build process improvements, including removal of all hardcoded paths (modules must now use run-time paths as they should) (bug #4116)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5855 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 03:04:58 +00:00
russell 45a5d77d81 use ast_strcasestr (bug #4203)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5595 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-07 12:49:36 +00:00
kpfleming 31e8dcf4fe use double-quotes instead of angle-brackets for non-system include files (bug #4058)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21 06:02:45 +00:00
kpfleming 0d2814ae15 re-implement realtime support in app_directory
add support for hiding entries from app_directory using new hidefromdir= option (bug #3950)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5429 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-06 18:55:33 +00:00
markster 826f85d41e Add realtime support to app_directory (bug #2475)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5125 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-03 05:31:43 +00:00
markster 2207b9a515 Merge config updates (bug #3406)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4889 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-25 06:10:20 +00:00
russell 7288b1ced0 update copyright headers for 2005
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4868 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-21 07:06:25 +00:00
markster ae89345fd9 Allow '*' to exit the directory (bug #3118)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4520 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-21 22:43:25 +00:00
markster 15129644cc Merge josh's exit dir patch (bug #2995)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4406 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-08 21:24:00 +00:00
markster 6868babd22 Huge callerid rework (might break H.323, others)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3874 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-02 00:58:31 +00:00
markster b975466a0f Minor fix in directory app (bug #2322)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3678 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-30 01:44:41 +00:00
markster 78a64af8ad Allow directory to be searched by first name (bug #2208)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3580 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-05 22:02:33 +00:00
markster e4b3fe2ec6 Directory fixes (bug #1887)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3329 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-28 15:08:39 +00:00
markster 28199081e9 Tilghman's directory fix (bug #1892)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3280 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-23 00:06:46 +00:00
citats 31e064cf03 Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3277 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22 19:32:52 +00:00
markster e7488b16b9 Directory fixes courtesy rgagnon (bug #1887)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3267 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22 03:43:41 +00:00