Commit Graph

15602 Commits

Author SHA1 Message Date
Michiel van Baak
9244f0f433 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117804 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2008-05-22 16:36:04 +00:00
Mark Michelson
147a00886c Blocked revisions 117794 via svnmerge
........
r117794 | mmichelson | 2008-05-22 11:05:18 -0500 (Thu, 22 May 2008) | 3 lines

Committing a fix pointed out by Atis Lezdins on the asterisk-dev list. Thanks!


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117795 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-22 16:06:18 +00:00
Sean Bright
a7d20c7109 Merged revisions 117792 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r117792 | seanbright | 2008-05-22 11:49:17 -0400 (Thu, 22 May 2008) | 1 line

Minor text fix.  roster -> resource.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117793 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-22 15:51:04 +00:00
Russell Bryant
fd15bd07e6 Merged revisions 117756 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r117756 | russell | 2008-05-22 08:40:52 -0500 (Thu, 22 May 2008) | 5 lines

Store build-time options as a string in AST_BUILDOPTS in buildopts.h.  Also,
display this information in the "core show settings" CLI command.  This is
useful if you want to verify that you're running a build with DONT_OPTIMIZE,
DEBUG_THREADS, etc.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-22 13:41:31 +00:00
Tilghman Lesher
f44eb6a3b8 Blocked revisions 117725 via svnmerge
........
r117725 | tilghman | 2008-05-22 00:10:01 -0500 (Thu, 22 May 2008) | 8 lines

Enhance ExternalIVR with new options and commands.
(closes issue #12705)
 Reported by: ctooley
 Patches: 
       new_externalivr_argument_format-v2.diff uploaded by ctooley (license 136)
       new_externalivr_documentation.diff uploaded by ctooley (license 136)
       and a few additional fixes by me

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117727 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-22 05:11:12 +00:00
Mark Michelson
a7a5e26831 Blocked revisions 117693 via svnmerge
........
r117693 | mmichelson | 2008-05-21 17:34:27 -0500 (Wed, 21 May 2008) | 5 lines

This change makes it so that logs will report the correct source of verbose messages.
Until this change, all verbose messages in Asterisk's log files reported logger.c
as the source of the message.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117694 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-21 22:35:17 +00:00
Jeff Peeler
da8a5856be Merged revisions 117658 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r117658 | jpeeler | 2008-05-21 16:31:17 -0500 (Wed, 21 May 2008) | 10 lines

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

........
r117582 | jpeeler | 2008-05-21 15:11:14 -0500 (Wed, 21 May 2008) | 2 lines

Ensure that passed in zt_chan_conf structure is not modified in mkintf.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-21 22:01:10 +00:00
Jeff Peeler
ef9c60d095 Merged revisions 117628 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r117628 | jpeeler | 2008-05-21 15:44:04 -0500 (Wed, 21 May 2008) | 12 lines

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

........
r117462 | jpeeler | 2008-05-21 11:58:40 -0500 (Wed, 21 May 2008) | 3 lines

Pass a pointer for the conf parameter to the function mkintf rather than the whole zt_chan_conf structure.
Another commit is following to make sure the zt_chan_conf structure is not modified.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-21 21:59:25 +00:00
Mark Michelson
77902e5f19 Blocked revisions 117625 via svnmerge
........
r117625 | mmichelson | 2008-05-21 15:27:45 -0500 (Wed, 21 May 2008) | 9 lines

Add a new manager event, AgentRingNoAnswer to
app_queue.

(closes issue #12591)
Reported by: CCHAsteria
Patches:
      app_queue_RNA_event.diff uploaded by CCHAsteria (license 477)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117626 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-21 20:28:40 +00:00
Joshua Colp
2ded3ac61d Merged revisions 117575 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r117575 | file | 2008-05-21 16:39:42 -0300 (Wed, 21 May 2008) | 10 lines

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

........
r117574 | file | 2008-05-21 16:38:28 -0300 (Wed, 21 May 2008) | 2 lines

Apply the autoframing setting to dialogs that do not get matched against a user or peer.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-21 19:45:41 +00:00
Tilghman Lesher
21e9dced65 Merged revisions 117520 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r117520 | tilghman | 2008-05-21 13:43:26 -0500 (Wed, 21 May 2008) | 11 lines

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

........
r117519 | tilghman | 2008-05-21 13:40:14 -0500 (Wed, 21 May 2008) | 3 lines

Strip the preamble from the output also when -rx is not being used
(Related to issue #12702)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-21 18:44:07 +00:00
Mark Michelson
bdc7890852 Blocked revisions 117517 via svnmerge
........
r117517 | mmichelson | 2008-05-21 13:31:05 -0500 (Wed, 21 May 2008) | 14 lines

Optimize the update_realtime_member_field function by not having
to query the database for the member and instead using a cached
uniqueid. 

Special thanks to atis for creating this and for keeping it up
to date with necessary changes

(closes issue #11896)
Reported by: atis
Patches:
      realtime_uniqueid_v6.patch uploaded by atis (license 242)
Tested by: atis


........


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

................
r117515 | russell | 2008-05-21 13:29:05 -0500 (Wed, 21 May 2008) | 12 lines

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

........
r117514 | russell | 2008-05-21 13:28:46 -0500 (Wed, 21 May 2008) | 4 lines

Don't filter the magic character in the network verboser.  It gets filtered
once it reaches the client.
(related to issue #12702, pointed out by tilghman)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117516 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-21 18:29:28 +00:00
Russell Bryant
45bbed1f49 Merged revisions 117508 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r117508 | russell | 2008-05-21 13:20:11 -0500 (Wed, 21 May 2008) | 15 lines

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

........
r117507 | russell | 2008-05-21 13:19:34 -0500 (Wed, 21 May 2008) | 7 lines

1) Don't print the verbose marker in front of every message from ast_verbose()
   being sent to remote consoles.

2) Fix pbx_gtkconsole to filter out the verbose marker.

(related to issue #12702)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117509 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-21 18:20:34 +00:00
Russell Bryant
638d9b32f9 Merged revisions 117481 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r117481 | russell | 2008-05-21 13:12:19 -0500 (Wed, 21 May 2008) | 14 lines

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

........
r117479 | russell | 2008-05-21 13:11:51 -0500 (Wed, 21 May 2008) | 6 lines

Don't display the verbose marker for calls to ast_verbose() that do not include
a VERBOSE_PREFIX in front of the message.
(closes issue #12702)
Reported by: johnlange
Patched by me

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-21 18:13:08 +00:00
Tilghman Lesher
7dbf39cce8 Blocked revisions 117431 via svnmerge
........
r117431 | tilghman | 2008-05-21 08:39:41 -0500 (Wed, 21 May 2008) | 6 lines

On socket-based connections, there is no error FD, so don't try waiting on one.
(closes issue #12697)
 Reported by: ctooley
 Patches: 
       fix_externalivr_waitfor_nandfds-v3.diff uploaded by ctooley (license 136)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-21 13:41:39 +00:00
Mark Michelson
9daeb19f80 Merged revisions 117367 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r117367 | mmichelson | 2008-05-20 21:20:31 -0500 (Tue, 20 May 2008) | 19 lines

Be sure that we cache included files for each source file which loads
a configuration file.  As it was, only the first did so. This led to 
a problem if the included file was changed (but not the configuration 
file which includes it) and the second source file attempted to reload 
the configuration. It would not see that the included file had changed.

In this particular example, res_phoneprov and chan_sip both loaded
sip.conf, which included a file call sip.peers.conf. Since res_phoneprov
was the first to load sip.conf, only it cached the fact that sip.conf
included sip.peers.conf. If sip.peers.conf were changed and sip.conf were
not and a sip reload were issued (meaning that chan_sip attempts to 
reload sip.conf only if it and its included files have changed) the changes
made to sip.peers.conf would not be seen and therefore no action would be
taken.

(closes issue #12693)
Reported by: marsosa


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117368 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-21 02:21:38 +00:00
Steve Murphy
2fdbd728b8 Merged revisions 117335 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r117335 | murf | 2008-05-20 19:00:28 -0600 (Tue, 20 May 2008) | 10 lines

These changes were made via the comments atis_work made at 4:30am (Mountain Time zone- US)
in #asterisk-dev on 20 May 2008. He noted that a backslash was being inserted before commas
in app call arguments in the extensions.conf.aeldump file that you get from aelparse with the
-w arg. This was being generated from code left over from 1.4, where commas were substituted
with '|', and any remaining commas needed to be escaped.

Many thanks to atis for his comment; please let us know if these changes break anything!



........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-21 01:20:45 +00:00
Tilghman Lesher
de3112d3ee Blocked revisions 117264 via svnmerge
........
r117264 | tilghman | 2008-05-20 11:25:16 -0500 (Tue, 20 May 2008) | 3 lines

Increase limit of unshared connections from 1023 to 4.2 billion.
(Related to issue #12677)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-20 16:25:52 +00:00
Tilghman Lesher
05e0ef7bfd Blocked revisions 117262 via svnmerge
........
r117262 | tilghman | 2008-05-20 11:13:48 -0500 (Tue, 20 May 2008) | 4 lines

Revert part of previous fix, and heavily comment the logic for object
destruction, for future users.
(Closes issue #12677)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-20 16:16:13 +00:00
Tilghman Lesher
b762595c7e Blocked revisions 117182 via svnmerge
........
r117182 | tilghman | 2008-05-19 15:06:38 -0500 (Mon, 19 May 2008) | 7 lines

Change the default for the pridialplan parameter to the far more common case of
'unknown', and better document the use of each parameter.
(closes issue #12633)
 Reported by: tzafrir
 Patches: 
       pridialplan_unknown_2.diff uploaded by tzafrir (license 46)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-19 20:08:00 +00:00
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