aboutsummaryrefslogtreecommitdiffstats
path: root/apps
AgeCommit message (Collapse)AuthorFilesLines
2007-06-08Don't automatically hang up after running Dictate so that callers can exitrussell1-1/+1
cleanly using '#' (closes issue #9577, patch from Thomas Andrews) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@68526 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07Don't try to save voicemail greetings unless the user presses '1' to ↵qwell1-6/+18
accept/save. Issue 9904, patch by me. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@68204 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07Allow the 'g' option to work if used with the 'S' option. (issue #9888 ↵file1-1/+4
reported by gasparz) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@68070 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-31Issue 9818 - Fix for issue 8329 breaks pbx_realtime. Issue 8329 will remain ↵tilghman1-5/+6
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.2@66744 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-22Fix a memory leak that I just noticed in the device state handling in app_queue.russell1-0/+2
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.2@65389 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-18This update will fix the situation that occurs as described by 9717, where ↵murf1-0/+7
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.2@65172 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-17If we have a negative current message, we shouldn't go back even further...qwell1-1/+1
Issue 9727. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@64758 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-09Replicate fix from 51158 (app_voicemail) to app_directory (Issue 9224)tilghman1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@63565 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-08Issue 9602 - segfault in app_macrotilghman1-18/+32
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@63477 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-08Issue 9527 - upon entering a folder, no message is selected (curmsg == -1), ↵tilghman1-14/+17
so deleting causes memory corruption (beyond bounds) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@63359 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-25Merge rewritten group counting support. No more storing data on the variable ↵file1-20/+12
list of the channels. That was bad, mmmk? (issue #7497 reported by sabbathbh) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@61804 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-20If the '* to hangup' option is not enabled, we don't need to disable * as a ↵qwell1-1/+1
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.2@61692 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-13Add OUTBOUND_GROUP_ONCE variable to app_dial. This behaves the same as ↵file1-4/+12
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.2@61655 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-09Allow matching on names shorter than 3 chars.qwell1-1/+1
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.2@60935 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-09When calling a device that then forwards us elsewhere... we have to make our ↵file1-3/+5
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.2@60797 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-08Gosub called within a Macro resets the arguments improperly and causes ↵tilghman1-2/+108
general weirdness. (Issue 8329) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@60711 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-05Just because we can't find the voicemail configuration file, doesn'tqwell1-1/+1
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.2@60267 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-02Increase the maximum size for a string of mailboxes to 1024. (issue #9270 ↵file1-1/+1
reported by rtucker) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@59723 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-29Keep a global array of variables indicating whether certain conference rooms ↵file1-21/+16
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.2@59360 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-27Oopstilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@59283 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-27Fix a few remaining bad mmap(2) return valuestilghman1-5/+5
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@59280 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-27Fix the check of the return value from mmap(). Thanks to Corydon for catchingrussell1-3/+3
this one. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@59277 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-23Ugh. that was dumb. Fixed an error.murf1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@59187 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-23Added a few words in the Macro doc strings about the behavior of macros with ↵murf1-0/+5
hangups (et al.), as per 9337 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@59186 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-05Make create_dirpath use our standard for return values. -1 is failure, 0 is ↵file1-8/+8
success. (issue #9205 reported by ballares) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@57869 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-03Memory leak of a list, if call recording was abandonedtilghman1-0/+8
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@57648 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-21Change naughty warning message to provide useful information. If a write now ↵file1-1/+1
fails on a channel in meetme it will tell you the channel name instead of spitting out the wrong error message. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@55956 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-21Fix random crashes when using the MeetMe application. This patch converts listrussell1-187/+135
handling to use the linked list macros and most importantly, implements reference counting on the ast_conference objects. The reference counting was first backported from 1.4. However, that code has some problems that caused the reference count to never hit zero. Those problems are fixed in this patch and will be resolved in 1.4 and trunk next, with a different patch. (issues #7647, #9073, #9106, BE-115). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@55750 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-20Convert a tab to spaces so that the documentation is printed out properlyrussell1-1/+1
aligned. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@55588 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-19forcename and forcegreetings options should check to see if the recording ↵tilghman1-9/+16
already exists git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@55434 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-18Documentation update (#9053, jsmith)oej1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@55277 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-17Answer the channel before recording privacy information. (issue #8926 ↵file1-0/+1
reported by lmamane) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@55153 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-16Revert the change I did in revisions 54955, 54969, and 54970, in 1.2, 1.4, russell1-51/+40
and trunk. I decided that once a conference is created from meetme.conf, it is acceptable behavior that the pin can not be changed until the conference goes away. I also added a note in meetme.conf to describe this behavior. We still have another issue in 1.4 and trunk where some conferences with no users don't go away. That is the real bug that needs to be addressed here. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@55005 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-16For conferences that are configured in meetme.conf, check the configurationrussell1-40/+51
file every time someone joins the conference instead of only when the conference is first created. This is to ensure that changes to the pin numbers in the config file are always honored. (issue #9073) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@54955 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-15Use a separate variable to indicate execution should continue instead of the ↵file1-10/+14
return value. (issue #8842 reported by pluto70) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@54622 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-08Issue 9003 - If fullname is empty, quote() passes back "\"" tilghman1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@53529 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-07Issue 7440 - Macro called from Macro from the h extension exits prematurelytilghman1-3/+10
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@53354 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-03Revert some changes that accidentally got committed as a part of another fix.russell1-29/+16
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@53134 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-03set the DIALSTATUS variable to contain "INVALIDARGS" when the dial applicationrussell2-23/+35
exits early because of invalid arguments instead of just leaving it empty. (issue #8975) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@53133 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-01Fix a small typo. Synopsis lines shouldn't have a newlineqwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@53107 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-31Fix a bunch of places where pthread_attr_init() was called, butrussell4-0/+8
pthread_attr_destroy() was not. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@53045 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-29Now that filename is part of the structure and since it comes before ↵file1-1/+1
postprocess... we have to add it to our postprocess line. (reported on asterisk-dev by Boris Bakchiev) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@52716 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-27Make COMPLETECALLER and COMPLETEAGENT output to queue_log follow ↵file1-3/+3
documentation. (issue #7677 reported by amilcar) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@52415 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-25Add another note about audio files being played back to each bridged party. ↵file1-1/+2
(issue #8718 reported by ppyy) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@52162 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-25Fix a seg fault when running this application with no arguments from AGI.russell1-0/+5
(issue #8905, junky) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@52137 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-24Don't set a new value for the END_ variable on the channel before using therussell1-1/+1
old value. If you do, it will lead to accessing a memory address that has been free()'d. (issue #8895, arkadia) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@51828 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-22Move filestream creation to Mixmonitor loop. This will prevent a blank file ↵file1-25/+32
from being created if no frames ever pass through to be recorded. (issue #7589 reported by steve_mcneil) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@51406 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-16Postgres driver doesn't like a NULL pointer when retrieving the length (Bug ↵tilghman1-5/+4
8513) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@51158 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-15Check return value before dereferencing (Bug 8822)tilghman1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@50987 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-15Solves issue with forwarding voicemails from folders other than inbox.mogorman1-5/+9
patch by anthonyl. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@50946 f38db490-d61c-443f-a65b-d21fe96a405b