Commit Graph

15481 Commits

Author SHA1 Message Date
Joshua Colp
5f996f261f Merged revisions 117136 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r117136 | file | 2008-05-19 13:53:33 -0300 (Mon, 19 May 2008) | 14 lines

Merged revisions 117135 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r117135 | file | 2008-05-19 13:50:52 -0300 (Mon, 19 May 2008) | 6 lines

Use the right pthread lock and condition when waiting.
(closes issue #12664)
Reported by: tomo1657
Patches:
      res_smdi.c.patch uploaded by tomo1657 (license 484)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-19 16:58:10 +00:00
Joshua Colp
718d8800c0 Blocked revisions 117133 via svnmerge
........
r117133 | file | 2008-05-19 13:22:56 -0300 (Mon, 19 May 2008) | 4 lines

Remove a premature mutex destroy (the destruction callback will end up destroying it) and use a callback to purge remaining classes.
(closes issue #12677)
Reported by: falves11

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117134 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-19 16:23:58 +00:00
Tilghman Lesher
aaccfd2de9 Merged revisions 117088 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r117088 | tilghman | 2008-05-19 11:07:09 -0500 (Mon, 19 May 2008) | 10 lines

Merged revisions 117086 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r117086 | tilghman | 2008-05-19 11:05:05 -0500 (Mon, 19 May 2008) | 2 lines

The addition of usleep(2) within ast_assert requires the inclusion of the unistd.h header

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-19 16:07:53 +00:00
Joshua Colp
69fa2c8a19 Merged revisions 117085 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r117085 | file | 2008-05-19 13:03:33 -0300 (Mon, 19 May 2008) | 4 lines

The logger closes the files it is logging to when reloading so we have to read in the logger configuration even if it has not changed so that the logs get opened again.
(closes issue #12665)
Reported by: DennisD

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-19 16:05:25 +00:00
Joshua Colp
9256e457f4 Merged revisions 117082 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r117082 | file | 2008-05-19 12:24:44 -0300 (Mon, 19 May 2008) | 14 lines

Merged revisions 117081 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r117081 | file | 2008-05-19 12:22:10 -0300 (Mon, 19 May 2008) | 6 lines

Make chan_h323 work with pwlib 1.12.0
(closes issue #12682)
Reported by: bamby
Patches:
      pwlib_nopipe.diff uploaded by bamby (license 430)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-19 15:27:28 +00:00
Russell Bryant
27f6220a41 Merged revisions 116979 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r116979 | russell | 2008-05-18 22:44:28 -0500 (Sun, 18 May 2008) | 12 lines

Merged revisions 116978 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r116978 | russell | 2008-05-18 22:44:04 -0500 (Sun, 18 May 2008) | 4 lines

Avoid access of uninitialized memory.  This caused a bunch of crashes for me
while doing load testing of development branch where I'm working on some
performance improvements.

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116980 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-19 03:44:51 +00:00
Tilghman Lesher
0a6450103f Merged revisions 116948 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r116948 | tilghman | 2008-05-18 16:15:58 -0500 (Sun, 18 May 2008) | 4 lines

Add a set of text to the file astcanary uses to communicate back the main
Asterisk process, which explains the purpose for the file being there.  This
should assist people who find the file and wonder why it exists.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-18 21:18:06 +00:00
Russell Bryant
d39753ec59 Merged revisions 116919 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r116919 | russell | 2008-05-18 14:58:10 -0500 (Sun, 18 May 2008) | 3 lines

Remove duplicate colon on Reason header
(closes issue #12678)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-18 19:59:32 +00:00
Joshua Colp
c1375e6a26 Blocked revisions 116884 via svnmerge
........
r116884 | file | 2008-05-17 16:39:35 -0300 (Sat, 17 May 2008) | 6 lines

Improve native transfers when a chain of IAX2 connections are in use.
(closes issue #7567)
Reported by: tjd
Patches:
      bug_7567_update_v2.diff uploaded by snuffy (license 35)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116885 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-17 19:40:24 +00:00
Joshua Colp
ede214184b Blocked revisions 116848 via svnmerge
........
r116848 | file | 2008-05-16 18:34:45 -0300 (Fri, 16 May 2008) | 2 lines

Try to fix attended transfers.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-16 21:36:04 +00:00
Joshua Colp
d26ee10058 Merged revisions 116800 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r116800 | file | 2008-05-16 17:30:24 -0300 (Fri, 16 May 2008) | 12 lines

Merged revisions 116799 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r116799 | file | 2008-05-16 17:28:11 -0300 (Fri, 16 May 2008) | 4 lines

Check to make sure an RTP structure exists before calling ast_rtp_new_source on it.
(closes issue #12669)
Reported by: sbisker

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-16 21:35:33 +00:00
Matthew Fredrickson
7a6e7a7ec1 Merged revisions 116797 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r116797 | mattf | 2008-05-16 15:00:04 -0500 (Fri, 16 May 2008) | 1 line

Try to see if we can make our ringback situation a little better
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-16 20:03:31 +00:00
Tilghman Lesher
0d4da58df8 Merged revisions 116694 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r116694 | tilghman | 2008-05-15 17:05:47 -0500 (Thu, 15 May 2008) | 4 lines

Add an extra check in ast_strlen_zero, and make ast_assert() not print the
file, line, and function name twice.
(Closes issue #12650)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116695 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-15 22:07:30 +00:00
Tilghman Lesher
ac19e24dae Merged revisions 116631 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r116631 | tilghman | 2008-05-15 12:58:22 -0500 (Thu, 15 May 2008) | 3 lines

Don't unload config on reload, when config has not changed.
(Closes issue #12652)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-15 17:59:17 +00:00
Mark Michelson
25a67cf629 Blocked revisions 116592 via svnmerge
........
r116592 | mmichelson | 2008-05-15 10:24:29 -0500 (Thu, 15 May 2008) | 9 lines

Modify externnotify to take the number of urgent voicemails as a final argument instead
of the string "Urgent" 

(closes issue #12660)
Reported by: jaroth
Patches:
      externnotify.patch uploaded by jaroth (license 50)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116593 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-15 15:24:55 +00:00
Mark Michelson
c41cc86537 Blocked revisions 116590 via svnmerge
........
r116590 | mmichelson | 2008-05-15 10:13:11 -0500 (Thu, 15 May 2008) | 8 lines

Prevent crashes from occurring due to a strcmp of a NULL pointer.

(closes issue #12661)
Reported by: jaroth
Patches:
      urgentcompare.patch uploaded by jaroth (license 50)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116591 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-15 15:13:32 +00:00
Mark Michelson
47e26e5475 Blocked revisions 116522 via svnmerge
........
r116522 | mmichelson | 2008-05-14 17:15:12 -0500 (Wed, 14 May 2008) | 8 lines

Adding a new option to Chanspy(). The 'd' option allows for the spy to
press DTMF digits to switch between spying modes. Pressing 4 activates spy mode,
pressing 5 activates whisper mode, and pressing 6 activates barge mode. Use of
this feature overrides the normal operation of DTMF numbers. 

This feature is courtesy of Switchvox.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14 22:16:56 +00:00
Joshua Colp
ecb963aee6 Blocked revisions 116471 via svnmerge
........
r116471 | file | 2008-05-14 18:54:03 -0300 (Wed, 14 May 2008) | 2 lines

Fix pedanticness.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116472 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14 21:55:17 +00:00
Russell Bryant
8b3150e282 Merged revisions 116469 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r116469 | russell | 2008-05-14 16:40:43 -0500 (Wed, 14 May 2008) | 12 lines

Merged revisions 116463 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r116463 | russell | 2008-05-14 16:32:00 -0500 (Wed, 14 May 2008) | 4 lines

Add ast_assert(), which can be used to handle fatal errors.  It is only compiled
in if dev-mode is enabled, and only aborts if DO_CRASH is defined.
(inspired by issue #12650)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116470 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14 21:41:09 +00:00
Tilghman Lesher
6368b8d86e Merged revisions 116467 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r116467 | tilghman | 2008-05-14 16:39:06 -0500 (Wed, 14 May 2008) | 15 lines

Merged revisions 116466 via svnmerge from 
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/branches/1.6.0@116468 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14 21:39:47 +00:00
Joshua Colp
209887be27 Blocked revisions 116461 via svnmerge
........
r116461 | file | 2008-05-14 18:11:49 -0300 (Wed, 14 May 2008) | 6 lines

Add a missing context unlock.
(closes issue #12649)
Reported by: ys
Patches:
      pbx.c.diff uploaded by ys (license 281)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14 21:12:44 +00:00
Jason Parker
5b30a3d75d Merged revisions 116410 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r116410 | qwell | 2008-05-14 15:43:26 -0500 (Wed, 14 May 2008) | 9 lines

Merged revisions 116409 via svnmerge from 
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/branches/1.6.0@116411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14 20:43:45 +00:00
Jason Parker
191c3196cc Merged revisions 116407 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r116407 | qwell | 2008-05-14 15:36:55 -0500 (Wed, 14 May 2008) | 9 lines

Voicemail "* exit" should not require an exitcontext to be specified.
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/branches/1.6.0@116408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14 20:37:22 +00:00
Joshua Colp
91d87c10a5 Merged revisions 116353 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r116353 | file | 2008-05-14 15:54:16 -0300 (Wed, 14 May 2008) | 12 lines

Merged revisions 116352 via svnmerge from 
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/branches/1.6.0@116354 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14 18:54:58 +00:00
Joshua Colp
a90f428994 Merged revisions 116350 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r116350 | file | 2008-05-14 15:25:54 -0300 (Wed, 14 May 2008) | 4 lines

Make the ldap version setting work without having both version and protocol set.
(closes issue #12613)
Reported by: suretec

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14 18:27:06 +00:00
Tilghman Lesher
c348875fd0 Merged revisions 116298 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r116298 | tilghman | 2008-05-14 11:53:23 -0500 (Wed, 14 May 2008) | 15 lines

Merged revisions 116296 via svnmerge from 
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/branches/1.6.0@116319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14 17:01:53 +00:00
Olle Johansson
6d13b0bf81 Merged revisions 116234 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r116234 | oej | 2008-05-14 15:05:15 +0200 (Ons, 14 Maj 2008) | 11 lines

Merged revisions 116230 via svnmerge from 
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/branches/1.6.0@116236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14 13:13:18 +00:00
Mark Michelson
923ab249ed Blocked revisions 116138 via svnmerge
........
r116138 | mmichelson | 2008-05-13 19:20:05 -0500 (Tue, 13 May 2008) | 6 lines

Undo inadvertent changes to chan_skinny caused by the merging of urgent messaging
support.

Thanks to Damien Wedhorn for pointing out the problem.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116139 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14 00:20:53 +00:00
Mark Michelson
0ea1c980a0 Merged revisions 116089 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r116089 | mmichelson | 2008-05-13 18:54:01 -0500 (Tue, 13 May 2008) | 20 lines

Merged revisions 116088 via svnmerge from 
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/branches/1.6.0@116096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13 23:58:34 +00:00
Russell Bryant
20925d6a81 Merged revisions 116039 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r116039 | russell | 2008-05-13 16:18:55 -0500 (Tue, 13 May 2008) | 32 lines

Merged revisions 116038 via svnmerge from 
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/branches/1.6.0@116040 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13 21:19:21 +00:00
Russell Bryant
61348297c7 Merged revisions 116001 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r116001 | russell | 2008-05-13 16:07:59 -0500 (Tue, 13 May 2008) | 13 lines

Merged revisions 115990 via svnmerge from 
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/branches/1.6.0@116020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13 21:12:10 +00:00
Joshua Colp
e422336191 Merged revisions 115945 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r115945 | file | 2008-05-13 17:29:27 -0300 (Tue, 13 May 2008) | 12 lines

Merged revisions 115944 via svnmerge from 
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/branches/1.6.0@115946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13 20:30:21 +00:00
Matthew Fredrickson
e1417afe8c Merged revisions 115941 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r115941 | mattf | 2008-05-13 15:18:04 -0500 (Tue, 13 May 2008) | 1 line

Need to clear calling_party_cat variable after we retrieve it
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115942 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13 20:19:58 +00:00
Matthew Fredrickson
5b12bbaf43 Merged revisions 115939 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r115939 | mattf | 2008-05-13 15:11:20 -0500 (Tue, 13 May 2008) | 1 line

Add support for receiving calling party category
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115940 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13 20:13:39 +00:00
Tilghman Lesher
22a7310578 Merged revisions 115886 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r115886 | tilghman | 2008-05-13 13:38:11 -0500 (Tue, 13 May 2008) | 11 lines

Merged revisions 115884 via svnmerge from 
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/branches/1.6.0@115887 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13 18:38:53 +00:00
Russell Bryant
ceee0ce6d4 Blocked revisions 115850 via svnmerge
........
r115850 | russell | 2008-05-13 12:42:17 -0500 (Tue, 13 May 2008) | 2 lines

Re-introduce proper error handling that was removed in recent commits.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13 17:48:06 +00:00
Russell Bryant
ba49e91504 Merged revisions 115847 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r115847 | russell | 2008-05-13 12:14:22 -0500 (Tue, 13 May 2008) | 2 lines

Initialize the start time in smdi_msg_wait.  Somehow this code got lost in trunk.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13 17:14:50 +00:00
Tilghman Lesher
773afb20d2 Blocked revisions 115813 via svnmerge
........
r115813 | tilghman | 2008-05-12 15:34:38 -0500 (Mon, 12 May 2008) | 8 lines

Add a script which installs every package needed for a Debian install of
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/branches/1.6.0@115814 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-12 20:36:13 +00:00
Mark Michelson
bc90252b89 Merged revisions 115737 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r115737 | mmichelson | 2008-05-12 12:55:08 -0500 (Mon, 12 May 2008) | 15 lines

Merged revisions 115735 via svnmerge from 
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/branches/1.6.0@115738 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-12 17:57:03 +00:00
Jason Parker
fc07d2e1b7 Merged revisions 115705 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r115705 | qwell | 2008-05-12 11:35:50 -0500 (Mon, 12 May 2008) | 1 line

Correctly document state interface for AddQueueMember.  Discovered while looking at issue #12626.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-12 16:36:24 +00:00
Brett Bryant
c9d6041a8b Merged revisions 115669 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r115669 | bbryant | 2008-05-12 10:17:32 -0500 (Mon, 12 May 2008) | 3 lines

A small change to fix iax2 native bridging.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115672 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-12 15:18:10 +00:00
Matthew Fredrickson
77705a0808 Merged revisions 115600 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r115600 | mattf | 2008-05-10 22:23:05 -0500 (Sat, 10 May 2008) | 1 line

Add Zap MTP2 support to chan_zap
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115601 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-11 03:27:05 +00:00
Matthew Fredrickson
1e42ac8e05 Merged revisions 115598 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r115598 | mattf | 2008-05-10 21:19:21 -0500 (Sat, 10 May 2008) | 1 line

Open up audio channel when we get ACM on SS7 event
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115599 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-11 02:24:39 +00:00
Tilghman Lesher
cbdbbf7819 Merged revisions 115596 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r115596 | tilghman | 2008-05-10 09:19:41 -0500 (Sat, 10 May 2008) | 2 lines

Ensure that "calldate" is acceptable for a column name.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-10 14:22:11 +00:00
Mark Michelson
5deec3d5dd Blocked revisions 115591 via svnmerge
........
r115591 | mmichelson | 2008-05-09 17:36:50 -0500 (Fri, 09 May 2008) | 3 lines

Remove a debug line


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115592 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-09 22:37:23 +00:00
Mark Michelson
b1c9a7449a Blocked revisions 115588 via svnmerge
........
r115588 | mmichelson | 2008-05-09 16:22:42 -0500 (Fri, 09 May 2008) | 19 lines

Adding support for "urgent" voicemail messages. Messages which are
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/branches/1.6.0@115589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-09 21:24:02 +00:00
Brett Bryant
2fbf6f13bc Blocked revisions 115586 via svnmerge
........
r115586 | bbryant | 2008-05-09 15:05:50 -0500 (Fri, 09 May 2008) | 2 lines

Update CHANGES file for previous commit of ENUM and TXCIDNAME changes.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-09 20:06:30 +00:00
Brett Bryant
c2620074e8 Blocked revisions 115584 via svnmerge
........
r115584 | bbryant | 2008-05-09 14:54:45 -0500 (Fri, 09 May 2008) | 15 lines

The following patch adds new options and alters the default behavior of the 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/branches/1.6.0@115585 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-09 19:55:35 +00:00
Tilghman Lesher
f9ed11a788 Blocked revisions 115582 via svnmerge
........
r115582 | tilghman | 2008-05-09 12:28:06 -0500 (Fri, 09 May 2008) | 7 lines

Allow a password change to be validated by an external script.
(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/branches/1.6.0@115583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-09 17:29:25 +00:00
Joshua Colp
1d5d0976cc Merged revisions 115580 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r115580 | file | 2008-05-09 13:36:58 -0300 (Fri, 09 May 2008) | 10 lines

Merged revisions 115579 via svnmerge from 
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/branches/1.6.0@115581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-09 16:38:38 +00:00