summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-10-09(closes issue #13557)Steve Murphy
Reported by: nickpeirson Patches: pbx.c.patch uploaded by nickpeirson (license 579) replace_bzero+bcopy.patch uploaded by nickpeirson (license 579) Tested by: nickpeirson, murf 1. replaced all refs to bzero and bcopy to memset and memmove instead. 2. added a note to the CODING-GUIDELINES 3. add two macros to asterisk.h to prevent bzero, bcopy from creeping back into the source 4. removed bzero from configure, configure.ac, autoconfig.h.in git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147807 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-09*whistle*Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147761 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-09Add support for subscribing to a voice mailbox on a remote SIP server and ↵Joshua Colp
making the new/old message count available to local devices. (issue #AST-77) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147760 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-08Some small tweaks regarding realtime conference announcements.Mark Michelson
(closes issue #13522) Reported by: DEA Patches: meetme-rt-fixes.txt uploaded by DEA (license 3) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-08Merged revisions 147681 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r147681 | kpfleming | 2008-10-08 17:22:09 -0500 (Wed, 08 Oct 2008) | 3 lines when parsing a text configuration option, ensure that the buffer on the stack is actually large enough to hold the legal values of that option, and also ensure that sscanf() knows to stop parsing if it would overrun the buffer (without these changes, specifying "buffers=...,immediate" would overflow the buffer on the stack, and could not have worked as expected) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147689 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-08Add some examples of IMAP accounts.Sean Bright
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-08Correct a typo in the help; also, ensure that the date and time are correctlyTilghman Lesher
set, if not specified in the message. (Closes issue #13594, closes issue #13595) Reported by: alecdavis Patches: 20081001__bug13595.diff.txt uploaded by Corydon76 (license 14) Tested by: alecdavis git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147592 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-08Merged revisions 147517 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r147517 | file | 2008-10-08 11:51:42 -0300 (Wed, 08 Oct 2008) | 2 lines If we receive DTMF make sure that the state of the speech structure goes back to being not ready. (issue #LUMENVOX-8) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-08Adjust commented default trunkmtu value to match documentation above itBradley Latus
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-08Keep up with shadow warnings. One day I'll actually enable this in the ↵Sean Bright
Makefile. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-08When echoing our copies, strip off ASTTOPDIR from the front of the source file.Sean Bright
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147456 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07Move the DAHDI-to-DAHDI operator mode check from app_dial into chan_dahdiSean Bright
so we don't have to hardcode anything. (closes issue #13636) Reported by: seanbright Patches: 13636.diff uploaded by seanbright (license 71) Reviewed by: russellb, putnopvut git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147388 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07Make format_vorbis_ogg compile on OpenBSDMichiel van Baak
(closes issue #13639) Reported by: mvanbaak Patches: 2008100700_oggsupportOBSD.diff.txt uploaded by mvanbaak (license 7) 2008100700_oggsupportOBSD-configurescript.diff.txt uploaded by mvanbaak (license 7) Tested by: mvanbaak git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147347 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07make this work on OpenBSDMichiel van Baak
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07Make sure the configs on OpenBSD are in /etc/asterisk by defaultMichiel van Baak
(closes issue #13641) Reported by: jtodd git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07use pkill instead of killall to be more portableMichiel van Baak
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07This was flawed. The issue that I was trying to address was addressed bySean Bright
adding the imapsecret alias for imappassword. Will rethink this one and give it another shot on a rainy day TBD. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07fix wording as pointed out by CorydonMichiel van Baak
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07Allow people to select the old console behavior of white text on a blackTilghman Lesher
background, by using the startup flag '-B'. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07Merged revisions 147193 via svnmerge from Sean Bright
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r147193 | seanbright | 2008-10-07 12:48:30 -0400 (Tue, 07 Oct 2008) | 2 lines Make 'imapsecret' an alias to 'imappassword' in voicemail.conf. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07Or not.Sean Bright
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07There was a boo-boo in TFOT that is causing some confusion on the mailing listsSean Bright
so include 'imapsecret' as an alias to 'imappassword' (and print a little notice nudging users toward the right option name). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147191 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07Explicitly setting these fields to NULL was done because I wasn't sure if ↵Jeff Peeler
they would be NULL otherwise. Since they will be set automatically, removing. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07If we encounter something in mailbox options that we don't grok, thenSean Bright
spit out a warning instead of just silently ignoring it. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147099 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07Make sure to compare the correct number of characters when special-casingSean Bright
our DAHDI operator mode stuff. Technically, it would work fine, as 'DAH' is currently unique amongst our channel technologies, but as Jared points out: <@jsmith> Sure... as long as the technology starts whith DAH.... but it could be DAHDOO! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07Independent change from branch issue8824 that is not part of COLP. (-r142574 ↵Richard Mudgett
rmudgett) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07A blind transfer to the parking thread would cause a segfault because ↵Terry Wilson
copy_request accesses dst->data w/o being able to tell whether it is proerly initialized git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146970 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06Update documentation; AST_THREADSTORAGE() in trunk only takes a singleTilghman Lesher
argument. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146928 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06All ODBC parts can now use either unixodbc or iodbc.Michiel van Baak
This allows for the ODBC parts to work on OpenBSD as well. 99.99% of the work is done by seanbright (bow, bow) and I actually did nothing but test and yell at him that it still didn't work :) Thanks for helping out ! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146925 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06Similar to r143204, masquerade the channel in the case of Park being called ↵Jeff Peeler
from AGI. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146923 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06Mvanbaak said this was needed to compile on OpenBSD, so put it in the ↵Jeff Peeler
OpenBSD section. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146920 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06This commit squashes together three commits because the wrong approach was ↵Jeff Peeler
originally used. (One of the commits was only one line.) 1) r143204: The main change here was to masquerade the channel if the channel that was to be parked was running a PBX on it. The PBX thread can then maintain full control of the channel (the zombie) as it expects to while allowing the parking thread full control of the real (parked) channel. 2) r143270: Changed park_call_full to hold the parkinglot lock a little longer, which protects the parkeduser struct from being freed out from underneath. Made sure that the parking extension is added to the parking context while holding the lock thereby ensuring that there are no spurious warnings from removal attempts when a hangup occurs while the parking lot is being announced. 3) r143475: (the one liner) compare peer and chan instead of looking at the parked user (pu), which could have possibly already have been freed by the parking thread git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146883 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06fix some comment placementJeff Peeler
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06Explicitly set args in park_call_exec NULL so in the case of no options ↵Jeff Peeler
being passed in, there is no garbage attempted to be used. Also, do not set args to unknown value again if there are no options passed in. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06make aescrypt.c compile on OpenBSD againMichiel van Baak
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146807 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06Merged revisions 146799 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r146799 | tilghman | 2008-10-06 15:52:04 -0500 (Mon, 06 Oct 2008) | 8 lines Dialplan functions should not actually return 0, unless they have modified the workspace. To signal an error (and no change to the workspace), -1 should be returned instead. (closes issue #13340) Reported by: kryptolus Patches: 20080827__bug13340__2.diff.txt uploaded by Corydon76 (license 14) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146802 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06Pretty-print a couple configure optionsSean Bright
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146738 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06Merged revisions 146711 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r146711 | tilghman | 2008-10-06 11:51:21 -0500 (Mon, 06 Oct 2008) | 9 lines Check whether an extension exists in the _call method, rather than the _alloc method, because we need to evaluate the callerid (since that data affects whether an extension exists). (closes issue #13343) Reported by: efutch Patches: 20080915__bug13343.diff.txt uploaded by Corydon76 (license 14) Tested by: efutch ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146713 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06Merged revisions 146643 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r146643 | kpfleming | 2008-10-06 10:57:49 -0500 (Mon, 06 Oct 2008) | 8 lines ensure that the private structure for pseudo channels is created without 'leaking' configuration data from other configured channels (closes issue #13555) Reported by: jeffg Patches: issue_13555.patch uploaded by kpfleming (license 421) Tested by: jeffg ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146644 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06This commit introduces a change to how the "joinempty"Mark Michelson
and "leavewhenempty" options are configured in queues.conf. Instead of using vague terms like "yes," "no," "loose," and "strict," we now accept a comma-separated list of values to determine when to consider a member available. Extended details can be found in the queues.conf.sample file. Note also that the above four referenced values are still accepted for backwards-compatibility, but are mapped internally to the new method of representing the option. AST-105 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06Make NOISY_BUILD work for the calls to cp in utils/MakefileSean Bright
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06Quote arguments to cp so we can handle spaces in our paths.Sean Bright
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-05Make this build on my mac.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-05Recorded merge of revisions 146448 via svnmerge from Jason Parker
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r146448 | qwell | 2008-10-05 16:17:44 -0500 (Sun, 05 Oct 2008) | 1 line Fix silly formatting. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-05This is far from optimal, but I just found a FreeBSD system withoutSean Bright
md5 installed on it. So look around for all of the different binaries that we could possibly use. I'd wager this gets completely replaced by someone else in less than 24 hours... :) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-04Fix a bug with the last item in CLI history getting duplicated whenSean Bright
read from the .asterisk_history file (and subsequently being duplicated when written). We weren't checking the result of fgets() which meant that we read the same line twice before feof() actually returned non- zero. Also, stop writing out an extra blank line between each item in the history file, fix a minor off-by-one error, and use symbolic constants rather than a hardcoded integer. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146359 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-04Add ability to remotely reboot snom phones. Also cleaned up andSean Bright
reorganized sip_notify.conf.sample a bit as well. Tested snom reboot on snom 360 and verified snom-check-cfg worked as well. (closes issue #13601) Reported by: mjc Tested by: seanbright git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-03Blocked revisions 146244 via svnmergeSean Bright
........ r146244 | seanbright | 2008-10-03 18:51:22 -0400 (Fri, 03 Oct 2008) | 6 lines Change some preprocessor macros to struct definitions so that we get app_rpt to build with DAHDI. (closes issue #13576) Reported by: blitzrage ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-03remove superfluous reference counting operations in manage_parkinglot since ↵Jeff Peeler
ao2_interator_next increments the ref count automatically git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146242 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-03Resolve a subtle bug where we would never successfully be able to getSean Bright
the first item in the CLI entry list. This was preventing '!' from showing up in either 'help' or in tab completion. (closes issue #13578) Reported by: mvanbaak git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146198 65c4cc65-6c06-0410-ace0-fbb531ad65f3