asterisk/asterisk.git
14 years agoclarify comment
Russell Bryant [Thu, 14 Jul 2005 20:08:31 +0000 (20:08 +0000)]
clarify comment

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6128 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd ability to have a file, ~/.asterisk.makeopts, that will be included in
Russell Bryant [Thu, 14 Jul 2005 19:40:15 +0000 (19:40 +0000)]
add ability to have a file, ~/.asterisk.makeopts, that will be included in
the makefile so that every time you checkout Asterisk, you don't have to
edit the makefile to set all of your common options

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6127 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agodon't ignore hardcoded CLID from zapata.conf when usecallerid=no
Kevin P. Fleming [Wed, 13 Jul 2005 20:22:29 +0000 (20:22 +0000)]
don't ignore hardcoded CLID from zapata.conf when usecallerid=no

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6126 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix up lock breakage from bug #4245
Kevin P. Fleming [Wed, 13 Jul 2005 19:27:09 +0000 (19:27 +0000)]
fix up lock breakage from bug #4245

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6125 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix big endian compilation issue
Russell Bryant [Wed, 13 Jul 2005 19:21:04 +0000 (19:21 +0000)]
fix big endian compilation issue

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6124 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd create_addr_from_peer, to use an existing peer reference
Kevin P. Fleming [Wed, 13 Jul 2005 18:06:49 +0000 (18:06 +0000)]
add create_addr_from_peer, to use an existing peer reference
(solves a deadlock where create_addr was called with the peer already locked)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6123 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd QueueStatusComplete event (bug #4694 with minor mods)
Kevin P. Fleming [Wed, 13 Jul 2005 16:44:55 +0000 (16:44 +0000)]
add QueueStatusComplete event (bug #4694 with minor mods)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6121 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoUpdate variable name to match docs
Matthew Fredrickson [Wed, 13 Jul 2005 15:13:12 +0000 (15:13 +0000)]
Update variable name to match docs

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6120 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix typo in app description (bug #4697)
Russell Bryant [Wed, 13 Jul 2005 14:07:29 +0000 (14:07 +0000)]
fix typo in app description (bug #4697)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6119 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agosend final 3 RFC2833 packets with same seqno (bug #4659)
Kevin P. Fleming [Tue, 12 Jul 2005 23:36:00 +0000 (23:36 +0000)]
send final 3 RFC2833 packets with same seqno (bug #4659)
don't reprocess incoming RFC2833 event when packets received out of order (bug #4659)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6116 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd a dialplan function to get and set the music on hold class
Russell Bryant [Tue, 12 Jul 2005 22:50:45 +0000 (22:50 +0000)]
add a dialplan function to get and set the music on hold class

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6115 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd support for multiple-digit extensions in queue exit contexts (bug #4690)
Kevin P. Fleming [Tue, 12 Jul 2005 22:28:51 +0000 (22:28 +0000)]
add support for multiple-digit extensions in queue exit contexts (bug #4690)
add QUEUEAGENTCOUNT dialplan function (bug #4690)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6114 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agosupport DTX and CNG in speex (bug #4608)
Kevin P. Fleming [Tue, 12 Jul 2005 22:20:16 +0000 (22:20 +0000)]
support DTX and CNG in speex (bug #4608)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6113 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd UTC tag to date string so users are aware of the time offset
Kevin P. Fleming [Tue, 12 Jul 2005 19:41:25 +0000 (19:41 +0000)]
add UTC tag to date string so users are aware of the time offset

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6112 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agorevert patch from bug #4532 until CPU consumption problem can be resolved
Kevin P. Fleming [Tue, 12 Jul 2005 18:57:20 +0000 (18:57 +0000)]
revert patch from bug #4532 until CPU consumption problem can be resolved

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6111 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix logic error in searching for channel by name (bug #4684)
Kevin P. Fleming [Tue, 12 Jul 2005 16:00:23 +0000 (16:00 +0000)]
fix logic error in searching for channel by name (bug #4684)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6110 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoconvert ast_copy_string to use AST_INLINE_API macro (bug #4682)
Russell Bryant [Tue, 12 Jul 2005 15:26:24 +0000 (15:26 +0000)]
convert ast_copy_string to use AST_INLINE_API macro (bug #4682)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6108 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoget rid of compiler warning (bug #4682)
Russell Bryant [Tue, 12 Jul 2005 15:22:55 +0000 (15:22 +0000)]
get rid of compiler warning (bug #4682)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6107 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agocast constants into the proper type (bug #4686)
Kevin P. Fleming [Tue, 12 Jul 2005 15:13:39 +0000 (15:13 +0000)]
cast constants into the proper type (bug #4686)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6106 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoclean up and reorganize vm_intro_it (bug #4683, with formatting changes)
Kevin P. Fleming [Tue, 12 Jul 2005 15:10:31 +0000 (15:10 +0000)]
clean up and reorganize vm_intro_it (bug #4683, with formatting changes)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6105 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agodon't declare variables inside a code block (bug #4681)
Kevin P. Fleming [Tue, 12 Jul 2005 14:58:25 +0000 (14:58 +0000)]
don't declare variables inside a code block (bug #4681)
fix formatting

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6104 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFix IAX2 encryption (really, bug #4500 for reference)
Mark Spencer [Tue, 12 Jul 2005 14:46:20 +0000 (14:46 +0000)]
Fix IAX2 encryption (really, bug #4500 for reference)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6103 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd privacy/screening functionality to app_dial (bug #752)
Kevin P. Fleming [Tue, 12 Jul 2005 03:23:31 +0000 (03:23 +0000)]
add privacy/screening functionality to app_dial (bug #752)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6102 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd support for say_number in Hebrew (bug #4420)
Kevin P. Fleming [Tue, 12 Jul 2005 03:00:49 +0000 (03:00 +0000)]
add support for say_number in Hebrew (bug #4420)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6101 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agocorrect arguments being passed to external notify function (bug #4595)
Kevin P. Fleming [Tue, 12 Jul 2005 02:57:50 +0000 (02:57 +0000)]
correct arguments being passed to external notify function (bug #4595)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6100 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agosupport a configurable number of mailboxes per folder (bug #4229)
Kevin P. Fleming [Tue, 12 Jul 2005 02:53:56 +0000 (02:53 +0000)]
support a configurable number of mailboxes per folder (bug #4229)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6099 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agosupport military-style time announcing ('hundred' instead of 'o-clock') (bug #4605)
Kevin P. Fleming [Tue, 12 Jul 2005 02:36:53 +0000 (02:36 +0000)]
support military-style time announcing ('hundred' instead of 'o-clock') (bug #4605)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6098 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agopick up calling ANI information from libpri (bug #4571)
Kevin P. Fleming [Tue, 12 Jul 2005 02:33:57 +0000 (02:33 +0000)]
pick up calling ANI information from libpri (bug #4571)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6097 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoallow explicit source address/port selection for peers (bug #4257, with minor mods)
Kevin P. Fleming [Tue, 12 Jul 2005 02:19:41 +0000 (02:19 +0000)]
allow explicit source address/port selection for peers (bug #4257, with minor mods)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6096 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomake 'webvmail' installation directories more configurable (bug #4649)
Kevin P. Fleming [Tue, 12 Jul 2005 02:08:03 +0000 (02:08 +0000)]
make 'webvmail' installation directories more configurable (bug #4649)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6095 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd 'exit context' and 'only stop on match' options to Background app (bug #4511)
Kevin P. Fleming [Tue, 12 Jul 2005 01:34:06 +0000 (01:34 +0000)]
add 'exit context' and 'only stop on match' options to Background app (bug #4511)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6093 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoupdate the password in memory as well when using externpass (bug #4602)
Russell Bryant [Tue, 12 Jul 2005 01:30:55 +0000 (01:30 +0000)]
update the password in memory as well when using externpass (bug #4602)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6092 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix voicemail path locking problems (bug #4245)
Kevin P. Fleming [Tue, 12 Jul 2005 01:04:54 +0000 (01:04 +0000)]
fix voicemail path locking problems (bug #4245)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6091 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agosimplify (and document!) macro for inlinable API functions (inspired by bug #4603...
Kevin P. Fleming [Mon, 11 Jul 2005 23:25:31 +0000 (23:25 +0000)]
simplify (and document!) macro for inlinable API functions (inspired by bug #4603, with slightly different implementation)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6090 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoproperly handle the return of the rowcount from ast_update_realtime (bug #4452)
Russell Bryant [Mon, 11 Jul 2005 23:13:11 +0000 (23:13 +0000)]
properly handle the return of the rowcount from ast_update_realtime (bug #4452)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6089 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix threading portability problem with FreeBSD (bug #4532)
Kevin P. Fleming [Mon, 11 Jul 2005 21:42:25 +0000 (21:42 +0000)]
fix threading portability problem with FreeBSD (bug #4532)
ensure that all mpg123 child processes get killed when the parent is killed (bug #4532)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6086 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoremove complex malloc-avoidance (bug #4601)
Kevin P. Fleming [Mon, 11 Jul 2005 21:06:27 +0000 (21:06 +0000)]
remove complex malloc-avoidance (bug #4601)
remove resetting of variables during unload that will only be freed or set to known values on reload

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6085 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix off by one errors in calls to ast_copy_string (bug #4600)
Russell Bryant [Mon, 11 Jul 2005 21:05:35 +0000 (21:05 +0000)]
fix off by one errors in calls to ast_copy_string (bug #4600)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6084 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoreverse arguments to ast_tvdiff_ms, so they match the 'raw' math being used between...
Kevin P. Fleming [Mon, 11 Jul 2005 20:46:25 +0000 (20:46 +0000)]
reverse arguments to ast_tvdiff_ms, so they match the 'raw' math being used between the arguments

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6083 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agodon't hangup the channel when a RECEIVE TEXT command times out (bug #4607)
Kevin P. Fleming [Mon, 11 Jul 2005 20:40:02 +0000 (20:40 +0000)]
don't hangup the channel when a RECEIVE TEXT command times out (bug #4607)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6082 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMake PRI debug easier to read if you're not using NFAS
Matthew Fredrickson [Mon, 11 Jul 2005 19:23:02 +0000 (19:23 +0000)]
Make PRI debug easier to read if you're not using NFAS

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6081 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix compiler warning about ast_copy_string
Kevin P. Fleming [Mon, 11 Jul 2005 00:00:11 +0000 (00:00 +0000)]
fix compiler warning about ast_copy_string
remove double-include of asterisk.h

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6080 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agouse AST_MAX_CONTEXT
Russell Bryant [Sun, 10 Jul 2005 23:58:33 +0000 (23:58 +0000)]
use AST_MAX_CONTEXT

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6079 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomore thoughts
Kevin P. Fleming [Sun, 10 Jul 2005 23:58:07 +0000 (23:58 +0000)]
more thoughts

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6078 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agominor fixes, and more topics covered
Kevin P. Fleming [Sun, 10 Jul 2005 23:51:10 +0000 (23:51 +0000)]
minor fixes, and more topics covered

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6077 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agodefine an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
Russell Bryant [Sun, 10 Jul 2005 23:49:57 +0000 (23:49 +0000)]
define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6076 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomore ast_copy_string conversions
Russell Bryant [Sun, 10 Jul 2005 23:21:39 +0000 (23:21 +0000)]
more ast_copy_string conversions

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6075 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomore ast_copy_string conversions
Russell Bryant [Sun, 10 Jul 2005 23:12:25 +0000 (23:12 +0000)]
more ast_copy_string conversions

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6074 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomore ast_copy_string conversions
Russell Bryant [Sun, 10 Jul 2005 22:56:21 +0000 (22:56 +0000)]
more ast_copy_string conversions

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6073 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoPass along proceeding and progress even when overlap mode is not on
Mark Spencer [Sun, 10 Jul 2005 16:05:59 +0000 (16:05 +0000)]
Pass along proceeding and progress even when overlap mode is not on

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6072 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoYou must have version.h before building dependencies!
Mark Spencer [Sun, 10 Jul 2005 15:53:05 +0000 (15:53 +0000)]
You must have version.h before building dependencies!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6071 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agosimplify locking (use a single lock, no deadlock possible)
Kevin P. Fleming [Sun, 10 Jul 2005 13:06:54 +0000 (13:06 +0000)]
simplify locking (use a single lock, no deadlock possible)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6070 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFix lock ordering in devicestate
Mark Spencer [Sun, 10 Jul 2005 12:09:40 +0000 (12:09 +0000)]
Fix lock ordering in devicestate

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6069 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFixed iobase specification in rpt.conf and put in check for 'keyed' for
Jim Dixon [Sun, 10 Jul 2005 03:13:42 +0000 (03:13 +0000)]
Fixed iobase specification in rpt.conf and put in check for 'keyed' for
main system rx DTMF.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6068 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoTypo Fix (per corydon76)
Anthony Minessale II [Sat, 9 Jul 2005 20:37:59 +0000 (20:37 +0000)]
Typo Fix (per corydon76)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6067 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoD'oh
Malcolm Davenport [Sat, 9 Jul 2005 15:36:59 +0000 (15:36 +0000)]
D'oh

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6066 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoBug #4652 - Take two
Malcolm Davenport [Sat, 9 Jul 2005 12:18:59 +0000 (12:18 +0000)]
Bug #4652 - Take two

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6065 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoBug #4652 - Require libstrfunc for FreeBSD. Thanks Corydon
Malcolm Davenport [Fri, 8 Jul 2005 21:54:07 +0000 (21:54 +0000)]
Bug #4652 - Require libstrfunc for FreeBSD.  Thanks Corydon

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6064 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd the new files for the last commit :-)
Kevin P. Fleming [Fri, 8 Jul 2005 21:15:41 +0000 (21:15 +0000)]
add the new files for the last commit :-)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6063 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoqueue device state changes and handle them serially in a background thread
Kevin P. Fleming [Fri, 8 Jul 2005 21:14:34 +0000 (21:14 +0000)]
queue device state changes and handle them serially in a background thread
optimize device state related functions
add ast_get_channel_by_name_prefix to allow searching for matching channels in O(1) operation

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6062 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoensure globals are all static
Kevin P. Fleming [Fri, 8 Jul 2005 21:09:38 +0000 (21:09 +0000)]
ensure globals are all static

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6061 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoChange level of message in case of write on hung up channel (Bug #4651)
Matthew Fredrickson [Fri, 8 Jul 2005 19:10:39 +0000 (19:10 +0000)]
Change level of message in case of write on hung up channel (Bug #4651)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6060 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoclean up compiler warnings during build on 64-bit systems
Kevin P. Fleming [Fri, 8 Jul 2005 17:06:54 +0000 (17:06 +0000)]
clean up compiler warnings during build on 64-bit systems

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6059 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoupdate sample to reflect new nodir option
Russell Bryant [Fri, 8 Jul 2005 15:04:01 +0000 (15:04 +0000)]
update sample to reflect new nodir option

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6058 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomake this call to socket() consistent with the rest of them in Asterisk
Russell Bryant [Fri, 8 Jul 2005 14:27:39 +0000 (14:27 +0000)]
make this call to socket() consistent with the rest of them in Asterisk

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6057 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agosuper crazy ast_copy_string conversion madness!
Russell Bryant [Thu, 7 Jul 2005 23:46:10 +0000 (23:46 +0000)]
super crazy ast_copy_string conversion madness!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6056 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd path-locking to voicemail CGI app (bug #4304)
Kevin P. Fleming [Thu, 7 Jul 2005 23:34:59 +0000 (23:34 +0000)]
add path-locking to voicemail CGI app (bug #4304)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6055 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomore fun with ast_copy_string
Russell Bryant [Thu, 7 Jul 2005 23:32:37 +0000 (23:32 +0000)]
more fun with ast_copy_string

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6054 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoensure that "completed calls" counter is updated properly (bug #4575)
Kevin P. Fleming [Thu, 7 Jul 2005 23:29:48 +0000 (23:29 +0000)]
ensure that "completed calls" counter is updated properly (bug #4575)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6053 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoast_copy_string conversion
Kevin P. Fleming [Thu, 7 Jul 2005 23:17:22 +0000 (23:17 +0000)]
ast_copy_string conversion
replace unnecessary length-limited copies with direct copies

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6052 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomore ast_copy_string conversions
Russell Bryant [Thu, 7 Jul 2005 23:17:04 +0000 (23:17 +0000)]
more ast_copy_string conversions

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6051 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoallow user-configurable date formats in voicemail message body (bug #4554)
Kevin P. Fleming [Thu, 7 Jul 2005 22:56:49 +0000 (22:56 +0000)]
allow user-configurable date formats in voicemail message body (bug #4554)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6050 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoensure that mailbox numbers are read correctly from password files (bug #4655)
Kevin P. Fleming [Thu, 7 Jul 2005 22:42:06 +0000 (22:42 +0000)]
ensure that mailbox numbers are read correctly from password files (bug #4655)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6049 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoensure that conference created by new caller who fails to enter a PIN is destroyed...
Kevin P. Fleming [Thu, 7 Jul 2005 22:36:40 +0000 (22:36 +0000)]
ensure that conference created by new caller who fails to enter a PIN is destroyed (bug #4613)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6048 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomake CLI output use singular/plural when appropriate (bug #4654)
Kevin P. Fleming [Thu, 7 Jul 2005 22:32:20 +0000 (22:32 +0000)]
make CLI output use singular/plural when appropriate (bug #4654)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6047 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoHardcode urgent messages option in Voice-Message to 0
Malcolm Davenport [Thu, 7 Jul 2005 19:51:33 +0000 (19:51 +0000)]
Hardcode urgent messages option in Voice-Message to 0

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6046 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoensure that AGENTBYCALLERID is set for agents being reloaded from persistent storage
Kevin P. Fleming [Wed, 6 Jul 2005 14:47:25 +0000 (14:47 +0000)]
ensure that AGENTBYCALLERID is set for agents being reloaded from persistent storage

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6039 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agodon't segfault when peer doesn't send Referred-By (bug #4588)
Kevin P. Fleming [Wed, 6 Jul 2005 01:45:23 +0000 (01:45 +0000)]
don't segfault when peer doesn't send Referred-By (bug #4588)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6038 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoensure buffer policy is restored after RAS is done with a channel (bug #4589, slightl...
Kevin P. Fleming [Wed, 6 Jul 2005 01:41:54 +0000 (01:41 +0000)]
ensure buffer policy is restored after RAS is done with a channel (bug #4589, slightly simpler fix)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6037 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoremember CallerID in AgentCallbackLogin, so it can be used at logoff time
Kevin P. Fleming [Wed, 6 Jul 2005 01:29:15 +0000 (01:29 +0000)]
remember CallerID in AgentCallbackLogin, so it can be used at logoff time
use stored CallerID when auto-logoff occurs to clear AGENTBYCALLERID variable (bug #4616)
persist stored CallerID into/out of astdb

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6036 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agodon't write frames out to channel until after sending them to spies and/or monitor...
Kevin P. Fleming [Tue, 5 Jul 2005 22:21:54 +0000 (22:21 +0000)]
don't write frames out to channel until after sending them to spies and/or monitor, since the channel driver might modify the frame data in the buffer (bug #4623)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6035 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd support for 'early loading' modules, so that nearly all configuration files can...
Kevin P. Fleming [Tue, 5 Jul 2005 22:11:43 +0000 (22:11 +0000)]
add support for 'early loading' modules, so that nearly all configuration files can be read from Realtime storage
add warning for when file mapping is found but the engine is not available
add warning for trying to map 'logger.conf', since it cannot be reliably mapped

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6034 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd new file to ignore
Kevin P. Fleming [Tue, 5 Jul 2005 22:10:39 +0000 (22:10 +0000)]
add new file to ignore

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6033 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoclean up find_engine()
Kevin P. Fleming [Tue, 5 Jul 2005 21:17:58 +0000 (21:17 +0000)]
clean up find_engine()
issue a warning when a config file mapping is found but the desired driver is not available (inspired by bug #4628)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6032 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoensure that filesize-triggered reloads don't recurse (bug #4621, with mods)
Kevin P. Fleming [Tue, 5 Jul 2005 20:31:34 +0000 (20:31 +0000)]
ensure that filesize-triggered reloads don't recurse (bug #4621, with mods)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6031 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoensure that text frames are copied correctly even if they are not null-terminated...
Kevin P. Fleming [Tue, 5 Jul 2005 19:52:48 +0000 (19:52 +0000)]
ensure that text frames are copied correctly even if they are not null-terminated (bug #4615)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6030 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomake editline build properly on cygwin (bug #4624)
Kevin P. Fleming [Tue, 5 Jul 2005 19:30:18 +0000 (19:30 +0000)]
make editline build properly on cygwin (bug #4624)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6029 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agodon't force autofallthrough to on (bug #4599)
Kevin P. Fleming [Tue, 5 Jul 2005 19:22:58 +0000 (19:22 +0000)]
don't force autofallthrough to on (bug #4599)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6028 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoensure that abandoned calls are recorded that way (bug #4644)
Kevin P. Fleming [Tue, 5 Jul 2005 19:22:26 +0000 (19:22 +0000)]
ensure that abandoned calls are recorded that way (bug #4644)
show 'available' for member channels that are not known to be in some other state (bug #4644)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6027 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd man pages for autosupport and safe_asterisk scripts (bug #4642)
Kevin P. Fleming [Tue, 5 Jul 2005 19:04:49 +0000 (19:04 +0000)]
add man pages for autosupport and safe_asterisk scripts (bug #4642)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6026 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoactually _install_ the astgenkey man page
Kevin P. Fleming [Tue, 5 Jul 2005 19:02:25 +0000 (19:02 +0000)]
actually _install_ the astgenkey man page

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6025 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd function to convert a cause code to a string
Russell Bryant [Tue, 5 Jul 2005 17:16:17 +0000 (17:16 +0000)]
add function to convert a cause code to a string
create MAX_MUSICCLASS instead of using MAX_LANGUAGE

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6024 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoreset regattempts counter after successful registration (bug #4634)
Kevin P. Fleming [Tue, 5 Jul 2005 15:08:34 +0000 (15:08 +0000)]
reset regattempts counter after successful registration (bug #4634)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6023 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix up warnings (bug #4638)
Kevin P. Fleming [Tue, 5 Jul 2005 14:45:48 +0000 (14:45 +0000)]
fix up warnings (bug #4638)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6022 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agouse proper shebang line in autosupport script, at proper location (bug #4640)
Kevin P. Fleming [Tue, 5 Jul 2005 14:41:28 +0000 (14:41 +0000)]
use proper shebang line in autosupport script, at proper location (bug #4640)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6021 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agodon't unlink files just because they can't be opened (bug #4641)
Kevin P. Fleming [Tue, 5 Jul 2005 14:37:24 +0000 (14:37 +0000)]
don't unlink files just because they can't be opened (bug #4641)
clean up and reformat ast_readfile and ast_writefile

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6020 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoprint out which format was bigger than MAX_FORMAT
Russell Bryant [Tue, 5 Jul 2005 14:00:03 +0000 (14:00 +0000)]
print out which format was bigger than MAX_FORMAT

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6019 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdded fix so that wctdm interface will start out in correct state
Jim Dixon [Mon, 4 Jul 2005 00:52:18 +0000 (00:52 +0000)]
Added fix so that wctdm interface will start out in correct state

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6018 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoApply NODIR Patch (Bug #4619)
Anthony Minessale II [Thu, 30 Jun 2005 18:08:27 +0000 (18:08 +0000)]
Apply NODIR Patch (Bug #4619)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6017 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFix for bug 4347. Also breaking redirectingreason interpretation routine into function
Matthew Fredrickson [Wed, 29 Jun 2005 21:47:44 +0000 (21:47 +0000)]
Fix for bug 4347.  Also breaking redirectingreason interpretation routine into function

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6015 65c4cc65-6c06-0410-ace0-fbb531ad65f3