aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2008-10-06Merged revisions 146799 via svnmerge from tilghman11-13/+51
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: http://svn.digium.com/svn/asterisk/trunk@146802 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-06Pretty-print a couple configure optionsseanbright2-7/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@146738 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-06Merged revisions 146711 via svnmerge from tilghman1-0/+12
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: http://svn.digium.com/svn/asterisk/trunk@146713 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-06Merged revisions 146643 via svnmerge from kpfleming0-0/+0
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: http://svn.digium.com/svn/asterisk/trunk@146644 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-06This commit introduces a change to how the "joinempty"mmichelson3-101/+144
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: http://svn.digium.com/svn/asterisk/trunk@146640 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-06Make NOISY_BUILD work for the calls to cp in utils/Makefileseanbright1-13/+27
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@146597 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-06Quote arguments to cp so we can handle spaces in our paths.seanbright1-12/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@146555 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-05Make this build on my mac.russell1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@146514 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-05Recorded merge of revisions 146448 via svnmerge from qwell1-1/+2
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: http://svn.digium.com/svn/asterisk/trunk@146449 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-05This is far from optimal, but I just found a FreeBSD system withoutseanbright1-13/+7
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: http://svn.digium.com/svn/asterisk/trunk@146407 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-04Fix a bug with the last item in CLI history getting duplicated whenseanbright1-4/+7
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: http://svn.digium.com/svn/asterisk/trunk@146359 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-04Add ability to remotely reboot snom phones. Also cleaned up andseanbright1-15/+28
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: http://svn.digium.com/svn/asterisk/trunk@146312 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-03Blocked revisions 146244 via svnmergeseanbright0-0/+0
........ 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: http://svn.digium.com/svn/asterisk/trunk@146245 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-03remove superfluous reference counting operations in manage_parkinglot since ↵jpeeler1-5/+1
ao2_interator_next increments the ref count automatically git-svn-id: http://svn.digium.com/svn/asterisk/trunk@146242 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-03Resolve a subtle bug where we would never successfully be able to getseanbright1-5/+5
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: http://svn.digium.com/svn/asterisk/trunk@146198 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-03Blocked revisions 146129 via svnmergejpeeler0-0/+0
........ r146129 | jpeeler | 2008-10-03 15:44:22 -0500 (Fri, 03 Oct 2008) | 7 lines (closes issue #13425) Reported by: mdu113 Tested by: mdu113 Similar to r143204, masquerade the channel in the case of Park being called from AGI. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@146130 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-03document meetme schedule changes (related to issue #11040)tilghman1-0/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@146081 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-03put a note in CHANGES about the cli_cleanup done during AstriDevConmvanbaak1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@146053 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-03The dialing API should inherit datastores as well as variablestwilson1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@146052 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-02The 'P' command for ExternalIVR was also added in 1.6.0russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145962 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-02TCP support for ExternalIVR went in to 1.6.1, not 1.6.0russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145959 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-02fix the 'meetme list', 'meetme list concise', 'meetme list $confno' and ↵mvanbaak1-70/+66
'meetme list $confno concise' CLI commands (closes issue #13586) Reported by: john8675309 Help and feedback from eliel, thanks! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145915 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-02Permit the syntax and synopsis fields to be set (for func_odbc).tilghman3-3/+34
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145846 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-02make this compile under devmode againmvanbaak1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145842 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-02Blocked revisions 145839 via svnmergetilghman0-0/+0
........ r145839 | tilghman | 2008-10-02 11:39:56 -0500 (Thu, 02 Oct 2008) | 4 lines Backport support for some of the keyword modifications used in 1.6 (while warning that some options aren't really supported) and add some warning messages. Some credit to oej, who was complaining in #asterisk-dev. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145840 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-02This is much cleaner, methinks.seanbright2-105/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145771 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-02Merged revisions 145751 via svnmerge from tilghman1-9/+15
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r145751 | tilghman | 2008-10-02 10:13:21 -0500 (Thu, 02 Oct 2008) | 3 lines Some sanity checks that may have led to prior crashes, found by codefreeze-lap (murf) on IRC. Also some cleanup of incorrectly-used constants. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145752 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-01Try a test compile using the GMime library. Some distros install gmime-configseanbright2-0/+100
in the base package instead of the -devel package. Now we print a notice and disable GMime support instead of bombing during the main compilation. (closes issue #13583) Reported by: arkadia git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145692 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-01Add schedule extensions to app_meetme. In addition, the reporter found atilghman4-138/+410
problem within strptime(3), which we are correcting here with ast_strptime(). (closes issue #11040) Reported by: DEA Patches: 20080910__bug11040.diff.txt uploaded by Corydon76 (license 14) Tested by: DEA git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145649 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-01Okay, this should really do it now. While I did managemmichelson1-3/+4
to fix blind transfers with my last commit here, I also caused an unwanted side-effect. That is, only the first priority of the 'h' extension would be executed when a blind transfer occurred instead of all priorities. Essentially, my last commit corrected the return value of ast_bridge_call. However, the implementation still was not 100% correct. Now it is. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145606 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-01if (!(x) == 0) is the same asmmichelson1-1/+1
if (x). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145579 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-01The logic surrounding the return value of ast_spawn_extensionmmichelson1-1/+1
within ast_bridge_call was reversed. This problem was observed when a blind transfer placed from the callee channel of a test call failed. While the problem I am solving here is exactly the same as what was reported in issue #13584, the difference is that this fix I am applying is trunk-only. Issue #13584 was reported against the 1.4 branch, and my tests of 1.4's blind transfers appear to work fine. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145553 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-01Merged revisions 145479 via svnmerge from lmadsen1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r145479 | lmadsen | 2008-10-01 13:18:30 -0400 (Wed, 01 Oct 2008) | 6 lines Update the realtime_pgsql.sql script to create the setinterfacevar column. (closes issue #13549) Reported by: fiddur ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145487 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-01Initializing buffer prevents a segfault when arguments are incomplete.tilghman1-1/+1
(closes issue #13471) Reported by: alecdavis Patches: 20080916__bug13471.diff.txt uploaded by Corydon76 (license 14) Tested by: alecdavis git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145428 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-01Too many times have I mistyped the wordmmichelson1-0/+2
'install' as 'isntall' Now this typo shall no longer be a problem since 'make isntall' just builds the 'install' target. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145381 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-01tabs to spacesrussell1-8/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145329 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-30(closes issue #13337)jpeeler1-0/+2
Reported by: pj Tested by: pj Set transport to SIP_TRANSPORT_UDP mode if not specified which fixes calls to get_transport returning UNKNOWN. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145249 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-30Add support for call pickup on Snom phones. Asterisk now includes a magicrussell2-17/+108
call-id in the dialog-info event package used with extension state subscriptions on Snom phones. Then, when the phone sends an INVITE with Replaces for the special callid, Asterisk will perform a pickup on the extension that was subscribed to. The original code on this issue was submitted by xylome. However, contributions have been made by (at least) mgernoth and pkempgen. The final patch was written by seanbright, and includes the necessary logic to allow this work in a technology independent way. (closes issue #5014) Reported by: xylome Patches: issue5014-trunk.diff uploaded by seanbright (license 71) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145226 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-30* Miscellaneous formatting changes to make v1.4 and trunkrmudgett4-136/+134
more merge compatible in the mISDN area. channels/chan_misdn.c * Eliminated redundant code in cb_events() EVENT_SETUP git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145200 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-28Merge the cli_cleanup branch.mvanbaak21-283/+233
This work is done by lmadsen, junky and mvanbaak during AstriDevCon. This is the second audit the CLI got, and this time lmadsen made sure he had _ALL_ modules loaded that have CLI commands in them. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145121 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-28Change several improper "sizeof" to "strlen", as sizeof in that context wouldtilghman1-30/+56
incorrectly use the size of a pointer, rather than the length of a string. (Closes issue #13574) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145076 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-28rename chandup() and clarify its usagekpfleming1-10/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145027 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-27remove incorrect commentkpfleming1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144951 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-27fix bugs caused by r144949 when MALLOC_DEBUG is definedkpfleming3-22/+26
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144950 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-27Merged revisions 144924-144925 via svnmerge from kpfleming15-235/+54
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r144924 | kpfleming | 2008-09-27 10:00:48 -0500 (Sat, 27 Sep 2008) | 6 lines improve header inclusion process in a few small ways: - it is no longer necessary to forcibly include asterisk/autoconfig.h; every module already includes asterisk.h as its first header (even before system headers), which serves the same purpose - astmm.h is now included by asterisk.h when needed, instead of being forced by the Makefile; this means external modules will build properly against installed headers with MALLOC_DEBUG enabled - simplify the usage of some of these headers in the AEL-related stuff in the utils directory ........ r144925 | kpfleming | 2008-09-27 10:13:30 -0500 (Sat, 27 Sep 2008) | 2 lines fix some minor issues with rev 144924 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144949 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-27fix a couple of CLI commands that did not have a help description.mvanbaak2-2/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144879 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-26Update documentation to include default setting. This is for you jtodd!file1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144829 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-26Blocked revisions 144758 via svnmergemmichelson0-0/+0
........ r144758 | mmichelson | 2008-09-26 17:14:59 -0500 (Fri, 26 Sep 2008) | 7 lines This patch was applied to 1.4 but it completely does not apply since the "found" pointer is not passed in to this function. If this is going to be backported, it needs to be done differently or a deeper backport needs to be done. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144759 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-26(closes issue #13564)murf1-5/+48
Reported by: mnicholson Patches: pbx_lua9.diff uploaded by mnicholson (license 96) Many thanks to Matt for his upgrade to the lua dialplan option! the Description from the bug: This patch adds a stack trace to errors encountered while executing lua extensions. The patch also handles out of memory errors reported by lua. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144681 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-26Merged revisions 144677 via svnmerge from murf1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r144677 | murf | 2008-09-26 11:47:13 -0600 (Fri, 26 Sep 2008) | 12 lines (closes issue #13563) Reported by: mnicholson Patches: found1.diff uploaded by mnicholson (license 96) This patch was mainly meant to apply to trunk and 1.6.x, but I'm applying it to 1.4 also, which should be a perfectly harmless fix to the vast majority of users who are not using external switches, but the few who might be affected will not have to go to the pain of filing a bug report. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144678 f38db490-d61c-443f-a65b-d21fe96a405b