summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-06-29various minor fixes created while i worked on getting *every* Asterisk ↵Kevin P. Fleming
module to build on laptop in dev mode: remove weird pre-setting of LUA paths; they are not necessary; also use the proper path for including the files in pbx_lua.c add searching for OpenAIS libraries in /usr/lib/openais if a path is not specified; not sure if this is really the optimal solution, but it works make the compiler shut up about some ignored function results in pbx_gtkconsole; this module is badly coded anyway git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-29This was bogus, need to find a better way.Sean Bright
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-29While we're at it, escape all the columns in our TDS queries as well. DoubleSean Bright
quotes seems to be more standard than square brackets (Sybase and SQL Server both support them). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-29implement a 'toggle' option for 'console mute' and 'console unmute'Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-29add some defines and fields in preparation for the import ofLuigi Rizzo
the video source switching support git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-29accept any name starting with X11 for X11 grabbers - this letsLuigi Rizzo
you have multiple active instances of this grabber; require v4l device names to start with '/dev/' - prevents some useless attempt to open a file as a device. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-29make this compile after ast_frame's data field changed to a unionLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-29Quote column names when inserting CDRs into postgres to avoid conflictsSean Bright
with reserved words. (closes issue #12947) Reported by: panolex git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-28Merge in changes from my cdr-tds-conversion branch. This changes the internalSean Bright
implementation from using the volatile libtds, to using the db-lib front end. The unintended side effect of this is that we support (at least) versions 0.62 through 0.82 of the FreeTDS distribution without any #ifdef ugliness. (closes issue #12844) Reported by: jcollie git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126226 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-28yay for airplane ride optimizations... sort the fields in ast_channel by ↵Kevin P. Fleming
alignment requirements, saving 36 bytes per instance on a 64-bit platform git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-28fix silly syntax errorKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126154 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-28add message when no UI for menuselect is presentKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126153 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-28use batch-mode (no user interface) menuselect for --check-deps operationsKevin P. Fleming
move automatic user interface selection for menuselect to this Makefile git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27Pretty up the 'cdr show status' output.Sean Bright
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27Merged revisions 126056 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r126056 | tilghman | 2008-06-27 17:01:09 -0500 (Fri, 27 Jun 2008) | 4 lines When we get a 408 Timeout, don't stop trying to re-register. (closes issue #12863) Reported by: ricvil ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126057 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27Separate multiple items encoded into a single field with ';'Tilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126021 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27Fix a typo. Someone on IRC copied this literally and then wondered why itRussell Bryant
wasn't working. :) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27Revert this part of the fix. We'll fix it in libss7Matthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125984 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27Obviously somebody didn't compile with libss7 support when doing the DAHDI ↵Matthew Fredrickson
conversion. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27Add support for new commands to block/unblock all CICs on a linksetMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125980 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27Small error in the function that converts peer transports to a string.Brett Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27Document DLA_UNLOCK and DLA_LOCKTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27Blocked revisions 125893 via svnmergeTilghman Lesher
........ r125893 | tilghman | 2008-06-27 11:46:05 -0500 (Fri, 27 Jun 2008) | 7 lines Since HAVE_DAHDI is defined to HAVE_ZAPTEL in dahdi_compat.h, we must first check for HAVE_ZAPTEL. (closes issue #12938) Reported by: opticron Patches: tonezone_compat.diff uploaded by opticron (license 267) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125894 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27Change the way that the transport option works for sip users. transport will ↵Brett Bryant
now take multiple arguments, the first one listed will be the one used for new dialogs, and the rest listed will be acceptable ways for that peer to contact us. This fixes a minor bug where, because SIP TCP/UDP run on the same port, could cause a TCP peer to be saved in the ast_db. There will also be warnings when a transport is changed for an unexpected reason. (issue #12799) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125891 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27Optimization suggested by Russell to cache the value of pthread_self() soMark Michelson
that it isn't evaluated every time through the loop. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27Remove debug messageMark Michelson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27Ensure the thread-safety of the monexec variable in app_queue.Mark Michelson
Thanks to Russell for pointing out the problem git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27Revert half of the fix, as this part may have been unnecessary (related to ↵Tilghman Lesher
issue #12914) Requested here: http://lists.digium.com/pipermail/asterisk-dev/2008-June/033658.html git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27Remove an unneeded target from the MakefileMark Michelson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27Push relatively unused compiler options down the list, keeping the popular ↵Tilghman Lesher
options at the top. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125796 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27Merged revisions 125793 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r125793 | tilghman | 2008-06-27 08:45:03 -0500 (Fri, 27 Jun 2008) | 2 lines In this debugging function, copy to a buffer instead of using potentially unsafe pointers. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125794 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27Merged revisions 125740 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r125740 | tilghman | 2008-06-27 07:19:39 -0500 (Fri, 27 Jun 2008) | 7 lines Add proper deadlock avoidance. (closes issue #12914) Reported by: ozan Patches: 20080625__bug12914.diff.txt uploaded by Corydon76 (license 14) Tested by: ozan ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27Fix a compile time error that occurs if OpenSSL is not installed. Reported ↵Philippe Sultan
by Noel Morais on the users mailing list git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27Make this compile with dev-mode onMark Michelson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125666 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27The monitor-join option for queues was deprecated in favor of usingMark Michelson
MixMonitor to mix audio. However, it was pointed out to me that because of this, the command set for the MONITOR_EXEC variable is ignored as well. This means that people can't do their own custom mixing commands at the end of recordings in order to make, for instance, stereo recordings of calls. With this patch, app_queue will set the "joinfiles" variable for the channel's monitor if MONITOR_EXEC is not zero-length. This means that for normal audio mixing, MixMonitor is still the preferred choice, but we allow custom mixing to be done with the two Monitor streams if desired. (closes issue #12923) Reported by: snyfer git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26Improve consistency between app_dial and app_queue with regardsMark Michelson
to how language is handled between two channels whose native language is different. Prior to this patch, app_dial would have the callee inherit the caller's language, and app_queue would not. After this patch, app_dial no longer has the language inheritance capability. This seems to make the most sense since it seems more natural for a person to hear files played back in his/her native language instead of the language of the person on the far end of the call. See the CHANGES file for hints on how to keep the previous behavior of app_dial if desired. (closes issue #12489) Reported by: bcnit git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26remove block of commented code to set __ouripMichiel van Baak
This is now handled in skinny_register and load_config. part two of chan_skinny cleanup git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26remove paging device from chan_skinny.Michiel van Baak
This has never been used, and noone could give us info about what it is used for. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125593 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26Fix a really stupid mistakeMark Michelson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125591 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26Merged revisions 125587 via svnmerge from Jason Parker
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r125587 | qwell | 2008-06-26 18:03:15 -0500 (Thu, 26 Jun 2008) | 1 line Make sure to unlock the lock_info lock (huh?). Possible deadlock? ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26Merged revisions 125585 via svnmerge from Mark Michelson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r125585 | mmichelson | 2008-06-26 17:52:39 -0500 (Thu, 26 Jun 2008) | 11 lines Add the interface of a queue member to the output of the "queue show" command so that it can easily be associated with a queue member's name. This helps so that the appropriate queue member can be removed or paused since the interface is required, not the member's name. (closes issue #12783) Reported by: davevg Patches: app_queue.diff uploaded by davevg (license 209) with small mod from me ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26Don't hang if the command is blankTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26Blocked revisions 125530 via svnmergeMark Michelson
........ r125530 | mmichelson | 2008-06-26 17:02:55 -0500 (Thu, 26 Jun 2008) | 10 lines Backport of attended transfer queue_log patch from trunk. This patch allows for attended transfers to be logged in the queue_log the same way that blind transfers have always been. It was decided by popular opinion on the asterisk-dev mailing list that this should be backported to 1.4. Thanks to everyone who gave an opinion. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26Merged revisions 125476 via svnmerge from Mark Michelson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r125476 | mmichelson | 2008-06-26 15:56:01 -0500 (Thu, 26 Jun 2008) | 11 lines Prior to this patch, the "queue show" command used cached information for realtime queues instead of giving up-to-date info. Now realtime is queried for the latest and greatest in queue info. (closes issue #12858) Reported by: bcnit Patches: queue_show.patch uploaded by putnopvut (license 60) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26Don't play "your message has been saved" twice.Tilghman Lesher
(closes issue #12893) Reported by: jaroth Patches: duplicate_saved.patch uploaded by jaroth (license 50) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125438 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26Convert casts to unions, to fix alignment issues on SolarisTilghman Lesher
(closes issue #12932) Reported by: snuffy Patches: bug_12932_20080627.diff uploaded by snuffy (license 35) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125386 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26Merged revisions 125384 via svnmerge from Olle Johansson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r125384 | oej | 2008-06-26 18:32:08 +0200 (Tor, 26 Jun 2008) | 3 lines Add support for peer realm based auth (a few missing lines, the rest is well documented but never worked) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125385 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26Merged revisions 125327 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r125327 | kpfleming | 2008-06-26 10:30:33 -0500 (Thu, 26 Jun 2008) | 5 lines ensure that (whenever possible) if we generate a log message because an ioctl() call to DAHDI/Zaptel failed, that we include the reason it failed by including the stringified error number (issue AST-80) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125333 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26- add get_max_rate timing API callRussell Bryant
- change ast_settimeout() to honor max rate in edge cases of file playback (this will make some warning messages go away at the end of playing back a file) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26fix compile failure found by buildbot (go, buildbot!)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125279 65c4cc65-6c06-0410-ace0-fbb531ad65f3