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
Russell Bryant [Mon, 14 Aug 2006 01:32:46 +0000 (01:32 +0000)]
- unregister SLA apps on module unload and add sample config (issue #7701, junky)
- rename SLAS to SLAStation, and SLAT to SLATrunk
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39637
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 14 Aug 2006 01:13:32 +0000 (01:13 +0000)]
add the ability to run an arbitrary command if asterisk crashes
(inspired by issue #7698, which was res_segfault by anthm)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39636
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 14 Aug 2006 00:08:35 +0000 (00:08 +0000)]
support ./configure --silent
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39615
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 13 Aug 2006 23:26:06 +0000 (23:26 +0000)]
increase the maximum length of the mohinterpret/mohsuggest options (issue #7696)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39594
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Sat, 12 Aug 2006 19:28:33 +0000 (19:28 +0000)]
This commit merges the contents of 7721, as it applied to the trunk version. Added the item that would previously trigger a false error to test1.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39571
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Fri, 11 Aug 2006 21:30:03 +0000 (21:30 +0000)]
added a -q for quiet, option to aelparse
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39543
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Fri, 11 Aug 2006 17:49:35 +0000 (17:49 +0000)]
Increase the size of the variable space for writing/reading persistent queue member data to allow for larger queues of members. (Matthew Roth #7703)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39516
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 11 Aug 2006 15:05:19 +0000 (15:05 +0000)]
Move STD_MOD declaration to end of file as per the norm of everything else (issue #7711 reported by Mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39514
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 11 Aug 2006 13:54:58 +0000 (13:54 +0000)]
Don't completely error out if a config file for chan_phone was not found. (issue #7710 reported by Mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39513
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 11 Aug 2006 13:42:49 +0000 (13:42 +0000)]
Make res_snmp fit general coding style (issue #7192 reported by Mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39512
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 10 Aug 2006 02:41:20 +0000 (02:41 +0000)]
Add support to see if a peer has someone on hold, and fix a small bug with getting the state name. This one goes out to you mog!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39500
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Nadi Sarrar [Wed, 9 Aug 2006 09:24:21 +0000 (09:24 +0000)]
fixing compile warnings, renaming config option "overlap_dial" to "overlapdial"
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39479
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 9 Aug 2006 04:12:10 +0000 (04:12 +0000)]
This bug existed in one extra place that is not also in 1.2 ... So, fix it!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39455
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Wed, 9 Aug 2006 01:17:47 +0000 (01:17 +0000)]
This commit adds the enhancemnt per bug 7606, adding
the -w option to aelparse.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39431
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Wed, 9 Aug 2006 01:16:37 +0000 (01:16 +0000)]
This bug adds enhancement as per bug 7606, the -w
option to aelparse.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39430
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Tue, 8 Aug 2006 20:35:59 +0000 (20:35 +0000)]
support for imap in app_voicemail as well as some
credits fixed.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39404
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 8 Aug 2006 18:39:41 +0000 (18:39 +0000)]
Merged revisions 39379 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r39379 | kpfleming | 2006-08-08 13:39:16 -0500 (Tue, 08 Aug 2006) | 2 lines
add explicit listing of anthm's contributions (issue #7683)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39380
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Nadi Sarrar [Tue, 8 Aug 2006 18:13:40 +0000 (18:13 +0000)]
* first bits of decoding facility information elements
* fail on misdn_cfg_init() if elements in the config enum don't match with the config structs in misdn_config.c
* implemented first bits for encoding ISDN facility information elements via ASN.1 descriptions
* using unnamed semaphore for syncing in misdn_thread
* advanced fax detection: configurable detect timeout and context to jump into
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39378
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 8 Aug 2006 17:29:09 +0000 (17:29 +0000)]
Blocked revisions 39350 via svnmerge
........
r39350 | russell | 2006-08-08 13:04:10 -0400 (Tue, 08 Aug 2006) | 2 lines
Increase the buffer size for the callid (issue #7675, reported by pssatcs)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39353
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Tue, 8 Aug 2006 17:07:41 +0000 (17:07 +0000)]
some code clean up and catch for a act_hook being called
without a packet.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39351
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 8 Aug 2006 17:02:45 +0000 (17:02 +0000)]
Add support for Sigma Designs cards. These basically allow you to offload dialtone generation to the board. If you're using a quicknet board where this might work, give it a try as well. (issue #6092 reported by ywalther - minor mods by moi)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39349
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 8 Aug 2006 15:53:51 +0000 (15:53 +0000)]
Clarify volgain option a bit, it needs sox to work.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39333
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 8 Aug 2006 15:37:53 +0000 (15:37 +0000)]
Bug 6237 - add volgain parameter, such that voicemail messages may be amplified after recording
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39332
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 8 Aug 2006 14:47:17 +0000 (14:47 +0000)]
Marking PRI_CAUSE as deprecated to be replaced by hangup(cause)
(Issue #7610)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39316
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Tue, 8 Aug 2006 09:19:06 +0000 (09:19 +0000)]
* added possibility to change echocancel settings during calls
* removed the holded element from the chan_list struct, we know this from the
state already
* added a few tweaks to make HOLD/RETRIEVE work again (TRANSFER does not work
yet)
* added possibility to debug mISDN frames via syslog
* added misdn_lib_port_is_blocked function to check if a port is blocked
* removed ec_training=1 from empty_bc, we don't use ec_training anymore
* removed unused misdn_lib_get_l2_status function
* added the nt bit to dummy misdn_bchannel objects
* setting bc->out_fac_type to FACILITY_NONE defaultly
* removed HANDLER_DEBUG stuff for better readability
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39295
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 8 Aug 2006 06:36:47 +0000 (06:36 +0000)]
change constant name from MAXSTRLEN to INITLEN since it is not the maximum
length, it is the initial length of the string when first allocated
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39274
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 8 Aug 2006 06:32:04 +0000 (06:32 +0000)]
Merge team/russell/ast_verbose_threadstorage
- instead of defining a free() wrapper in a bunch of files, define it as
ast_free() in utils.h and remove the copies from all the files.
- centralize and abstract the code used for doing thread storage. The code
lives in threadstorage.h, with one function being implemented in utils.c.
This new API includes generic thread storage as well as special functions
for handling thread local dynamic length string buffers.
- update ast_inet_ntoa() to use the new threadstorage API
- update ast_state2str() to use the new threadstorage API
- update ast_cli() to use the new threadstorage API
- Modify manager_event() to use thread storage. Instead of using a buffer of
4096 characters as the workspace for building the manager event, use a thread
local dynamic string. Now there is no length limitation on the length of the
body of a manager event.
- Significantly simplify the handling of ast_verbose() ...
- Instead of using a static char buffer and a lock to make sure only one
thread can be using ast_verbose() at a time, use a thread local dynamic
string as the workspace for preparing the verbose message. Instead of
locking around the entire function, the only locking done now is when the
message has been built and is being deliviered to the list of registered
verbose message handlers.
- This function was doing a strdup() on every message passed to it and
keeping a queue of the last 200 messages in memory. This has been
completely removed. The only place this was used was that if there were
any messages in the verbose queue when a verbose handler was registered,
all of the messages in the queue would be fed to it. So, I just made sure
that the console verbose handler and the network verbose handler (for
remote asterisk consoles) were registered before any verbose messages.
pbx_gtkconsole and pbx_kdeconsole will now lose a few verbose messages at
startup, but I didn't feel the performance hit of this message queue was
worth saving the initial verbose output for these very rarely used modules.
- I have removed the last three arguments to the verbose handlers, leaving
only the string itself because they aren't needed anymore. For example,
ast_verbose had some logic for telling the verbose handler to add
a newline if the buffer was completely full. Now that the buffer can grow
as needed, this doesn't matter anymore.
- remove unused function, ast_verbose_dmesg() which was to dispatch the
message queue
- Convert the list of verbose handlers to use the linked list macros.
- add missing newline characters to a few ast_verbose() calls
- convert the list of log channels to use the linked list macros in logger.c
- fix close_logger() to close all of the files it opened for logging
- update ast_log() to use a thread local dynamic string for its workspace
for preparing log messages instead of a buffer of size BUFSIZ (8kB on my
system) allocated on the stack. The dynamic string in this case is limited
to only growing to a maximum size of BUFSIZ.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39272
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Mon, 7 Aug 2006 22:03:50 +0000 (22:03 +0000)]
This patch allows for a user to send messages and
monitor a jabber connection over manager.
patches from 7673 and 7666 with minor changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39248
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Mon, 7 Aug 2006 21:15:28 +0000 (21:15 +0000)]
Many many code cleanup changes given to me by Oej
Thanks, sorry I didn't put this in forever ago.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39229
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 7 Aug 2006 18:47:33 +0000 (18:47 +0000)]
remove some extraneous 'followme' in prompt names
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39206
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Mon, 7 Aug 2006 18:12:51 +0000 (18:12 +0000)]
This commit folds in changes to both stringfields (some enhancements to the ...field_set() macro, to optimize setting strings to empty, resetting strings to shorter contents, etc.) and to chan_iax2.c, to use stringfields in the user, peer, and pvt structs. Has been running stably on iaxtel, but while iaxtel has a large registration volume, it doesn't seem to have a high call volume. So far, it seems to reduce heap usage by over half. YMMV\! Please report any IAX bugs that might involve stringfields\!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39203
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 7 Aug 2006 17:01:40 +0000 (17:01 +0000)]
Add placeholder for sla.conf sample in configs/. Please update with
correct information not to overload the switchboard with calls to sales.
Thank you! ;-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39182
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 7 Aug 2006 16:20:23 +0000 (16:20 +0000)]
Fix accidental removal of if() in commit 38905
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39171
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Mon, 7 Aug 2006 12:59:47 +0000 (12:59 +0000)]
The contents of branch teams/murf/bug_7598 are being folded in here.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39151
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 7 Aug 2006 09:22:43 +0000 (09:22 +0000)]
Issue #7651 - always send subscription-state (AuPix)
Small change to the fix in the report.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39132
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Mon, 7 Aug 2006 09:09:17 +0000 (09:09 +0000)]
changed naming of mISDN channels, so that hinting works proper
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39131
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 7 Aug 2006 04:15:52 +0000 (04:15 +0000)]
Merge my applicationmap_fixup branch to address the issues described in this
post to the asterisk-dev mailing list:
http://lists.digium.com/pipermail/asterisk-dev/2006-August/022174.html
This implements full control over both which channel(s) can activate a dynamic
feature, as well as which channel to run the application on. I also updated
the documentation on the applicationmap in features.conf.sample in hopes that
the configuration is more clear.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39109
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 7 Aug 2006 01:32:51 +0000 (01:32 +0000)]
Merged revisions 39081 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r39081 | russell | 2006-08-06 21:28:29 -0400 (Sun, 06 Aug 2006) | 7 lines
Fix a crash reported to me by hads on IRC. This crash would occur with the use
of the "distinctiveringaftercid" option. Also, on this user's system, the crash
would only occur when built without optimizations. This is because the bug is
that the code would write past the end of an array that was allocated on the
stack, and the structure of the stack is different with or without optimizations
enabled.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39082
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 7 Aug 2006 00:26:11 +0000 (00:26 +0000)]
minor cleanups
- use appropriate types in some assignments
- use ast_strlen_zero()
- don't manually free cid fields since ast_set_callerid() will handle it
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39058
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 7 Aug 2006 00:17:12 +0000 (00:17 +0000)]
Merged revisions 39056 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r39056 | file | 2006-08-06 20:15:51 -0400 (Sun, 06 Aug 2006) | 2 lines
Reset our stream and vstream pointers back to NULL so that any generator that uses them (file based MOH) will not try to close them again. (issue #7668 reported by jmls)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39057
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 5 Aug 2006 20:58:47 +0000 (20:58 +0000)]
- add DIALING_OFFHOOK and PRERING to ast_state2str
- don't include a newline character when building a response for an unknown
state
(issue #7645, jonty)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39032
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 5 Aug 2006 11:25:36 +0000 (11:25 +0000)]
suppress a compiler warning about the usage of a potentially uninitialized
variable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39014
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 5 Aug 2006 09:03:27 +0000 (09:03 +0000)]
Merged revisions 38982 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r38982 | russell | 2006-08-05 05:01:37 -0400 (Sat, 05 Aug 2006) | 6 lines
Always generate a Newstate event in ast_setstate() instead of making it a
Newchannel event if the state was AST_STATE_DOWN. The Newchannel event will
always be generated in ast_request(), so this just causes a duplicated
Newchannel event in some cases.
(issue #7506, repoted by capouch, fixed by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38994
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 5 Aug 2006 08:10:20 +0000 (08:10 +0000)]
Merged revisions 38972 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r38972 | russell | 2006-08-05 04:08:48 -0400 (Sat, 05 Aug 2006) | 3 lines
remove duplicate queue log entry when the caller exits on a timeout
(issue #7616, ppyy)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38973
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 5 Aug 2006 07:22:27 +0000 (07:22 +0000)]
Merged revisions 38950 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r38950 | russell | 2006-08-05 03:21:12 -0400 (Sat, 05 Aug 2006) | 3 lines
don't advertise that this function can set a SIP header when it can only
do reads
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38951
65c4cc65-6c06-0410-ace0-
fbb531ad65f3