summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-05-14Merged revisions 116466 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r116466 | tilghman | 2008-05-14 16:38:09 -0500 (Wed, 14 May 2008) | 7 lines Avoid zombies when the channel exits before the AGI. (closes issue #12648) Reported by: gkloepfer Patches: 20080514__bug12648.diff.txt uploaded by Corydon76 (license 14) Tested by: gkloepfer ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14Add a missing context unlock.Joshua Colp
(closes issue #12649) Reported by: ys Patches: pbx.c.diff uploaded by ys (license 281) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116461 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14Merged revisions 116409 via svnmerge from Jason Parker
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r116409 | qwell | 2008-05-14 15:43:08 -0500 (Wed, 14 May 2008) | 1 line Document exitcontext in app_voicemail sample config ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14Voicemail "* exit" should not require an exitcontext to be specified.Jason Parker
The behavior in 1.4 was that it would use the current context if an exitcontext existed. (closes issue #12605) Reported by: kenjreno Patches: 12605-starexit.diff uploaded by qwell (license 4) Tested by: file git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14Merged revisions 116352 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r116352 | file | 2008-05-14 15:53:39 -0300 (Wed, 14 May 2008) | 4 lines Add linux-gnueabi in. (closes issue #12529) Reported by: tzafrir ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116353 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14Make the ldap version setting work without having both version and protocol set.Joshua Colp
(closes issue #12613) Reported by: suretec git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14Merged revisions 116296 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r116296 | tilghman | 2008-05-14 11:46:48 -0500 (Wed, 14 May 2008) | 2 lines Detect another way for a connection to have gone away. (closes issue #12618) Reported by: ctooley Patches: 1.4-externalivr-test_fd.diff uploaded by ctooley (license 136) trunk-externalivr-test_fd.diff uploaded by ctooley (license 136) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14Fixed a few problems with multiparking: call not being parked in the correct ↵Jeff Peeler
parking spot, caller not being notified of parking spot position, and improperly hanging up the call during a transfer due to timing out (not providing the extension in which to transfer). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14Don't add linefeed on received MESSAGEOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14Properly declare charset for text messages.Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14Adding spport for T.140 RED - Simple RTP redundancy to prevent packet loss ↵Olle Johansson
in text stream Work sponsored by Omnitor AB, Stockholm, Sweden (http://www.omnitor.se) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116237 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14Merged revisions 116230 via svnmerge from Olle Johansson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r116230 | oej | 2008-05-14 14:51:06 +0200 (Ons, 14 Maj 2008) | 3 lines Accept text messages even with Content-Type: text/plain;charset=Södermanländska ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14Add support for codec settings in originate via call file and manager.Olle Johansson
This is to enable video and text in originated calls. Development sponsored by Omnitor AB, Sweden. (http://www.omnitor.se) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116229 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14Formatting changes (coding guidelines) while thinking about something else...Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14ReformattingOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116223 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14Adding commentsOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14Doxygen formatting change onlyOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116179 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14Undo inadvertent changes to chan_skinny caused by the merging of urgent ↵Mark Michelson
messaging support. Thanks to Damien Wedhorn for pointing out the problem. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13Merged revisions 116088 via svnmerge from Mark Michelson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r116088 | mmichelson | 2008-05-13 18:47:49 -0500 (Tue, 13 May 2008) | 12 lines A change to the way channel locks are handled when DEBUG_CHANNEL_LOCKS is defined. After debugging a deadlock, it was noticed that when DEBUG_CHANNEL_LOCKS is enabled in menuselect, the actual origin of channel locks is obscured by the fact that all channel locks appear to happen in the function ast_channel_lock(). This code change redefines ast_channel_lock to be a macro which maps to __ast_channel_lock(), which then relays the proper file name, line number, and function name information to the core lock functions so that this information will be displayed in the case that there is some sort of locking error or core show locks is issued. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13Merged revisions 116038 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r116038 | russell | 2008-05-13 16:17:23 -0500 (Tue, 13 May 2008) | 24 lines Fix a deadlock involving channel autoservice and chan_local that was debugged and fixed by mmichelson and me. We observed a system that had a bunch of threads stuck in ast_autoservice_stop(). The reason these threads were waiting around is because this function waits to ensure that the channel list in the autoservice thread gets rebuilt before the stop() function returns. However, the autoservice thread was also locked, so the autoservice channel list was never getting rebuilt. The autoservice thread was stuck waiting for the channel lock on a local channel. However, the local channel was locked by a thread that was stuck in the autoservice stop function. It turned out that the issue came down to the local_queue_frame() function in chan_local. This function assumed that one of the channels passed in as an argument was locked when called. However, that was not always the case. There were multiple cases in which this channel was not locked when the function was called. We fixed up chan_local to indicate to this function whether this channel was locked or not. The previous assumption had caused local_queue_frame() to improperly return with the channel locked, where it would then never get unlocked. (closes issue #12584) (related to issue #12603) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13Merged revisions 115990 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115990 | russell | 2008-05-13 16:05:57 -0500 (Tue, 13 May 2008) | 5 lines Fix an issue that I noticed in autoservice while mmichelson and I were debugging a different problem. I noticed that it was theoretically possible for two threads to attempt to start the autoservice thread at the same time. This change makes the process of starting the autoservice thread, thread-safe. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116001 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13Merged revisions 115944 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115944 | file | 2008-05-13 17:28:23 -0300 (Tue, 13 May 2008) | 4 lines Use the right flag to open the audio in non-blocking. (closes issue #12616) Reported by: nicklewisdigiumuser ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13Need to clear calling_party_cat variable after we retrieve itMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115941 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13Add support for receiving calling party categoryMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13Merged revisions 115884 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115884 | tilghman | 2008-05-13 13:36:13 -0500 (Tue, 13 May 2008) | 3 lines If the socket dies (read returns 0=EOF), return immediately. (Closes issue #12637) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13Re-introduce proper error handling that was removed in recent commits.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13Initialize the start time in smdi_msg_wait. Somehow this code got lost in ↵Russell Bryant
trunk. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-12Add a script which installs every package needed for a Debian install ofTilghman Lesher
Asterisk, and includes possible support (to be contributed) for various other distributions. (closes issue #10523) Reported by: tzafrir Patches: install_prereq_2 uploaded by tzafrir (license 46) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115813 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-12Add support for playing an audio file for caller and callee at start and ↵Olle Johansson
stop of monitoring (one-touch monitor). Keep messages short, since the other party is waiting while one party hear the message... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-12Merged revisions 115735 via svnmerge from Mark Michelson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115735 | mmichelson | 2008-05-12 12:51:14 -0500 (Mon, 12 May 2008) | 7 lines If a thread holds no locks, do not print any information on the thread when issuing a core show locks command. This will help to de-clutter output somewhat. Russell said it would be fine to place this improvement in the 1.4 branch, so that's why it's going here too. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115737 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-12Correctly document state interface for AddQueueMember. Discovered while ↵Jason Parker
looking at issue #12626. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-12A small change to fix iax2 native bridging.Brett Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-11Add Zap MTP2 support to chan_zapMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-11Open up audio channel when we get ACM on SS7 eventMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-10Ensure that "calldate" is acceptable for a column name.Tilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-10fix a sample since we now required , and not | for the arguments separatorClaude Patry
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-10ameliorate load and unload to dont use DECLINED or FAILED, when theres no ↵Claude Patry
.conf involved. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115594 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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