summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-06-28Apparently some builds of gcc don't have declaration-after-statement.Jason Parker
This checks for it in configure, and only uses it if it's available. If it's wrong, somebody please yell at me and tell me why. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-28Added AND, OR, and XOR bitwise operations to MATH for issue 9891, thanks jcmooreDwayne M. Hubbard
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-28Blocked revisions 72493 via svnmergeRussell Bryant
........ r72493 | russell | 2007-06-28 14:44:11 -0500 (Thu, 28 Jun 2007) | 2 lines regenerate the configure script for rizzo ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-28Remove the ill-advised ast_restrdupa API call and related structuresTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-28Fix building with -Wdeclaration-after-statement, here tooJason Parker
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-28Fix building with -Wdeclaration-after-statementJason Parker
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-2872462 is not applicable to trunkLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-28move variable declarations to the beginning of a block.Luigi Rizzo
Not applicable to previous branches. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-28move variable declarations to the beginning of the blockLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72456 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-28move variable declarations to the beginning of a block.Luigi Rizzo
Not applicable to previous branches git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72455 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-2872453 was already applied to trunk some time agoLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-28Add -Wdeclaration-after-statement to AST_DEVMODELuigi Rizzo
to detect declarations in the middle of a block. Approved by: Russel, Kevin The fallout will be fixed in separate commits. I am doing this only on trunk only for the time being, because 1.4 still requires a bit more polishing to give a clean compile (at least on FreeBSD). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-28Fix bug where point code gets corrupted on CPGMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Merged revisions 72383 via svnmerge from Brett Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r72383 | bbryant | 2007-06-27 18:29:14 -0500 (Wed, 27 Jun 2007) | 11 lines Merged revisions 72373 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r72373 | bbryant | 2007-06-27 18:22:13 -0500 (Wed, 27 Jun 2007) | 3 lines Reinstating patch. This actually fixes the problem, however I was running a development branch without it and mistakenly thought it wasn't fixed. Fixes issue #10010, and #9654: 100% CPU usage caused by an asterisk console losing it's controlling terminal. ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Merged revisions 72381 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r72381 | file | 2007-06-27 19:25:12 -0400 (Wed, 27 Jun 2007) | 10 lines Merged revisions 72378 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r72378 | file | 2007-06-27 19:24:01 -0400 (Wed, 27 Jun 2007) | 2 lines Update documentation to clarify variable usage with MixMonitor. (issue #9494 reported by netoguy) ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Silly jingle...Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Add SIPREFERRINGCONTEXT and SIPREFERREDBYHDR variables when a transfer takes ↵Joshua Colp
place. (issue #8378 reported by jcovert) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72354 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Merged revisions 72335 via svnmerge from Brett Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r72335 | bbryant | 2007-06-27 18:03:01 -0500 (Wed, 27 Jun 2007) | 10 lines Merged revisions 72333 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r72333 | bbryant | 2007-06-27 17:58:53 -0500 (Wed, 27 Jun 2007) | 2 lines Reverted changes for earlier revisions 72259 to 72261. Issue #9654, #10010 ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72337 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Merged revisions 72331 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r72331 | file | 2007-06-27 18:58:02 -0400 (Wed, 27 Jun 2007) | 2 lines Make payload IDs for iLBC/Speex match to our list. Since these are dynamic payloads the other side shouldn't care. (issue #9426 reported by irroot) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Merged revisions 72328 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r72328 | file | 2007-06-27 18:45:49 -0400 (Wed, 27 Jun 2007) | 10 lines Merged revisions 72327 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r72327 | file | 2007-06-27 18:43:11 -0400 (Wed, 27 Jun 2007) | 2 lines Fix issue where queue log events might be missing. (issue #7765 reported by mtryfoss) ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Added ability to customize which buttons control forward, reverse, pause, ↵Mark Michelson
and stop during message playback. (closes issue 9474, reported and patched by jaroth with modifications by me) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Fix a segfault when trying to tab complete the "core show uptime" command.Jason Parker
Reported in #asterisk-dev on IRC by jcmoore, fixed by me. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72326 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Add support for Thai language in say.cJason Parker
Issue 9417, patch by dome, with some cleanup done by me. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72325 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Let's NOT create a deadlock scenario hereMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Merged revisions 72272 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r72272 | russell | 2007-06-27 16:08:34 -0500 (Wed, 27 Jun 2007) | 13 lines Merged revisions 72267 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r72267 | russell | 2007-06-27 16:06:45 -0500 (Wed, 27 Jun 2007) | 5 lines Fix a minor issue with parsing the priority number. You could have as much whitespace as you want around a numeric priority, but you couldn't have any whitespace around a special priority like "n" or "hint". (issue #10039, reported by mitheloc, fixed by me) ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Merged revisions 72260 via svnmerge from Brett Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r72260 | bbryant | 2007-06-27 15:46:12 -0500 (Wed, 27 Jun 2007) | 12 lines Merged revisions 72259 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r72259 | bbryant | 2007-06-27 15:43:53 -0500 (Wed, 27 Jun 2007) | 4 lines Fixes 100% load when controlling terminal disappears. Issue #9654, #10010 ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Merged revisions 72257 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r72257 | file | 2007-06-27 16:25:24 -0400 (Wed, 27 Jun 2007) | 10 lines Merged revisions 72256 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r72256 | file | 2007-06-27 16:23:24 -0400 (Wed, 27 Jun 2007) | 2 lines I may possibly get shot for doing this... but... defer CDR processing until after the channel has been dealt with. This should eliminate all of the issues with channels going funky (SIP/PRI) when you are posting CDRs to a database that is either slow or unavailable and do not want to enable batching. ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Fix up properties.Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Fix -T option. (issue #10073 reported by xylome)Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72233 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Adding feature to support the storage and retrieval of voicemail greetings ↵Mark Michelson
using IMAP storage. This feature may be turned on by adding imapgreetings=yes to the general section of voicemail.conf voicemail.conf.sample has details on the options added. As a result, IMAP storage now has RETRIEVE and DISPOSE macros defined. In addition to the IMAP greeting changes, I also have added an enum for the voicemail folders and so now the code should be easier to understand and maintain when it comes to this area. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Merged revisions 72205 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r72205 | kpfleming | 2007-06-27 14:13:21 -0500 (Wed, 27 Jun 2007) | 2 lines use the proper type for storing group number bits so that if someone specifies 'group=42' it will actually work instead of being silently ignored ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Merged revisions 72182 via svnmerge from Jason Parker
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r72182 | qwell | 2007-06-27 13:36:56 -0500 (Wed, 27 Jun 2007) | 4 lines Fix another problem in voicemail with missing symbols. Issue 10074, patch by kryptolus, extended to include #if 0'd blocks (just in case) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Merged revisions 72148 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r72148 | file | 2007-06-27 13:31:50 -0400 (Wed, 27 Jun 2007) | 2 lines Make the ast_read_noaudio API call behave better under circumstances where DTMF emulation was happening and a generator was setup. (issue #10065 reported by stevefeinstein) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72149 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Merged revisions 72125 via svnmerge from Jason Parker
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r72125 | qwell | 2007-06-27 12:10:32 -0500 (Wed, 27 Jun 2007) | 4 lines Don't modify a variable that we don't want modified. Make a copy of it instead. Issue 10029, patch by phsultan with slight modifications by me (to remove needless casts). Note: chan_jingle in trunk does not appear to have the same bug. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72134 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Merged revisions 72112 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r72112 | russell | 2007-06-27 11:34:24 -0500 (Wed, 27 Jun 2007) | 3 lines Only output debug information related to RTCP timestamps when RTCP debug is turned on (issue #10066, patch by me) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Merged revisions 72042 via svnmerge from Christian Richter
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r72042 | crichter | 2007-06-27 09:58:06 +0200 (Mi, 27 Jun 2007) | 13 lines Merged revisions 72040-72041 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r72040 | crichter | 2007-06-27 09:49:27 +0200 (Mi, 27 Jun 2007) | 1 line for inbound TE calls, we setup the bchannel when we get the CONNECT_ACKNOWLEDGE, to make sure mISDN has everything ready. removed some #if 0 areas which weren't used anymore. ........ r72041 | crichter | 2007-06-27 09:54:30 +0200 (Mi, 27 Jun 2007) | 1 line isdn_lib.c didn't compile ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27Merged revisions 72006 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r72006 | file | 2007-06-26 20:58:35 -0400 (Tue, 26 Jun 2007) | 2 lines Make unloading of pbx_dundi actually work. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72007 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-26Add rtpdest option to SIP CHANNEL() dialplan function to return the IP ↵Joshua Colp
address and port that RTP (be it audio/video/text) is going to. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-26Merged revisions 71953 via svnmerge from Mark Michelson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r71953 | mmichelson | 2007-06-26 18:02:09 -0500 (Tue, 26 Jun 2007) | 4 lines Removing a pointless line. This variable was already set earlier and between then and this line, there is no way that the values on the right side of the assignment could have changed. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-26The variable msgnum was being overwritten if IMAP storage was enabled.Mark Michelson
Put necessary #ifndef's around the line which would overwrite. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-26Merged revisions 71915 via svnmerge from Jason Parker
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r71915 | qwell | 2007-06-26 15:36:09 -0500 (Tue, 26 Jun 2007) | 4 lines Don't dereference a pointer that may be NULL here. Issue 10017. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-26Create directory if it does not exist.Mark Michelson
(Closes issue 10061, Reported and patched by eliel) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71914 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-26Merged revisions 71877 via svnmerge from Mark Michelson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r71877 | mmichelson | 2007-06-26 14:00:05 -0500 (Tue, 26 Jun 2007) | 11 lines A few changes, the ultimate goal of which is to keep better track of the number of messages that a mailbox currently has. A description of the changes: 1. Changed the "updated" field of the vm_state struct to act more as a binary semaphore than a counting semaphore, since its current implementation made the inboxcount function not work properly. This change falls in line with a change made by UPenn with their IMAP setup and helps to sync our changes with theirs. 2. Eliminated some redundant calls to get_vm_state_by_mailbox inside leave_voicemail 3. Use the play_folder variable to keep track of the number of old and new messages in a mailbox as the messages are deleted 4. Added an increment to the number of new messages that was not there previously in the leave_voicemail function ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71883 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-26Simplify some code in res_jabber relating to SASL support.Jason Parker
Issue 9988, patch by phsultan. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-26Merged revisions 71796 via svnmerge from Mark Michelson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r71796 | mmichelson | 2007-06-26 10:47:31 -0500 (Tue, 26 Jun 2007) | 5 lines Fixing bug where the authuser was mistakenly pulled from the mailbox string instead of the IMAP user. (closes issue 10054, reported and patched by jaroth) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71797 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-26Merged revisions 71751 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r71751 | tilghman | 2007-06-26 07:27:47 -0500 (Tue, 26 Jun 2007) | 10 lines Merged revisions 71750 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r71750 | tilghman | 2007-06-26 07:25:58 -0500 (Tue, 26 Jun 2007) | 2 lines Issue 10062 - Trying to move a message without selecting one first results in memory corruption ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71752 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-26Fixes a problem where Asterisk would not compile if IMAP_STORAGE was enabled.Mark Michelson
Needed to add a space between file name and options. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71732 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-25In my commit earlier today, I accidentally left a prototype that isn't defined.Mark Michelson
This gets rid of that prototype. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71721 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-25Allow compilation off app_voicemail with IMAP_STORAE against a system installedRussell Bryant
version of the c-client library. (issue #10047, jcollie) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-25Merged revisions 71657 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r71657 | tilghman | 2007-06-25 13:14:59 -0500 (Mon, 25 Jun 2007) | 10 lines Merged revisions 71656 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r71656 | tilghman | 2007-06-25 13:12:37 -0500 (Mon, 25 Jun 2007) | 2 lines Issue 10035 - handle_exec returns a result inconsistent with all of the other AGI commands ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71658 65c4cc65-6c06-0410-ace0-fbb531ad65f3