aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_features.c
AgeCommit message (Collapse)AuthorFilesLines
2006-05-26attended transfer use transferer context first and set who is transfering at ↵file1-2/+3
the beginning (issue #6752 reported by moy -- minor mods done by myself) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30548 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-23allows for configurable answer timeout on attended transfermogorman1-1/+11
patch 0006763 with minor changes. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29766 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-23Merged revisions 29696 via svnmerge from bweschke1-3/+4
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r29696 | bweschke | 2006-05-23 11:58:24 -0400 (Tue, 23 May 2006) | 3 lines Fix a potential leak and correct (hopefully) a segfault under certain conditions. #6784 (vovan and perry testing) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29706 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22Merged revisions 29512 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r29512 | file | 2006-05-22 17:15:04 -0300 (Mon, 22 May 2006) | 2 lines Use the correct language when playing the transfer sound (issue #7109 reported by casper) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29514 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 This is part 2/2 of the patches for #7090. Adds one-step call parking to ↵bweschke1-0/+32
/trunk via builtin functions and 'k' 'K' application options added to app_dial. This also resolves #6340. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29467 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-21Merged revisions 29196 via svnmerge from bweschke1-3/+10
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r29196 | bweschke | 2006-05-21 10:16:59 -0500 (Sun, 21 May 2006) | 3 lines When an application that is executed via applicationmap and exits non-zero, make sure that we pass through the correct return value from the application to make sure a segfault doesn't occur by a bridge trying to continue when it should not. Also, when executing applications via applicationmap, make sure that the application is executed against the channel whose DTMF caused it to be fired off in the first place. (part 1/2 of #7090 - this is the only fix that will be applied to both 1.2 and /trunk) acunningham and blitzrage on testing... ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29197 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-11 - The recent change to linklists.h broke the build on linux for some reason.russell1-2/+1
So, I have removed all of the uses of AST_LIST_HEAD_INIT and replaced them with the equivalent static initializations. - On passing, fix a memory leak in the unload_module() function of chan_agent. The agents list mutex was never destroyed, and the elements in the agents list were not freed. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26990 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10remove almost all of the checks of the result from ast_strdupa() or alloca().russell1-32/+29
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-08Incorrect log statement when playing transfer sounds (issue #7008 reported ↵file1-2/+2
and fixed by nathan) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25444 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03 Correct call parking behavior when there is no courtesytone specified. ↵bweschke1-1/+4
#6306 (murf) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24605 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29a bunch of conversion to ast_channel_*lock (issue #7058)russell1-5/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23355 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21move wait_and_stream to ast_wait_and_stream() because equivalentrizzo1-32/+12
code is replicated in way too many places not to have a global function for that. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22075 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21comment a possible memory leakrizzo1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21988 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21merge some common code into a functionrizzo1-18/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21986 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21more NULL / "" equivalence for CID fields.rizzo1-26/+26
Mark an inconsistency in empty string handling. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21819 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-18simplify the flow of builtin_atxfer().rizzo1-111/+106
There is still a lot of similarity with builtin_blindtransfer() which should be removed by definining functions for the common pieces of code (eg in the first part). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21097 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17- Doxygen formattingoej1-25/+34
Please place a Doxygen todo marker before things that needs to be checked up later by someone - it's like /*! \todo We really need to implement this in C++ */ - option_debug checking before logging to DEBUG channel git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20790 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16preparation for reduction of the nesting of a large functionrizzo1-21/+26
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20733 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16more usages of stream_and_waitrizzo1-28/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20707 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16more usages of function 'finishup()'rizzo1-24/+18
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20705 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16one more instance of stream_and_wait, and remove an extrarizzo1-9/+2
'error = 1' line put in by miustake git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20693 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16more replaceemnt of dup code with functions.rizzo1-51/+23
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20678 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16localize several variables, and simplify the last part of park_exec()rizzo1-58/+46
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20653 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16more formatting cleanup including removal of a useless checkrizzo1-7/+6
for f == NULL git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20652 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16rename a variable same as used in a very similar function,rizzo1-10/+10
to reduce code differences. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20627 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16s/pu->chan/chan in a few places;rizzo1-37/+31
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20626 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16put some common code into functions (still more instances to be replaced)rizzo1-54/+69
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20625 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16properly reindent a large block.rizzo1-49/+48
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20624 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16more readability fixes - localize some variables and invertrizzo1-19/+25
a condition in an 'if' statement to reduce the nesting depth. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20623 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16introduce a function to set context, extension and priorityrizzo1-7/+11
replacing some common blocks of code (there are still a few instances where it can be used) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20598 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16minor readability fixes in preparation for more work on this file:rizzo1-32/+24
- replace nested 'if' with '&&' - fix indentation - annotate the end brace of some huge block - remove useless parentheses git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20597 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15- normalize for() loops to navigate through variables,rizzo1-27/+23
removing replicated var = var->next; - remove a potential infinite loop and document the problem - remove useless checks and document why - mark XXX a possible bug (to be investigated) - use ast_strlen_zero() instead of expanding it inline - fix indentation in one place - replace a nested 'if' with '&&' git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20223 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14- remove some unnecessary casts and braces; rizzo1-64/+36
- add braces around a nested 'if' - use S_OR and '?' to remove some duplicated function calls; - replace nested 'if' with && - move out a common term in a sequence of 'if' - add a comment on a potentially dangerous string manipulation git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20196 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14This rather large commit changes the way modules are loaded. rizzo1-20/+9
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-10Merged revisions 18866 via svnmerge from bweschke1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r18866 | bweschke | 2006-04-10 12:29:51 -0500 (Mon, 10 Apr 2006) | 2 lines Don't say that we can pass an 'exten' argument in the documentation of Park() when we really cannot. #6902 (opsys) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18867 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08a few cleanups from the last commitkpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18572 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08since the module API is changing, it's a good time to const-ify the ↵kpfleming1-2/+2
description() and key() return values git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30as discussed with Mark a few weeks ago, the 'newstack' argumentrizzo1-3/+3
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-30Set default value of adsipark (import from 1.2)oej1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16347 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25Add micro-http server and abstract manager interface, make snmp not die markster1-2/+2
on reload. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14953 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-23Merged revisions 14523 via svnmerge from file1-0/+3
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r14523 | file | 2006-03-23 17:51:50 -0400 (Thu, 23 Mar 2006) | 2 lines Issue #6764 - Return BUSY signal when other party is busy at Attended Transfer (Reported by mnachev) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14525 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-21Merged revisions 13961 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r13961 | russell | 2006-03-21 13:21:47 -0500 (Tue, 21 Mar 2006) | 3 lines fix crash when using the ParkAndAnnounce application. When using this application, there will be no peer channel to play the parking announcement to. (issue #6756) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@13962 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-14- Formatting fix in musiconholdoej1-0/+1
- One extra doxygen comment in res_features git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12842 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-06Bug 6304 - Add Park command to the manager interfacetilghman1-0/+64
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12163 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-22merge rizzo's patch to make compiler warnings stop the build, and fix a ↵kpfleming1-2/+2
bunch of warnings found git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10805 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15remove the uses of the deprecated STANDARD_LOCAL_USERrussell1-2/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10241 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01use string fields for some stuff in ast_channelkpfleming1-6/+6
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-01-21- conversions to allocation wrappersrussell1-28/+16
- replace malloc/memset with ast_calloc - replace malloc/ast_copy_string with ast_strdup (based on patch from issue #6299) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8410 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-19Doxygen fixesoej1-9/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8299 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-17remove some more deprecated (pre-1.2) stuffkpfleming1-5/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8157 f38db490-d61c-443f-a65b-d21fe96a405b