asterisk/asterisk.git
15 years agoAllow manager originate to specifiy more than one variable to be set.
Russell Bryant [Fri, 15 Jul 2005 23:24:51 +0000 (23:24 +0000)]
Allow manager originate to specifiy more than one variable to be set.
Allow manager originate and spool files to set writable dialplan functions,
including those that use the pipe symbol to seperate arguments.
Allow CDR dialplan function to be able to set the account code and userfield.
This deprecates the use of the Account header in manager originate and spool
files, as well as the SetAccount and SetCDRUserField applications.

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

15 years agoadd a library of timeval manipulation functions, and change a large number of usses...
Kevin P. Fleming [Fri, 15 Jul 2005 23:00:47 +0000 (23:00 +0000)]
add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504)

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

15 years agoclean up scheduler debugging and expose defines in the Makefile (bug #4703)
Kevin P. Fleming [Fri, 15 Jul 2005 22:21:31 +0000 (22:21 +0000)]
clean up scheduler debugging and expose defines in the Makefile (bug #4703)

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

15 years agore-enable SIGHUP and SIGCHLD after they fire on platforms that require it (bug #4720)
Kevin P. Fleming [Fri, 15 Jul 2005 22:12:55 +0000 (22:12 +0000)]
re-enable SIGHUP and SIGCHLD after they fire on platforms that require it (bug #4720)

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

15 years agophase two of string portability stuff:
Kevin P. Fleming [Fri, 15 Jul 2005 22:06:15 +0000 (22:06 +0000)]
phase two of string portability stuff:
  don't need ast_ prefixes on functions
  use individual #defines for function presence
  add vasprintf to portability library

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

15 years agoget rid of compiler warning
Russell Bryant [Fri, 15 Jul 2005 16:32:44 +0000 (16:32 +0000)]
get rid of compiler warning

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

15 years agomake 'Agents' manager action conform to protocol (bug #4723)
Kevin P. Fleming [Fri, 15 Jul 2005 16:21:41 +0000 (16:21 +0000)]
make 'Agents' manager action conform to protocol (bug #4723)

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

15 years agorevert unneeded change and add comment to avoid it in the future
Kevin P. Fleming [Fri, 15 Jul 2005 16:15:57 +0000 (16:15 +0000)]
revert unneeded change and add comment to avoid it in the future

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

15 years agoensure that format string macros are undef'd after use (bug #4716)
Kevin P. Fleming [Fri, 15 Jul 2005 16:13:26 +0000 (16:13 +0000)]
ensure that format string macros are undef'd after use (bug #4716)

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

15 years agodon't use %i for scanf unless non-base-10 input is needed (bug #4717)
Kevin P. Fleming [Fri, 15 Jul 2005 16:10:21 +0000 (16:10 +0000)]
don't use %i for scanf unless non-base-10 input is needed (bug #4717)

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

15 years agovarious code formatting changes and cleanups related to bug #4706
Kevin P. Fleming [Fri, 15 Jul 2005 16:03:02 +0000 (16:03 +0000)]
various code formatting changes and cleanups related to bug #4706

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

15 years agoensure that channels that are busy/congested are marked AST_STATE_BUSY (bug #4706)
Kevin P. Fleming [Fri, 15 Jul 2005 16:02:37 +0000 (16:02 +0000)]
ensure that channels that are busy/congested are marked AST_STATE_BUSY (bug #4706)

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

15 years agomore ifdef cleanup to match proper Linux macros
Kevin P. Fleming [Fri, 15 Jul 2005 15:37:58 +0000 (15:37 +0000)]
more ifdef cleanup to match proper Linux macros

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

15 years agoFix breakage caused by bug #4669. Next time let's test the build on
Josh Roberson [Fri, 15 Jul 2005 02:28:10 +0000 (02:28 +0000)]
Fix breakage caused by bug #4669.  Next time let's test the build on
linux before commiting a portability patch ;)

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

15 years agofirst phase of proper fix for portable string function problems (bug #4669)
Kevin P. Fleming [Fri, 15 Jul 2005 00:39:01 +0000 (00:39 +0000)]
first phase of proper fix for portable string function problems (bug #4669)

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

15 years agorestore count_messages for ODBC storage to proper behavior (bug #4711)
Kevin P. Fleming [Fri, 15 Jul 2005 00:27:41 +0000 (00:27 +0000)]
restore count_messages for ODBC storage to proper behavior (bug #4711)

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

15 years agoclean up maxmsg parsing, and ensure default applies to Realtime voicemail users
Kevin P. Fleming [Fri, 15 Jul 2005 00:18:58 +0000 (00:18 +0000)]
clean up maxmsg parsing, and ensure default applies to Realtime voicemail users

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

15 years agofix some indentation
Russell Bryant [Fri, 15 Jul 2005 00:15:14 +0000 (00:15 +0000)]
fix some indentation

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

15 years agoensure we record the last seqno we transmitted (bug #4659)
Kevin P. Fleming [Thu, 14 Jul 2005 23:58:36 +0000 (23:58 +0000)]
ensure we record the last seqno we transmitted (bug #4659)

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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