aboutsummaryrefslogtreecommitdiffstats
path: root/res
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-26Add the video stream for AGI function STREAM FILE (issue #5392 reported by ↵file1-34/+56
areski -- minor mods by me) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30547 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-25allow setting a channel variable to disable sending SIGHUP to the AGI processrussell1-2/+8
(issue #6491, original patch by juggie, channel variable patch by corydon, committed patch modified to change variable name and update documentation) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30337 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-25Add the ability to retrieve the exit code of the forked AGI process. If thererussell1-2/+11
is an error executing the AGI script, or the AGI script itself returns a non-zero value, the AGISTATUS variable will now be set to FAILURE instead of SUCCESS. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30328 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-25- add support for setting an AGISTATUS variable that indicates successfulrussell1-27/+48
execution, failure, or if the channel requested hangup. - only return -1 from the application if the application requested hangup. If there was just a failure in execution of the AGI, just set the status variable appropriately and move on in the dialplan. (issue #7121, original patch by Alessandro Polverini, updated patch by srt, committed patch is heavily modified to allow still returning -1 on hangup) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30272 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-24reset timeout on reconnect.mogorman1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30039 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-24Merged revisions 29973 via svnmerge from kpfleming1-0/+6
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r29973 | kpfleming | 2006-05-24 11:59:20 -0500 (Wed, 24 May 2006) | 2 lines support video recording via AGI 'RECORD FILE' command (issue #7068) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29988 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-23get rid of that transport sillynessmogorman1-3/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29848 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-23hmm still need a way to get rid of connectionsmogorman1-4/+2
later on. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29847 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-23fixes bug where server goes away.mogorman1-20/+17
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29825 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-23finish cleaning up some more stuff before russellmogorman1-58/+49
gets a chance to. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29708 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-23remove another excess "debug" messagerussell1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29707 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-23remove an unnecessary error message that is really an old debug messagerussell1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29704 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22asterisk-xmpp merge inmogorman2-0/+2244
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29553 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-19when displaying the list of registered music on hold classes, only showrussell1-2/+3
the format if the mode is not "files", because the field has no meaning in that case git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28445 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-18revert bogus changekpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28395 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-18Add missing argument to ast_carefulwriteoej1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28393 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-10use the channel lock wrappers (issue #7128)russell1-12/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26526 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10remove almost all of the checks of the result from ast_strdupa() or alloca().russell7-63/+49
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-09various doxygen fixeskpfleming1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26170 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-09remove a check of the result of ast_mutex_lockrussell1-14/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25891 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-05move ast_carefulwrite from manager.c to utils.c so that cli.c andrussell1-1/+0
res_agi.c no longer depend on manager.h (issue #6397, casper) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25026 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-05-01Merged revisions 24019 via svnmerge from tilghman1-0/+4
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r24019 | tilghman | 2006-05-01 15:44:24 -0500 (Mon, 01 May 2006) | 2 lines Bug 6864 - drop realtime priority on ALL external processes ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24053 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30remove macro defined that is no longer neededkpfleming1-6/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23737 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29a bunch of conversion to ast_channel_*lock (issue #7058)russell4-20/+20
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23355 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29- convert lists to use linked list macrosrussell1-93/+74
- instead of allocating a frame on the stack every time the music on hold generator is called, put a frame in the mohdata structure. Also, initialize the parts of the frame that will never change when the mohdata struct is allocatted and only change the necessary parts in the generator function. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23334 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29- don't create duplicate log messagesrussell1-18/+16
- note when the data part of the tech/data pair is missing not only when using the app version, but the exten version as well - instead of logging syntax errors, just output them to the CLI git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23284 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29add reload() (bug 9981)rizzo1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23273 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have ↵kpfleming8-109/+72
autoconf and menuselect tools for Asterisk! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 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-21more strncpy/ast_copy_string replacement.rizzo1-14/+6
On passing, simplify code by using strsep() as appropriate git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22045 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21more strncpy/ast_copy_string replacementrizzo1-15/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22044 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 in cid fields.rizzo1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21835 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-18update res_odbc to support pooled connectionsrussell2-376/+510
(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-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-17Merged revisions 20966 via svnmerge from tilghman1-0/+21
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r20966 | tilghman | 2006-04-17 12:00:16 -0500 (Mon, 17 Apr 2006) | 2 lines Bug 6544 - when we remove a music class, the thread servicing it should die ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21002 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