aboutsummaryrefslogtreecommitdiffstats
path: root/apps
AgeCommit message (Collapse)AuthorFilesLines
2007-05-31Merged revisions 66744 via svnmerge from tilghman1-5/+6
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r66744 | tilghman | 2007-05-31 10:58:45 -0500 (Thu, 31 May 2007) | 2 lines Issue 9818 - Fix for issue 8329 breaks pbx_realtime. Issue 8329 will remain unfixed for pbx_realtime, but only because we lack core API to do it. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@66770 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-30Fixed seg-faults when recording greetings in voicemail with IMAP enabled. ↵mmichelson1-0/+32
(Issue No. 9735, reported by xmarksthespot, patched by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@66671 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-24Ensure that frames are fully initialized. This will probably fix gettingrussell1-2/+3
weird timestamp log messages in logs when using the Festival app. (issue #9781, patch by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@65853 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-22List res_smdi as a dependency for app_voicemail and chan_zaprussell1-0/+1
(Thanks to mnicholson for pointing it out) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@65501 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-22Remove a double const.file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@65452 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-22 Fix a problem with flag recognition. bweschke1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@65408 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-22Merged revisions 65389 via svnmerge from russell1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r65389 | russell | 2007-05-22 08:07:03 -0500 (Tue, 22 May 2007) | 4 lines Fix a memory leak that I just noticed in the device state handling in app_queue. On most device state changes, it would leak roughly 8 to 64 bytes (the length of the name of the device). ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@65394 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-18Merged revisions 65172 via svnmerge from murf1-0/+7
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r65172 | murf | 2007-05-18 14:56:20 -0600 (Fri, 18 May 2007) | 1 line This update will fix the situation that occurs as described by 9717, where when several targets are specified for a dial, if any one them reports FAIL, the whole call gets FAIL, even though others were ringing OK. I rearranged the priorities, so that a new disposition, NULL, is at the lowest level, and the disposition get init'd to NULL. Then, next up is FAIL, and next up is BUSY, then NOANSWER, then ANSWERED. All the related set routines will only do so if the disposition value to be set to is greater than what's already there. This gives the intended effect. So, if all the targets are busy, you'd get BUSY for the call disposition. If all get BUSY, but one, and that one rings is not answered, you get NOANSWER. If by some freak of nature, the NULL value doesn't get overridden, then the disp2str routine will report NOANSWER as before. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@65200 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-18Fix a small bug I noticed while working on something else. app_queue did notrussell1-0/+1
unregister its device state monitoring callback in unload_module(). So, this would make Asterisk crash on the first device state change after you unload the module. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@64868 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-17Merged revisions 64758 via svnmerge from qwell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r64758 | qwell | 2007-05-17 11:52:38 -0500 (Thu, 17 May 2007) | 4 lines If we have a negative current message, we shouldn't go back even further... Issue 9727. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@64761 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-17Increase the size of a buffer to support longer dial strings for channels.russell1-1/+1
(issue #9291, reported and fix suggested by meni) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@64756 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-17Fix authuser support. (issue #9740 reported by xmarksthespot)file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@64720 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-09Merged revisions 63565 via svnmerge from tilghman1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r63565 | tilghman | 2007-05-09 09:48:06 -0500 (Wed, 09 May 2007) | 2 lines Replicate fix from 51158 (app_voicemail) to app_directory (Issue 9224) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@63566 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-08Merged revisions 63477 via svnmerge from tilghman1-18/+32
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r63477 | tilghman | 2007-05-08 17:19:15 -0500 (Tue, 08 May 2007) | 2 lines Issue 9602 - segfault in app_macro ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@63478 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-08Merged revisions 63359 via svnmerge from tilghman1-14/+17
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r63359 | tilghman | 2007-05-08 01:20:16 -0500 (Tue, 08 May 2007) | 2 lines Issue 9527 - upon entering a folder, no message is selected (curmsg == -1), so deleting causes memory corruption (beyond bounds) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@63360 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-01Bug 9590 - Memory leaks around find_user() (found by rayjay, different fixes ↵tilghman1-2/+9
by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@62545 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-28Note that the "talker optimization" option will be enabled by default in 1.6russell1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@62299 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-20Merged revisions 61692 via svnmerge from qwell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r61692 | qwell | 2007-04-20 14:49:54 -0500 (Fri, 20 Apr 2007) | 5 lines If the '* to hangup' option is not enabled, we don't need to disable * as a valid exit key. If it was enabled, this statement would've never been checked in the first place. Issue #9552 ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@61694 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-20Fix the UpdateConfig manager action to properly treat "variables" and "objects"russell1-3/+3
differently (a=b versus a=>b). (issue #9568, reported by pari, patch by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@61690 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-13Merged revisions 61655 via svnmerge from file1-4/+12
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r61655 | file | 2007-04-13 15:15:12 -0400 (Fri, 13 Apr 2007) | 2 lines Add OUTBOUND_GROUP_ONCE variable to app_dial. This behaves the same as OUTBOUND_GROUP except it will get unset after use so it won't get accidentally inherited. (issue #BE-140) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@61656 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-13Do not bother looking for a result if none are present.file1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@61651 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-13Eliminate a compiler warning with ODBC_STORAGE enabled so that it will buildrussell1-1/+1
under dev-mode. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@61645 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-10Finished up a previous fix to overcome a compiler warning; the app NoCDR() ↵murf1-2/+1
has been updated to mark the channel CDR as POST_DISABLED instead of destroying the CDR; this way its flags are propagated thru a bridge and the CDR is actually dropped. The cases where only one channel in a bridge has a CDR was cleaned up. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@61136 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-09Use the appropriate interface name with COMPLETECALLER.qwell1-1/+1
Issue 9395. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@61022 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-09This is a big improvement over the current CDR fixes. It may still need ↵murf1-6/+6
refinement, but this won't have as many folks bothered. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60989 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-09Merged revisions 60935 via svnmerge from qwell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r60935 | qwell | 2007-04-09 12:22:15 -0500 (Mon, 09 Apr 2007) | 5 lines Allow matching on names shorter than 3 chars. This also fixes the case where somebody wants to match on less then 3 chars. Issue 9071 ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60936 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-09Merged revisions 60797 via svnmerge from file1-4/+5
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r60797 | file | 2007-04-08 20:59:29 -0400 (Sun, 08 Apr 2007) | 2 lines When calling a device that then forwards us elsewhere... we have to make our channels compatible if it is the only channel being dialed. (issue #9445 reported by marcelbarbulescu) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60798 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-08Allow app_queue to use MONITOR_EXEC even if MONITOR_OPTIONS is not set. ↵file1-1/+1
(issue #9495 reported by cduffy) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60762 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-08Merged revisions 60711 via svnmerge from tilghman1-3/+108
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r60711 | tilghman | 2007-04-08 09:00:22 -0500 (Sun, 08 Apr 2007) | 2 lines Gosub called within a Macro resets the arguments improperly and causes general weirdness. (Issue 8329) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60713 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-06When a station picks up a trunk that was on hold, make the hints reflect thatrussell1-0/+1
nobody has the trunk on hold anymore. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60565 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-06Fix a few problems with SLA. (issue #9459, reported by francesco_r, fixed ↵russell1-6/+27
by me) * The original behavior was that if one station put a call on hold, another one picked it up, and then hung up, the code would still consider the call on hold by the first station, so the trunk would not be hung up. However, to better comply with what most people seem to expect it to behave, it will now hang up the trunk. * Fix a problem with "barge=no". This was only intended to prevent people from joining calls that are in progress. However, it also prevented other people from picking up a call that was on hold. This has been fixed. * When there are no active stations on a trunk and it is on hold, the code now indicates the HOLD and UNHOLD conditions to the trunk channel. This allows music on hold to be played to the trunk when it is on hold. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60521 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-06Add support for returning different types of results (ie: NBest).file1-15/+52
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60361 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-05Merged revisions 60267 via svnmerge from qwell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r60267 | qwell | 2007-04-05 11:09:41 -0500 (Thu, 05 Apr 2007) | 5 lines Just because we can't find the voicemail configuration file, doesn't mean that the module failed to load. The user could be using realtime. Issue #9473 ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60268 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-04Fix a problem where if a trunk was hung up while it was on hold, all of therussell1-0/+3
hints would reflect the line still on hold, even though it should reflect that it is back to not in use. (issue #9459, reported by francesco_r, fixed by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60069 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-03Don't clash when a person both speaks and uses DTMF.file1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59963 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-02Merged revisions 59723 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r59723 | file | 2007-04-02 14:55:25 -0400 (Mon, 02 Apr 2007) | 2 lines Increase the maximum size for a string of mailboxes to 1024. (issue #9270 reported by rtucker) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59724 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-29Merged revisions 59360 via svnmerge from file1-20/+17
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r59360 | file | 2007-03-29 13:33:58 -0400 (Thu, 29 Mar 2007) | 2 lines Keep a global array of variables indicating whether certain conference rooms are in use. This ensures that two people going into a new dynamic conference when the 'e' option is set don't go into the same conference room. (issue #8835 reported by eliel) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59361 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-27Merged revisions 59283 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r59283 | tilghman | 2007-03-27 18:36:49 -0500 (Tue, 27 Mar 2007) | 2 lines Oops ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59284 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-27Merged revisions 59280 via svnmerge from tilghman1-5/+5
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r59280 | tilghman | 2007-03-27 18:31:20 -0500 (Tue, 27 Mar 2007) | 2 lines Fix a few remaining bad mmap(2) return values ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59281 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-27Merged revisions 59277 via svnmerge from russell1-3/+3
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r59277 | russell | 2007-03-27 18:19:41 -0500 (Tue, 27 Mar 2007) | 3 lines Fix the check of the return value from mmap(). Thanks to Corydon for catching this one. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59278 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-27Fix app_directory to actually compile with ODBC_STORAGE, and update the code torussell1-10/+14
the latest res_odbc API. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59275 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-27Fix app_directory when ODBC_STORAGE is being used. The Makefile did notrussell1-0/+3
properly ensure that this information got copied from what was selected for app_voicemail. (issue #9224) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59273 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-26Add ability to specify no timeout. This means as soon as the prompt is done ↵file1-3/+12
playing it moves on to the next priority. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59223 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-26Somehow the code for building the email for voicemail got out of sync. Thisrussell1-7/+7
change makes a few tweaks to get 1.4 in sync with trunk. (issue #9301) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59217 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-26Fix some codec negotiation problems when CallerID support is not enabled in SLA.russell1-3/+40
(issue #9308, reported by twilson) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59215 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-26Make SpeechBackground obey the digit timeout value.file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59213 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-23Merged revisions 59186 via svnmerge from murf1-0/+5
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r59186 | murf | 2007-03-23 09:57:26 -0600 (Fri, 23 Mar 2007) | 1 line Added a few words in the Macro doc strings about the behavior of macros with hangups (et al.), as per 9337 ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59188 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-20Ooops. Sorry, messed up app_stack. This should return it to its previous, ↵murf1-199/+32
untouched, state. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59070 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-20The fix for the AEL <<security hole>> (bug 9316) is here...murf1-32/+199
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59069 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-18 Don't return a non-zero return code if the profile doesn't exist, to match ↵bweschke1-1/+1
what the documentation says it already does. (#9307 Reported by kkiely) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59035 f38db490-d61c-443f-a65b-d21fe96a405b