Jason Parker [Tue, 22 Aug 2006 05:24:50 +0000 (05:24 +0000)]
a couple Solaris tweaks, to help build properly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40832
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 22 Aug 2006 03:01:49 +0000 (03:01 +0000)]
Blocked revisions 40821 via svnmerge
........
r40821 | tilghman | 2006-08-21 21:59:37 -0500 (Mon, 21 Aug 2006) | 2 lines
Bug 7779 - Using initstate(3) means that we cannot unload this module once loaded.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40826
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 22 Aug 2006 02:30:38 +0000 (02:30 +0000)]
Another compile time warning bites the dust
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40820
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 22 Aug 2006 02:24:46 +0000 (02:24 +0000)]
Make a warning about an unused function & variable go away on the stand alone AEL build.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40819
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 22 Aug 2006 02:15:34 +0000 (02:15 +0000)]
Make doxygen work with the new location of files that now reside in main
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40818
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 22 Aug 2006 01:57:40 +0000 (01:57 +0000)]
Sorry, but this does not resemble malloc... so GCC was ignoring the attribute and throwing a warning.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40815
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 22 Aug 2006 01:01:39 +0000 (01:01 +0000)]
Fix up the props a bit
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40812
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Mon, 21 Aug 2006 22:36:15 +0000 (22:36 +0000)]
Merged revisions 40798 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2
........
r40798 | mogorman | 2006-08-21 17:34:26 -0500 (Mon, 21 Aug 2006) | 4 lines
Move the load_modules call so that if a module needs
realtime support it will work, none do currently but a good
move none the less.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40799
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 21 Aug 2006 22:23:26 +0000 (22:23 +0000)]
restore 'preload' functionality in loader
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40796
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 21 Aug 2006 20:19:47 +0000 (20:19 +0000)]
oops... missed one
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40792
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 21 Aug 2006 20:18:36 +0000 (20:18 +0000)]
another variable to clear out before configuring mxml
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40791
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 21 Aug 2006 20:12:18 +0000 (20:12 +0000)]
use a customized configure macro to tell the script that uCLinux does not have fork() that works
drop all startup options and code related to forking if it is not available
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40790
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 21 Aug 2006 20:04:59 +0000 (20:04 +0000)]
don't initialize global variables list twice
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40789
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 21 Aug 2006 19:56:45 +0000 (19:56 +0000)]
use new configure-provided wrappers for attributes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40785
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 21 Aug 2006 19:56:30 +0000 (19:56 +0000)]
restore printing of module name during loading
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40784
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 21 Aug 2006 19:42:29 +0000 (19:42 +0000)]
- simplify and improve astmm by using thread storage instead of a dynamic
allocation and free on every call of the function for preparing the string
that will be appended. Then, use the ast_dynamic_str() code instead of the
open coded version that is appended to when waiting for it to be delivered.
- use for loops for list traversals
- convert the manager sessions list to use list macros
- use atomic operations for num_sessions and usecounts
- convert some defines to the equivalent enum
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40783
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 21 Aug 2006 19:35:28 +0000 (19:35 +0000)]
- use the atomic operations for incrementing the unique int
- free the string fields allocation if ast_create_channel() failes to open the
alert pipe
- formatting tweaks
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40782
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 21 Aug 2006 19:33:42 +0000 (19:33 +0000)]
Allow an offset for SIP_HEADER so you can get more then 1 header of the same name if they exist. Why someone would want to grab something like Via headers from dialplan I don't exactly know, but okay. (issue #7563 reported by Corydon76)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40781
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 21 Aug 2006 19:18:09 +0000 (19:18 +0000)]
various cleanups, including ...
- Create an astmm_log() macro that logs the same message to both stderr as well
as the mmlog file if it is open instead of duplicating the code everywhere.
- Use for loops for list traversals instead of while loops
- reduce nesting
- ensure locking isn't put around more than is necessary
- localize a struct definition
- change the limit of the path to the mmlog to PATH_MAX instead of 80
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40780
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 21 Aug 2006 17:22:24 +0000 (17:22 +0000)]
- use a common error message in all of the memory allocation macros
- add ast_asprintf() and ast_vasprintf()
- tweak doxygen comments
- simplify the definition of a flag macro
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40775
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 21 Aug 2006 14:45:58 +0000 (14:45 +0000)]
build muted by default, since there is no Makefile target for it anymore
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40770
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 21 Aug 2006 14:42:03 +0000 (14:42 +0000)]
use a safer process for checking if a module wants to export symbols into the global namespace
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40769
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 21 Aug 2006 13:47:45 +0000 (13:47 +0000)]
replace a couple of bare 'make' with $(MAKE)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40765
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 21 Aug 2006 11:48:08 +0000 (11:48 +0000)]
swap module macro arguments to proper order
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40761
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Mon, 21 Aug 2006 07:34:59 +0000 (07:34 +0000)]
Fix a potential integer signedness problem.
Also fix some locking issues I found at the same time.
Issue 7770, original patch by alamantia
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40757
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 21 Aug 2006 03:58:02 +0000 (03:58 +0000)]
ensure that 'make' after 'svn update' that includes a configure script change won't run without making the user run configure first
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40753
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 21 Aug 2006 03:06:41 +0000 (03:06 +0000)]
don't declare these variables unless needed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40751
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 21 Aug 2006 02:54:05 +0000 (02:54 +0000)]
document Makefile target changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40728
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 21 Aug 2006 02:46:47 +0000 (02:46 +0000)]
could have sworn i committed this change already...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40726
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 21 Aug 2006 02:31:01 +0000 (02:31 +0000)]
main subdirectory is not dependencies for menuselect input
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40725
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 21 Aug 2006 02:26:51 +0000 (02:26 +0000)]
oops... no pattern rules for bison/flex
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40724
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 21 Aug 2006 02:11:39 +0000 (02:11 +0000)]
merge new_loader_completion branch, including (at least):
- restructured build tree and makefiles to eliminate recursion problems
- support for embedded modules
- support for static builds
- simpler cross-compilation support
- simpler module/loader interface (no exported symbols)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40722
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sun, 20 Aug 2006 22:12:50 +0000 (22:12 +0000)]
Merged revisions 40692 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r40692 | tilghman | 2006-08-20 17:09:57 -0500 (Sun, 20 Aug 2006) | 2 lines
Reformat to match the contribution style of other contributors
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40693
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Sun, 20 Aug 2006 18:03:24 +0000 (18:03 +0000)]
This is just step 1 in taking over the world.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40663
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sun, 20 Aug 2006 15:46:00 +0000 (15:46 +0000)]
Convert func_odbc to use the prepare_and_execute callback, which helps with a database reconnection issue (bug 7693)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40632
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Sun, 20 Aug 2006 04:51:06 +0000 (04:51 +0000)]
Blocked revisions 40601 via svnmerge
........
r40601 | file | 2006-08-20 00:49:48 -0400 (Sun, 20 Aug 2006) | 2 lines
Turn media level c= parsing on by default (issue #7725 reported by psm)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40602
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Sun, 20 Aug 2006 04:39:57 +0000 (04:39 +0000)]
Converted device2str and control2str to use thread local storage.
Thanks Russell.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40600
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Sun, 20 Aug 2006 04:25:28 +0000 (04:25 +0000)]
Properly check to see if parkingnum is a number (issue #7762 reported by robf)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40599
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Sun, 20 Aug 2006 01:42:41 +0000 (01:42 +0000)]
kpfleming didn't break trunk, it was the aliens. (fix it so that the Makefile references the new name for the XML tree, menuselect-tree)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40566
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Sun, 20 Aug 2006 01:27:24 +0000 (01:27 +0000)]
Make the CIPC device string useful
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40563
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Sun, 20 Aug 2006 01:25:02 +0000 (01:25 +0000)]
Fix minor display issues in "skinny show devices".
Patch by wedhorn with minor modifications by me.
Issue 7766
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40561
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Sat, 19 Aug 2006 17:05:43 +0000 (17:05 +0000)]
deprecate chan_agent callback mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40521
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 19 Aug 2006 03:50:15 +0000 (03:50 +0000)]
suppress warnings introduced by putting states in an enum
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40489
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Sat, 19 Aug 2006 01:06:53 +0000 (01:06 +0000)]
Blocking 1.2 rev 40446 from merging to trunk
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40452
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Sat, 19 Aug 2006 00:53:54 +0000 (00:53 +0000)]
Fix a bug with app_voicemail when trying to use app_directory to leave messages
to another user (options 3, 5, 2).
If the context/extension didn't exist in the dialplan (and why should it have to?),
it would fail, saying that it's an "invalid extension".
(issue BE-71)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40426
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 19 Aug 2006 00:33:44 +0000 (00:33 +0000)]
convert lists of constants in channel.h to enums instead of #defines
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40424
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 18 Aug 2006 19:22:33 +0000 (19:22 +0000)]
Make a zttest of 20 seconds part of the autosupport script (issue #7752 reported by kshumard)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40395
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 18 Aug 2006 19:11:34 +0000 (19:11 +0000)]
Merged revisions 40392 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r40392 | kpfleming | 2006-08-18 14:10:51 -0500 (Fri, 18 Aug 2006) | 2 lines
make a feeble attempt to avoid the 'how do I enable my hardware echo canceler' questions
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40393
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Fri, 18 Aug 2006 02:31:12 +0000 (02:31 +0000)]
Updated this as per wishes of Kevin Fleming. Needs review. Any mistakes/misconceptions/glaring errors?
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40360
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Thu, 17 Aug 2006 22:52:07 +0000 (22:52 +0000)]
updating configure script and putting comments in the docs
in english. yay!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40337
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Thu, 17 Aug 2006 22:39:48 +0000 (22:39 +0000)]
changes to configure to support older c-client than the
2004 version.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40335
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 17 Aug 2006 21:14:03 +0000 (21:14 +0000)]
Use OSAtomicAdd instead of OSAtomicDecrement to decrement the value by 1.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40303
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 17 Aug 2006 21:10:16 +0000 (21:10 +0000)]
update configure script to reflect change to make version check
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40302
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 17 Aug 2006 19:38:15 +0000 (19:38 +0000)]
a lot of systems use GNU Make 3.81beta4, so only consider the first two characters
in the minor part of the version string
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40280
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 17 Aug 2006 19:14:20 +0000 (19:14 +0000)]
fix the use of an uninitialized variable (issue #7746, pointed out by garyhai)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40278
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 17 Aug 2006 18:33:24 +0000 (18:33 +0000)]
rename to more clearly state what this file shows how to do
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40257
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 17 Aug 2006 18:32:47 +0000 (18:32 +0000)]
typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40256
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 17 Aug 2006 18:16:22 +0000 (18:16 +0000)]
fix a little typo in the config file name
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40255
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 17 Aug 2006 18:09:59 +0000 (18:09 +0000)]
add Steve Murphy's guide on setting up call queues using dynamic queue members,
including examples in AEL.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40254
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 17 Aug 2006 16:37:39 +0000 (16:37 +0000)]
Merged revisions 40227 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r40227 | russell | 2006-08-17 12:36:21 -0400 (Thu, 17 Aug 2006) | 3 lines
revert bogus change to attempt to fix bug 7506 which actually causes half of
the channels not to get "Newchannel" events at all (issue #7745)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40228
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 17 Aug 2006 16:29:44 +0000 (16:29 +0000)]
Add 'l' option to CDR dialplan function which will cause it to pass the last CDR record to getvar instead of the first. (issue #7689 reported by voipgate)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40226
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 17 Aug 2006 16:19:26 +0000 (16:19 +0000)]
Blocked revisions 40223 via svnmerge
........
r40223 | file | 2006-08-17 12:18:08 -0400 (Thu, 17 Aug 2006) | 2 lines
Make app_macro compile again
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40224
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Thu, 17 Aug 2006 16:10:49 +0000 (16:10 +0000)]
Blocking 40220, because I've already made the mod in trunk, and it might have collisioned...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40222
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Thu, 17 Aug 2006 15:48:49 +0000 (15:48 +0000)]
In app_macro, changed the previously changed upper recursion depth limit to a variable, default of the original val of 7. MACRO_RECURSION is a channel variable that will override the limit, but until I can understand and fix why this limit is neccessary, I am not advertising this variable in the docs.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40200
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Nadi Sarrar [Thu, 17 Aug 2006 09:14:01 +0000 (09:14 +0000)]
fixing the 64bit issue with misdn_l1_task.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40178
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 17 Aug 2006 06:18:42 +0000 (06:18 +0000)]
tabs to spaces to fix alignment ...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40154
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 17 Aug 2006 06:16:00 +0000 (06:16 +0000)]
print a warning at the end of the configure script if the version of GNU Make
in use is a version earlier than 3.81
This is for file :)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40153
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 17 Aug 2006 04:26:28 +0000 (04:26 +0000)]
Fix cookie parsing for Internet Explorer (issue #7454, jeff)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40131
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 17 Aug 2006 04:05:03 +0000 (04:05 +0000)]
fix include of tonezone.h to reflect new location (issue #7741, Mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40130
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Wed, 16 Aug 2006 20:32:19 +0000 (20:32 +0000)]
fixed imap bug and updated syntax.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40107
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Wed, 16 Aug 2006 19:13:47 +0000 (19:13 +0000)]
added patch from #7709
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40084
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 16 Aug 2006 18:58:43 +0000 (18:58 +0000)]
Merged revisions 40057 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r40057 | kpfleming | 2006-08-16 13:57:44 -0500 (Wed, 16 Aug 2006) | 2 lines
don't allow AUEP responses to overflow the stack during a string copy (reported by Mu Security)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40058
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 16 Aug 2006 18:26:04 +0000 (18:26 +0000)]
fix some minor stuff
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40055
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 16 Aug 2006 16:22:13 +0000 (16:22 +0000)]
Remove the old ODBC_STORAGE and make EXTENDED_ODBC_STORAGE the one to use. This means that if you're using this and upgrade to the revision where this was committed, you will need to update your table to the schema provided in doc/odbcstorage.txt
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40033
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 16 Aug 2006 16:06:19 +0000 (16:06 +0000)]
instead of a for loop and ast_cli_(un)register, use ast_cli_(un)register_multiple()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40031
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 16 Aug 2006 15:34:50 +0000 (15:34 +0000)]
Move things around a bit more for onhold support, and add a check to only decrement the onhold variable if it's greater then 0. (issue #7740 reported by AuPix)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40010
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Nadi Sarrar [Wed, 16 Aug 2006 15:03:09 +0000 (15:03 +0000)]
a static array now holds the cli_entry structs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40009
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Nadi Sarrar [Wed, 16 Aug 2006 13:19:54 +0000 (13:19 +0000)]
adding support for AOCD facility messages.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39987
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 16 Aug 2006 03:48:36 +0000 (03:48 +0000)]
Fix formatting of "show codecs" CLI command.
Make "show translations" CLI command have dynamic widths.
Also display g726 codec in both commands.
There are probably other places where "11" is hardcoded...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39965
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 16 Aug 2006 03:43:47 +0000 (03:43 +0000)]
move the calls to ast_jb_configure() to before the PBX thread is started on the
channel to remove the theoretical race condition that the channel could get
bridged before the channel's jitterbuffer gets configured. This was pointed
out by PCadach on IRC. Thanks!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39964
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 15 Aug 2006 22:51:49 +0000 (22:51 +0000)]
Merged revisions 39935 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r39935 | russell | 2006-08-15 18:49:41 -0400 (Tue, 15 Aug 2006) | 3 lines
use pbx_builtin_getvar_helper() so that GET VARIABLE can retrieve global
variables (issue #7609)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39936
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Tue, 15 Aug 2006 22:37:33 +0000 (22:37 +0000)]
block the indicated 1.2 branch from being merged into trunk; it's already here.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39934
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 15 Aug 2006 22:28:38 +0000 (22:28 +0000)]
print a more user friendly error message with the text representation of codecs
(issue #7233, Mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39933
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 15 Aug 2006 22:17:38 +0000 (22:17 +0000)]
reduce duplicated code by using print_codec_to_cli in sip_show_user as it is
already used in sip_show_peer (issue #7739, DEA)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39932
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Tue, 15 Aug 2006 21:25:19 +0000 (21:25 +0000)]
This change fixes bug 7731, macros not executing more than one level deep in a hung-up situation; also increased maximum recursion depth from 7 to 20, to keep serious coders from painful toe-stubbings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39909
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Spencer [Tue, 15 Aug 2006 20:25:13 +0000 (20:25 +0000)]
Make tonepair generated through fixed point
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39886
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Tue, 15 Aug 2006 19:41:14 +0000 (19:41 +0000)]
removed libbnec dependencies.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39864
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 15 Aug 2006 17:14:20 +0000 (17:14 +0000)]
complete the coding style changes for these frame structures
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39832
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Nadi Sarrar [Tue, 15 Aug 2006 16:49:26 +0000 (16:49 +0000)]
moved the asn1 and facility portions of code to mISDNuser, so removing the files here.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39807
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Tue, 15 Aug 2006 16:35:06 +0000 (16:35 +0000)]
Made "style" change requested by Kevin Fleming... used initializer in declaration,
brought decl down to block where the variable is used, got rid of memset.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39806
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Tue, 15 Aug 2006 14:55:30 +0000 (14:55 +0000)]
On behalf of PCadach, " IMHO that was last deadlock in chan_h323..."
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39779
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 15 Aug 2006 14:08:39 +0000 (14:08 +0000)]
SMDI documentation fix (issue #7732 reported by mnicholson)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39776
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
North Antara [Mon, 14 Aug 2006 22:38:52 +0000 (22:38 +0000)]
fix a typo and a very minor formatting change
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39753
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 14 Aug 2006 18:07:21 +0000 (18:07 +0000)]
Fix for uninitialized workspace in ast_cdr_getvar, pointed out by sergee
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39731
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 14 Aug 2006 04:25:13 +0000 (04:25 +0000)]
don't try to ignore the contents of a quoted string in ast_separate_app_args()
if the delimeter is actually the quotation mark (fixes issue #7622)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39706
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 14 Aug 2006 03:34:16 +0000 (03:34 +0000)]
resolve some compiler warnings ...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39684
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 14 Aug 2006 03:26:02 +0000 (03:26 +0000)]
add the doc file about the MacroExclusive app (issue #7366, Steve Davies)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39683
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 14 Aug 2006 03:24:06 +0000 (03:24 +0000)]
add MacroExclusive application, a Macro that only one call can executed at
a time (issue #7366, Steve Davies, with mods by me as discussed in the report)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39681
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 14 Aug 2006 02:14:14 +0000 (02:14 +0000)]
When taking a substring and a negative length is provided, instead of just
ignoring it, allow this to mean that we want that many characters off of
the end of the string so that ${EXTEN:0:$[${LEN(${EXTEN}) - 1]} can become
${EXTEN:0:-1}. (issue #7586, Corydon)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39659
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 14 Aug 2006 02:00:28 +0000 (02:00 +0000)]
don't include files that cause additional targets to get executed if the target
called was clean, distclean, or update
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39640
65c4cc65-6c06-0410-ace0-
fbb531ad65f3