Commit Graph

449 Commits

Author SHA1 Message Date
Luigi Rizzo 52c6ee5155 add documentation on video console support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126959 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-01 16:14:28 +00:00
Russell Bryant dc5c54eaf2 a few minor updates and typo fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126515 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-30 12:49:56 +00:00
Sean Bright dd0c0f3d38 Cast a few more strings to char *, so that we can compile cleanly against
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: https://origsvn.digium.com/svn/asterisk/trunk@126513 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-30 11:57:42 +00:00
Russell Bryant d4ddf14b6b Fix a typo. Someone on IRC copied this literally and then wondered why it
wasn't working.  :)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27 19:19:08 +00:00
Jeff Gehlbach 7e9bb68ec8 Merged revisions 124372 via svnmerge from
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: https://origsvn.digium.com/svn/asterisk/trunk@124392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-20 21:36:01 +00:00
Michiel van Baak 8e8359465b Older versions of GNU gcc do not allow 'NULL' as sentinel.
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: https://origsvn.digium.com/svn/asterisk/trunk@124127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 20:48:33 +00:00
Sean Bright a41649d66b Update the queuelog.tex documentation as well.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@123830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 14:28:56 +00:00
Tilghman Lesher a06ab7b648 Merged revisions 123769 via svnmerge from
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: https://origsvn.digium.com/svn/asterisk/trunk@123770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-18 22:17:17 +00:00
Jeff Peeler ef3b214728 Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@122234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-12 17:27:55 +00:00
Jeff Peeler d373bd4430 Merged revisions 121804 via svnmerge from
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: https://origsvn.digium.com/svn/asterisk/trunk@121805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-11 16:11:40 +00:00
Russell Bryant 7123fb41c4 don't refer to asterisk-events, as that implies that the code was checked out from a branch
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@121716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-10 21:51:06 +00:00
Russell Bryant e9d72e0cb2 Merge another big set of changes from team/russell/events
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: https://origsvn.digium.com/svn/asterisk/trunk@121559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-10 15:12:17 +00:00
Russell Bryant f4a8062e93 Merge another change from team/russell/events ...
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: https://origsvn.digium.com/svn/asterisk/trunk@121439 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-10 12:48:50 +00:00
Jeff Peeler 3c6eb61008 add document describing API changes from 1.4.0 to 1.6.0
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@118178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-24 01:14:41 +00:00
Tilghman Lesher ee29d6dc2b Merged revisions 118052 via svnmerge from
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: https://origsvn.digium.com/svn/asterisk/trunk@118053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-23 13:00:10 +00:00
Tilghman Lesher ce8453f57c Enhance ExternalIVR with new options and commands.
(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: https://origsvn.digium.com/svn/asterisk/trunk@117725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-22 05:10:01 +00:00
Mark Michelson b0e637791c Add a new manager event, AgentRingNoAnswer to
app_queue.

(closes issue #12591)
Reported by: CCHAsteria
Patches:
      app_queue_RNA_event.diff uploaded by CCHAsteria (license 477)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@117625 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-21 20:27:45 +00:00
Olle Johansson e30c26c689 Add support for playing an audio file for caller and callee at start and stop of monitoring (one-touch monitor).
Keep messages short, since the other party is waiting while one party hear the message...



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-12 18:39:09 +00:00
Russell Bryant 44af1e23d0 Merge changes from team/russell/smdi-msg-searching
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: https://origsvn.digium.com/svn/asterisk/trunk@115021 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-01 19:05:36 +00:00
Steve Murphy c0b8f57b9d (closes issue #12467)
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: https://origsvn.digium.com/svn/asterisk/trunk@114423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-21 21:13:02 +00:00
Russell Bryant e29b987b30 Add a simple janitor project
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114325 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-21 15:01:04 +00:00
Tilghman Lesher 631d8e5fbe fileio.h does not exist; io.h does, though.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-17 15:12:52 +00:00
Steve Murphy 5fb4b1bbe5 This is the scariest commit I've done in a long time. This is the 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: https://origsvn.digium.com/svn/asterisk/trunk@114190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-16 23:53:27 +00:00
Russell Bryant afd8783577 Make some notes about common usage of pbx_builtin_getvar_helper() that is not
thread-safe.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111909 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-28 22:50:46 +00:00
Tilghman Lesher 3f78a375a0 Merged revisions 111605 via svnmerge from
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: https://origsvn.digium.com/svn/asterisk/trunk@111606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-28 14:37:28 +00:00
Donny Kavanagh 7a2d8fc309 update documentation to reflect the changes in the way configure detects net-snmp.
(closes issue #12067)
Reported by: juggie
Patches:
      12067_snmp_doc.patch uploaded by juggie (license 24)
Tested by: juggie


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@110911 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 17:24:54 +00:00
Jeff Peeler 3c4c3c0dd2 documenting changes as a result of adding TCP functionality to ExternalIVR
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@108639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-13 23:12:59 +00:00
Jason Parker ce66adb981 Merged revisions 107826 via svnmerge from
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: https://origsvn.digium.com/svn/asterisk/trunk@107827 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-11 23:38:00 +00:00
Russell Bryant de31be8741 fix example usage
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@106684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-07 16:31:48 +00:00
Russell Bryant 5fa773a9f9 minor text changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@106518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-07 01:19:02 +00:00
Russell Bryant 56e6a4b2bb Add updated SMDI documentation that I had only sitting in my email ... oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@106507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-07 01:15:36 +00:00
Mark Michelson 2ed30d47e8 Adding the Atxfer manager command. With this, you may initiate
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: https://origsvn.digium.com/svn/asterisk/trunk@106236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-05 22:33:05 +00:00
Michiel van Baak eafa9b0de0 document var_metric usage to prevent bugreports that are actually configuration issues
(closes issue #12151)
Reported by: caio1982
Patches:
      DB_metric3.diff uploaded by caio1982 (license 22)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@106186 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-05 21:19:06 +00:00
Russell Bryant 0e3ef53ddd note that the chan_sip conversion is already in progress
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-27 04:42:59 +00:00
Russell Bryant 4314170e73 add another janitor project
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104444 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-27 04:33:30 +00:00
Russell Bryant cf78b1c81d Add the stuff from the janitor projects page that is still relevant. I figure
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: https://origsvn.digium.com/svn/asterisk/trunk@104419 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-27 04:14:54 +00:00
Jason Parker e5ce766eed Create placeholder file...for now.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104418 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-27 03:52:18 +00:00
Tilghman Lesher a616346c6d 1) Make braces mandatory for if/for/while, even around single statements.
2) Revise the argument parsing section, showing use of the standard macros.
3) Fix a typo.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-26 18:40:26 +00:00
Brett Bryant 55aaa80d15 Adding more tls configuration details to sip.conf sample, with a list of valid ciphers provided in both files. .. First commit since July, woot
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-25 19:00:16 +00:00
Tilghman Lesher f92a3e119e Move Originate to a separate privilege and require the additional System privilege to call out to a subshell.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-22 22:55:35 +00:00
Mark Michelson 6923be5f30 Merged revisions 103722 via svnmerge from
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: https://origsvn.digium.com/svn/asterisk/trunk@103725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-15 17:32:43 +00:00
Mark Michelson d3b1054f6a Same changes as made to 1.4 in revision 103710
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-15 00:59:21 +00:00
Mark Michelson a819ab2102 Trunk version of 1.4's imap documentation updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-14 23:51:49 +00:00
Jason Parker 7928888ecd Reintroduce more chan_vpb stuff that was removed in r100421 and r100422
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100679 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-28 21:11:24 +00:00
Jason Parker aa9c40236c Get rid of that last little bit.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-25 22:54:01 +00:00
Tilghman Lesher cfa0ec1f97 Add res_config_ldap for realtime LDAP engine.
(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: https://origsvn.digium.com/svn/asterisk/trunk@99696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-22 22:33:20 +00:00
Olle Johansson b35f8d0358 Documentation updates for BRIDGEPVTCALLID
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@99647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-22 20:44:56 +00:00
Olle Johansson b8f8106fa0 Small fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@99482 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-22 09:46:28 +00:00
Russell Bryant b995c78c31 Merge changes from team/group/sip-tcptls
This set of changes introduces TCP and TLS support for chan_sip.  There are various
new options in configs/sip.conf.sample that are used to enable these features.  Also,
there is a document, doc/siptls.txt that describes some things in more detail.

This code was implemented by Brett Bryant and James Golovich.  It was reviewed
by Joshua Colp and myself.  A number of other people participated in the testing
of this code, but since it was done outside of the bug tracker, I do not have their
names.  If you were one of them, thanks a lot for the help!

(closes issue #4903, but with completely different code that what exists there.)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@99085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-18 22:04:33 +00:00
Terry Wilson 417c6dcb1d Update res_phoneprov to default to setting the SERVER variable to the IP
the HTTP request for the config came in on and the SERVER_PORT to the
bindport setting in sip.conf.  I've left in the ability to override these
options, because I can't always guess how someone might decide to do something
weird with what is available to them--although needing to is pretty unlikely.

Documentation was updated to reflect preference for not setting serveraddr,
serveriface, or serverport.  Tested on Linux and OS X.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@98988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-17 03:09:32 +00:00