summaryrefslogtreecommitdiff
path: root/res
AgeCommit message (Collapse)Author
2006-06-04oopsMatt O'Gorman
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-04solves some issues with jabberstatus appMatt O'Gorman
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32040 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-04Use a dynamically sized array to store the list of files for moh "files" modeRussell Bryant
- Instead of always allocating 64KB of memory for every MOH class, this has been reduced to only a single pointer per class, with more memory only allocatted when using "files" mode, as needed - Instead of imposing a length limit on the full filename, including full path, of 127 characters, use PATH_MAX, the maximum length that the system can handle - There is no longer a limit on the number of files than can be used for a single MOH class using "files" mode git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-03when using moh files mode, don't look for a file past the number of filesRussell Bryant
that have been loaded, or worse, past the size of the files array git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-02add a comment where some memory usage optimization needs to be doneRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01Merged revisions 31555 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r31555 | kpfleming | 2006-06-01 16:46:50 -0500 (Thu, 01 Jun 2006) | 2 lines remove pointless forcing of the channel into SLINEAR mode; the write format will be set later based on the file that is chosen to be played to the channel ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01more minor fixes thanks Julian on pointing out Matt O'Gorman
potential problems git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31469 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01solves bug where reload deleted things it shouldnt haveMatt O'Gorman
and adds check into jabberstatus so it cant segfault. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01adds statusmessage customization from Julian Lyndon-SmithMatt O'Gorman
and fixes bug with pruneregister git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31275 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-31Merged revisions 31194 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r31194 | russell | 2006-05-31 19:50:00 -0400 (Wed, 31 May 2006) | 3 lines if the connection to a FastAGI server fails because of a timeout, log a more informative log message ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31195 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-30Be gone unused res! (issue #7238 reported by casper)Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30804 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-26attended transfer use transferer context first and set who is transfering at ↵Joshua Colp
the beginning (issue #6752 reported by moy -- minor mods done by myself) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-26Add the video stream for AGI function STREAM FILE (issue #5392 reported by ↵Joshua Colp
areski -- minor mods by me) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25allow setting a channel variable to disable sending SIGHUP to the AGI processRussell Bryant
(issue #6491, original patch by juggie, channel variable patch by corydon, committed patch modified to change variable name and update documentation) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30337 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25Add the ability to retrieve the exit code of the forked AGI process. If thereRussell Bryant
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: https://origsvn.digium.com/svn/asterisk/trunk@30328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25- add support for setting an AGISTATUS variable that indicates successfulRussell Bryant
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: https://origsvn.digium.com/svn/asterisk/trunk@30272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-24reset timeout on reconnect.Matt O'Gorman
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-24Merged revisions 29973 via svnmerge from Kevin P. Fleming
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: https://origsvn.digium.com/svn/asterisk/trunk@29988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-23get rid of that transport sillynessMatt O'Gorman
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-23hmm still need a way to get rid of connectionsMatt O'Gorman
later on. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-23fixes bug where server goes away.Matt O'Gorman
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29825 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-23allows for configurable answer timeout on attended transferMatt O'Gorman
patch 0006763 with minor changes. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-23finish cleaning up some more stuff before russellMatt O'Gorman
gets a chance to. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29708 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-23remove another excess "debug" messageRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-23Merged revisions 29696 via svnmerge from BJ Weschke
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: https://origsvn.digium.com/svn/asterisk/trunk@29706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-23remove an unnecessary error message that is really an old debug messageRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22asterisk-xmpp merge inMatt O'Gorman
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22Merged revisions 29512 via svnmerge from Joshua Colp
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: https://origsvn.digium.com/svn/asterisk/trunk@29514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 This is part 2/2 of the patches for #7090. Adds one-step call parking to ↵BJ Weschke
/trunk via builtin functions and 'k' 'K' application options added to app_dial. This also resolves #6340. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-21Merged revisions 29196 via svnmerge from BJ Weschke
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: https://origsvn.digium.com/svn/asterisk/trunk@29197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19when displaying the list of registered music on hold classes, only showRussell Bryant
the format if the mode is not "files", because the field has no meaning in that case git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28445 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18revert bogus changeKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28395 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18Add missing argument to ast_carefulwriteOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 - The recent change to linklists.h broke the build on linux for some reason.Russell Bryant
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: https://origsvn.digium.com/svn/asterisk/trunk@26990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10use the channel lock wrappers (issue #7128)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26526 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10remove almost all of the checks of the result from ast_strdupa() or alloca().Russell Bryant
As it turns out, all of these checks were useless, because alloca will never return NULL. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09various doxygen fixesKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26170 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09remove a check of the result of ast_mutex_lockRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25891 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08Incorrect log statement when playing transfer sounds (issue #7008 reported ↵Joshua Colp
and fixed by nathan) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25444 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05move ast_carefulwrite from manager.c to utils.c so that cli.c andRussell Bryant
res_agi.c no longer depend on manager.h (issue #6397, casper) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 Correct call parking behavior when there is no courtesytone specified. ↵BJ Weschke
#6306 (murf) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-01Merged revisions 24019 via svnmerge from Tilghman Lesher
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: https://origsvn.digium.com/svn/asterisk/trunk@24053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30remove macro defined that is no longer neededKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23737 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-29a bunch of conversion to ast_channel_*lock (issue #7058)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23355 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-29- convert lists to use linked list macrosRussell Bryant
- 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: https://origsvn.digium.com/svn/asterisk/trunk@23334 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-29- don't create duplicate log messagesRussell Bryant
- 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: https://origsvn.digium.com/svn/asterisk/trunk@23284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-29add reload() (bug 9981)Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have ↵Kevin P. Fleming
autoconf and menuselect tools for Asterisk! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-21move wait_and_stream to ast_wait_and_stream() because equivalentLuigi Rizzo
code is replicated in way too many places not to have a global function for that. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22075 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-21more strncpy/ast_copy_string replacement.Luigi Rizzo
On passing, simplify code by using strsep() as appropriate git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22045 65c4cc65-6c06-0410-ace0-fbb531ad65f3