aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2007-07-26Merge a big batch of documentation fixes for escaping, marking URLs, placesrussell18-148/+216
where verbatim text went off the end of the page on the PDF, and various other improvements (closes issue #10307, IgorG) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77284 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26Revert some changes to call abs() on the result of ast_random().russell1-3/+3
* random() is defined to return a positive result, and now ast_random() will always do so as well git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77269 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26Ensure that the read from /dev/urandom returns a positive resultrussell1-1/+1
(closes issue #10308, reported by yehavi, patched by me) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77268 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26Things expecting a positive result from ast_random() should not be surprised ↵tilghman1-3/+3
(closes #10308) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77267 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26Add a link to the list of assigned RTP payload types for convenience.russell1-3/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77266 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26document how the RTP marker bit is passed for video frames,rizzo1-0/+5
and why this does not overwrite useful information. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77248 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26add an entry for h263plus in an empty slot of the rtp types.rizzo1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77233 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26The upgrade of application argument separators to comma has an effect on ↵murf1-6/+6
AEL; I commented out the code that substitutes commas with vertbars, so we can get apps to parse their args correctly. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77218 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26Merged revisions 77191 via svnmerge from murf1-21/+31
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r77191 | murf | 2007-07-25 16:39:27 -0600 (Wed, 25 Jul 2007) | 1 line This fix solves problem with intense squelch noise when someone joins conf in bug 9430; We repro'd the problem with meetme opts of 'CciMo'; Josh Colp supplied this patch, and I'm applying it. It looks like playing the recorded username will louse up the next thing played into the channel. Josh rearranged the code so as to start things over before playing data directly into the conference. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77217 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-25Merged revisions 77176 via svnmerge from file1-2/+10
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r77176 | file | 2007-07-25 19:16:10 -0300 (Wed, 25 Jul 2007) | 4 lines (closes issue #10303) Reported by: jtodd Add SPEECH_DTMF_TERMINATOR variable so the user can specify the digit to terminate a DTMF string with. If none is specified then no terminator will be used. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77182 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-25silence a warning in ast-devmode on a potentially uninitialized var.rizzo1-1/+1
At first sight (but the function is very large so i am not 100% sure) the code seems correct, so maybe my compiler is just not smart enough to figure that out at the optimization level it has. Not worthwhile merging to 1.4 i believe. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77156 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-25Merged revisions 77154 via svnmerge from mmichelson1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r77154 | mmichelson | 2007-07-25 16:52:47 -0500 (Wed, 25 Jul 2007) | 3 lines chan->emulate_dtmf_duration is an unsigned int, not a signed int, so use %u instead of %d in the format string ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77155 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-25Merged revisions 77071 via svnmerge from file2-178/+39
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r77071 | file | 2007-07-25 14:14:14 -0300 (Wed, 25 Jul 2007) | 2 lines Fix autoconf logic for finding OpenH323 when it is not in the first place searched (/usr/share/openh323). ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77072 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-25change the debug level to 3 for an exceedingly annoying messagerizzo1-1/+1
(3-deep nested loop) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77054 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-25Merged revisions 77022 via svnmerge from rizzo1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r77022 | rizzo | 2007-07-25 11:34:01 +0200 (Wed, 25 Jul 2007) | 3 lines set the sequence number in a frame for all frame types ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77023 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-25remove a couple of entries that got duplicated and snuck into the SIP ↵russell1-7/+4
section. Also, align the NAT/STUN entry with the others. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76985 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-25Merged revisions 76983 via svnmerge from murf1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r76983 | murf | 2007-07-24 18:18:32 -0600 (Tue, 24 Jul 2007) | 9 lines Merged revisions 76978 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r76978 | murf | 2007-07-24 18:07:24 -0600 (Tue, 24 Jul 2007) | 1 line this fixes bug 10293, where the error message because defaultzone or loadzone was not defined was confusing ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76984 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-24Merged revisions 76937 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r76937 | tilghman | 2007-07-24 17:12:43 -0500 (Tue, 24 Jul 2007) | 10 lines Merged revisions 76934 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r76934 | tilghman | 2007-07-24 17:11:33 -0500 (Tue, 24 Jul 2007) | 2 lines Oops, res contains the error code, not errno. I was wondering why a mutex was reporting "No such file or directory"... ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76940 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-24Add the flag to trigger an intentional crash on mutex errorstilghman1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76925 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-24Blocked revisions 76891 via svnmergetilghman0-0/+0
........ r76891 | tilghman | 2007-07-24 15:42:05 -0500 (Tue, 24 Jul 2007) | 2 lines Found another place where we should be using the umask (thanks jcmoore) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76892 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-24Fix escaping and some of the formattting (closes issue #10285)tilghman13-575/+589
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76874 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-24Revert trivial whitespace change (for testing)qwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76852 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-24Trivial whitespace change to test comitting...qwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76841 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-24Merged revisions 76803 via svnmerge from tilghman1-50/+80
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r76803 | qwell | 2007-07-24 11:32:20 -0500 (Tue, 24 Jul 2007) | 3 lines Don't create the Asterisk channel until we are starting the PBX on it. (ASA-2007-018) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76807 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-24Merged revisions 76801 via svnmerge from mmichelson1-11/+19
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r76801 | mmichelson | 2007-07-24 11:26:58 -0500 (Tue, 24 Jul 2007) | 13 lines Added a membercount variable to call_queue struct which keeps track of the number of logged in members in a particular queue. This makes it so that the 'n' option for Queue() can act properly depending on which strategy is used. If the strategy is roundrobin, rrmemory, or ringall, we want to ring each phone once before moving on in the dialplan. However, if any other strategy is used, we will only ring one phone since it cannot be guaranteed that a different phone will ring on subsequent attempts to ring a phone. As a side effect of this, the QUEUE_MEMBER_COUNT dialplan function now just reads the membercount variable instead of traversing through the member list to figure out how many members there are. Special thanks to blitzrage for helping to test this out. (closes issue #10127, reported by bcnit, patched by me, tested by blitzrage) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76804 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-24Don't download/install the sound packages if already installed.file1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76791 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-24The chan_skinny Dial() syntax was funky. You had to do Dial(Skinny/line@device)qwell1-15/+27
This allows you to just Dial(Skinny/line), as long as line isn't ambiguous. Note that this does not remove or deprecate the "old" syntax, as it's still quite useful - even moreso if shared lines get implemented. Initial patch by me, with some changes and suggestions from wedhorn. (closes issue #10263) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76785 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-24two small fixes when using stun (reported by Marta Carbone):rizzo1-8/+9
+ externexpire was not initialized properly; + stunaddr was not handled properly on a sip reload git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76770 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-24add documentation on nat/stun support in chan_siprizzo1-0/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76755 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-24Move manager users list over to an rwlist.file1-22/+22
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76712 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23You need to put static in front of a static RWLIST declaration to make it ↵file1-2/+1
really static... and don't call AST_RWLIST_HEAD_DESTROY on a statically declared list. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76711 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23Don't bother calling AST_RWLIST_EMPTY on a list before AST_RWLIST_TRAVERSE, ↵file1-4/+2
it's just a double check. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76710 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23Merged revisions 76708 via svnmerge from tilghman1-0/+7
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r76708 | tilghman | 2007-07-23 17:38:06 -0500 (Mon, 23 Jul 2007) | 4 lines It was our stated intention for 1.4 that files created in app_voicemail should depend upon the umask. Unfortunately, mkstemp() creates files with mode 0600, regardless of the umask. This corrects that deficiency. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76709 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23Enhance AGI with several fixes:tilghman2-172/+199
- Makes the structures handling external AGI commands a bit more thread-safe - Makes AGI transparently work with both live and hungup channels - DeadAGI is hence no longer necessary and is deprecated - CLI bug fixes - Commands will refuse to run if the channel is dead and the command is nonsensical for dead channels. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76707 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23Clean up res_crypto module. It now uses an rwlist to keep the keys and it ↵file1-167/+95
should also be thread safe now. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76706 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23Missed one conversion to comma delimiter (thanks, Juggie) and add ↵tilghman2-7/+14
documentation on the change to the Local channel name. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76704 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23Merge the dialplan_aesthetics branch. Most of this patch simply converts ↵tilghman33-644/+612
applications using old methods of parsing arguments to using the standard macros. However, the big change is that the really old way of specifying application and arguments separated by a comma will no longer work (e.g. NoOp,foo|bar). Instead, the way that has been recommended since long before 1.0 will become the only method available (e.g. NoOp(foo,bar). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76703 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23Merged revisions 76656 via svnmerge from qwell1-8/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r76656 | qwell | 2007-07-23 13:59:28 -0500 (Mon, 23 Jul 2007) | 3 lines Fix some incorrect softkey labels in messages. Don't try to play dialtone in some unimplemented features. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76657 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23Merged revisions 76654 via svnmerge from file1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r76654 | file | 2007-07-23 15:29:48 -0300 (Mon, 23 Jul 2007) | 12 lines Merged revisions 76653 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r76653 | file | 2007-07-23 15:28:13 -0300 (Mon, 23 Jul 2007) | 4 lines (closes issue #5866) Reported by: tyler Do not force channel format changes when a generator is present. The generator may have changed the formats itself and changing them back would cause issues. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76655 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23Merged revisions 76620 via svnmerge from qwell1-0/+8
https://origsvn.digium.com/svn/asterisk/branches/1.4 (closes issue #10276) ........ r76620 | qwell | 2007-07-23 12:57:53 -0500 (Mon, 23 Jul 2007) | 4 lines Don't try to queue up hold/unhold frames on a non-existent channel. Issue 10276. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76621 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23Merged revisions 76618 via svnmerge from file1-2/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r76618 | file | 2007-07-23 14:48:51 -0300 (Mon, 23 Jul 2007) | 2 lines Allow app_morsecode to build on PPC Linux by putting the value of the digit char in an int. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76619 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23add two missing entries in the replica of the sip_tech thatrizzo1-0/+2
does not use DTMF BEGIN frames. 1.4 seems correct (it does not have the two fields). However, as this bug shows, the current way of creating the sip_tech replica is too error-prone, one can easily forget to update one of the two entries. Perhaps it would be better to create sip_tech_info expliclty at module load, by doing sip_tech_info = sip_tech; sip_tech_info.send_digit_begin = NULL (in this case, this is something applicable to 1.4 as well). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76564 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23Merged revisions 76561 via svnmerge from file1-2/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r76561 | file | 2007-07-23 11:34:21 -0300 (Mon, 23 Jul 2007) | 14 lines Merged revisions 76560 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r76560 | file | 2007-07-23 11:32:07 -0300 (Mon, 23 Jul 2007) | 6 lines (closes issue #10236) Reported by: homesick Patches: rpid_1.4_75840.patch uploaded by homesick (license 91) Accept Remote Party ID on guest calls. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76563 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23Mark str2dtmfmode() as currently unused to resolve a compiler warning andrussell1-0/+1
allow building under dev mode git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76562 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23(closes issue #10271)russell16-177/+368
Reported by: snuffy Patches: doxygen-updates.diff uploaded by snuffy (license 35) Another big batch of doxygen documentation updates git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76559 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23note the debug and verbose changes in CHANGESrussell1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76558 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23(closes issue #10192)russell6-85/+208
Reported by: bbryant Patches: 20070720__core_debug_by_file.patch uploaded by bbryant (license 36) (with some modifications by me) Tested by: russell, bbryant This set of changes introduces the ability to set the core debug or verbose levels on a per-file basis. Interestingly enough, in 1.4, you have the ability to set core debug for a single file, but that functionality was accidentally lost in the conversion of the CLI commands to the new format. This patch improves upon what was in 1.4 by letting you set it for more than 1 file, and by also supporting verbose. *** Janitor Project *** This patch also introduces a new macro, ast_verb(), which is similar to ast_debug(). Setting the per file verbose value only works for messages that use this macro. Converting existing uses of ast_verbose() can be done like: if (option_debug > 2) ast_verbose(VERBOSE_PREFIX_3 "Something useful\n"); ... ast_verb(3, "Something useful\n"); git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76555 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23introduce two functions, map_x_s() and map_s_x(), to maprizzo1-79/+110
between integers and strings using a single translation table, and use them in a few places instead of ad-hoc routines that duplicate the table. On passing, note that REFER_CONFIRMED is never used, and add a few comments. Nothing to backport here. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76547 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23Remove an unused function to resolve a compiler warningrussell1-10/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76524 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23Use autoconf logic to determine byte swapping macro presence. This should ↵file4-5/+292
now also use other macros if present. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76523 f38db490-d61c-443f-a65b-d21fe96a405b