Commit Graph

107 Commits

Author SHA1 Message Date
Jason Parker ed690fc348 Switch dundi to new tos config format.
Remove old unused defines for old style.

Closes issue 10860, patch by IgorG.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-15 23:20:40 +00:00
Tilghman Lesher c121ed6bec Change the IAXPeers command to have manager-style output, instead of CLI-style output (closes issue #8254)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-10 20:03:51 +00:00
Tilghman Lesher f5a14167f3 Support better rotation of log files to be more like system logging (closes issue #10398)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-28 20:03:48 +00:00
Steve Murphy 9836efb5fb This commit closes bug 7605, and half-closes 7638. The AEL code has been redistributed/repartitioned to allow code re-use both inside and outside of Asterisk. This commit introduces the utils/conf2ael program, and an external config-file reader, for both normal config files, and for extensions.conf (context, exten, prio); It provides an API for programs outside of asterisk to use to play with the dialplan and config files.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-15 19:21:27 +00:00
Tilghman Lesher ce26bea24a Add func_lock, which creates dialplan mutexes, and note that the Macro apps are now deprecated.
(Closes issue #10264)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77834 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-31 16:44:25 +00:00
Tilghman Lesher a1fdc1c769 Missed one conversion to comma delimiter (thanks, Juggie) and add documentation on the
change to the Local channel name.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-23 20:27:26 +00:00
Tilghman Lesher 55b1ee298e Merge the dialplan_aesthetics branch. Most of this patch simply converts 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: https://origsvn.digium.com/svn/asterisk/trunk@76703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-23 19:51:41 +00:00
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
Steve Murphy 94b934c8f6 Merged revisions 72933 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r72933 | murf | 2007-07-02 14:16:31 -0600 (Mon, 02 Jul 2007) | 1 line

support for floating point numbers added to ast_expr2 $\[...\] exprs. Fixes bug 9508, where the expr code fails with fp numbers. The MATH function returns fp numbers by default, so this fix is considered necessary.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72940 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-02 21:50:15 +00:00
Steve Murphy abf614c5a1 Moved those comments from UPGRADE.txt to CHANGES. Ooops.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70141 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-19 21:58:51 +00:00
Steve Murphy f86d192b95 Some UPGRADE.txt comments to cover some enhancements added today.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70140 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-19 21:16:21 +00:00
Tilghman Lesher f314fa039b Issue 8971 - Allow DISA input to be ended with a '#'.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11 22:21:28 +00:00
Steve Murphy 3ee0077f04 Added a small bit of code to support the SNOM 360's Record button. Made the find_feature func in res_features.c public, so I could use it to find the automon dial sequence as configured by the user. When the INFO packet has a Record: header with on/off, the sequence is sent as consecutive DTMF frames on the phone's channel, triggering the automon functionality. The user has to configure the automon in features.conf, and set up his dialplan accordingly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-04 16:37:23 +00:00
Russell Bryant b6b1bf3213 Merge changes from team/russell/events
This set of changes introduces a new generic event API for use within Asterisk.
I am still working on a way for events to be shared between servers, but this
part is ready and can already be used inside of Asterisk.

This set of changes introduces the first use of the API, as well.  I have
restructured the way that MWI (message waiting indication) is handled.  It is
now event based instead of polling based.  For example, if there are a bunch
of SIP phones subscribed to mailboxes, then chan_sip will not have to
constantly poll the mailboxes for changes.  app_voicemail will generate events
when changes occur.

See UPGRADE.txt and CHANGES for some more information on the effects of these
changes from the user perspective.  For developer information, see the text in
include/asterisk/event.h.

As always, additional feedback is welcome on the asterisk-dev mailing list.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62292 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-28 21:01:44 +00:00
Dwayne M. Hubbard c3ae939ddc updated UPGRADE.txt to include format_wav changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 16:30:04 +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
Tilghman Lesher f475a5fe0e Deprecate SetCallerPres application
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53142 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-03 22:06:46 +00:00
Steve Murphy ad06bf844c As per bug 8859 (Add option to revert old ChanIsAvail() with 's' option behavior), this update makes the 't' option available, which calls ast_parse_device_state instead of ast_device_state. This option will not dive into the channel driver to find the status of the device (which could be good if sip devicestate isn't returning full status, for various reasons).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 20:35:54 +00:00
Tilghman Lesher 94d71436ec 1. Rename 'maxmessage' to 'maxsecs' to differentiate from 'maxmsg'.
2. Rename 'minmessage' to 'minsecs' for parity.
3. Make 'maxsecs' a per-user option, in addition to global.
(Issue # 8624)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49075 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-31 04:54:20 +00:00
Kevin P. Fleming afbfafa400 make the 'languageprefix' option default to on, and deprecate turning it off
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49000 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 21:18:27 +00:00
Steve Murphy fbcf1ef5db Added a few words to explain the change to AEL concerning Gosub()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47836 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-19 04:22:33 +00:00
Kevin P. Fleming ce40dc579c minor change to test live syncing
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-06 17:27:28 +00:00
Joshua Colp e936f71ff2 First entry! Tell people about the callerid changes with manager.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-03 16:15:28 +00:00
Tilghman Lesher 4a58847fe2 Remove 1.4 changes from UPGRADE.txt, remove deprecated callerid field, remove deprecated SetGlobalVar app
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43444 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-21 20:01:54 +00:00
Kevin P. Fleming cc99b22469 add a warning about name changes on some API calls
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43363 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-20 20:36:19 +00:00
BJ Weschke 7057035ae0 Changes/fixes to the app_waitforsilence app to make it behave more the way the author originally intended for it
to function along with an option to keep backward compatible with "old-style" functionality in 1.2. 
 (#6595 - davetroy reported and patched w/some very minor mods/corrections)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-03 20:23:41 +00:00
Joshua Colp c6977b9983 Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-31 01:59:02 +00:00
Kevin P. Fleming b281acf0f8 change default setting for autofallthrough
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-30 21:44:05 +00:00
Olle Johansson 2c98238fbe Mark ALERT_INFO as deprecated. This can now be done with the sipaddheader() application and
does not need special code in chan_sip any more.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41435 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-30 19:16:53 +00:00
Russell Bryant e68c0ff0be add a note about behavior of the "clid" field in the CDR
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-30 19:07:59 +00:00
Olle Johansson cff8073771 Deprecate USERAGENT
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-24 18:49:35 +00:00
Kevin P. Fleming b1288df748 document Makefile target changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40728 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21 02:54:05 +00:00
Kevin P. Fleming fd0ac387a9 deprecate chan_agent callback mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-19 17:05:43 +00:00
Joshua Colp 3ef02d79a4 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
2006-08-16 16:22:13 +00:00
Olle Johansson 373b633e33 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
2006-08-08 14:47:17 +00:00
Russell Bryant 377ae8d648 add notes on the changes to music on hold handling
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37999 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-19 21:07:14 +00:00
Kevin P. Fleming 4492cbac8d swap the G726-32 format numbers, so that IAX2 connections with prior versions of Asterisk will still work properly
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-13 20:39:34 +00:00
Kevin P. Fleming 4376af0080 actually make the non-standard G726-32 behavior available for SIP clients
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-13 20:35:41 +00:00
Kevin P. Fleming 7b2bd1a069 document the new sound/moh file installation process
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-08 19:48:36 +00:00
Kevin P. Fleming 7e84433270 officially deprecate the 'roundrobin' queue strategy in favor of 'rrmemory'
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-30 17:52:49 +00:00
Tilghman Lesher 92314f96c5 Deprecate SetGlobalVar, replacing it with a dialplan function
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30677 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-28 15:10:19 +00:00
Tilghman Lesher 36e31d864a Notate that QUEUEAGENTCOUNT is deprecated, so it can be removed post-1.4
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-27 18:45:15 +00:00
Russell Bryant fba5d28317 document the changes I made yesterday to the exit behavior of the
AGI applications


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-26 18:33:58 +00:00
Russell Bryant 3e47e08cdc wrap test at 80 characters
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-26 18:25:38 +00:00
Russell Bryant 640285c7a5 add some more text about the build system
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-26 18:19:37 +00:00
Joshua Colp 10467be4c0 attended transfer use transferer context first and set who is transfering at the beginning (issue #6752 reported by moy -- minor mods done by myself)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-26 17:59:29 +00:00
BJ Weschke 6535df3680 app_meetme Muting and Manager API enhancements #6731 (softins w/some minor mods to accomodate recent enum work)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-23 16:35:46 +00:00
Russell Bryant 9d53a3e7f5 - add a UserEvent action that allows a manager client to "broadcast" an event
to all connected manager clients
- update the UserEvent application to use the application argument parsing
  macros and to allow headers to be specified as pipe delimeted arguments
  (issue #5324, original patch by outtolunc, committed patch by Corydon)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 13:29:22 +00:00
Tilghman Lesher d0c36296d2 As requested by kpfleming, renaming messagecount to inboxcount and messagecount2 to messagecount.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 18:21:31 +00:00
BJ Weschke d83bd4d136 Integrate the MixMonitor functionality (introduced in 1.2) as an option for recording queue member conversations with callers. #7084
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 22:02:38 +00:00