aboutsummaryrefslogtreecommitdiffstats
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2008-07-02Add a janitor project to use ARRAY_LEN instead of in-linemmichelson1-0/+8
sizeof() and division. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127566 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02Add a locking section to the coding guidelines document.russell1-0/+226
This section covers some locking fundamentals, as well as some information on locking as it is used in Asterisk. It describes some of the ways that are used and could be used to achieve deadlock avoidance. It also demonstrates the unfortunate conclusion that with the use of recursive locks, none of the constructs in use today are failsafe from deadlocks. Finally, it makes some recommendations for new code being written. As proper locking strategies is a complex subject, this section still has room for expansion and improvement. This is a result of collaboration between Luigi Rizzo and myself on the asterisk-dev mailing list. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127363 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01add documentation on video console supportrizzo2-0/+160
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126959 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-30a few minor updates and typo fixesrussell1-10/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126515 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-30Cast a few more strings to char *, so that we can compile cleanly againstseanbright1-15/+5
FreeTDS 0.60. Update the docs to reflect that we can now compile and run against all modern releases of FreeTDS (0.60 through 0.82) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126513 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-27Fix a typo. Someone on IRC copied this literally and then wondered why itrussell1-2/+2
wasn't working. :) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@125988 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-20Merged revisions 124372 via svnmerge from jeffg2-44/+60
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r124372 | jeffg | 2008-06-20 17:14:40 -0400 (Fri, 20 Jun 2008) | 1 line Fix issues in digium-mib.txt and asterisk-mib.txt to placate smilint - bug 12905 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@124392 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-19Older versions of GNU gcc do not allow 'NULL' as sentinel.mvanbaak1-0/+9
They want (char *)NULL as sentinel. An example is OpenBSD (confirmed on 4.3) that ships with gcc 3.3.4 This commit introduces a contstant SENTINEL which is declared as: #define SENTINEL ((char *)NULL) All places I could test compile on my openbsd system are converted. Update CODING-GUIDELINES to tell about this constant. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@124127 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-19Update the queuelog.tex documentation as well.seanbright1-7/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@123830 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-18Merged revisions 123769 via svnmerge from tilghman1-0/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r123769 | tilghman | 2008-06-18 17:08:30 -0500 (Wed, 18 Jun 2008) | 8 lines Add support for saying numbers in Hebrew. (closes issue #11662) Reported by: greenfieldtech Patches: say.c.patch-12042008 uploaded by greenfieldtech (license 369) Hebrew-Sounds.ods uploaded by greenfieldtech (with signficant changes to the spreadsheet by me) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@123770 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-12Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. ↵jpeeler21-59/+60
Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@122234 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-11Merged revisions 121804 via svnmerge from jpeeler1-2/+8
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r121804 | jpeeler | 2008-06-11 11:11:09 -0500 (Wed, 11 Jun 2008) | 1 line add instructions for logging gdb output via set logging on ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@121805 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-10don't refer to asterisk-events, as that implies that the code was checked ↵russell1-2/+2
out from a branch git-svn-id: http://svn.digium.com/svn/asterisk/trunk@121716 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-10Merge another big set of changes from team/russell/eventsrussell1-0/+310
This commit merges in the rest of the code needed to support distributed device state. There are two main parts to this commit. Core changes: - The device state handling in the core has been updated to understand device state across a cluster of Asterisk servers. Every time the state of a device changes, it looks at all of the device states on each node, and determines the aggregate device state. That resulting device state is what is provided to modules in Asterisk that take actions based on the state of a device. New module, res_ais: - A module has been written to facilitate the communication of events between nodes in a cluster of Asterisk servers. This module uses the SAForum AIS (Service Availability Forum Application Interface Specification) CLM and EVT services (Cluster Management and Event) to handle this task. This module currently supports sharing Voicemail MWI (Message Waiting Indication) and device state events between servers. It has been tested with openais, though other implementations of the spec do exist. For more information on testing distributed device state, see the following doc: - doc/distributed_devstate.txt git-svn-id: http://svn.digium.com/svn/asterisk/trunk@121559 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-10Merge another change from team/russell/events ...russell2-0/+6
DUNDi uses a concept called the Entity ID for unique server identifiers. I have pulled out the handling of EIDs and made it something available to all of Asterisk. There is now a global Entity ID that can be used for other purposes as well, such as code providing distributed device state, which is why I did this. The global Entity ID is set automatically, just like it was done in DUNDi, but it can also be set in asterisk.conf. DUNDi will now use this global EID unless one is specified in dundi.conf. The current EID for the system can be seen in the "core show settings" CLI command. It is also available in the dialplan via the ENTITYID variable. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@121439 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-24add document describing API changes from 1.4.0 to 1.6.0jpeeler1-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@118178 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-23Merged revisions 118052 via svnmerge from tilghman1-0/+33
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r118052 | tilghman | 2008-05-23 07:59:16 -0500 (Fri, 23 May 2008) | 3 lines Add information on using the Asterisk console, including tab command line completion. (Closes issue #12681) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@118053 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-22Enhance ExternalIVR with new options and commands.tilghman1-3/+39
(closes issue #12705) Reported by: ctooley Patches: new_externalivr_argument_format-v2.diff uploaded by ctooley (license 136) new_externalivr_documentation.diff uploaded by ctooley (license 136) and a few additional fixes by me git-svn-id: http://svn.digium.com/svn/asterisk/trunk@117725 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-21Add a new manager event, AgentRingNoAnswer tommichelson1-1/+12
app_queue. (closes issue #12591) Reported by: CCHAsteria Patches: app_queue_RNA_event.diff uploaded by CCHAsteria (license 477) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@117625 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-12Add support for playing an audio file for caller and callee at start and ↵oej1-0/+2
stop of monitoring (one-touch monitor). Keep messages short, since the other party is waiting while one party hear the message... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115784 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-01Merge changes from team/russell/smdi-msg-searchingrussell1-2/+10
This commit adds some new features to the SMDI_MSG_RETRIEVE() dialplan function. Previously, this function only allowed searching by the forwarding station. I have added some options to allow you to also search for messages in the queue by the message desk terminal ID, as well as the message desk number. This originally came up as a suggestion on the asterisk-dev mailing list. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115021 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-21(closes issue #12467)murf2-3/+24
Reported by: atis Tested by: murf This upgrade adds the ~~ (concatenation) string operator to expr2. While not needed in normal runtime pbx operation, it is needed when raw exprs are being syntax checked. This plays into future syntax- unification plans. By permission of atis, this addition in trunk and the reason of why things are as they are will suffice to close this bug. I also added a short note about the previous addition of "sip show sched" to the CLI in CHANGES, which I discovered I forgot in a previous commit. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114423 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-21Add a simple janitor projectrussell1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114325 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17fileio.h does not exist; io.h does, though.tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114202 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-16This is the scariest commit I've done in a long time. This is the ↵murf1-0/+110
astobj2-ification of chan_sip. I've tested a number of scenarios like crazy. It used to have 4x the call setup/teardown performance of trunk, but now it's roughly at parity. I will attempt to find the bottlenecks and get it back to the 4x mark. The changes made were somewhat invasive, but the value to the community of these upgrades outweighs waiting further for more testing. Every change being made to chan_sip was lousing this code up when we tried to merge. Peers, Users, Dialogs, are all now astobj2 objects, indexed via hashtables. Refcounting is used to track objects and free them at the bitter end of their lives. Please file issues on bugs.digium.com, and PLEASE, please, please be patient. One natural advantage to all the hash-table work is that loading large sip.conf files full of thousands of peers now goes much faster. One more please: PLEASE help thrash this code and test it. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114190 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-28Make some notes about common usage of pbx_builtin_getvar_helper() that is notrussell1-0/+12
thread-safe. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@111909 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-28Merged revisions 111605 via svnmerge from tilghman1-1/+8
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r111605 | tilghman | 2008-03-28 09:35:45 -0500 (Fri, 28 Mar 2008) | 3 lines Update debugging text, since Valgrind eliminated the --log-file-exactly option. (Closes issue #12320) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@111606 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-26update documentation to reflect the changes in the way configure detects ↵juggie1-4/+18
net-snmp. (closes issue #12067) Reported by: juggie Patches: 12067_snmp_doc.patch uploaded by juggie (license 24) Tested by: juggie git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110911 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-13documenting changes as a result of adding TCP functionality to ExternalIVRjpeeler1-1/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@108639 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-11Merged revisions 107826 via svnmerge from qwell1-24/+50
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r107826 | qwell | 2008-03-11 18:37:05 -0500 (Tue, 11 Mar 2008) | 7 lines Update documentation for pgsql ODBC voicemail. (closes issue #12186) Reported by: jsmith Patches: vm_pgsql_doc_update.patch uploaded by jsmith (license 15) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@107827 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-07fix example usagerussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@106684 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-07minor text changesrussell1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@106518 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-07Add updated SMDI documentation that I had only sitting in my email ... oopsrussell1-18/+118
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@106507 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-05Adding the Atxfer manager command. With this, you may initiatemmichelson1-0/+10
an attended transfer over AMI (closes issue #10585) Reported by: ornati Patches: atxfer-trunk-r90428.diff uploaded by ornati (license 210) (with modifications from me) Tested by: putnopvut git-svn-id: http://svn.digium.com/svn/asterisk/trunk@106236 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-05document var_metric usage to prevent bugreports that are actually ↵mvanbaak1-0/+14
configuration issues (closes issue #12151) Reported by: caio1982 Patches: DB_metric3.diff uploaded by caio1982 (license 22) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@106186 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-27note that the chan_sip conversion is already in progressrussell1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104473 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-27add another janitor projectrussell1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104444 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-27Add the stuff from the janitor projects page that is still relevant. I figurerussell1-0/+15
that if we keep this in the tree, it will be much easier to keep up to date. The page on asterisk.org just links to this on svn.digium.com/view git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104419 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-27Create placeholder file...for now.qwell1-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104418 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-261) Make braces mandatory for if/for/while, even around single statements.tilghman1-10/+14
2) Revise the argument parsing section, showing use of the standard macros. 3) Fix a typo. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104176 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-25Adding more tls configuration details to sip.conf sample, with a list of ↵bbryant1-0/+2
valid ciphers provided in both files. .. First commit since July, woot git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104088 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-22Move Originate to a separate privilege and require the additional System ↵tilghman1-0/+5
privilege to call out to a subshell. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104039 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-15Merged revisions 103722 via svnmerge from mmichelson1-1/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r103722 | mmichelson | 2008-02-15 11:26:37 -0600 (Fri, 15 Feb 2008) | 8 lines Final round of changes for configure script logic for IMAP Now if a directory is specified, then we will search that directory for a source installation of the IMAP toolkit. If none is found, then we will use that directory as the basis for detecting a package installation of the IMAP c-client. If that check fails, then configure will fail. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103725 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-15Same changes as made to 1.4 in revision 103710mmichelson1-4/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103711 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-14Trunk version of 1.4's imap documentation updatesmmichelson1-8/+21
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103705 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28Reintroduce more chan_vpb stuff that was removed in r100421 and r100422qwell1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100679 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-25Get rid of that last little bit.qwell1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100422 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22Add res_config_ldap for realtime LDAP engine.tilghman1-0/+65
(closes issue #5768) Reported by: mguesdon Patches: res_config_ldap-v0.7.tar.gz uploaded by mguesdon (license 121) res_ldap.conf.sample uploaded by suretec (license 70) asterisk-v3.1.4.ldif uploaded by suretec (license 70) asterisk-v3.1.4.schema uploaded by suretec (license 70) Tested by: oej, mguesdon, suretec, cthorner git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99696 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22Documentation updates for BRIDGEPVTCALLIDoej1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99647 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22Small fixesoej1-8/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99482 f38db490-d61c-443f-a65b-d21fe96a405b