aboutsummaryrefslogtreecommitdiffstats
path: root/apps
AgeCommit message (Collapse)AuthorFilesLines
2006-09-27Playback() wasn't setting PLAYBACKSTATUS under several circumstances.qwell1-4/+5
Playback() returns -1 on missing args - so should Background() git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43800 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-26When parsing the sections of voicemail.conf that contain mailbox definitions,russell1-2/+3
don't introduce a length limit on the definition by using a 256 byte temporary storage buffer. Instead, make the temporary buffer just as big as it needs to be to hold the entire mailbox definition. (fixes BE-68) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43699 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-25Two bugs when forwarding voicemail (Issue 7824):tilghman1-78/+1
1) delete=yes was ignored 2) maxmessages was ignored git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43634 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-22Yay another 'round of spy fixes! This fixes a small logic flaw with the ↵file1-92/+84
cleanup function and a memory allocation issue. (issue #7960 reported by jojo & issue #7999 reported by aster1) Special thanks to csum77 for letting me into a box where this issue was happening. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43509 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21Whitespace change... really just an excuse to test repotoolstilghman1-48/+47
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43420 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19fixes some verbose vs debug issues. patch from bug 2617mogorman3-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43269 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19cid is passed to a destructive function; thus a copy is needed (issue 7961)tilghman1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43248 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18Add deprecation notice about app_math (issue #7957 reported by k-egg)file1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43163 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-17Directory used the wrong context for delivery of 0- and *- keypressestilghman1-2/+2
(according to Directory's own documentation) - Issue 7965 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43072 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-16When the marked user enters the conference, we should no longer timeouttilghman1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-13Backport bugfix patch from 7918 to 1.2 - msg_cfg destroyed before usedtilghman1-4/+11
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@42892 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-11When paging, only wait 5 seconds for the marked user to enter the conference.tilghman2-9/+27
After that, assume the paging already completed by the time the channel entered the conference and drop back out. (Issue 7275) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@42783 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-08Jump logic was backwards: goto returns 0 if it succeeds, and we should jump ↵tilghman1-1/+1
if authentication fails. (Bug #7907) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@42421 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07Format vulnerability fix - allowing the user to specify a format is not a ↵tilghman1-1/+29
good idea (Bug 7811) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@42355 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-05Merge in last round of spy fixes. This should hopefully eliminate all the ↵file2-39/+10
issues people have been seeing by distinctly separating what each component (core/spy) is responsible for. Core is responsible for adding a spy to a channel, feeding frames to the spy, removing the spy from a channel, and telling the spy to stop. Spy is responsible for reading frames in, and cleaning up after itself. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@42054 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03 Make sure the forwarded channel inherits variables appropriately when we ↵bweschke1-0/+1
receive a call forward in the queue. (#7867 - raarts reported and patched) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@41882 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03 Don't keep trying the same member in certain strategies when members of the ↵bweschke1-0/+5
queue are unavailable (#7278 - diLLec reported and patched) - This should have been patched here first and then merged into /trunk. My bad! git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@41880 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03 Let's NOT spy on Zap/psuedo channels, mmmmmmmmk? bweschke1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@41830 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03 Setting a retry of 0 is generally not a good idea and shouldn't be allowed. ↵bweschke1-1/+1
(#7574 - reported by regin) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@41827 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-28According to a note added to 7731 by mneuhauser, thismurf1-1/+1
will repair a break caused by the last fix (7731). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@41239 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-25Text only - clarify the reason for entry into authentication mode when the ↵tilghman1-1/+4
skipuser option is ignored git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@41065 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-22Bug 7779 - Using initstate(3) means that we cannot unload this module once ↵tilghman1-3/+2
loaded. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@40821 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-19Fix a bug with app_voicemail when trying to use app_directory to leave messagesqwell2-12/+22
to another user (options 3, 5, 2). If the context/extension didn't exist in the dialplan (and why should it have to?), it would fail, saying that it's an "invalid extension". Fix was different in svn trunk. (issue BE-71) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@40446 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17Make app_macro compile againfile1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@40223 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17In app_macro, changed the previously changed upper recursion depth limit to ↵murf1-2/+7
a variable, default of the original val of 7. MACRO_RECURSION is a channel variable that will override the limit, but until I can understand and fix why this limit is neccessary, I am not advertising this variable in the docs. This fix mirrors the changes made in r40200 in trunk. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@40220 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15This revision fixes bug 7731, the inability for macros to be called more ↵murf1-4/+4
than one level deep in the 'h' extension. It also pushes up the limit of recursion depth from 7 to 20. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@39931 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-05remove duplicate queue log entry when the caller exits on a timeoutrussell1-1/+0
(issue #7616, ppyy) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38972 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-05make sure the priv-callerintros directory exists before trying to create a filerussell1-1/+8
there (issue #7659, patch by hads, with some modifications by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38928 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-03Bug 7648 - Checking wrong count for plurality on new messages for Dutch languagetilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38761 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-27use the enum that defines the option arguments, so that the likelihood of ↵kpfleming1-4/+4
mismatched option indexes is reduced (which in this case was a bug, the volume argument was not checked properly) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38370 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-14Bug 7526 - previous commit broke app_smstilghman1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@37612 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-13don't fail/abort if the message category sound file cannot be played, just ↵kpfleming1-0/+5
generate a warning message and continue message playback git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@37571 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-12fix a weird case where a lock file could be left (but would happen almost never)kpfleming1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@37442 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-12remove some more bad examples of using printfkpfleming1-6/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@37419 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-30Bug 7349 - Directory did not work correctly when USE_ODBC_STORAGE was defined.tilghman1-0/+134
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/branches/1.2@36377 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-23 We should lock the queue before we go making changes to member interface ↵bweschke1-0/+2
statuses. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@35669 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-19Call reset_user_pw upon changing the password using externpass (issue #7395 ↵file1-1/+3
reported by Ryan Cumming) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@34911 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-19Issue 7357 - txt file left behind when going to operator. Also, fix a ↵tilghman1-1/+6
possible file descriptor leak. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@34875 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-15don't use prefixed structure names for internal structureskpfleming1-50/+50
don't use a plural structure name for a singular object git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@34274 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-15VoicemailMain exits on any key, when the language is set to Italian, instead oftilghman1-1/+1
properly handling the key (issue 7353). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@34242 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-14coding style cleanups on queue interface handling code that was committed ↵kpfleming1-74/+71
for the last release git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@34160 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-14clarify file headers that mention disclaimer usagekpfleming2-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@34087 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-13memory allocation optimizationskpfleming1-58/+55
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@33841 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-13fix various places where the code returns without unlocking vmlock orrussell1-3/+9
destroying loaded configuration git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@33783 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-13add a missing close of an open fd, destroy of open config, and removal of therussell1-0/+3
calling channel from the localusers list git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@33781 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-12Greatly simply the mixmonitor thread, and move channel reference directly to ↵file1-105/+108
spy structure so that the core can modify it. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@33724 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-11fix up five little places where frames would not be free'd and remove anrussell1-2/+7
unnecessary mutex_unlock where there is no way for it to be locked at that time git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@33545 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-11fix a place that would leak a frame (all of these fixes are in applicationsrussell1-0/+1
that call ast_read() on a channel but have code paths in them that would not free the frame) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@33515 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-11fix a couple places that would leak a framerussell1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@33513 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-11fix two places that would cause a frame to be leakedrussell1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@33510 f38db490-d61c-443f-a65b-d21fe96a405b