summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-05-10since we unregister, that has not been properly registered, i standardized this.Claude Patry
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115593 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-09Remove a debug lineMark Michelson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115591 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-09Adding support for "urgent" voicemail messages. Messages which areMark Michelson
marked "urgent" are considered to be higher priority than other messages and so they will be played before any other messages in a user's mailbox. There are two ways to leave an urgent message. 1. send the 'U' option to VoiceMail(). 2. Set review=yes in voicemail.conf. This will give instructions for a caller to mark a message as urgent after the message has been recorded. I have tested that this works correctly with file and ODBC storage, and James Rothenberger (who wrote initial support for this feature) has tested its use with IMAP storage. (closes issue #11817) Reported by: jaroth Based on branch http://svn.digium.com/svn/asterisk/team/jrothenberger/asterisk-urgent Tested by: putnopvut, jaroth git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115588 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-09Update CHANGES file for previous commit of ENUM and TXCIDNAME changes.Brett Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-09The following patch adds new options and alters the default behavior of the ↵Brett Bryant
ENUM* functions. The TXCIDNAME lookup function has also gotten a new paramater. The new options for ENUM* functions include 'u', 's', 'i', and 'd' which return the full uri, trigger isn specific rewriting, look for branches into an infrastructure enum tree, or do a direct dns lookup of a number respectively. The new paramater for TXCIDNAME adds a zone-suffix argument for looking up caller id's in DNS that aren't e164.arpa. This patch is based on the original code from otmar, modified by snuffy, and tested by jtodd, me, and others. (closes issue #8089) Reported by: otmar Patches: 20080508_bug8089-1.diff - original code by otmar (license 480), - revised by snuffy (license 35) Tested by: oej, otmar, jtodd, Corydon76, snuffy, alexnikolov, bbryant git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115584 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-09Allow a password change to be validated by an external script.Tilghman Lesher
(closes issue #12090) Reported by: jaroth Patches: vm-check-newpassword.diff.txt uploaded by mvanbaak (license 7) 20080509__bug12090.diff.txt uploaded by Corydon76 (license 14) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-09Merged revisions 115579 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115579 | file | 2008-05-09 13:34:08 -0300 (Fri, 09 May 2008) | 2 lines Improve res_ninit and res_ndestroy autoconf logic on the Darwin platform. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-08Merged revisions 115568 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115568 | russell | 2008-05-08 14:19:50 -0500 (Thu, 08 May 2008) | 2 lines Remove debug output. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115569 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-08Merged revisions 115565 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r115565 | russell | 2008-05-08 14:15:25 -0500 (Thu, 08 May 2008) | 33 lines Merged revisions 115564 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r115564 | russell | 2008-05-08 14:14:04 -0500 (Thu, 08 May 2008) | 25 lines Fix a race condition that bbryant just found while doing some IAX2 testing. He was running Asterisk trunk running IAX2 calls through a few Asterisk boxes, however, the audio was extremely choppy. We looked at a packet trace and saw a storm of INVAL and VNAK frames being sent from one box to another. It turned out that what had happened was that one box tried to send a CONTROL frame before the 3 way handshake had completed. So, that frame did not include the destination call number, because it didn't have it yet. Part of our recent work for security issues included an additional check to ensure that frames that are supposed to include the destination call number have the correct one. This caused the frame to be rejected with an INVAL. The frame would get retransmitted for forever, rejected every time ... This race condition exists in all versions that got the security changes, in theory. However, it is really only likely that this would cause a problem in Asterisk trunk. There was a control frame being sent (SRCUPDATE) at the _very_ beginning of the call, which does not exist in 1.2 or 1.4. However, I am fixing all versions that could potentially be affected by the introduced race condition. These changes are what bbryant and I came up with to fix the issue. Instead of simply dropping control frames that get sent before the handshake is complete, the code attempts to wait a little while, since in most cases, the handshake will complete very quickly. If it doesn't complete after yielding for a little while, then the frame gets dropped. ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-08Merged revisions 115561 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115561 | russell | 2008-05-08 11:11:33 -0500 (Thu, 08 May 2008) | 3 lines Don't give up on attempting an outbound registration if we receive a 408 Timeout. (closes issue #12323) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-08Merged revisions 115557 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115557 | russell | 2008-05-08 10:37:49 -0500 (Thu, 08 May 2008) | 3 lines remove postgres_cdr.sql, as the CDR schema is in realtime_pgsql.sql, as well (closes issue #9676) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-08Merged revisions 115554 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115554 | russell | 2008-05-08 10:32:08 -0500 (Thu, 08 May 2008) | 3 lines Don't exit the script if Asterisk is not running. (closes issue #12611) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-08Merged revisions 115551 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115551 | russell | 2008-05-08 10:24:54 -0500 (Thu, 08 May 2008) | 4 lines Don't use a channel before checking for channel allocation failure. (closes issue #12609) Reported by: edantie ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-08Remove unused code as well as demote an error message to a debug messageMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-08Merged revisions 115545 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115545 | russell | 2008-05-08 09:40:53 -0500 (Thu, 08 May 2008) | 4 lines Use the same method for executing Asterisk as the rest of the script. (closes issue #12611) Reported by: b_plessis ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-07Fix up a problem that was introduced into the scheduler when it was convertedRussell Bryant
to use doubly linked lists. The schedule() function had an optimization that had it try to guess which direction would be better for the traversal to insert the task into the scheduler queue. However, if the code chose the path where it traversed the queue in reverse, and the result was that the task should be at the head of the queue, then the code would actually put it at the tail, instead. (Problem found by bbryant, debugged and fixed by bbryant and me) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115537 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-07Advance to next sounds releaseTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-07Don't free the object on destroy, as astobj2 takes care of that for youTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-07Only save a password if a username exists.Russell Bryant
(closes issue #12600) Reported By: suretec Patch by me git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-07Use the default that the log output claims will be used for the basednRussell Bryant
(closes issue #12599) Reported by: suretec Patches: 12599.patch uploaded by juggie (license 24) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-07Let chan_h323 build in dev modeRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115519 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-07Blocked revisions 115517 via svnmergeRussell Bryant
........ r115517 | russell | 2008-05-07 13:17:19 -0500 (Wed, 07 May 2008) | 5 lines Track peer references when stored in the sip_pvt struct as the peer related to a qualify ping or a subscription. This fixes some realtime related crashes. (closes issue #12588) (closes issue #12555) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-07re-add dlinkedlists.h to trunk, oops!Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115515 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-07Merged revisions 115512 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r115512 | russell | 2008-05-07 11:24:09 -0500 (Wed, 07 May 2008) | 11 lines Merged revisions 115511 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r115511 | russell | 2008-05-07 11:22:49 -0500 (Wed, 07 May 2008) | 3 lines Remove remnants of dlinkedlists. I didn't actually use them in the final version of my IAX2 improvements. ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115513 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-07Update typos in description fieldsTilghman Lesher
(closes issue #12598) Reported by: suretec Patches: asterisk_schema_changes.patch uploaded by suretec (license 70) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115509 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-07Remove redundant header getting.Joshua Colp
(closes issue #12597) Reported by: hooi git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-06Get refcounter to build with LOW_MEMORY definedMark Michelson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-06Merged revisions 115422 via svnmerge from Jason Parker
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r115422 | qwell | 2008-05-06 14:55:29 -0500 (Tue, 06 May 2008) | 15 lines Merged revisions 115421 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r115421 | qwell | 2008-05-06 14:54:57 -0500 (Tue, 06 May 2008) | 7 lines read requires an argument on some non-bash shells (closes issue #12593) Reported by: bkruse Patches: getilbc.sh_12593_v1.diff uploaded by bkruse (license 132) ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-06Merged revisions 115418 via svnmerge from Jason Parker
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115418 | qwell | 2008-05-06 14:34:58 -0500 (Tue, 06 May 2008) | 7 lines Switch to using ast_random() rather than just rand(). This does not fix the bug reported, but I believe it is correct. (from issue #12446) Patches: bug_12446.diff uploaded by snuffy (license 35) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115419 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-06Merged revisions 115415 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115415 | tilghman | 2008-05-06 14:31:39 -0500 (Tue, 06 May 2008) | 2 lines Don't print the terminating NUL. (Closes issue #12589) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-06Change some NOTICE log messages to debug.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-06Merged revisions 115341 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115341 | file | 2008-05-06 10:54:15 -0300 (Tue, 06 May 2008) | 2 lines Add in missing argument. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05Merge refcounting of res_odbcTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115337 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05Merged revisions 115333 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115333 | tilghman | 2008-05-05 17:50:31 -0500 (Mon, 05 May 2008) | 7 lines Separate verbose output from CLI output, by using a preamble. (closes issue #12402) Reported by: Corydon76 Patches: 20080410__no_verbose_in_rx_output.diff.txt uploaded by Corydon76 (license 14) 20080501__no_verbose_in_rx_output__1.4.diff.txt uploaded by Corydon76 (license 14) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115334 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05#execing the same file multiple times led to warning messages saying that ↵Mark Michelson
the same file was being #included twice. This was due to the fact that #exec created a temporary file which was then #included. The name of the temporary file was the name of the #exec'd file, with the Unix timestamp and thread ID concatenated. The issue was that if multiple #exec statements of the same file were reached in the same second, then the result was that the temporary files would have duplicate names. To resolve this, the temporary file now has microsecond resolution for the timestamp portion. (closes issue #12574) Reported by: jmls Patches: 12574.patch uploaded by putnopvut (license 60) Tested by: jmls, putnopvut git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05Merged revisions 115327 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115327 | file | 2008-05-05 19:10:05 -0300 (Mon, 05 May 2008) | 2 lines Make sure that either the main speex library contains preprocess functions or that speexdsp does. If both fail then speex stuff can not be built. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05Simplify code by using a taskprocessor for dispatching events in the ↵Russell Bryant
Asterisk core. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115324 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05Merged revisions 115320 via svnmerge from Mark Michelson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115320 | mmichelson | 2008-05-05 16:41:34 -0500 (Mon, 05 May 2008) | 13 lines Don't consider a caller "handled" until the caller is bridged with a queue member. There was too much of an opportunity for the member to hang up (either during a delay, announcement, or overly long agi) between the time that he answered the phone and the time when he actually was bridged with the caller. The consequence of this was that if the member hung up in that interval, then proper abandonment details would not be noted in the queue log if the caller were to hang up at any point after the member hangup. (closes issue #12561) Reported by: ablackthorn ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115321 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05Remove my rant, since I have now replaced the rant with code.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05Merged revisions 115312 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115312 | tilghman | 2008-05-05 15:17:55 -0500 (Mon, 05 May 2008) | 2 lines Reverse order, such that user configs override default selections ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05Merged revisions 115308 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115308 | tilghman | 2008-05-05 14:55:55 -0500 (Mon, 05 May 2008) | 2 lines Err, the documentation on the return value of ast_odbc_backslash_is_escape is exactly backwards. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05Merged revisions 115304 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115304 | russell | 2008-05-05 14:49:25 -0500 (Mon, 05 May 2008) | 5 lines Avoid putting opaque="" in Digest authentication. This patch came from switchvox. It fixes authentication with Primus in Canada, and has been in use for a very long time without causing problems with any other providers. (closes issue AST-36) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05Note change for ExecIf syntax (caught by jmls on IRC)Tilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05Optionally display the value of several variables within the Status command.Tilghman Lesher
(Closes issue AST-34) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115301 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05Document the 'B' option of app_chanspy.Joshua Colp
(closes issue #12582) Reported by: IgorG Patches: app_chanspy_B_option.diff uploaded by IgorG (license 20) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115290 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05clarify wordingKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115288 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05Merged revisions 115285 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115285 | tilghman | 2008-05-04 22:22:25 -0500 (Sun, 04 May 2008) | 7 lines When starting Asterisk, bug out if Asterisk is already running. (closes issue #12525) Reported by: explidous Patches: 20080428__bug12525.diff.txt uploaded by Corydon76 (license 14) Tested by: mvanbaak ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115286 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-04Merged revisions 115282 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115282 | file | 2008-05-03 23:09:44 -0300 (Sat, 03 May 2008) | 2 lines Expand the test function for GCC attributes so that more complex attributes are properly recognized. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-04Merged revisions 115279 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115279 | file | 2008-05-03 22:50:59 -0300 (Sat, 03 May 2008) | 2 lines For my next trick I will make these work with what our autoconf header file gives us. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-04Merged revisions 115276 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115276 | file | 2008-05-03 22:43:26 -0300 (Sat, 03 May 2008) | 2 lines Treat warnings as errors when checking if a GCC attribute exists. We have to do this as GCC will just ignore the attribute and pop up a warning, it won't actually fail to compile. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115277 65c4cc65-6c06-0410-ace0-fbb531ad65f3