Commit Graph

1643 Commits (0b6da8d56e740530f7ef4138523472b23b263103)

Author SHA1 Message Date
Steve Murphy fd1fc0a9c1 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.
18 years ago
Jason Parker dfd24c33d2 If we have a negative current message, we shouldn't go back even further...
18 years ago
Tilghman Lesher 47047d5004 Replicate fix from 51158 (app_voicemail) to app_directory (Issue 9224)
18 years ago
Tilghman Lesher 25930c842f Issue 9602 - segfault in app_macro
18 years ago
Tilghman Lesher 616e3502e7 Issue 9527 - upon entering a folder, no message is selected (curmsg == -1), so deleting causes memory corruption (beyond bounds)
18 years ago
Joshua Colp 6ab97a0292 Merge rewritten group counting support. No more storing data on the variable list of the channels. That was bad, mmmk? (issue #7497 reported by sabbathbh)
18 years ago
Jason Parker c28413ff94 If the '* to hangup' option is not enabled, we don't need to disable * as a valid exit key.
18 years ago
Joshua Colp 4b17148846 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)
18 years ago
Jason Parker 62de701abb Allow matching on names shorter than 3 chars.
18 years ago
Joshua Colp f2680a35d4 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)
18 years ago
Tilghman Lesher 2e1fe209de Gosub called within a Macro resets the arguments improperly and causes general weirdness. (Issue 8329)
18 years ago
Jason Parker 6374772250 Just because we can't find the voicemail configuration file, doesn't
18 years ago
Joshua Colp 5e01069962 Increase the maximum size for a string of mailboxes to 1024. (issue #9270 reported by rtucker)
18 years ago
Joshua Colp ec7458a460 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)
18 years ago
Tilghman Lesher 7ca5863965 Oops
18 years ago
Tilghman Lesher 43ac3f119b Fix a few remaining bad mmap(2) return values
18 years ago
Russell Bryant 653b6f22c5 Fix the check of the return value from mmap(). Thanks to Corydon for catching
18 years ago
Steve Murphy 714e570302 Ugh. that was dumb. Fixed an error.
18 years ago
Steve Murphy fe9bbc5dfc Added a few words in the Macro doc strings about the behavior of macros with hangups (et al.), as per 9337
18 years ago
Joshua Colp c17a4c7f53 Make create_dirpath use our standard for return values. -1 is failure, 0 is success. (issue #9205 reported by ballares)
18 years ago
Tilghman Lesher 12a38f8e56 Memory leak of a list, if call recording was abandoned
18 years ago
Joshua Colp aa54a5f91b Change naughty warning message to provide useful information. If a write now fails on a channel in meetme it will tell you the channel name instead of spitting out the wrong error message.
19 years ago
Russell Bryant 602c5bb8c3 Fix random crashes when using the MeetMe application. This patch converts list
19 years ago
Russell Bryant 82bc576ea4 Convert a tab to spaces so that the documentation is printed out properly
19 years ago
Tilghman Lesher fababa3b74 forcename and forcegreetings options should check to see if the recording already exists
19 years ago
Olle Johansson 179c829291 Documentation update (#9053, jsmith)
19 years ago
Joshua Colp 975f117300 Answer the channel before recording privacy information. (issue #8926 reported by lmamane)
19 years ago
Russell Bryant c9c943e8e2 Revert the change I did in revisions 54955, 54969, and 54970, in 1.2, 1.4,
19 years ago
Russell Bryant 2802ea3eeb For conferences that are configured in meetme.conf, check the configuration
19 years ago
Joshua Colp 041061ca36 Use a separate variable to indicate execution should continue instead of the return value. (issue #8842 reported by pluto70)
19 years ago
Tilghman Lesher f49ce518ba Issue 9003 - If fullname is empty, quote() passes back "\""
19 years ago
Tilghman Lesher 7d1af2b829 Issue 7440 - Macro called from Macro from the h extension exits prematurely
19 years ago
Russell Bryant fed5b6a9b4 Revert some changes that accidentally got committed as a part of another fix.
19 years ago
Russell Bryant 8c161f55e4 set the DIALSTATUS variable to contain "INVALIDARGS" when the dial application
19 years ago
Jason Parker 8ab0b28aba Fix a small typo. Synopsis lines shouldn't have a newline
19 years ago
Russell Bryant f9db7779f0 Fix a bunch of places where pthread_attr_init() was called, but
19 years ago
Joshua Colp 8ba938b508 Now that filename is part of the structure and since it comes before postprocess... we have to add it to our postprocess line. (reported on asterisk-dev by Boris Bakchiev)
19 years ago
Joshua Colp e06d0f644b Make COMPLETECALLER and COMPLETEAGENT output to queue_log follow documentation. (issue #7677 reported by amilcar)
19 years ago
Joshua Colp 245cdf50ba Add another note about audio files being played back to each bridged party. (issue #8718 reported by ppyy)
19 years ago
Russell Bryant 5823b29f58 Fix a seg fault when running this application with no arguments from AGI.
19 years ago
Russell Bryant bd06c9494b Don't set a new value for the END_ variable on the channel before using the
19 years ago
Joshua Colp edca3010a4 Move filestream creation to Mixmonitor loop. This will prevent a blank file from being created if no frames ever pass through to be recorded. (issue #7589 reported by steve_mcneil)
19 years ago
Tilghman Lesher c69d99c830 Postgres driver doesn't like a NULL pointer when retrieving the length (Bug 8513)
19 years ago
Tilghman Lesher e9b6a2c807 Check return value before dereferencing (Bug 8822)
19 years ago
Matt O'Gorman 741131aaa2 Solves issue with forwarding voicemails from folders other than inbox.
19 years ago
Joshua Colp ef53c893c3 Add another return value to dial_exec_full that indicates execution is going to continuing at a new extension/context/priority and to just let it slide. (issue #8598 reported by jon)
19 years ago
Tilghman Lesher a0afc6c927 The advent of realtime has enabled people to use commas in the fullname field.
19 years ago
Tilghman Lesher be0be1b4f1 If openstream fails, then we crash (Issue 8564)
19 years ago
Matt O'Gorman 99815228f2 converted a lot of 256 to PATH_MAX and some white space fixes.
19 years ago
Matt O'Gorman 82016c83d2 good catch russell sorry i missed that.
19 years ago