aboutsummaryrefslogtreecommitdiffstats
path: root/apps
AgeCommit message (Collapse)AuthorFilesLines
2006-04-14This rather large commit changes the way modules are loaded. rizzo74-968/+479
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-13Merged revisions 19891 via svnmerge from tilghman1-2/+8
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19891 | tilghman | 2006-04-13 15:37:50 -0500 (Thu, 13 Apr 2006) | 2 lines Bug 6947 - Allow vm broadcasts to more than 256 characters worth of mailboxes ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19892 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13Merged revisions 19812 via svnmerge from kpfleming1-4/+4
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19812 | kpfleming | 2006-04-13 12:40:21 -0500 (Thu, 13 Apr 2006) | 2 lines oops... let's not set a variable and then immediately overwrite it while assuming its old value will magically return ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19813 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13Updates to speech recognition API and dialplan utilities. Moved to using ↵file1-184/+399
dialplan functions, and some other misc things. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19645 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-12Add ability to see if the person calling said anything or not.file1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19512 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11Merged revisions 19397 via svnmerge from tilghman1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19397 | tilghman | 2006-04-11 17:39:59 -0500 (Tue, 11 Apr 2006) | 2 lines Bug 6490 - telco intercept should report NOANSWER instead of CHANUNAVAIL ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19398 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11Merged revisions 19394 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19394 | tilghman | 2006-04-11 17:24:46 -0500 (Tue, 11 Apr 2006) | 2 lines Bug 6061 - Fix ODBC storage of VM on PGSQL and MSSQL ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19395 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11Merged revisions 19348 via svnmerge from kpfleming1-1/+12
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19348 | kpfleming | 2006-04-11 16:50:18 -0500 (Tue, 11 Apr 2006) | 2 lines don't call the originating device as part of the Page() operation (issue #6932) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19350 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11Merged revisions 19301 via svnmerge from kpfleming1-0/+15
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19301 | kpfleming | 2006-04-11 15:11:01 -0500 (Tue, 11 Apr 2006) | 2 lines handle call time limit properly when warning is requested _after_ call would hae already ended (issue #6356) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19302 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11 Minor cleanups and error handling for app_dial #6935 (casper)bweschke1-30/+38
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19253 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11 Provide the ability to read extension number after name #6938 (delink)bweschke1-5/+33
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19221 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11normalize code preparing for loader changesrizzo9-32/+18
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19220 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11Merged revisions 19008 via svnmerge from bweschke1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19008 | bweschke | 2006-04-10 20:05:01 -0500 (Mon, 10 Apr 2006) | 3 lines When using the silence detector in ast_play_and_record() and ast_play_and_prepend(), the truncation code never gets called to remove the detected silence, because the value of res is zero when control gets to that point. #6903 w/some mods (softins) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19009 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-10Presenting a revised data stores and oh my, a generic speech recognition ↵file1-0/+575
API! I wonder what we can do with this now... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18979 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-10remove support for BYEXTENSION (which nobody even knows about anymore)kpfleming4-26/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18977 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-09Issue 6919 - clarify error messageoej1-6/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18603 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08since the module API is changing, it's a good time to const-ify the ↵kpfleming73-150/+146
description() and key() return values git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08Merged revisions 18494 via svnmerge from tilghman1-1/+3
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r18494 | tilghman | 2006-04-08 14:20:45 -0500 (Sat, 08 Apr 2006) | 2 lines Bug 6914 - .txt file fails to rename on operator out ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18495 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08remove traces of "look", something that does not exist in the treerussell1-5/+1
(issue #6904) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18492 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-07Issue #6899 - remove OSP support code from chan_sip.c and app_dial.c oej2-178/+453
- implement all functions through internal APIs in res_osp.c and app_osplookup.c (homesick) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18369 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06Merged revisions 18087 via svnmerge from kpfleming1-14/+44
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r18087 | kpfleming | 2006-04-06 17:04:58 -0500 (Thu, 06 Apr 2006) | 3 lines don't try to support 'i' or 'r' options if chan_zap is not loaded, and warn the user when they attempt to use them (issue #6675) update application help text to more clearly define when Zaptel and chan_zap are required ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18090 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06 More code optimizations. Thanks kpfleming! bweschke1-13/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18025 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06 Fix a problem where if the channel was hungup during detection, the ↵bweschke1-29/+54
application wouldn't block indefinitely looking for another frame from that channel. Don't try to do frame size analysis on a frame that isn't voice, only report DEBUG and VERBOSE msgs to the logger channels when the DEBUG and VERBOSE settings are high enough to require it, and some other minor cleanups. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18023 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06Merged revisions 17905 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r17905 | file | 2006-04-06 14:00:10 -0300 (Thu, 06 Apr 2006) | 2 lines Update email address to my Digium one ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17914 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06convert one more file...rizzo1-9/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17866 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06convert a couple of applications to the new module stylerizzo2-10/+17
(STATIC_MODULE) to show what needs to be changed. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17791 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-05Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) ↵tilghman3-5/+5
rand() to threadsafe ast_random() git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17627 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-05Bug 6508 - if priority was a number, then findlabel failstilghman1-4/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17626 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-05Bug 6886 - Add application TryExec, which does mostly the same thing, but ↵tilghman1-12/+79
returns differently git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17454 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04Issue #6882 oej1-25/+23
- move "res=-1" out of verbose block. - minor code cleanup Imported from 1.2 branch git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17350 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04minor code clean up from 6880mogorman1-3/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17312 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04Merged revisions 17283 via svnmerge from mogorman1-1/+1
https://svn.digium.com/svn/asterisk/branches/1.2 ........ r17283 | mogorman | 2006-04-04 10:24:50 -0500 (Tue, 04 Apr 2006) | 3 lines Adds documentation to show what the w flag. Patch from Ian Kinner at Digium. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17284 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-01Removed "frog" command (so it could be moved to cli.c)jdixon1-31/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16869 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30localize a variablerizzo1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16562 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30use ast_strdup instead of strduprizzo1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16561 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30as discussed with Mark a few weeks ago, the 'newstack' argumentrizzo6-6/+6
in pbx_exec is always 1 so it can be removed. This change also takes away ast_exec_extension(), and lets all switch functions (exists, canmatch, exec, matchmore) all use the same prototype, which makes the code a bit cleaner. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16558 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30Issue #5374 - Enable internal timing of generators (cmantunes)oej2-20/+28
Thanks everyone involved for hard work, testing and testing! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16473 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-29Merged revisions 16192 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r16192 | tilghman | 2006-03-29 13:11:18 -0600 (Wed, 29 Mar 2006) | 2 lines Bug 6830 - Let GosubIf work with the same conditions as a GotoIf (change in API approved by Russell) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16193 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-29Normalize some cli completion code.rizzo1-41/+27
On passing, replace strdup with ast_strdup() and remove the now useless checks for NULL since ast_strdup() can handle it correctly. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15895 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28more command completion normalizationrizzo1-26/+18
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15858 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28remove the long since unused STANDARD_LOCAL_USERS macrorizzo2-3/+0
so that new apps will not try to use it by mistake. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15517 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-27Janitor work converting !ast_strlen_zero(a)?a:bmogorman4-6/+6
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-26rename file to match new application namekpfleming1-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15067 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-26rename application to have a more logical namekpfleming1-21/+19
various code cleanups don't steal copyright from author git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15066 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25Add micro-http server and abstract manager interface, make snmp not die markster1-24/+56
on reload. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14953 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25Bug 6508 - Redirect arbitrary channel to another extension from the dialplantilghman1-0/+160
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14915 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25Merged revisions 14830 via svnmerge from tilghman1-3/+3
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r14830 | tilghman | 2006-03-24 23:01:16 -0600 (Fri, 24 Mar 2006) | 2 lines Fix incorrect size of zeroing (left over from when maxmsg was hardcoded at 100) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14837 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25Merged revisions 14821 via svnmerge from tilghman1-2/+6
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r14821 | tilghman | 2006-03-24 22:09:04 -0600 (Fri, 24 Mar 2006) | 2 lines Bug 6783 - When context is specified, voicemail should look for mailboxes in that context ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14822 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-24Add missingrizzo2-0/+8
#include "asterisk.h" ASTERISK_FILE_VERSION(__FILE__, "$Revision$") to these files. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14714 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-24Merged revisions 14659 via svnmerge from bweschke1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r14659 | bweschke | 2006-03-23 22:53:42 -0600 (Thu, 23 Mar 2006) | 3 lines Fix a typo in the app description ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14660 f38db490-d61c-443f-a65b-d21fe96a405b