Commit Graph

350 Commits

Author SHA1 Message Date
Steve Murphy 6a4efe5d5a In regards to changes for 9508, expr2 system choking on floating point numbers, I'm adding this update to round out (no pun intended) and make this FP-capable version of the Expr2 stuff interoperate better with previous integer-only usage, by providing Functions syntax, with 20 builtin functions for floating pt to integer conversions, and some general floating point math routines that might commonly be used also. Along with this, I made it so if a function was not a builtin, it will try and find it in the ast_custom_function list, and if found, execute it and collect the results. Thus, you can call system functions like CDR(), CHANNEL(), etc, from within $\[..\] exprs, without having to wrap them in $\{...\} (curly brace) notation. Did a valgrind on the standalone and made sure there's no mem leaks. Looks good. Updated the docs, too.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-05 18:15:22 +00:00
Russell Bryant d2a85e5f64 After some discussion on the asterisk-dev list, we determined that this approach
for extracting application, function, manager, and agi documentation is the wrong
one to take.  The most severe problem is that the output depends on which modules
are loaded as well as compile time options, which both determine which parts are
available.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72986 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-02 23:02:16 +00:00
Russell Bryant df1a340774 * Move LaTeX docs into a tex/ subdirectory of the doc/ dir
* Add a Makefile in doc/tex/ for generating PDF and HTML
* Add a README.txt file to doc/tex/ to document which tools are used and what
  web sites to visit for getting them.
* Update build_tools/prep_tarball to put the proper Asterisk version string
  in the automatically generated PDF for release tarballs


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-02 22:27:46 +00:00
Russell Bryant 8d99a2004b Fix up the AGI doc dump CLI command and update the AGI commands tex file to not
include a bunch of empty entries.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-02 20:45:53 +00:00
Russell Bryant 4070baa1e6 Add CLI commands to the docs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72938 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-02 20:42:40 +00:00
Russell Bryant f6e3c1250c Add AGI commands to the documentation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-02 19:31:26 +00:00
Russell Bryant 8b6925b2b1 Update the documentation to include a manager action reference
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-02 18:46:13 +00:00
Russell Bryant e7cf09b938 update documentation to include dialplan functions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72923 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-02 17:12:20 +00:00
Russell Bryant ee45b352e7 update application documentation dump
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72920 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-02 16:42:17 +00:00
Russell Bryant ab56fcce5c Allow compilation off app_voicemail with IMAP_STORAE against a system installed
version of the c-client library.  (issue #10047, jcollie)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-25 19:20:07 +00:00
Russell Bryant 65a9e8fbe9 Merged revisions 71519 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r71519 | russell | 2007-06-25 07:40:06 -0500 (Mon, 25 Jun 2007) | 2 lines

Fix a typo in the Asterisk mib.  (issue #10048, Matti)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71520 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-25 12:40:41 +00:00
Steve Murphy c1bb0fc34b This finishes the changes for making Macro args LOCAL to the call, and allowing users to declare local variables.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70461 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-20 20:10:19 +00:00
Steve Murphy c6ed12405f These changes were submitted via bug 6683, to allow CID detection in India, with carriers that do Polarity/DTMF CID signalling.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70001 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-19 17:07:28 +00:00
Russell Bryant 50aaffa97f update the dump of application docs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 16:03:42 +00:00
Russell Bryant 3b9a36109f Add support for retrieving the number of channels that are currently bridged
via SNMP.
(closes issue #9637, initial patch from jeffg, modified by me)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-08 21:31:33 +00:00
Joshua Colp 4b0494f389 AEL in trunk now uses GOSUB so we have to update the queues with callback members example. (issue #9813 reported by Mike Anikienko)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-07 17:52:41 +00:00
Russell Bryant bcd0bf437a add a note about inline comments
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-05 14:59:34 +00:00
Tilghman Lesher 825315f272 Merged revisions 66821 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r66821 | tilghman | 2007-05-31 18:03:28 -0500 (Thu, 31 May 2007) | 2 lines

Issue 9850 - update preferred command line syntax

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66822 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-31 23:04:32 +00:00
Joshua Colp 23c6b239d6 Merged revisions 66398 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r66398 | file | 2007-05-29 11:43:16 -0400 (Tue, 29 May 2007) | 2 lines

Update datastores documentation. (issue #9801 reported by mnicholson)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66399 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-29 15:44:51 +00:00
Russell Bryant a45cf4d0fb add a note about using the intenal API for creating detached threads
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-24 19:11:09 +00:00
Russell Bryant a795ea58fb Fix some syntax errors.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-11 18:31:36 +00:00
Steve Murphy 02337303ef a small upgrade to the coding standard, and an update to the code that triggered the upgrade.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63048 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-04 17:49:20 +00:00
Russell Bryant 65ac2341c0 For some reason when I merged 802.1p support, the new documentation file was
not properly added.  Thanks to IgorG for pointing it out!  :)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62671 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-02 15:17:26 +00:00
Russell Bryant 683417407e This patch adds additional information to the EXITWITHKEY and EXITWITHTIMEOUT
entries in the queue log.
(issue #7561, reported and originally patched by fkasumovic, patch slightly
 modified and updated to trunk by me)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-30 16:46:49 +00:00
Russell Bryant b419fc1134 Add support for setting the CoS for VLAN traffic (802.1p) in Linux. The
file doc/qos.tex has been updated to document the new functionality.
(issue #9540, patch submitted by IgorG)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-30 16:16:26 +00:00
Russell Bryant 503b75f885 Update the DUNDi section of the documentation with example usage of DUNDIQUERY
and DUNDIRESULT.  Also, update the automatically generated application docs.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-28 19:53:12 +00:00
Dwayne M. Hubbard cc2aa89fa9 clarified 'minmemfree' description in doc/asterisk-conf.tex
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61599 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 22:19:14 +00:00
Dwayne M. Hubbard 9fc6cf1ac3 fixed the '-e' command line option for minmemfree. updated doc/asterisk-conf.tex
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 22:10:26 +00:00
Russell Bryant b2ddaaf033 Add support for RTP packetization in chan_jingle and chan_gtalk.
(issue #9416, phsultan)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-03 22:33:03 +00:00
Joshua Colp 518ff7941e Update modules.txt to new loader. (issue #9358 reported by eliel)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59191 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-23 16:41:18 +00:00
Tilghman Lesher 433a7a721c Merged revisions 58946 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58946 | tilghman | 2007-03-15 18:52:48 -0500 (Thu, 15 Mar 2007) | 2 lines

Refashion dump command to match common syntax and update the resulting appdocs TeX file

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-16 00:04:00 +00:00
Russell Bryant 5ecd1f40b3 Merged revisions 58941 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58941 | russell | 2007-03-15 18:24:09 -0500 (Thu, 15 Mar 2007) | 1 line

add a link to the rubber homepage
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58942 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 23:24:30 +00:00
Russell Bryant 70db92a6f8 Merged revisions 58937 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58937 | russell | 2007-03-15 17:51:29 -0500 (Thu, 15 Mar 2007) | 2 lines

Add Asterisk version information to the generated PDF

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58938 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 22:52:27 +00:00
Russell Bryant 1cf3a12047 Merged revisions 58931 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58931 | russell | 2007-03-15 17:25:12 -0500 (Thu, 15 Mar 2007) | 13 lines

Merge changes from svn/asterisk/team/russell/LaTeX_docs.

* Convert most of the doc directory into a single LaTeX formatted document
  so that we can generate a PDF, HTML, or other formats from this
  information.
* Add a CLI command to dump the application documentation into LaTeX format
  which will only be include if the configure script is run with 
  --enable-dev-mode.
* The PDF turned out to be close to 1 MB, so it is not included.  However, you
  can simply run "make asterisk.pdf" to generate it yourself.  We may include
  it in release tarballs or have automatically generated ones on the web site,
  but that has yet to be decided.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 22:29:45 +00:00
Russell Bryant 57ffe3cee2 Merged revisions 58902 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58902 | russell | 2007-03-14 12:04:38 -0500 (Wed, 14 Mar 2007) | 2 lines

Add a more basic example setup to the examples section

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-14 17:42:52 +00:00
Russell Bryant d74caa4fe8 Merged revisions 58897 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r58897 | russell | 2007-03-14 11:40:22 -0500 (Wed, 14 Mar 2007) | 11 lines

Merged revisions 58896 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r58896 | russell | 2007-03-14 11:38:48 -0500 (Wed, 14 Mar 2007) | 3 lines

Add a note to the security file that the Asterisk CLI and log files may contain
sensitive information, and that people should keep this in mind.

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-14 16:40:52 +00:00
Russell Bryant 5bea998a55 Merge changes from team/russell/sqlite:
* Add new module, cdr_sqlite3_custom which allows logging custom CDRs into a
  SQLite3 database.  (issue #7149, alerios)
* Add new module, res_config_sqlite, which adds realtime database configuration
  support for SQLite version 2.  I decided that this was ok since we didn't have
  any realtime support for version 3.  If someone ports this to version 3, then
  version 2 support can be removed or marked deprecated.
  (issue #7790, rbarun_proformatique)
* Mark cdr_sqlite as deprecated in favor of cdr_sqlite3_custom.

Also, note that there were other modules on the bug tracker that did not make
the cut because they provided some duplicated functionality.  Those are:

* cdr_sqlite3 (issue #6754, moy)
* cdr_sqlite3 (issue #8694, bsd)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-13 21:22:33 +00:00
Russell Bryant f7dc36927d Merged revisions 58638 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58638 | russell | 2007-03-09 17:59:10 -0600 (Fri, 09 Mar 2007) | 8 lines

Merge some updates to the SLA documentation.  I plan to keep working on this
to explain all of the expected behavior with call handling, configuration
details for specific phones, and other things.  However, I got tired of doing
it in plain text, so I switched to using LaTeX.  I have included the PDF version.
I haven't been able to get a nice looking plain text version out of it yet, but
I'm not terribly concerned since this is supposed to be more of the manual,
while the plain text sample configuration file is the reference.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-10 00:00:26 +00:00
Russell Bryant 3d6e6e07ef Merged revisions 57364 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57364 | russell | 2007-03-01 17:42:53 -0600 (Thu, 01 Mar 2007) | 16 lines

Merge changes from svn/asterisk/team/russell/sla_updates

* Originally, I put in the documentation that only Zap interfaces would be
  supported on the trunk side.  However, after a discussion with Qwell, we came
  up with a way to make IP trunks work as well, using some things already in
  Asterisk.  So, here it is, this now officially supports IP trunks.
* Update the SLA documentation to reflect how to setup IP trunks.
* Add a section in sla.txt that describes how to set up an SLA system with
  voicemail.
* Simplify the way DTMF passthrough is handled in MeetMe.
* Fix a bug that exposed itself when using a Local channel on the trunk side
  in SLA.  The station's channel needs to be passed to the dial API when
  dialing the trunk.
* Change a WARNING message to DEBUG in channel.h.  This message is of no use
  to users.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-01 23:44:09 +00:00
TransNexus OSP Development 1c2da14cd4 1. Corrected a typo for www.etsi.org. Thank Patrick.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57259 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-01 03:01:11 +00:00
Russell Bryant ae8c0f3fcb Merged revisions 57207 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57207 | russell | 2007-02-28 17:01:52 -0600 (Wed, 28 Feb 2007) | 2 lines

minor tweaks to the sla docs

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-28 23:02:49 +00:00
Russell Bryant 9138e53bc9 Merged revisions 56277 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56277 | russell | 2007-02-22 17:08:36 -0600 (Thu, 22 Feb 2007) | 18 lines

Merge changes from team/russell/sla_updates.

This batch of changes to the SLA code does a few different things.

* I made the SLA code event driven instead of having to act in a lot of busy
  loops while dialing things to wait for state changes.  This makes the code
  more efficient and readable at the same time.

* I have implemented a couple of new features.  The first is inbound trunk
  ringing timeouts.  This is an option that defines how long to let an incoming
  call on a trunk to ring.

* I have also implemented ring timeouts for stations.  They may be specified
  for the entire station, meaning it is how long to let the station ring before
  giving up.  You can also specify a ring timeout for a specific trunk on a
  station.  So, you can say that you only want a specific station to ring 5
  seconds if it is line1 ringing, but otherwise, there is no timeout.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-22 23:12:26 +00:00
TransNexus OSP Development 9a8eca7c11 Update OSP documention for v1.6.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56156 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-22 13:58:21 +00:00
Olle Johansson 1f52d1cc81 Issue #7443 - amdtech - Optionally SIP registrations in another
realtime family. 


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-15 12:10:55 +00:00
Russell Bryant 5715b49c30 Merged revisions 53810 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53810 | russell | 2007-02-09 18:35:09 -0600 (Fri, 09 Feb 2007) | 24 lines

Merge team/russell/sla_rewrite

This is a completely new implementation of the SLA functionality introduced in
Asterisk 1.4.  It is now functional and ready for testing.  However, I will be
adding some additional features over the next week, as well.

For information on how to set this up, see configs/sla.conf.sample 
and doc/sla.txt.

In addition to the changes in app_meetme.c for the SLA implementation itself,
this merge brings in various other changes:

chan_sip:
 - Add the ability to indicate HOLD state in NOTIFY messages.
 - Queue HOLD and UNHOLD control frames even if the channel is not bridged to
   another channel.

linkedlists.h:
 - Add support for rwlock based linked lists.

dial.c:
 - Add the ability to run ast_dial_start() without a reference channel to
   inherit information from.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 00:40:57 +00:00
Kevin P. Fleming 119d6d5a64 Merged revisions 53715 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53715 | kpfleming | 2007-02-09 10:42:22 -0600 (Fri, 09 Feb 2007) | 2 lines

clarify the fact that voicemail IMAP storage cannot be built against a distro's binary c-client library package (at least not at this time)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-09 16:43:36 +00:00
Olle Johansson a29a9d9564 Update with info about SIP channels and queues
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-02 20:05:52 +00:00
Olle Johansson 0205c27767 Adding a template for documentation on call queues. Please help us add
to this!

Thanks

/OEJ and BJ


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-02 20:02:49 +00:00
Russell Bryant 60e7d662d1 Merged revisions 52999 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52999 | russell | 2007-01-30 17:30:34 -0600 (Tue, 30 Jan 2007) | 2 lines

Add documentation for using cdr_pgsql.  (issue #8942, lters)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53000 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 23:30:59 +00:00
Joshua Colp 1fda861ff8 Make 'H' command do as advertised and add 'E' and 'V' commands to ExternalIVR. (issue #8165 reported by mnicholson)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51592 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 04:45:43 +00:00