Commit Graph

1513 Commits

Author SHA1 Message Date
Mark Spencer 8e680521ec Allow mixmon names to have dots (bug #5607)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-06 05:13:45 +00:00
Mark Spencer b721635619 Janitor project, app_controlplayback (bug #5610)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6971 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-06 05:03:14 +00:00
Mark Spencer 535ed63c6f Dial janitor patch (bug #5613)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6970 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-06 05:00:42 +00:00
Mark Spencer 34152c3abc Meetme whitespace changes (bug #5615)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6969 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-06 04:52:44 +00:00
Mark Spencer 5e17bb19d9 Add missing newline (bug #5616)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-06 04:51:00 +00:00
Kevin P. Fleming c103bc7806 issue #5609
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6962 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-04 22:11:51 +00:00
Kevin P. Fleming 2bebbca579 flags usage simplification
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-03 21:40:36 +00:00
Kevin P. Fleming 426360e389 major update to arg/option parsing APIs and documentation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-03 21:19:11 +00:00
Jim Dixon fc9612edad Fixed a couple of silly boo-boo's
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-03 18:58:24 +00:00
Kevin P. Fleming 8f0a6a7d4f uhh... oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-02 21:50:03 +00:00
Kevin P. Fleming ce50837d70 upgrade Dial() app to use API-based argument/option parsing
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-02 21:46:52 +00:00
Kevin P. Fleming 7ffb604a2f issue #4678
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01 21:53:30 +00:00
Kevin P. Fleming b05e64ed12 issue #5564
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6935 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01 21:11:57 +00:00
Kevin P. Fleming 631ee6670c issue #5560
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6934 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01 21:02:07 +00:00
Kevin P. Fleming da097c4f5e issue #5561
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01 20:57:42 +00:00
Kevin P. Fleming 03ceef35ac optionally send silence during recording (issue #5135)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6925 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01 17:22:25 +00:00
Russell Bryant eae43386f0 when going through new user setup, don't change the password if they don't
match.  Also, allow 3 tries before bailing out.  (issue #5495, different fix)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01 02:20:30 +00:00
Kevin P. Fleming 261e51b03a handle comments containing what appear to be context names during voicemail.conf updates better (issue #5385)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 23:41:20 +00:00
Kevin P. Fleming 551ac9af04 don't use 'rowcount' after SELECT statements, since the ODBC API does not say it is allowed (issue #5083)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 21:31:25 +00:00
Kevin P. Fleming 7ef0527a7d correct comment
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6899 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 15:33:27 +00:00
Kevin P. Fleming ed3be69bce update Makefile for new app name
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 23:52:23 +00:00
Kevin P. Fleming e6fc49806d complete the rename of MuxMon to MixMonitor
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6885 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 23:04:30 +00:00
Kevin P. Fleming 846b39a9f1 major redesign of the channel spy infrastructure, increasing efficiency and reducing locking conflicts
(nearly) complete rewrite of app_muxmon, renaming the application to MixMonitor and fixing a large number of bugs and inconsistencies
update app_chanspy to use new spy infrastructure


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 23:01:13 +00:00
Kevin P. Fleming f9a98f7110 use API call for frame volume adjustment
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6878 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 16:36:10 +00:00
Russell Bryant 7deac2300a strncpy to ast_copy_string
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-27 02:48:56 +00:00
Russell Bryant 5187de9ab6 remove unnecessary checks before calls to ast_strlen_zero
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 19:48:14 +00:00
Jim Dixon 7810f546f3 Many changes and new stuff including Reverse Autopatch and completely new authentication system no longer requiring static IP address assignment.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 16:00:38 +00:00
Russell Bryant 3453e3efa5 Doxygen documentation update from oej (issue #5505)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24 20:12:06 +00:00
Mark Spencer 60e9a6edf7 Fix app_disa to set the proper variable before goign to invalid (bug #5439)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-23 01:39:40 +00:00
Mark Spencer e973e76c9f Fix DISA documentation (bug #5461)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-21 04:00:13 +00:00
Russell Bryant b4e0cedf94 fix up help text (issue #5479)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6834 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-20 16:42:53 +00:00
Russell Bryant 4aa7912057 Massive cleanups to applications for LOCAL_USER handling and some other things.
In general, LOCAL_USER_ADD/REMOVE should be the first/last thing called in an
application.  An exception is if there is some *fast* setup code that might
halt the execution of the application, such as checking to see if an argument
exists.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-19 18:19:02 +00:00
Russell Bryant 29829640bf it's a good idea to unregister everything before calling STANDARD_HANGUP_LOCALUSERS
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6828 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-18 22:52:21 +00:00
Mark Spencer dbdd193e12 Fix segfault in app queue when no cdr exists for the calling channel (bug #5462)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6824 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-18 20:58:16 +00:00
Mark Spencer e634c61ef8 Small paging fixups (bug #5460)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-18 17:44:52 +00:00
Mark Spencer 50d20994f8 Fix off-by-one issue with sort (bug #5459)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6816 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-18 16:48:19 +00:00
Josh Roberson 82d7020516 Don't only accept AST_DEVICE_UNKNOWN when we're trying to determine if the device is in use. (Bug # 5338)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6815 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-18 03:29:12 +00:00
Russell Bryant b59ab89e1a implement TXTCIDNAME as a dialplan function and mark the application deprecated
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6813 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-18 03:02:06 +00:00
Russell Bryant ff34fbd02b remove unnecessary config file loading
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-18 02:21:45 +00:00
Mark Spencer 4e919f337c Fix queue, iax and sip formatting issues (bug #5449)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6811 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-17 22:26:33 +00:00
Kevin P. Fleming 4d5c1aefb7 minor changes and eliminate some compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-16 23:26:35 +00:00
Mark Spencer a5dd6a1a14 Add muxmon application (bug #4735 with mods, thanks tony!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6795 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-16 02:59:13 +00:00
Mark Spencer cb5e5c1fd5 Don't wait for channels to answer before moving on!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-14 00:23:47 +00:00
Kevin P. Fleming 57a8f5d82c ensure Dial() options are sorted in help output (issue #5386)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-14 00:11:50 +00:00
Kevin P. Fleming cc5f36d139 ensure that message envelopes are retrieved from ODBC storage when advanced options menu is used (issue #5393)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-14 00:08:24 +00:00
Kevin P. Fleming 81932c6142 make DISA() use 'i' extension if it exists (issue #5439 with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 23:52:42 +00:00
Kevin P. Fleming d509e41078 remove unused variable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6774 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 23:15:30 +00:00
Kevin P. Fleming 7215e4179d add auto-monitor support (issue #5411)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 23:14:19 +00:00
Russell Bryant bcb449e56b update docs to reflect that priority jumping only occurs when the global
option is enabled


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 22:43:46 +00:00
Mark Spencer 370f98e223 Fix crash in chanspy (bug #5332)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6768 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 22:10:16 +00:00
Josh Roberson 485e3e0801 Log timeouts in queues when the call timeout is set from the dialplan (Bug #5422)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6761 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 20:16:50 +00:00
Kevin P. Fleming f48b822a20 make new app conform to coding guidelines :-(
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6755 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 13:14:03 +00:00
Mark Spencer 42cb1956fc Make sure paging can be duplex if necessary
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6754 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 05:37:49 +00:00
Mark Spencer 995b3973a2 Fix "bug" of not being able to page multiple phones
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6753 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-12 22:56:53 +00:00
Mark Spencer c5a8178bb4 Fix directed pickup to a call that is up (bug #5425 with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6743 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-11 21:08:26 +00:00
Kevin P. Fleming 350aaac04b properly report hangupcause when ast_request() fails for the last (or only) target of a dial operation (issue #5394, different fix)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6735 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 21:18:28 +00:00
Kevin P. Fleming 4807571648 add VMCOUNT() function to replace HasVoicemail/HasNewVoicemail apps (issue #5335)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6731 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 01:37:48 +00:00
Kevin P. Fleming 17b668e180 don't twiddle memory that doesn't belong to us (issue #5348)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6727 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 00:28:04 +00:00
Kevin P. Fleming e338682949 fix memory leak and unload problems (issue #5380)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6719 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 22:44:15 +00:00
Kevin P. Fleming e0680525e7 fix queues properly (issue #5300, take two)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6699 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-30 14:01:56 +00:00
Kevin P. Fleming d45b683bdd ensure that app_queue won't crash if no members are defined via Realtime (issue #5300)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6693 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-29 04:12:08 +00:00
Russell Bryant 9f0cf49bca make sure to LOCAL_USER_REMOVE in all cases where the application can exit (issue #5307)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-28 19:42:36 +00:00
Russell Bryant 90aec0b0e3 fix logic error that breaks queue exit (issue #5312)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6677 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-28 19:33:00 +00:00
Russell Bryant da7ca691b2 move variable declaration to the beginning of the function (issue #5299)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6667 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-26 20:53:33 +00:00
Kevin P. Fleming d3f7c5fb74 don't drop the caller just because it's not time to play an announcement (issue #5279)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6655 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-26 00:41:28 +00:00
Kevin P. Fleming 5599da9581 support new version of OSP toolkit (issue #5168)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6653 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-25 20:50:40 +00:00
Kevin P. Fleming 43e0f52600 correct logic errors (issue #5258)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6651 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-25 20:39:19 +00:00
Kevin P. Fleming b151666d4c correct sense of logic test (issue #5259)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-25 20:37:05 +00:00
Mark Spencer 1097fc2d38 Make curl a function
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-25 19:36:48 +00:00
Mark Spencer 446d1eee3e Fix meet me / local channel (bug #5274)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6642 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-25 03:57:53 +00:00
Kevin P. Fleming 7470ddb6b2 fix copy-and-paste error
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-24 22:56:41 +00:00
Mark Spencer 2e5537a4a0 Fix directed pickup deadlock bug (bug #5270)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6634 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-24 14:22:12 +00:00
Jim Dixon b3d871f223 Added support for iaxrpt gui client
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6631 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-23 03:07:06 +00:00
Kevin P. Fleming b28847320d add Pickup() application (issue #4865)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6622 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-15 20:28:23 +00:00
Kevin P. Fleming b8f23573fa more license/copyright header updates (thanks Ian!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6618 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-15 15:44:26 +00:00
Kevin P. Fleming 981970c57b _really_ fix app_directory (doh... how did I miss this before?) (issue #5232, take two)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6611 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-15 01:31:49 +00:00
Kevin P. Fleming 44e3b6feb1 ensure that Record() will exit even if no audio is received from the channel (issue #4899)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6610 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-15 01:17:51 +00:00
Kevin P. Fleming 5bd40f4e11 revert a portion of issue #5138 which broke this app (issue #5232)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6609 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-15 00:56:09 +00:00
Kevin P. Fleming 5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 20:46:50 +00:00
Kevin P. Fleming f6dff3608d allow channel receive gain to be adjusted while recording messages/greetings in voicemail (workaround for issue #2023 from the ancient past)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 20:00:54 +00:00
Kevin P. Fleming b42abc9ce0 deprecate EnumLookup() application
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6591 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 14:26:27 +00:00
Kevin P. Fleming fc0b625da1 make While() able to find the matching EndWhile() for when the condition is zero (issue #5145)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 02:24:38 +00:00
Kevin P. Fleming 8f537c4378 add status variable output and jumping control to SendURL() (issue #4812)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 01:46:09 +00:00
Kevin P. Fleming 0c8f0e8bdb extensive ENUM support update, including ENUMLOOKUP() dialplan function (issue #5201 with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 01:36:15 +00:00
Russell Bryant 8da2550874 ensure that user events are identified with the correct type (issue #5200)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6571 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-13 23:36:55 +00:00
Mark Spencer f06a4016be Properly install appropriate sound files, prefix spy ones with spy- (bug #5192)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-12 03:49:54 +00:00
Jim Dixon 391d8b0994 Better improved HF interface
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-11 22:08:44 +00:00
Josh Roberson f406fe76a8 Set filaneme BEFORE we return from open_mailbox() if we don't have positive message count (Bug #5175)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-09 21:13:42 +00:00
Jim Dixon 4794638c99 Fixed signalling problem with pciradio
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-08 17:29:49 +00:00
Kevin P. Fleming 03f39d5a1e ensure that TRANSFERSTATUS can return FAILURE (issue #5146)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 21:39:53 +00:00
Kevin P. Fleming 1e854ea773 remove useless buffer initializations (issue #5134)
convert pbx_dundi to use ast_copy_string) (issue #5134)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 21:01:31 +00:00
Kevin P. Fleming a78f58b4e4 put a limit on Macro depth (to combat recursion) (issue #5114)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 20:39:20 +00:00
Kevin P. Fleming e0f02b46f1 convert a bunch of apps to use ast_goto_if_exists() (issue #5138)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 19:13:00 +00:00
Kevin P. Fleming 721bd0aa59 eliminate signedness warnings (issue #5130)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 18:57:01 +00:00
Kevin P. Fleming 40c5fa88a4 eliminate signedness warnings (issue #5129)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 18:55:03 +00:00
Kevin P. Fleming a833f4699a add status variable output to System() app (issue #5121)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6529 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 18:52:54 +00:00
Kevin P. Fleming 4e87243686 fix some race conditions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6526 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 15:32:01 +00:00
Kevin P. Fleming 4b8de0713e reset channel volumes when exiting apps that use them
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 14:15:37 +00:00
Kevin P. Fleming 6a34f551ec re-add 'listen' volume control
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 02:27:58 +00:00
Kevin P. Fleming 35d9febc6e another buglet
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 01:55:29 +00:00
Kevin P. Fleming 764cfe8f8e actually do issue #4170 right... it was supposed to adjust talk volume, not listen volume (sorry)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6520 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 01:39:11 +00:00
Kevin P. Fleming 5fdc070109 add new channel option (via ast_channel_setoption()) to let channel drivers adjust txgain/rxgain if they are able (only Zap channels at this time)
modify app_chanspy to use new gain option
reformat app_chanspy to match coding guidelines
add user-controlled volume adjustment to app_meetme (issue #4170, heavily modified to actually work on Zap channels)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6519 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 01:30:01 +00:00
Kevin P. Fleming 37a3c098bf fix stupid thinko (thanks velter!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-01 22:32:29 +00:00
Kevin P. Fleming 0361052ae1 ensure that file handles are never double closed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6485 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-01 19:44:51 +00:00
Kevin P. Fleming 66371e182a minor optimization
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6482 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-01 18:45:36 +00:00
Kevin P. Fleming b67fced7ae correct Makefile errors (issue #5072)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-31 21:29:58 +00:00
Kevin P. Fleming 3103fd6292 don't duplicate devicestate-to-string function (issue #5078)
use ast_build_string() for building output string


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-31 20:16:47 +00:00
Kevin P. Fleming d4e44d7c31 correct syntax error
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6456 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 20:08:59 +00:00
Kevin P. Fleming 9519f6c5f4 clean up, use make functions instead of subshells, remove unused stuff
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 02:54:02 +00:00
Mark Spencer 5d4d2fdfd4 Add SIP video fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6448 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 02:12:09 +00:00
Kevin P. Fleming b42b25b521 eliminate compiler warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6445 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-29 23:49:43 +00:00
Kevin P. Fleming 8b331ab17d eliminate compiler warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6439 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-29 21:18:35 +00:00
Kevin P. Fleming d996db1ae9 remove unused defines and logic (issue #5058)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6435 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-29 19:07:24 +00:00
Russell Bryant ba8b18ca83 app_rpt is experimental, not obsolete (issue #5047)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-29 16:14:38 +00:00
Russell Bryant d1ec6c80d1 fix mem leak from not destrying config (issue #5048)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-29 16:08:53 +00:00
Kevin P. Fleming ed63297dfd convert Cut() into CUT() function (issue #4892)
add SORT() function (issue #4892)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-26 20:01:22 +00:00
Kevin P. Fleming 239d0bf4f7 fix race condition
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-25 18:30:02 +00:00
Kevin P. Fleming f51d313a94 ensure that Random() can support priority labels as targets (issue #5013)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-25 04:04:14 +00:00
Kevin P. Fleming 37930961e1 add optional 'extended ODBC storage' mode (issue #4403)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6404 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-25 03:15:18 +00:00
Kevin P. Fleming e979e32374 clean up code, fix a few bugs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-24 23:10:55 +00:00
Kevin P. Fleming 0d7115e65c protocol upgrades
shorter timeout during wait() calls
log channel name in all log messages


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-24 14:24:55 +00:00
Kevin P. Fleming f07adb44c0 fix buglets in new authentication code (issue #4860)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-23 15:21:48 +00:00
Kevin P. Fleming eb805b409f do expensive 'next message number' calculation before playing sounds (issue #4955)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-23 02:01:37 +00:00
Kevin P. Fleming dde23d5d0f reverse commit due to lack of disclaimer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6367 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-23 01:09:49 +00:00
Kevin P. Fleming a0ebefc915 make Record() properly timeout even if no input is received from the channel (issue #4899)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-23 01:08:07 +00:00
Kevin P. Fleming c9287324ea make pager messages configurable (issue #4829)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-22 22:43:47 +00:00
Kevin P. Fleming fda760f7bd add text status variable output to SendText() application (issue #4808)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6359 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-22 21:55:46 +00:00
Kevin P. Fleming 9d899a2075 add status output to Transfer() application (issue #4810, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6355 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-22 20:53:38 +00:00
Kevin P. Fleming 69f9c479e7 add 'restart' character to ast_control_playback function and ControlPlayback() application (issue #4693)
rework app_controlplayback.c to take into account all Asterisk 1.2 coding style requirements


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-22 19:06:42 +00:00
Jim Dixon 6b2ff5db90 Added support for Yaesu FT-897 HF/VHF/UHF radio and other improvements
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-22 02:38:37 +00:00
Mark Spencer 71fcf66d1e Fix password change bug (bug #4976)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6340 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-17 15:49:34 +00:00
Mark Spencer 129fd190a9 Make sure "now" is initialized (bug #4961)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-14 03:08:08 +00:00
Kevin P. Fleming ab7ae00513 fix bug
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6323 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-11 18:34:03 +00:00
Kevin P. Fleming 82453465f0 correct error Makefile
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-10 23:25:55 +00:00
Kevin P. Fleming d0ec4b9e94 add ExternalIVR() application
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6317 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-10 23:24:39 +00:00
Mark Spencer ce49016c96 Show callerid in meetme show list (bug #4851 with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-08 02:32:37 +00:00
Mark Spencer ef753b53bd Fix lookup to use proper API call...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-07 22:32:30 +00:00
Mark Spencer 4f37e6b4b0 Allow enumlookup to return a status variable (bug #4788)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-07 14:45:31 +00:00
Mark Spencer e415ff3f87 Don't record all calls as abandoned (bug #4575) (fixes damage inadvertently added by bug #4644)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-07 14:11:48 +00:00
Mark Spencer f08acd7b45 Fix newline issue (bug #4632)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6291 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-05 21:44:19 +00:00
Mark Spencer 3c6e6c9c96 Be sure not to leak frames in certain cases
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6275 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-03 20:17:53 +00:00
Mark Spencer a9a91571a1 Remove queue/session co-locking until deadlocks are properly resolved
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-03 18:25:23 +00:00
Mark Spencer e0b57f1fae Fix voicemail crash (bug #4800)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-03 02:45:30 +00:00
Russell Bryant 11a1ecabdb fix warning (bug #4807)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-01 15:01:11 +00:00
Mark Spencer 5d350297b6 Make sure we don't close a mailbox if we didn't open one (bug #4800)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-01 11:09:03 +00:00
Mark Spencer 8efba1c127 Minor voicemail fixup (related to 4800, but not the fix yet)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-01 11:03:09 +00:00
Mark Spencer 5a7a8666a1 Add periodic announcement (bug #4677 with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6248 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-31 22:07:58 +00:00
Mark Spencer 716a669818 Remove per-context maxmsg which should never have made it in (bug #4843)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6242 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-28 18:14:13 +00:00
Russell Bryant 9d880dd2b2 remove useless call to time() and an extra variable when we can just use the
one we already have


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-27 23:05:52 +00:00
Russell Bryant 50a1d758d5 the time must be initialized for the 'n' option to actually work (bug #4834)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-27 22:55:48 +00:00
Kevin P. Fleming c4c9401efd make queue and interface name matching case-insensitive (bug #4815)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6226 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-26 21:53:56 +00:00
Kevin P. Fleming 5cc0413c54 add a global option to disable priority jumping in applications (when they get updated), settable in extensions.conf
change app_dial to use 'j' to _ENABLE_ priority jumping if it has been globally disabled


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-26 16:29:56 +00:00
Kevin P. Fleming f358db3d43 use CDR API calls instead of re-implementing them (bug #4726)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 22:56:18 +00:00
Kevin P. Fleming 6074f3441a add MD5-hash matching (bug #4764, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 18:59:11 +00:00
Kevin P. Fleming 075a8ad21c add slinfactory object, and change app_chanspy to use it (bug #4724)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-20 00:53:21 +00:00
Kevin P. Fleming 1c30af0622 add English device state output (bug #4733, with minor mod)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6174 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-20 00:34:01 +00:00
Kevin P. Fleming 3db82d8597 add OGG/Vorbis file format support (bug #4296)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6173 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-20 00:25:54 +00:00
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
Kevin P. Fleming 7584fac64b various compiler warning fixes (bug #4483)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-07 16:59:20 +00:00
Kevin P. Fleming c0b1e88e8a the last round of file version tags
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:39:32 +00:00
Kevin P. Fleming a02f56d8bc more breakage from bug #4116 commit
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5858 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 12:50:13 +00:00
Kevin P. Fleming 4f299de252 major Makefile and build process improvements, including removal of all hardcoded paths (modules must now use run-time paths as they should) (bug #4116)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 03:04:58 +00:00
Kevin P. Fleming 1bac31d6bd more efficient (and understandable) ast_channel_walk_locked, and vastly more efficient ast_channel_by_name_locked (bug #4265)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 02:29:18 +00:00
Kevin P. Fleming 583ff43d60 add support for Sun Microsystems AU audio format (bug #4428 with minor mods)
remove hardcoded format list from app_record help text


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03 21:52:00 +00:00
Mark Spencer fbe952ccb7 Don't build app_intercom...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03 04:16:13 +00:00
Kevin P. Fleming 30973879c1 add realtime support to app_queue for static members/agents (bug #4037)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-02 21:42:49 +00:00
Kevin P. Fleming 9f3372e3e3 add missing if statement in say_position (bug #4435)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5816 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-02 18:26:18 +00:00
Mark Spencer df349078da Fix dial to not seg when closing ')' is missing (bug #4410)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-02 17:12:04 +00:00
Russell Bryant 367fd1d3cf fix the one digit exit extension for RetryDial
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5807 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-01 18:02:46 +00:00
Russell Bryant 9d379a36d0 fix timeout option
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5806 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-01 17:23:50 +00:00
Mark Spencer 586c677bc2 Fix memory leak and remove useless coe (bug #4318, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5786 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-30 13:34:23 +00:00
Russell Bryant 8b81d9e384 fix seg fault when the app is called on an invalid url (bug #4389)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5775 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-26 16:15:58 +00:00
Russell Bryant dc21f68a95 don't play any sounds when using the quiet option (bug #4348)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5774 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-26 16:05:07 +00:00
Mark Spencer 9d9ec72719 Fix sayunixtime for Danish (bug #3239)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-25 17:28:32 +00:00
Russell Bryant 9644f1dcfe various code cleanups (bug #4353)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-25 10:57:15 +00:00
Russell Bryant d08dd1e1d8 remove seemingly useless write (bug #4299)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5756 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-23 23:16:43 +00:00
Russell Bryant 9d0a1ce4a8 fix moh option in conjunction with intro option (bug #4298)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5720 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 01:09:46 +00:00
Russell Bryant 5477aca22d remove extra LOCAL_USER_REMOVE (bug #4308)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5709 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-17 17:19:53 +00:00
Russell Bryant 5c1bad1114 fix description of length parameter
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 20:58:35 +00:00
Kevin P. Fleming 1eecc81838 clean up message duration writing code (bug #4285)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 13:36:35 +00:00
Kevin P. Fleming 0858dad2ad return CHANUNAVAIL for unregistered peers, not CONGESTION (bug #4276)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 00:09:09 +00:00
Kevin P. Fleming 2638192439 add EVAL function, deprecate Eval application (bug #4277)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5689 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 23:53:11 +00:00
Kevin P. Fleming 9cea81b035 rename SetVar application to Set, deprecate SetVar
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 23:32:38 +00:00
Jim Dixon 882eea1390 Fixed transmit/link hang problem and autopatch wierdness
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 21:49:35 +00:00
Kevin P. Fleming fa60672d58 add dialplan functions for Caller ID, language and timeouts (bug #4219, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5679 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 17:45:30 +00:00
Kevin P. Fleming 15f3cb303f support Swedish and Norwegian mailbox intros (bug #4227)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5677 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 17:03:08 +00:00
Kevin P. Fleming 131ace2d70 allow caller to exit during position announcement by pressing valid exit key (bug #3821, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5673 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 05:42:51 +00:00
Kevin P. Fleming ed223f7f90 add silent option to VMAuthenticate application (bug #4157)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5672 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 05:23:05 +00:00
Matthew Fredrickson 2bdce17b5a Fix to bug 4118
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5620 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-10 19:05:50 +00:00
Mark Spencer b33a3aa3e2 Update groupcount / db documentation (bug #4200, etc)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08 17:17:34 +00:00
Mark Spencer 0e57cede55 Convert app_db to function variables (bug #4201)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08 17:08:25 +00:00
Mark Spencer f9417375dc Fix chan_spy on Solaris (bug #4204)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5603 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08 17:01:42 +00:00
Mark Spencer 00bcbaaa05 Fix gethostname calls (bug #4198, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08 16:44:25 +00:00
Mark Spencer fa0f44a347 Allow transfer to work without a tech (bug #4199)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5599 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08 16:35:54 +00:00
Russell Bryant fbbac7cd26 use ast_strcasestr (bug #4203)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-07 12:49:36 +00:00
Kevin P. Fleming 4d2537ae11 major re-work of dialplan functions, including:
- locking of functions list during registration/unregistration/searching
 - rename of function description structure to be consistent with the rest of the API
 - addition of 'desc' element to description structure, for detailed description (like applications)
 - addition of 'show function' CLI command to show function details
 - conversion of existing functions to use uppercase names to match policy
 - creation of new 'pbx_functions.so' module to contain standard 'builtin' functions
 - removal of all builtin functions from pbx.c and apps and placement into new 'funcs' directory


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-05 05:39:33 +00:00
Russell Bryant e8bd5968ff function formatting and header order cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-05 03:16:07 +00:00
Kevin P. Fleming 358238b170 add app_dictate (bug #3893)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 19:33:33 +00:00
Kevin P. Fleming 2be3c7ab57 add GROUP_COUNT and GROU_MATCH_COUNT functions, deprecate GroupCount and GroupMatchCount apps, remove GROUPCOUNT variable from README.variables (bug #4133, with doc update)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 04:13:31 +00:00
Kevin P. Fleming b9bda6aa41 add MD5 and CHECK_MD5 functions, deprecate MD5 and MD5Check apps (bug #4123)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 04:05:34 +00:00
Kevin P. Fleming 54da34ff0a return proper string from description function (bug #4150)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 00:33:46 +00:00