aboutsummaryrefslogtreecommitdiffstats
path: root/apps
AgeCommit message (Collapse)AuthorFilesLines
2007-07-30(closes issue #10334)file1-2/+2
Reported by: ramonpeek Pass through the return value from macro_exec through the MacroIf application. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@77767 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-18Store prior to copy (closes issue #10193)tilghman1-1/+9
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@75748 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-18removed the word 'pissed' from ast_log(...) function call for BE-90dhubbard1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@75657 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-13Fixed an issue where chanspy flags were uninitialized if no options were passed.mmichelson1-0/+2
What triggered this investigation was an IRC chat where some people's quiet flags were set while others' weren't even though none of them had specified the q option. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@75066 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-10Fix an issue where it was possible to have a service level of over 100%qwell1-10/+13
Between the time recalc_holdtime and update_queue was called, it was possible that the call could have been hungup. Move both additions to the same place, so this won't happen. Issue 10158, initial patch by makoto, modified by me. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@74427 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-10Fix a small typo in description in of Voicemail() application.qwell1-1/+1
Issue 10170, patch by casper. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@74316 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05Tweak spy locking. (issue #9951 reported by welles)file1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@73349 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05Reset ServicelevelPerf variable back to 0 if we are unable to calculate it ↵file1-2/+1
each time... otherwise we will get previous values. (issue #10117 reported by noriyuki) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@73315 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-03RetryDial should accept a 0 argument, but it does not, because atoi does not ↵tilghman1-2/+2
distinguish between 0 and error (closes issue #10106) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@73052 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27Update documentation to clarify variable usage with MixMonitor. (issue #9494 ↵file1-2/+2
reported by netoguy) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@72378 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27Fix issue where queue log events might be missing. (issue #7765 reported by ↵file1-0/+4
mtryfoss) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@72327 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27Fix another problem in voicemail with missing symbols.qwell1-4/+4
Issue 10074, patch by kryptolus, extended to include #if 0'd blocks (just in case) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@72184 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-26Issue 10062 - Trying to move a message without selecting one first results ↵tilghman1-0/+5
in memory corruption git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@71750 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21Don't explode if the gain option is specified without a value. (issue #9274 ↵file1-1/+5
reported by mfarver) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@70898 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20Issue 9997 - Timelimit times out the wrong channeltilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@70444 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-19Perform an extra hangup check just in case. (issue #9589 reported by bcnit)file1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@69894 f38db490-d61c-443f-a65b-d21fe96a405b
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