Commit Graph

449 Commits

Author SHA1 Message Date
Kevin P. Fleming dcccc2ed71 don't rely on default search paths for finding local include files
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22438 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-25 18:29:02 +00:00
Luigi Rizzo 36807ad092 wrong path in include file.
Maybe it compiled on some platform because of extra -I
statements in the Makefiles.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22414 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-25 17:08:41 +00:00
Luigi Rizzo d85048d692 fix variable declaration in the middle of a block
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22413 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-25 17:06:37 +00:00
Kevin P. Fleming 5f58cc8770 Merge Steve Murphy's (murf) complete re-implementation of AEL, which is now no longer considered experimental :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 17:41:27 +00:00
Kevin P. Fleming 574e14cbea Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 17:11:45 +00:00
Luigi Rizzo e43bc6634d This rather large commit changes the way modules are loaded.
As partly documented in loader.c and include/asterisk/module.h,
modules are now expected to return all of their methods and flags
into a structure 'mod_data', and are normally loaded with RTLD_NOW
| RTLD_LOCAL, so symbols are resolved immediately and conflicts
should be less likely.  Only in a small number of cases (res_*,
typically) modules are loaded RTLD_GLOBAL, so they can export
symbols.
 
The core of the change is only the two files loader.c and
include/asterisk/module.h, all the rest is simply adaptation of the
existing modules to the new API, a rather mechanical (but believe
me, time and finger-consuming!) process whose detail you can figure
out by svn diff'ing any single module.

Expect some minor compilation issue after this change, please
report it on mantis http://bugs.digium.com/view.php?id=6968
so we collect all the feedback in one place.

I am just sorry that this change missed SVN version number 20000!



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14 14:08:19 +00:00
Kevin P. Fleming f515078c53 Merged revisions 19345 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r19345 | kpfleming | 2006-04-11 16:14:42 -0500 (Tue, 11 Apr 2006) | 2 lines

don't destroy the entire dialplan during 'reload', just atomically replace it like 'extensions reload' does (issue #6047)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 21:18:27 +00:00
Kevin P. Fleming f10f427d49 since the module API is changing, it's a good time to const-ify the description() and key() return values
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-08 22:01:19 +00:00
Luigi Rizzo 08dfc15553 whitespace and formatting fix postponed from last commit:
fix indentation of a large function, localize some variables
and add/remove whitespace where needed.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17827 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 14:40:47 +00:00
Luigi Rizzo 25a61b9e08 split pbx_load_module so we can reduce the indentation depth.
Also convert to MOD_1 style.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17825 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 14:23:37 +00:00
Luigi Rizzo 38f14cbca7 use FREE instead of free as pointer to the destructor function.
This way the MALLOC_DEBUG code will always get the correct argument.

(bug introduced in SVN15818)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17824 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 14:02:19 +00:00
Tilghman Lesher 756c7cbb12 Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05 17:44:44 +00:00
Luigi Rizzo 94b886650c fix formatting
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-31 09:53:05 +00:00
Luigi Rizzo ad47951739 minor code simplifications - no need to use temporary
variables.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-31 09:50:54 +00:00
Luigi Rizzo 6c232811c0 as discussed with Mark a few weeks ago, the 'newstack' argument
in pbx_exec is always 1 so it can be removed.

This change also takes away ast_exec_extension(), and lets all
switch functions (exists, canmatch, exec, matchmore) all use the same
prototype, which makes the code a bit cleaner.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 21:29:39 +00:00
Olle Johansson 16728da6a7 Whitespace fix forgotten by someone who added a note about needing to fix this...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 20:08:14 +00:00
Luigi Rizzo 4ca73f8ae4 as reported in mantis #6066, fix a bunch of cli bugs and
inconsistencies.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 22:44:55 +00:00
Russell Bryant 7298d3feb3 Merged revisions 15658 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r15658 | russell | 2006-03-28 13:09:05 -0500 (Tue, 28 Mar 2006) | 2 lines

fix the order in which for loops are expanded (issue #6810)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 18:13:53 +00:00
Luigi Rizzo d0bc6c20a7 - remove an unnecessary cast and recomputation of (timeout - now);
- remove useless recomputations of strlen(word) in a loop, and
  normalize the form of complete_peer_helper();
- move LOCAL_USER_ADD() to after the verification of arguments,
  thus removing the need for one LOCAL_USER_REMOVE() call.

The three chunks of the patch are fully disjoint.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 15:19:32 +00:00
Olle Johansson acfc219733 Reverting revision 10998 that was accidentaly committed to trunk. My apologies.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-24 10:50:43 +00:00
Olle Johansson dd5222fd30 Update to trunk
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-24 10:17:40 +00:00
Kevin P. Fleming 302c943001 add 'consumed' argument to ast_get_time_t, so callers can know how many characters were used in the parser
update pbx_dundi to use ast_get_time_t
eliminate some compiler warnings


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-23 17:13:57 +00:00
Mark Spencer c3447c7cce Fix a few compile warnings (turned errors) and disable -Werror on the
normal build.  If people want this they can turn it on, and don't anyone 
turn it on by default until you fix building on GCC 4.x


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10842 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-23 04:38:38 +00:00
Russell Bryant a0d438fb6c remove the uses of the deprecated STANDARD_LOCAL_USER
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-15 20:11:56 +00:00
Russell Bryant 2f2530b8e6 remove LOCAL_USER_ACF_ADD since it is now the same as LOCAL_USER_ADD
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9800 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-13 20:12:50 +00:00
Kevin P. Fleming e7c198453d ensure that dependencies are rebuilt after 'make update' so that builds don't break when files are removed/renamed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-12 16:52:42 +00:00
Kevin P. Fleming 96bf384e7d major dialplan functions update
deprecate LANGUAGE() and MUSICCLASS(), in favor of CHANNEL()


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-12 04:28:58 +00:00
Russell Bryant 452f87a465 Merged revisions 9609 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r9609 | russell | 2006-02-11 14:23:20 -0500 (Sat, 11 Feb 2006) | 2 lines

fix memory leak from not destroying the scheduler context on module unload

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9610 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 19:31:11 +00:00
Russell Bryant 95151cead2 Merged revisions 9581 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r9581 | russell | 2006-02-11 13:15:00 -0500 (Sat, 11 Feb 2006) | 2 lines

now that CDR is a loadable module, don't depend on it elsewhere (issue #6460)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 18:31:59 +00:00
Kevin P. Fleming 407d3c289c use auto-build for pbx modules
correct install variable for format modules


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 17:48:44 +00:00
Matt O'Gorman 7d03c33e0a Allows for user to uninstall asterisk binaries
bug 6177


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01 18:39:41 +00:00
Russell Bryant 6f71e1178e constify arguments in more places where strings should not be modified (issue #6286)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-18 22:17:31 +00:00
Kevin P. Fleming 065a368463 remove some more deprecated (pre-1.2) stuff
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8157 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-17 23:45:05 +00:00
Russell Bryant 4a7cec937d remove redundant CFLAGS for BSD which are already set in the main Makefile (issue #6250)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8101 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-16 17:51:35 +00:00
Tilghman Lesher 335cd7d3a2 Merged revisions 7908 via svnmerge from
/branches/1.2


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7909 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-09 20:12:07 +00:00
Tilghman Lesher 32f05bfa95 Merged revisions 7848 via svnmerge from
/branches/1.2


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-07 07:31:08 +00:00
Tilghman Lesher a84633ba26 Merged revisions 7831 via svnmerge from
/branches/1.2


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-06 00:36:12 +00:00
Russell Bryant ef1ce7aec9 Merged revisions 7634 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7634 | russell | 2005-12-26 13:19:12 -0500 (Mon, 26 Dec 2005) | 2 lines

cast time_t to an int in printf/scanf (issue #5635)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-26 18:35:28 +00:00
Tilghman Lesher 84d98f6b84 Merged revisions 7577 via svnmerge from
/branches/1.2


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-21 19:24:56 +00:00
Russell Bryant ec05153ac4 convert most of the option_*'s to a single ast_flags structure. Also, fix some
formatting, remove some unnecessary casts, and other little code cleanups.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-04 20:40:46 +00:00
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Kevin P. Fleming c14588af86 remove remaining .cvsignore files
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:09:49 +00:00
Josh Roberson c203681525 Make conform to coding guidelines... thanks drumkilla :)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7145 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-20 10:32:28 +00:00
Josh Roberson 39407c4366 issue #5806
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-20 06:59:42 +00:00
Kevin P. Fleming 492087f45f issue #5761
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-16 17:16:23 +00:00
Russell Bryant d8dfa4434d finish merging doxygen updates from issue #5605
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-14 19:00:38 +00:00
Mark Spencer 8f965a06cb Never call load_module / unload_module
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7093 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-13 02:19:14 +00:00
Kevin P. Fleming adb02d0107 issue #5354
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-11 00:14:13 +00:00
Kevin P. Fleming 829447c811 issue #5701
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-10 23:28:55 +00:00
Russell Bryant 987b87662c make app_queue 1.2 jump compliant (issue #5580)
add missing includes of stdio.h
remove some unused and duplicate headers


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 04:48:00 +00:00
Kevin P. Fleming a0a9769616 issue #5648
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 01:55:31 +00:00
Russell Bryant 31a804b97c issue #5605
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-06 15:09:47 +00:00
Kevin P. Fleming 7ffb604a2f issue #4678
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01 21:53:30 +00:00
Kevin P. Fleming 8fb55e2478 fix various bugs related to list handling of channel variables (issue #5548)
use nolock lists for channel variables, since no locks are needed (these lists are either temporary or protected by the channel's own lock)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 15:34:11 +00:00
Russell Bryant b5326f99fc use ast_skip_blanks in pbx_ael
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 18:03:44 +00:00
Russell Bryant 3453e3efa5 Doxygen documentation update from oej (issue #5505)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24 20:12:06 +00:00
Russell Bryant 65cb05b658 clean up DUNDiLookup application
implement 'b' option to bypass DUNDi cache for the lookup
add DUNDILOOKUP dialplan function to eventually replace the application
mark DUNDiLookup application as deprecated
don't register all of the DUNDi goodies until after everything has initialized


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6825 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-18 21:03:49 +00:00
Kevin P. Fleming a3df4cdda2 fix typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-18 20:48:34 +00:00
Kevin P. Fleming 053326ac85 ensure that priorityjumping option returns to its default during reload if it is no longer specified in extensions.conf
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6771 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 22:55:28 +00:00
Mark Spencer 7c99490b3a Fix ael if, while, else (bug #5370)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6756 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 15:36:29 +00:00
Mark Spencer bdef480cdd Back out improper freeing of variables
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-12 20:18:13 +00:00
Russell Bryant 460655f31c allow semicolons to be escaped in call files (issue #5407)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6742 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-11 20:52:37 +00:00
Mark Spencer 1ae71d0b41 Fix memory leak in outbound calls (bug #5406, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-11 20:44:23 +00:00
Russell Bryant 779d033f21 move process_quotes_and_slashes to utils.c since it is used by both pbx_ael and pbx_config
clean up some formatting
remove some commented out reference code
move unload_module in pbx_ael down to be with the rest of the standard module functions


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-23 02:57:14 +00:00
Russell Bryant afb00fce12 Use Goto instead of GotoIf when jumping over the else block (issue #4660)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-23 02:53:53 +00:00
Kevin P. Fleming 5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 20:46:50 +00:00
Kevin P. Fleming 1e854ea773 remove useless buffer initializations (issue #5134)
convert pbx_dundi to use ast_copy_string) (issue #5134)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 21:01:31 +00:00
Kevin P. Fleming 6543de5620 use native-sign characters for strings (issue #5105)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-02 19:15:03 +00:00
Kevin P. Fleming f16cd5f39c use matching char types for strings (issue #5106)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6506 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-02 19:12:35 +00:00
Kevin P. Fleming 9519f6c5f4 clean up, use make functions instead of subshells, remove unused stuff
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 02:54:02 +00:00
Kevin P. Fleming 27dda09b0f work around parsing problem by using GotoIf() (issue #4876)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6425 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-26 20:10:17 +00:00
Kevin P. Fleming ad21be9cc7 ignore equals-signs inside parens (issue #5022)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-26 20:08:28 +00:00
Mark Spencer d5a51058cc Fix AEL max character bug (bug #4837)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6259 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-03 02:26:19 +00:00
Kevin P. Fleming 5cc0413c54 add a global option to disable priority jumping in applications (when they get updated), settable in extensions.conf
change app_dial to use 'j' to _ENABLE_ priority jumping if it has been globally disabled


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-26 16:29:56 +00:00
Russell Bryant a9c7f50a09 Allow manager originate to specifiy more than one variable to be set.
Allow manager originate and spool files to set writable dialplan functions,
including those that use the pipe symbol to seperate arguments.
Allow CDR dialplan function to be able to set the account code and userfield.
This deprecates the use of the Account header in manager originate and spool
files, as well as the SetAccount and SetCDRUserField applications.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 23:24:51 +00:00
Kevin P. Fleming 22b0f5d306 add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 23:00:47 +00:00
Russell Bryant da1d0363ca get rid of compiler warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6142 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 16:32:44 +00:00
Russell Bryant 3c7779c766 fix some indentation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 00:15:14 +00:00
Kevin P. Fleming f268ea2b3c make CLI output use singular/plural when appropriate (bug #4654)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-07 22:32:20 +00:00
Kevin P. Fleming 232e7869e0 don't force autofallthrough to on (bug #4599)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6028 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 19:22:58 +00:00
Kevin P. Fleming 5769e90427 update to current loader API (bug #4574)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-24 02:33:14 +00:00
Kevin P. Fleming c4be3dfb53 make query cache time configurable (bug #4524)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-21 00:58:31 +00:00
Kevin P. Fleming 0e9d920a60 move tools used during build into build_tools subdirectory
clean up Makefile headers


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5942 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-20 17:26:08 +00:00
Mark Spencer 33263739ca Oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-17 14:33:29 +00:00
Kevin P. Fleming fb6f36387f dueling commits, mark won!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5923 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-17 12:56:35 +00:00
Mark Spencer 3ba6894cd5 AEL minor fixes (bug #4539)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-17 12:53:26 +00:00
Mark Spencer e0f057820a Add Asterisk Extension Language support (AEL) from Astricon talk
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5918 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-16 08:47:06 +00:00
Kevin P. Fleming e5e64bfd41 header ordering fixes for FreeBSD (pending a global merge into asterisk.h) (bug #4484)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5876 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-07 17:06:33 +00:00
Kevin P. Fleming 2b8338cb52 more file version tags
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:12:19 +00:00
Kevin P. Fleming 4f299de252 major Makefile and build process improvements, including removal of all hardcoded paths (modules must now use run-time paths as they should) (bug #4116)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 03:04:58 +00:00
Kevin P. Fleming ce89d985f2 allow global variables to be reset on reload (defaults to off) (bug #4385)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5825 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03 02:27:08 +00:00
Josh Roberson 43866b0ef2 Change define __OSX__ to more appropriate __Darwin__ (in light of Darwin being open sourced, and able to run on x86, OSX isn't really suitable)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-25 21:56:50 +00:00
Russell Bryant 3c98814bb5 add 'dontwarn' option to asterisk.conf to appease the whining masses :p (bug #4320)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5723 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 01:57:19 +00:00
Russell Bryant 364e179b78 check to see if a comma or an open paren came first when splitting the application
from the application arguments (bug #4306)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5721 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 01:18:37 +00:00
Russell Bryant 7d3f5785e9 fix some more typos and clarity issues
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5643 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-12 20:47:23 +00:00
Russell Bryant e82344f7e0 fix a little typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-12 20:36:40 +00:00
Mark Spencer 00bcbaaa05 Fix gethostname calls (bug #4198, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08 16:44:25 +00:00
Kevin P. Fleming 0fddec0421 remove obsolete module (still available in CVS history if needed) (inspired by bug #4127)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-05 01:03:24 +00:00
Kevin P. Fleming 8634ef9e4a don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 17:00:33 +00:00
Kevin P. Fleming a9831e75ee perform global variable substitution before splitting extension and cidmatch when reading in dialplan (bug #4035)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5515 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-27 04:52:58 +00:00
Kevin P. Fleming 1f9ab2380a use double-quotes instead of angle-brackets for non-system include files (bug #4058)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21 06:02:45 +00:00
Mark Spencer fdff1f69b5 Add warning for _. match (bug #4032)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5471 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-15 06:08:47 +00:00
Kevin P. Fleming b052fe894b ensure that the random number generator(s) are always seeded with a different value during Asterisk startup
don't reinitialize random number generators in other modules
(bug #4017)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-13 04:47:39 +00:00
Kevin P. Fleming 3da361ee77 optimize file reading in pbx_spool (bug #3927)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 21:31:12 +00:00
Mark Spencer 6e764dc097 Fix spool files that lack their last return
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 03:41:08 +00:00
Mark Spencer a0a2592025 Fix cross compiling (bug #3868)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-27 22:39:17 +00:00
Russell Bryant f0c880d6f6 silly typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5237 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-23 21:45:05 +00:00
Mark Spencer 18d9b26cf9 Rework channel structure to eliminate "pvt" portion of channel (bug #3573)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-04 06:47:24 +00:00
Josh Roberson d271dfa7af Fix build on OpenBSD and fix small typo. (Bug #3502)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4959 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-04 00:14:10 +00:00
Mark Spencer ab0566923b Include uniqueid in response for ManagerOriginate stuff (bug #3439)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4948 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-02 02:54:15 +00:00
Mark Spencer 9ae7f2430a Add dundi show peers summary stats (bug #3474)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-01 03:00:28 +00:00
Mark Spencer 5f726ad8c7 Merge config updates (bug #3406)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-25 06:10:20 +00:00
Russell Bryant 0c30452423 update copyright headers for 2005
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-21 07:06:25 +00:00
Mark Spencer 278a0a0891 Implement eswitch for evalulating variables at runtime (bug #3168)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4780 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-13 05:14:56 +00:00
Mark Spencer 92eb0c2018 More flagification, courtesy drumkilla (bug #3280)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-10 14:46:59 +00:00
Mark Spencer 8db8179f97 Fix DUNDi segfault
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4693 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-06 06:07:44 +00:00
Mark Spencer 7abe9e6c16 List improvements from kpfleming (bugs #3166,#3140)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-01 21:26:37 +00:00
Mark Spencer cecda3fb67 Speed up ast_list macros (bug #3135)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-23 15:11:46 +00:00
Mark Spencer a519477534 Fix Realtime to work with MySQL and Postgres both (bug #3029)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4510 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-21 01:39:49 +00:00
Mark Spencer 61f25c3e92 Merge twisted's OSX compat fix (bug #3090)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-19 17:33:19 +00:00
Mark Spencer 9d40b8ee80 Merge slimey's Solaris compatibility (with small mods) (bug #2740)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-14 23:36:30 +00:00
Mark Spencer dc074b7029 Merge bkw's formatting and variable substitition (bug #2984)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-06 17:21:44 +00:00
Mark Spencer 8f2b687a95 Make realtime pbx understand patterns.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4326 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-24 03:07:08 +00:00
Mark Spencer a69c0016da Realtime improvements
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-22 18:39:40 +00:00
Mark Spencer b48d2563ae Fix missing arguments
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-22 14:33:42 +00:00
Mark Spencer 536d9d370e Minor realtime improvements
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-22 05:03:03 +00:00
Mark Spencer fdfd69cca0 Add first pass at realtime
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-22 03:25:27 +00:00
Mark Spencer 06221c4ec5 Fix leaky fd issue (bug #2832)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-11 14:40:14 +00:00
Mark Spencer 6cb38ac23a Add features (incomplete, highly experimental), fix DundiLookup app, debug improvements (bug #2800)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-06 21:33:01 +00:00
Mark Spencer 50010fd3d0 Fix "killa" console issue
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4156 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-03 22:04:40 +00:00
Mark Spencer 9941b34dd8 Fix locking issues
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-02 21:56:01 +00:00
Mark Spencer 5d93698d99 Fix off-by-one buglet
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-02 21:38:38 +00:00
Mark Spencer bec04aa020 Misc code fixes (bug #2762)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4131 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-31 23:17:11 +00:00
Mark Spencer da13a5c885 Oopsies...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-29 22:31:36 +00:00
Mark Spencer f38c6ee7fa Make retrans timer less aggressive
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-29 21:47:42 +00:00
Mark Spencer c46c83bc96 Complete DUNDi push (first pass) support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4125 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-29 13:04:37 +00:00
Mark Spencer 4c0c0db318 Preliminary "PRECACHE" / push support...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4110 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-27 13:58:31 +00:00
James Golovich 286ea2461d Use same defines for NetBSD as FreeBSD in pbx_dundi.c (bug 2716)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-24 17:53:10 +00:00
James Golovich 8009d53690 Pass format string
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-24 06:44:37 +00:00
Mark Spencer 16e8f4ca35 Allow "dundi flush" to flush statistics too
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4077 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-24 06:04:48 +00:00
Mark Spencer 11dfba3120 Add cache bypass mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4075 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-24 05:51:57 +00:00
Mark Spencer 49da32e637 Oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4074 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-24 05:08:45 +00:00
Mark Spencer 76b5be4c87 DUNDi performance enhancments and metrics for average lookup time.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-24 04:54:42 +00:00
Mark Spencer 382bbb68cc Add missing pbx_loopback file...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4071 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-24 03:14:44 +00:00
Mark Spencer 82cbf28993 Add "Loopback" switch
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-24 02:53:24 +00:00
Mark Spencer 69a8f90814 Fix for FreeBSD (netbsd too?) (bug #2702)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-23 21:41:17 +00:00
James Golovich 1890e5d87e Cleanup dundi-parser.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-23 04:53:12 +00:00
Mark Spencer 8c4657bddf Work on precaching
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4045 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-22 14:19:11 +00:00
Mark Spencer a73fc9a283 Disable mac lookup, fix compile on NetBSD (bug #2680)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4040 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-20 12:47:03 +00:00
Mark Spencer 06dfca5d24 Add DUNDi.... (http://www.dundi.com)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4033 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-18 21:45:13 +00:00
Mark Spencer 996c8e7126 Add autofallthrough mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-16 19:46:02 +00:00
Mark Spencer 9b702cc543 Don't build GTK console by default
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3966 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-09 21:04:31 +00:00
Mark Spencer b4142e0cd2 Allow you to use labels with + to be nice to Tilghman.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-03 16:15:44 +00:00
Mark Spencer 027f79d840 Add '+foo' option, update sample config
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3888 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-03 05:08:51 +00:00
Mark Spencer fce17976e9 Major PBX revamps (including labels, update examples)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-03 04:19:59 +00:00
Mark Spencer 34988d1ce9 Allow "n" or "next" and "s" or "same" in dialplan logic priorities
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3885 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-02 20:43:16 +00:00
Mark Spencer 15c6bf0860 Add iax2 parsing for TNS/TON/PRES
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-02 01:56:08 +00:00
Mark Spencer 04fc29c8b2 Huge callerid rework (might break H.323, others)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3874 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-02 00:58:31 +00:00
Mark Spencer 64b9a563f2 Make menu interruptible (bug #2377), Also fix PBX "add extension" CLI (bug #2289)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3732 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-07 01:22:57 +00:00
Mark Spencer de3528f0be Save CID and switches in "save dialplan" command (bug #2279)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-21 18:55:39 +00:00
Mark Spencer 7acee329e1 Merge BSD stack size work (bug #2067)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-08 17:15:02 +00:00
Mark Spencer 044ad2e2e7 Merge remaining audit patch (save dlfcn.c)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-14 13:57:15 +00:00
Mark Spencer fb3f2062fa Fix silly pbx spool buglet (bug #2007)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-09 21:34:24 +00:00
Mark Spencer 9b32ff1eeb Minor formatting fixes for pbx_wilcalu
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-29 20:09:43 +00:00
James Golovich 8801247d76 Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22 18:49:00 +00:00
Mark Spencer 8c4cacbd58 Use ' instead of " for quoting in extensions.conf (bug #1872)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-21 14:20:03 +00:00
James Golovich d88a461764 Cleanup formatting
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-14 22:15:21 +00:00
James Golovich db8da85266 Cleanup formatting
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-14 22:05:12 +00:00
James Golovich bc80b3130d Cleanup formatting
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3211 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-14 22:03:59 +00:00
Mark Spencer c53e76528d Allow escaping of commas as well as ability to use quotes (bug #1826)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-14 21:43:16 +00:00
Mark Spencer d208532e6e x86-64 compile fixes and cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-13 21:25:10 +00:00
Mark Spencer 727abcdec7 Merge FreeBSD locking fixes (bug #1411)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-09 01:45:08 +00:00
James Golovich 29718a5001 ast_strlen_zero changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-08 08:07:47 +00:00
Mark Spencer f2ccbc81d9 Internationalize say_date_time, fix small pbx_config seglet (bug #1537)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-03 04:38:31 +00:00
James Golovich 0122a3ea08 Fix 'remove extension' completion
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2838 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-01 05:50:51 +00:00
Mark Spencer ce44c6ec41 More select/poll updates for various applications
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2762 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-26 03:02:49 +00:00
James Golovich dc383a7ee7 Make outgoing call spool only consider # a comment if at the beginning of a line or following whitespace (bug 1346)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2625 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-05 18:03:40 +00:00
James Golovich aacc5e108b Only update utime in pbx_spool.c if the file exists
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2621 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-05 02:47:48 +00:00
James Golovich 1cf0d5ad9d Make pbx_spool update utime with every safe_append
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-05 00:00:23 +00:00
Mark Spencer 71e80e5f62 Leave retry time alone, handle "opaque" stuff in message.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-31 08:00:26 +00:00
Mark Spencer 79668f0624 Correctly handle call flow with outgoing queue, avoiding retries while call acti
ve (bug #1018)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-20 21:13:12 +00:00
James Golovich 200ae67551 Update spool file times after we close the file (bug 1018)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-15 05:38:41 +00:00
James Golovich a23c89dd75 Fix some comments in pbx.c and pbx_config.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2223 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-23 05:37:24 +00:00
Mark Spencer 83344af1c2 Fix add include (bug #966) and small update to bug 890
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2103 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-31 20:22:25 +00:00
Mark Spencer 695422d698 Various minor cleanups (bug #931)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-28 21:32:48 +00:00
Mark Spencer 1c838758c3 Save global variables across "save dialplan" (bug #426)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-28 01:29:47 +00:00
Jeremy McNamara 171865492f revert half fixed bug (426)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-12 05:48:20 +00:00
Mark Spencer ee342cc3b8 Add ww's improved syslog support (bug #587)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-12 05:05:35 +00:00
Mark Spencer 3171dea6ef scanf != sscanf
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1816 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-03 02:45:24 +00:00
Mark Spencer 250e28aaf4 Ignore leading spaces before application
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-23 22:45:42 +00:00
Mark Spencer 143b3de606 Be less picky about spaces, and recognize invalid priorities
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-23 22:40:37 +00:00
Martin Pycko 69bef6678a Fix a typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1761 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-17 23:53:22 +00:00
Mark Spencer 4ce283ff18 Make it build and run on MacOS X
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1673 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-26 18:50:49 +00:00
Mark Spencer 4d0e046a06 Verify includes, and give warnings if invalid (bug #429)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1667 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-25 17:50:06 +00:00
Mark Spencer b5bcecce5d Add DESTDIR support (bug #200)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-25 17:27:53 +00:00
Martin Pycko b239d0de27 Pass accountcode to outgoing spool call when originated with Context&Extension&Priority
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-01 21:01:31 +00:00
Mark Spencer a97186b2f1 Fix some printfs to debugs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-29 21:35:19 +00:00
Mark Spencer ac19ba51bd Fix small logic errors (bug #242)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-10 05:24:49 +00:00
Mark Spencer 479a67e629 BSD portability enhancements (bug #234)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-08 16:48:07 +00:00
Mark Spencer aaf83cc86f Merge james's patch (bug #7)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-25 22:40:14 +00:00
Mark Spencer d3bdd36e46 depend stuff
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-19 16:42:30 +00:00
Mark Spencer 37b7bccc61 Asterisk:
#72 - Should eliminate probs on VMWI
#41 - Dynamic add survives reload
#73 - Make festival honor its arguments
#93 - Make events on FXO interfaces more logical
#26 - Prefer "bindaddr" to logical address for registrations
??? - Record crashes AGI


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-15 04:38:39 +00:00
Mark Spencer 1bb58646de Totally revamp thread debugging to support locating and removing deadlocks
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-13 15:25:16 +00:00
Mark Spencer 601df24372 Remember they have to be zero filled
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-03 19:26:09 +00:00
Mark Spencer cd5a6fd5d8 Allow extension names, include context, and switches to use global variables
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1256 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-03 18:39:51 +00:00
Mark Spencer e707a89e63 Allow globals in extensions.conf to reference previous variables
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-03 18:33:50 +00:00
Martin Pycko f4341a13d0 Add the possibility to delete all the contexts registered by a certain registrar with ast_merge_and_delete routine; make it the default behaviour when reloding extensions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-14 17:16:47 +00:00
Martin Pycko cbd33586ac Add a safe way to reload extensions config (don't change/delete the current extenions until extensions.conf was parsed and the new set of extensions is created) and add "extensions reload" CLI command so we could reload only extensions.conf config file without touching config files of other modules
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-14 15:33:21 +00:00
Mark Spencer 81a770b93f Save dialplan in new format
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-30 14:32:18 +00:00
Mark Spencer 0ad12d0e0b Fix substantial typo in pbx_config
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-14 13:15:28 +00:00
Mark Spencer 27ba5b8b62 Oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@977 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-08 03:47:01 +00:00
Mark Spencer 4228090f88 Add and update .cvsignore files for .depend
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@976 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-08 03:46:43 +00:00
Mark Spencer 1a3cd8e6ad dep fix, pbx fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@962 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-06 00:00:20 +00:00
Mark Spencer 278d8a7319 Make pbx config work with astmm
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@935 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-29 17:38:46 +00:00
Mark Spencer 80e0c565cd Retrieve confmute status from zap if it supports it
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-28 22:00:30 +00:00
Mark Spencer 209a6d00f3 Fix pbx_wilcalu from occupying 100% CPU now that it's nonblocking, and add malloc debug
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@927 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-28 19:58:43 +00:00
Mark Spencer c6179991b8 Make wilcalu non-blocking
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-28 01:44:40 +00:00
Mark Spencer 6eeee2496b More BSD enhancements
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-27 18:13:11 +00:00
Mark Spencer a71b49f405 More OpenBSD patches
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@890 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-23 19:13:35 +00:00
Mark Spencer 89e0dd94a2 Add commonly used include headers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-23 19:09:13 +00:00
Mark Spencer f8755643cd Merge enhanced status changes, add SIP subscribe from Andre
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-06 18:19:51 +00:00
Mark Spencer e6918cb42e Merge hint patch, add new variables, and misc. PBX cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-03-30 22:55:42 +00:00
Matteo Brancaleoni 2c64ccad0f Tue Mar 18 07:00:01 CET 2003
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@652 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-03-18 06:00:18 +00:00
Matteo Brancaleoni 61e446f04b dom mar 16 23:37:23 CET 2003
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-03-16 22:37:31 +00:00
Matteo Brancaleoni 52a7b81e24 Thu Feb 13 07:00:00 CET 2003
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-02-13 06:00:14 +00:00
Matteo Brancaleoni 2bd936105e mer feb 12 14:56:57 CET 2003
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@612 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-02-12 13:59:15 +00:00
Mark Spencer 6315850d11 Version 0.3.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-02-04 15:48:42 +00:00
Mark Spencer 63ff352808 Version 0.3.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@593 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-01-30 15:03:20 +00:00
Mark Spencer 1650f8e882 Version 0.3.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2002-10-02 16:20:41 +00:00
Mark Spencer 5bbb08f041 Version 0.2.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2002-07-26 15:44:05 +00:00
Mark Spencer d233fd5d12 Version 0.2.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@484 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2002-07-12 09:03:50 +00:00
Mark Spencer ceab2dfcf9 Version 0.1.12 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@469 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2002-06-28 15:15:11 +00:00
Mark Spencer d5930d1fe8 Version 0.1.12 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2002-05-13 22:29:39 +00:00
Mark Spencer 71355b3fe0 Version 0.1.9 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2001-09-12 21:29:54 +00:00
Mark Spencer 707be9ed74 Version 0.1.9 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2001-07-26 20:24:30 +00:00
Mark Spencer ad0aa8091a Version 0.1.8 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2001-04-23 16:50:12 +00:00
Mark Spencer 58666d1759 Version 0.1.8 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@291 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2001-04-17 17:31:06 +00:00
Mark Spencer a71a6a44d3 Version 0.1.8 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2001-04-17 16:49:37 +00:00
Mark Spencer 73bec54be0 Version 0.1.8 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2001-04-12 17:53:15 +00:00
Mark Spencer 5d75c05877 Version 0.1.7 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2001-03-30 16:31:28 +00:00
Mark Spencer 22318b627d Version 0.1.7 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2001-03-07 00:52:22 +00:00
Mark Spencer e69da9d0ab Version 0.1.3 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2000-05-02 19:18:58 +00:00
Mark Spencer aa07102df2 Version 0.1.2 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2000-01-02 20:59:00 +00:00
Mark Spencer 42d4c7991c Version 0.1.1 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@134 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1999-12-11 20:09:45 +00:00
Mark Spencer f237713cab Version 0.1.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1999-12-05 07:28:29 +00:00
Mark Spencer 015bfa5f1a Version 0.1.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1999-11-12 06:29:40 +00:00
Mark Spencer f1d481cdc3 Version 0.1.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1999-10-27 02:25:34 +00:00
Mark Spencer a62da671af Version 0.1.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1999-10-27 02:12:33 +00:00
Mark Spencer 891ed0c02a Version 0.1.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1999-10-13 04:15:49 +00:00