Commit Graph

1661 Commits (d2cb9b0d3b294b51c633af5cd52ff3a71939f005)

Author SHA1 Message Date
Matt O'Gorman 942768c022 fixes some verbose vs debug issues. patch from bug 2617
19 years ago
Tilghman Lesher 6728ebb72c cid is passed to a destructive function; thus a copy is needed (issue 7961)
19 years ago
Joshua Colp b1708137da Add deprecation notice about app_math (issue #7957 reported by k-egg)
19 years ago
Tilghman Lesher 88ccb83574 Directory used the wrong context for delivery of 0- and *- keypresses
19 years ago
Tilghman Lesher b2122691de When the marked user enters the conference, we should no longer timeout
19 years ago
Tilghman Lesher ca79503d56 Backport bugfix patch from 7918 to 1.2 - msg_cfg destroyed before used
19 years ago
Tilghman Lesher 9c8d9ce377 When paging, only wait 5 seconds for the marked user to enter the conference.
19 years ago
Tilghman Lesher ec7535bba2 Jump logic was backwards: goto returns 0 if it succeeds, and we should jump if authentication fails. (Bug #7907)
19 years ago
Tilghman Lesher 0cfb462845 Format vulnerability fix - allowing the user to specify a format is not a good idea (Bug 7811)
19 years ago
Joshua Colp 68de3c0b29 Merge in last round of spy fixes. This should hopefully eliminate all the 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.
19 years ago
BJ Weschke a05a361fc3 Make sure the forwarded channel inherits variables appropriately when we receive a call forward in the queue. (#7867 - raarts reported and patched)
19 years ago
BJ Weschke aaf0ad7b77 Don't keep trying the same member in certain strategies when members of the queue are unavailable (#7278 - diLLec reported and patched) - This should have been patched here first and then merged into /trunk. My bad!
19 years ago
BJ Weschke 919cb0b1a8 Let's NOT spy on Zap/psuedo channels, mmmmmmmmk?
19 years ago
BJ Weschke c3b61adc5b Setting a retry of 0 is generally not a good idea and shouldn't be allowed. (#7574 - reported by regin)
19 years ago
Steve Murphy 6daea8e8fb According to a note added to 7731 by mneuhauser, this
19 years ago
Tilghman Lesher e83bbab1ec Text only - clarify the reason for entry into authentication mode when the skipuser option is ignored
19 years ago
Tilghman Lesher dad6bc4d32 Bug 7779 - Using initstate(3) means that we cannot unload this module once loaded.
19 years ago
Jason Parker d98055d875 Fix a bug with app_voicemail when trying to use app_directory to leave messages
19 years ago
Joshua Colp afedbd97af Make app_macro compile again
19 years ago
Steve Murphy 4098ad798d In app_macro, changed the previously changed upper recursion depth limit to 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.
19 years ago
Steve Murphy f4e47e9b51 This revision fixes bug 7731, the inability for macros to be called more than one level deep in the 'h' extension.
19 years ago
Russell Bryant e81646d2dd remove duplicate queue log entry when the caller exits on a timeout
19 years ago
Russell Bryant 183541b44d make sure the priv-callerintros directory exists before trying to create a file
19 years ago
Tilghman Lesher 84ad1fe0f3 Bug 7648 - Checking wrong count for plurality on new messages for Dutch language
19 years ago
Kevin P. Fleming 7b9abdf138 use the enum that defines the option arguments, so that the likelihood of mismatched option indexes is reduced (which in this case was a bug, the volume argument was not checked properly)
19 years ago
Tilghman Lesher ce37a590e5 Bug 7526 - previous commit broke app_sms
19 years ago
Kevin P. Fleming 6ea65400a0 don't fail/abort if the message category sound file cannot be played, just generate a warning message and continue message playback
19 years ago
Kevin P. Fleming ff3890a952 fix a weird case where a lock file could be left (but would happen almost never)
19 years ago
Kevin P. Fleming 648bc1828d remove some more bad examples of using printf
19 years ago
Tilghman Lesher 4bee2f3210 Bug 7349 - Directory did not work correctly when USE_ODBC_STORAGE was defined.
19 years ago
BJ Weschke 64def5d791 We should lock the queue before we go making changes to member interface statuses.
19 years ago
Joshua Colp 43ad959914 Call reset_user_pw upon changing the password using externpass (issue #7395 reported by Ryan Cumming)
19 years ago
Tilghman Lesher 4c688bb3b3 Issue 7357 - txt file left behind when going to operator. Also, fix a possible file descriptor leak.
19 years ago
Kevin P. Fleming d00c50cd14 don't use prefixed structure names for internal structures
19 years ago
Tilghman Lesher 2159afd1ae VoicemailMain exits on any key, when the language is set to Italian, instead of
19 years ago
Kevin P. Fleming 55ba8ef5c4 coding style cleanups on queue interface handling code that was committed for the last release
19 years ago
Kevin P. Fleming 724b3d0004 clarify file headers that mention disclaimer usage
19 years ago
Kevin P. Fleming 5ae03d8ff8 memory allocation optimizations
19 years ago
Russell Bryant ec39ee2c34 fix various places where the code returns without unlocking vmlock or
19 years ago
Russell Bryant ecbc33eb78 add a missing close of an open fd, destroy of open config, and removal of the
19 years ago
Joshua Colp d1afe5c64f Greatly simply the mixmonitor thread, and move channel reference directly to spy structure so that the core can modify it.
19 years ago
Russell Bryant dcebecb76e fix up five little places where frames would not be free'd and remove an
19 years ago
Russell Bryant 332880b8bc fix a place that would leak a frame (all of these fixes are in applications
19 years ago
Russell Bryant 59224d0f9f fix a couple places that would leak a frame
19 years ago
Russell Bryant 33661e9258 fix two places that would cause a frame to be leaked
19 years ago
Russell Bryant 4003aff342 fix a case where an HTML frame would be leaked
19 years ago
Russell Bryant de0d5de853 Free frames read from the channel when measuring noise. This resulted in about
19 years ago
Russell Bryant 9c99053126 backport a couple of frame leak fixes from the trunk (revisions 33446, 33447)
19 years ago
Joshua Colp 9d9a6da961 Allow the format outputted by meetme list to be used for meetme commands (like kick) (issue #7322 reported by darkskiez)
19 years ago
Joshua Colp 5ccc5a9e53 Handle hangup during recording of screened name (issue #7304 reported by kulldominique)
19 years ago
Joshua Colp 43f10147fe Add missing newlines (issue #7323 reported by darkskiez)
19 years ago
Tilghman Lesher 95cd30dc01 Bug 7287 - A too short voicemail with ODBC_STORAGE will cause the first voicemail to be deleted erroneously
19 years ago
Kevin P. Fleming 5684ba5966 return bridge exit logic to what it was before i broke it :-(
19 years ago
BJ Weschke a6a17f1789 Fix infinite loop scenario and add some sanity checking to prevent segfault on a NULL parameter coming in (which probably shouldn't happen, but just to be safe...)
19 years ago
BJ Weschke a94248e7dc A new way to try and deal with deadlocks that occur in app_queue at present. Using this approach, we only manipulate the main queue mutexes when we get a dev state change on a device that is actually a member of a queue. Backported from /trunk for the "bug fix".
19 years ago
BJ Weschke f1744d3e31 Oops.
19 years ago
Joshua Colp 9ef31203c9 Don't play the enter sound twice when a person joins a conference after the leader has joined it. (issue #6138 reported by shanermn)
19 years ago
Matt O'Gorman 3e830d9a85 app_meemte used the ast_max_exten instead of path_max
19 years ago
Joshua Colp 42e50f7eae Merge branch for bug 6264 (Privacy option 2 returns dial-status ANSWER / option_priority_jumping not respected) (reported by jkoopmann and branch by murf
19 years ago
Kevin P. Fleming f5765a22fc fix various bugs related to exiting from queue via keypress and moh handling (issue #6776, different fix)
19 years ago
Kevin P. Fleming 75ca02dbaa backport some mutex initialization and linked list handling fixes from trunk
19 years ago
Joshua Colp 919e8741b4 Increase the silence threshold to 128 to "fix" it, so I'm told. (issue #6595 reported by davetroy fixed by casper)
19 years ago
Tilghman Lesher 6691ebf59f Bug 7194 - spelling fix
19 years ago
Kevin P. Fleming e0989958cc don't allow queue member devices to ring longer than the total queue timeout (issue #6423, reported and patched by bcnit)
19 years ago
Russell Bryant 9123735599 fix a case where code made assumptions about how memory for variables is
19 years ago
Joshua Colp 63c91a899e When forwarding messages use the context that the active voicemail user was found in. (issue #7010)
19 years ago
Joshua Colp 14285e5b2b Treat paused queue members as unreachable (issue #7127 reported by peterh)
19 years ago
Tilghman Lesher 25d2c99737 Bug 7167 - HasNewVoicemail and VMCOUNT() didn't work when USE_ODBC_STORAGE was defined
19 years ago
Joshua Colp 3c8d8caca1 Return -1 on error in ODBC messagecount and 0 on success (issue #7133 reported by cfieldmtm)
19 years ago
Joshua Colp a6d8b31956 Fix endless looping message by checking value of res before doing retries stuff. (issue #7140 reported by tanischen)
19 years ago
Olle Johansson 9911943d3d Video in meetme? Hmmm. Removed until we do have some code for it.
19 years ago
Joshua Colp 968d069242 Priority jumping not working on VoiceMail app with new syntax (issue #7164 reported and fixed by alvaro_palma_aste)
19 years ago
Joshua Colp bc3570ac0f OSPNext does not handle success/failure correctly (issue #7147 reported and fixed by eborgstrom)
19 years ago
Tilghman Lesher 728e1d9a31 Bug 7125 - Fix race condition between resequencing and leaving a message
19 years ago
Joshua Colp 961bcfe98c Inherit channel variables during call forwards when going through chan_local (issue #7095 reported by raarts)
19 years ago
Tilghman Lesher ee46d2d92e Bug 7134 - File descriptor leak with ODBC storage of voicemail
19 years ago
BJ Weschke b2e48e3c22 Correct memory leak in find_user_realtime #7118 (fnordian)
19 years ago
BJ Weschke 249760b951 Make QueueStatusComplete event thread safe by wrapping it inside the queue lock clause already there. #7013 (bziherl reporting)
19 years ago
BJ Weschke d46fa7e825 Oops. :(
19 years ago
BJ Weschke 41210a37d6 Don't recheck valid_exit() after getting the result from say_position (which already checks it). Should prevent another loop if the caller hits digits during the position announcement. #6776 (tgj reporting)
19 years ago
BJ Weschke b3d0a54a6b Fix playback behavior to exit correctly when we receive a hangup during playback of the invalid pin message. #7091 (AntD reporting)
19 years ago
BJ Weschke 3bc1111ea8 Voicemail fixes along with an API change approved by russellb to fix the bug(s). (jcollie and supczinskib) #7064
19 years ago
Russell Bryant d27c901fa2 use the correct function name ...
19 years ago
Russell Bryant 9d0eead218 use pbx_checkcondition() instead of ast_true() to evaluate the condition
19 years ago
Tilghman Lesher c7ee76b69f Bug 7023 - reload should not unpause members
19 years ago
BJ Weschke 092055c3a5 Make sure that only the "|" is a recognized delimiter for Verbose(), as the app documentation already specifies. #7080 (alessiof reporting)
19 years ago
BJ Weschke 1b107baf37 Correct application documentation to make users aware that certain options cannot be used in conjunction with others. #6666 (chotaire)
19 years ago
Tilghman Lesher 49aa847408 Prompt does not request '#' to end input, so the application should not require it
19 years ago
Tilghman Lesher 00c0af845d Bug 6864 - drop realtime priority on ALL external processes
19 years ago
BJ Weschke 822ea9615a Correct a condition from the prior patch that could happen in rare circumstances and cause a core dump. Thanks Qwell!
19 years ago
BJ Weschke b7f8ee4a6d Make sure that when someone 0's out while recording a msg and then chooses to DELETE the recorded file, the .txt file isn't left around by itself to cause problems later. #7061 (dimitripietro reporting, blitzrage confirmed)
19 years ago
Kevin P. Fleming 9426da88b7 fix this to actually compile so people can learn from it
19 years ago
Kevin P. Fleming 4397e6dd42 remove extraneous -m64 flag that is not needed
19 years ago
Joshua Colp d0aef28b0e Queue(somequeue,,,,) -> interpreted as Queue(somequeue,,,,0) (issue #7044 reported nathan fixed by jsmith - sort of)
19 years ago
Matt O'Gorman d9b9996a59 do not allow for users to forward voicemail to
19 years ago
Tilghman Lesher e6b64adab2 Bug 6984 - off by one error in Random()
19 years ago
Tilghman Lesher 4bea5adcbf Bug 6947 - Allow vm broadcasts to more than 256 characters worth of mailboxes
19 years ago
Kevin P. Fleming bd9026f975 oops... let's not set a variable and then immediately overwrite it while assuming its old value will magically return
19 years ago
Tilghman Lesher 829bf52765 Bug 6490 - telco intercept should report NOANSWER instead of CHANUNAVAIL
19 years ago
Tilghman Lesher b224ed93ca Bug 6061 - Fix ODBC storage of VM on PGSQL and MSSQL
19 years ago
Kevin P. Fleming 5bc6b3b6fd don't call the originating device as part of the Page() operation (issue #6932)
19 years ago
Kevin P. Fleming 95dc3bba01 handle call time limit properly when warning is requested _after_ call would hae already ended (issue #6356)
19 years ago
BJ Weschke 83b525e2cb When using the silence detector in ast_play_and_record() and ast_play_and_prepend(), the truncation code never gets called to remove the detected silence, because the value of res is zero when control gets to that point. #6903 w/some mods (softins)
19 years ago
Tilghman Lesher 08cc142495 Bug 6914 - .txt file fails to rename on operator out
19 years ago
Kevin P. Fleming ce8275960e fix typo
19 years ago
Kevin P. Fleming a6e5c98723 small fix... don't try to check conference details if it couldn't be created or found
19 years ago
Kevin P. Fleming 60df6b45d2 don't try to support 'i' or 'r' options if chan_zap is not loaded, and warn the user when they attempt to use them (issue #6675)
19 years ago
Russell Bryant 235212182e move continue out of block that checks verbose level (issue #6880)
19 years ago
Joshua Colp 831a96aac1 Update email address to my Digium one
19 years ago
Olle Johansson 457bdd22bb Issue #6882 - move "res=-1" out of verbosity block, minor code cleanups (casper)
19 years ago
Matt O'Gorman 43fde6acce Adds documentation to show what the w flag.
19 years ago
Olle Johansson 0a48c19845 Typo fix.
19 years ago
Tilghman Lesher 0bb7b71572 Bug 6830 - Let GosubIf work with the same conditions as a GotoIf (change in API approved by Russell)
19 years ago
Tilghman Lesher ea4baa91d0 Fix incorrect size of zeroing (left over from when maxmsg was hardcoded at 100)
19 years ago
Tilghman Lesher eb76fca6a3 Bug 6783 - When context is specified, voicemail should look for mailboxes in that context
19 years ago
BJ Weschke dea7edda6b Fix a typo in the app description
19 years ago
BJ Weschke 41feb1c7ff Bug #5884 - fix a possible race state in app_meetme when a channel has gone away and we are reading continuously for more frames. (mneuhauser)
19 years ago
Russell Bryant 9884c9637a don't crash when asked to read from a file that doesn't exist (issue #6786)
19 years ago
Joshua Colp b0f4874196 Fix a minor code issue
19 years ago
Joshua Colp 3667b25224 Issue #6781 - Verbose levels not enforced in app_voicemail (Reported by flobi)
19 years ago
Russell Bryant 17187101f6 don't add conference participant if the user hangs up while recording their name (issue #6661)
19 years ago
Tilghman Lesher d564b81083 Bug 6714 - Workaround to avoid retrieving incomplete voicemail message
19 years ago
Russell Bryant 13b57f8255 revert the change made in revision 12927 in favor of keeping the original
19 years ago
Russell Bryant e6ae8990bc when using the G() option to Dial, fix sending the called channel to 1 priority
19 years ago
Russell Bryant 14e8c4c5a3 fix a problem with not loading realtime queue members by always reloading a
19 years ago
BJ Weschke 4e3b9d6389 Substitute variables in the post_process string (if it exists) before those variables could possibly disappear (channel hangup) #6462
20 years ago
Tilghman Lesher 3da520e492 Fix possible lack of initialization of useadsi
20 years ago
Russell Bryant 7c92ffe150 when executing the Directory application from voicemail and a context is not
20 years ago
Matt O'Gorman bab77bbab1 bug fix from 6485 with musiconhold not being turned
20 years ago
Kevin P. Fleming ce008d40a1 don't double-increment abandon counter for calls that are hung up while dialing members (issue #6289)
20 years ago
Mark Spencer 710445b5b1 Fix stopstream in menus (bug #6137)
20 years ago
Josh Roberson 671cde62de Don't set the formats before we stop indications. (issue #6380)
20 years ago
Russell Bryant db467378b4 fix due to CDR changes
20 years ago
Tilghman Lesher bae6e7b617 Revert behavior change from previous commit (fixes only)
20 years ago
Tilghman Lesher cf015dbefc Backport 5929 to 1.2
20 years ago
Russell Bryant 32cc1bedc1 add another location for postgresql headers (issue #6419)
20 years ago
Tilghman Lesher eb177856db Bug 6176 - Fix race condition
20 years ago
Kevin P. Fleming e07c977f18 ensure hangup cause code is handled properly when channel does not return a frame (issue #6346)
20 years ago
Russell Bryant 2f1d118537 fix memory leak from not freeing the queue member list when freeing an old queue
20 years ago
Tilghman Lesher 366c8a99ef Bug 5936 - AddQueueMember fails on realtime queue, if queue not yet loaded
20 years ago
Russell Bryant 30f2aff526 fix invalid value of prev_q (issue #6302)
20 years ago
Russell Bryant 57c82eb66f fix a seg fault due to assuming that space gets allocatted on the stack in the
20 years ago
Matt O'Gorman 5460606cff Solves issue with the login proccess in meetme
20 years ago
Matt O'Gorman 792b78b317 Stop any generators running on a channel when
20 years ago
Tilghman Lesher cb08e49303 Bug 6211 - Add option deletevoicemail as equivalent to option delete for Realtime
20 years ago
Russell Bryant b5ec3e47fa fix temp greetings with ODBC storage (issue #6078)
20 years ago
Russell Bryant 72deed0c37 fix a little typo
20 years ago
Tilghman Lesher b9f8c60fa7 Bug 6192 - behave correctly when mailbox is specified as argument
20 years ago
Kevin P. Fleming bb47f95262 fix breakage introduced in revision 7871
20 years ago
Russell Bryant a7a2115b9c fix seg fault when using greek syntax in VoicemMailMain (issue #6142)
20 years ago