Commit Graph

1156 Commits

Author SHA1 Message Date
Kevin P. Fleming 63b6795055 ensure account code is not overwritten when none is supplied (bug #4743)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-19 23:45:21 +00:00
Kevin P. Fleming 22b0f5d306 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
2005-07-15 23:00:47 +00:00
Kevin P. Fleming 9d8d86e19d 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
2005-07-15 22:06:15 +00:00
Kevin P. Fleming ee568be647 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
2005-07-15 16:15:57 +00:00
Kevin P. Fleming 904beec507 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
2005-07-15 16:13:26 +00:00
Kevin P. Fleming 7070dafdbf 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
2005-07-15 16:10:21 +00:00
Kevin P. Fleming dcfabce0e4 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
2005-07-15 00:27:41 +00:00
Kevin P. Fleming 86e17a7487 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
2005-07-15 00:18:58 +00:00
Kevin P. Fleming 9a7a5d5623 fix up lock breakage from bug #4245
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6125 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-13 19:27:09 +00:00
Kevin P. Fleming 1432749293 add QueueStatusComplete event (bug #4694 with minor mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6121 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-13 16:44:55 +00:00
Kevin P. Fleming 79760d4802 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
2005-07-12 22:28:51 +00:00
Russell Bryant 4f64fe03f0 get rid of compiler warning (bug #4682)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6107 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 15:22:55 +00:00
Kevin P. Fleming 7276c684c4 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
2005-07-12 15:10:31 +00:00
Kevin P. Fleming 0313d0b9c5 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
2005-07-12 03:23:31 +00:00
Kevin P. Fleming 2c79cc2fc6 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
2005-07-12 02:57:50 +00:00
Kevin P. Fleming 99c29d7053 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
2005-07-12 02:53:56 +00:00
Russell Bryant e2d42d2551 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
2005-07-12 01:30:55 +00:00
Kevin P. Fleming 16c5ee5d56 fix voicemail path locking problems (bug #4245)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6091 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 01:04:54 +00:00
Russell Bryant 3cfa36143e 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
2005-07-11 23:13:11 +00:00
Russell Bryant e24821e1cf 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
2005-07-11 21:05:35 +00:00
Kevin P. Fleming eb397f08df 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
2005-07-11 20:46:25 +00:00
Russell Bryant 4c531ca8c0 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
2005-07-10 23:49:57 +00:00
Russell Bryant 206f712599 more ast_copy_string conversions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6074 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-10 23:12:25 +00:00
Mark Spencer 80f67ad1fa 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
2005-07-10 16:05:59 +00:00
Jim Dixon b4f7592ebb 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
2005-07-10 03:13:42 +00:00
Kevin P. Fleming c13d601fb4 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
2005-07-08 21:14:34 +00:00
Matthew Fredrickson f6f9cac028 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
2005-07-08 19:10:39 +00:00
Kevin P. Fleming f64717b556 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
2005-07-08 17:06:54 +00:00
Russell Bryant 91ee5d5ddd more fun with ast_copy_string
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-07 23:32:37 +00:00
Kevin P. Fleming 25f2cb8ec9 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
2005-07-07 23:29:48 +00:00
Kevin P. Fleming bebab80538 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
2005-07-07 23:17:22 +00:00
Russell Bryant 089e021868 more ast_copy_string conversions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-07 23:17:04 +00:00
Kevin P. Fleming 64cf50c8e1 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
2005-07-07 22:56:49 +00:00
Kevin P. Fleming 608eec66d6 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
2005-07-07 22:42:06 +00:00
Kevin P. Fleming d39c932f20 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
2005-07-07 22:36:40 +00:00
Kevin P. Fleming f268ea2b3c 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
2005-07-07 22:32:20 +00:00
Kevin P. Fleming 8b19bdba36 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
2005-07-06 01:41:54 +00:00
Kevin P. Fleming f8b140faa4 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
2005-07-05 19:22:26 +00:00
Russell Bryant 52ef5c7d30 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
2005-07-05 17:16:17 +00:00
Jim Dixon 4cac951c1c 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
2005-07-04 00:52:18 +00:00
Russell Bryant d6715842fb fix typo in description
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-23 22:00:10 +00:00
Kevin P. Fleming 34adab5d08 support Swedish grammar for voicemail message counts (bug #4227)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5985 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-23 17:44:20 +00:00
Kevin P. Fleming ede1fcba53 minor cleanups (bug #4526 with text changes)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-21 00:52:47 +00:00
Kevin P. Fleming 0e9d920a60 move tools used during build into build_tools subdirectory
clean up Makefile headers


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5942 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-20 17:26:08 +00:00
Jim Dixon a64d79c196 Fixed transmitter hang problem
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-15 03:50:29 +00:00
Russell Bryant bef7d9da16 move deprecation warning until after all variable declarations (bug #4514)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-12 16:43:37 +00:00
Kevin P. Fleming 79392ea53b add MATH() dialplan function (bug #4473, with mods)
deprecate the Math() application


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-09 22:59:08 +00:00
Kevin P. Fleming bd325f5219 add WAITSTATUS channel variable output to WaitForSilence() application (bug #4256)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5888 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-09 21:04:16 +00:00
Kevin P. Fleming 706bf6d427 ensure CLI commands produce proper terminating output when used with manager interface (bug #4497)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-09 19:34:12 +00:00
Kevin P. Fleming e18a747172 move timeval-diff function into utils.h from app_alarmreceiver.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5882 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-09 14:39:34 +00:00