Commit Graph

1866 Commits

Author SHA1 Message Date
Matt O'Gorman 7212fa80ad adds new function QUEUE_WAITING_COUNT and a few
warnings if the queue you are looking for in this 
function and other queue functions is not found.
patch from 7036


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22653 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-26 22:04:42 +00:00
Matt O'Gorman 367de1a73d Merged revisions 22596 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2

........
r22596 | mogorman | 2006-04-26 14:18:55 -0500 (Wed, 26 Apr 2006) | 3 lines

do not allow for users to forward voicemail to
themselves, patch from 7001

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-26 19:22:55 +00:00
Matt O'Gorman d5892657fe adds two new applications, exitwhile, and continuewhile
patch from bug 6994.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-26 18:49:07 +00:00
Tilghman Lesher e3f569532f Deprecate prefixed options in voicemail
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 17:20:41 +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
Jim Dixon a83297d85f Added "Operator Services" connection mode for Zap channels, and the 'O' option
in app_dial to support the use of this mode.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-22 11:30:06 +00:00
Luigi Rizzo b560433a36 convert to use ast_stream_and_wait
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-21 20:57:29 +00:00
Luigi Rizzo d4eea1066b convert to use ast_strem_and_wait
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-21 20:51:55 +00:00
Luigi Rizzo 0dbf814a79 - use symbolic constants and macros to play with the debug flag
on the frame counters. Document it in the header file.
- provide a single exit point for a function;
- mark XXX some unclear parts of the code.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-21 14:49:21 +00:00
Luigi Rizzo b5e6162359 more NULL "" equivalence in cid fields.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-21 11:05:54 +00:00
Luigi Rizzo 1a6572c4e6 more NULL "" equivalence,
mark a couple of inconsistencies (missing CallerIDnum,
"unknown" instead of "<unknown>") - there are more of the same.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-21 10:57:03 +00:00
Luigi Rizzo 965ff42bed more NULL "" equivalence in CID fields.
Mark a potentially missing item in managerevent



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-21 10:41:13 +00:00
Luigi Rizzo b9f3e4e0f3 move a replicated block of code in the one place where it belongs.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19 18:15:20 +00:00
Luigi Rizzo bd01d66909 merge two nested 'if' which are really a single block.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19 18:07:19 +00:00
Luigi Rizzo 9476cb356e fix indentation of a large block
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19 18:00:32 +00:00
Luigi Rizzo 501c9e181c start sorting out the duplicated code in the privacy handler
for future removal



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19 17:58:07 +00:00
Luigi Rizzo b3343aecdf merge two nested 'if' which are really a single block.
(indentation still to be fixed)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19 17:29:15 +00:00
Luigi Rizzo 73f2d344fb more localization and variable removal
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21538 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19 16:54:04 +00:00
Luigi Rizzo c9f669e56d more localization of variables
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21537 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19 16:36:15 +00:00
Luigi Rizzo c6a8784e95 localize one more variable;
use ast_strdup as it can handle the NULL argument well.
mark a dubious piece of code with XXX



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21536 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19 16:19:52 +00:00
Luigi Rizzo 0f4a1bc9ac localize some variables
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19 16:10:11 +00:00
Luigi Rizzo 2bdcaa4849 extract a common condition.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19 15:15:03 +00:00
Luigi Rizzo 25eb0525d9 fix indentation of some large blocks after previous changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19 14:53:18 +00:00
Luigi Rizzo 25c6ab22f9 more simplifications - use a local variable c instead of o->chan,
use S_OR as appropriate.

Still need to fix the indentation of some blocks.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21480 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19 14:50:17 +00:00
Luigi Rizzo acf0f038dc more simplifications
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19 14:14:40 +00:00
Luigi Rizzo 3aaaa41609 start cleaning up this code so we can split the 900 lines function
into manageable chunks.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21468 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19 14:02:49 +00:00
Luigi Rizzo d93234c25b add experimental code for new-style "say" application.
The rules for spelling out numbers and dates are in the config
file "say.conf", which can be edited to implement national
or even local language rules.

The new code can be enabled through the cli command
'say load new'
while the old code can be restored with
'say load old'

Eventually, this code should go to a better place,
but for the time being we keep here as it provides
very similar functions.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19 10:27:31 +00:00
Luigi Rizzo c14427878a remove a line that was added by mistake
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21098 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18 13:17:44 +00:00
Tilghman Lesher 8a066de957 Merged revisions 21037 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r21037 | tilghman | 2006-04-18 01:26:04 -0500 (Tue, 18 Apr 2006) | 2 lines

Bug 6984 - off by one error in Random()

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21038 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18 06:29:30 +00:00
Joshua Colp e8a94a71e2 Allow the attachment format to be specified differently for different mailboxes (issue #6961 reported by the ever fabulous Corydon76)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20357 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-15 23:05:18 +00:00
Luigi Rizzo ca9e77fe46 code simplifications
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14 22:32:13 +00:00
Luigi Rizzo 8977378288 use ast_strdup instead of strdup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14 22:22:13 +00:00
Luigi Rizzo 62712ea668 constification and code simplifications
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14 22:02:19 +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
Tilghman Lesher 492e68dab3 Merged revisions 19891 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r19891 | tilghman | 2006-04-13 15:37:50 -0500 (Thu, 13 Apr 2006) | 2 lines

Bug 6947 - Allow vm broadcasts to more than 256 characters worth of mailboxes

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19892 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-13 20:40:23 +00:00
Kevin P. Fleming 70bf3715a6 Merged revisions 19812 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r19812 | kpfleming | 2006-04-13 12:40:21 -0500 (Thu, 13 Apr 2006) | 2 lines

oops... let's not set a variable and then immediately overwrite it while assuming its old value will magically return

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19813 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-13 17:41:43 +00:00
Joshua Colp 5e43f18529 Updates to speech recognition API and dialplan utilities. Moved to using dialplan functions, and some other misc things.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19645 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-13 00:18:52 +00:00
Joshua Colp 416cd5d8a0 Add ability to see if the person calling said anything or not.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19512 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-12 19:57:21 +00:00
Tilghman Lesher 020305fb58 Merged revisions 19397 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r19397 | tilghman | 2006-04-11 17:39:59 -0500 (Tue, 11 Apr 2006) | 2 lines

Bug 6490 - telco intercept should report NOANSWER instead of CHANUNAVAIL

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 22:51:10 +00:00
Tilghman Lesher e5bb12ac83 Merged revisions 19394 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r19394 | tilghman | 2006-04-11 17:24:46 -0500 (Tue, 11 Apr 2006) | 2 lines

Bug 6061 - Fix ODBC storage of VM on PGSQL and MSSQL

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19395 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 22:25:57 +00:00
Kevin P. Fleming 1e9ac855d3 Merged revisions 19348 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r19348 | kpfleming | 2006-04-11 16:50:18 -0500 (Tue, 11 Apr 2006) | 2 lines

don't call the originating device as part of the Page() operation (issue #6932)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 21:51:17 +00:00
Kevin P. Fleming 77e998a20d Merged revisions 19301 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r19301 | kpfleming | 2006-04-11 15:11:01 -0500 (Tue, 11 Apr 2006) | 2 lines

handle call time limit properly when warning is requested _after_ call would hae already ended (issue #6356)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 20:11:36 +00:00
BJ Weschke 0b438958df Minor cleanups and error handling for app_dial #6935 (casper)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 16:15:11 +00:00
BJ Weschke d2480538d2 Provide the ability to read extension number after name #6938 (delink)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 15:38:17 +00:00
Luigi Rizzo 7ba1b92a04 normalize code preparing for loader changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 15:19:34 +00:00
BJ Weschke 44b98afdcd Merged revisions 19008 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r19008 | bweschke | 2006-04-10 20:05:01 -0500 (Mon, 10 Apr 2006) | 3 lines

 When using the silence detector in ast_play_and_record() and ast_play_and_prepend(), the truncation code never gets called to remove the detected silence, because the value of res is zero when control gets to that point. #6903 w/some mods (softins)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 01:12:13 +00:00
Joshua Colp e4811a8248 Presenting a revised data stores and oh my, a generic speech recognition API! I wonder what we can do with this now...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10 23:29:50 +00:00
Kevin P. Fleming cf15740eaf remove support for BYEXTENSION (which nobody even knows about anymore)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18977 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10 23:01:22 +00:00
Olle Johansson 6843c5ddc6 Issue 6919 - clarify error message
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18603 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-09 18:53:46 +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
Tilghman Lesher 1481e53ba8 Merged revisions 18494 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r18494 | tilghman | 2006-04-08 14:20:45 -0500 (Sat, 08 Apr 2006) | 2 lines

Bug 6914 - .txt file fails to rename on operator out

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-08 19:22:29 +00:00
Russell Bryant e27f756be4 remove traces of "look", something that does not exist in the tree
(issue #6904)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-08 19:13:37 +00:00
Olle Johansson 7089dc1341 Issue #6899 - remove OSP support code from chan_sip.c and app_dial.c
- implement all functions through internal APIs in res_osp.c and app_osplookup.c
(homesick)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07 19:11:22 +00:00
Kevin P. Fleming 65e9dce01f Merged revisions 18087 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r18087 | kpfleming | 2006-04-06 17:04:58 -0500 (Thu, 06 Apr 2006) | 3 lines

don't try to support 'i' or 'r' options if chan_zap is not loaded, and warn the user when they attempt to use them (issue #6675)
update application help text to more clearly define when Zaptel and chan_zap are required

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 22:16:23 +00:00
BJ Weschke 3b89edc066 More code optimizations. Thanks kpfleming!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18025 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 20:37:29 +00:00
BJ Weschke d42357fae1 Fix a problem where if the channel was hungup during detection, the application wouldn't block indefinitely looking for another frame from that channel. Don't try to do frame size analysis on a frame that isn't voice, only report DEBUG and VERBOSE msgs to the logger channels when the DEBUG and VERBOSE settings are high enough to require it, and some other minor cleanups.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 20:23:18 +00:00
Joshua Colp 1749971753 Merged revisions 17905 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r17905 | file | 2006-04-06 14:00:10 -0300 (Thu, 06 Apr 2006) | 2 lines

Update email address to my Digium one

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17914 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 17:01:47 +00:00
Luigi Rizzo e9b428e121 convert one more file...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 15:48:06 +00:00
Luigi Rizzo 1fd898bd84 convert a couple of applications to the new module style
(STATIC_MODULE) to show what needs to be changed.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 09:24:02 +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
Tilghman Lesher 701b49027d Bug 6508 - if priority was a number, then findlabel fails
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17626 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05 17:03:30 +00:00
Tilghman Lesher e019a106c7 Bug 6886 - Add application TryExec, which does mostly the same thing, but returns differently
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05 03:53:41 +00:00
Olle Johansson 982a66a93a Issue #6882
- move "res=-1" out of verbose block. 
- minor code cleanup
Imported from 1.2 branch


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04 18:02:40 +00:00
Matt O'Gorman a536eb6ec7 minor code clean up from 6880
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04 16:59:27 +00:00
Matt O'Gorman 28fd3a4ef1 Merged revisions 17283 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2

........
r17283 | mogorman | 2006-04-04 10:24:50 -0500 (Tue, 04 Apr 2006) | 3 lines

Adds documentation to show what the w flag.
Patch from Ian Kinner at Digium.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04 15:27:47 +00:00
Jim Dixon 44d1382a05 Removed "frog" command (so it could be moved to cli.c)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-01 12:56:50 +00:00
Luigi Rizzo 7e2b1c539a localize a variable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 21:49:24 +00:00
Luigi Rizzo b7467d7d09 use ast_strdup instead of strdup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 21:47:22 +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 50f0b12880 Issue #5374 - Enable internal timing of generators (cmantunes)
Thanks everyone involved for hard work, testing and testing!


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 06:07:04 +00:00
Tilghman Lesher a532c787f2 Merged revisions 16192 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r16192 | tilghman | 2006-03-29 13:11:18 -0600 (Wed, 29 Mar 2006) | 2 lines

Bug 6830 - Let GosubIf work with the same conditions as a GotoIf (change in API approved by Russell)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 19:30:57 +00:00
Luigi Rizzo c0f2f5b5b8 Normalize some cli completion code.
On passing, replace strdup with ast_strdup() and remove
the now useless checks for NULL since ast_strdup() can handle
it correctly.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 00:30:29 +00:00
Luigi Rizzo e735f507b7 more command completion normalization
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15858 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 23:40:28 +00:00
Luigi Rizzo 606c7dcb93 remove the long since unused STANDARD_LOCAL_USERS macro
so that new apps will not try to use it by mistake.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 13:52:04 +00:00
Matt O'Gorman a5ece3388a Janitor work converting !ast_strlen_zero(a)?a:b
to S_OR functions. from bug note 6805 with minor
modifications.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-27 19:31:54 +00:00
Kevin P. Fleming 968af1b45d rename file to match new application name
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-26 23:46:06 +00:00
Kevin P. Fleming 5c6c266aa9 rename application to have a more logical name
various code cleanups
don't steal copyright from author


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-26 23:45:53 +00:00
Mark Spencer 9164eac21a Add micro-http server and abstract manager interface, make snmp not die
on reload.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-25 23:50:09 +00:00
Tilghman Lesher d104a6d622 Bug 6508 - Redirect arbitrary channel to another extension from the dialplan
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-25 06:14:10 +00:00
Tilghman Lesher ff9fc4f606 Merged revisions 14830 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r14830 | tilghman | 2006-03-24 23:01:16 -0600 (Fri, 24 Mar 2006) | 2 lines

Fix incorrect size of zeroing (left over from when maxmsg was hardcoded at 100)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-25 05:02:19 +00:00
Tilghman Lesher 39a99c65c2 Merged revisions 14821 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r14821 | tilghman | 2006-03-24 22:09:04 -0600 (Fri, 24 Mar 2006) | 2 lines

Bug 6783 - When context is specified, voicemail should look for mailboxes in that context

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14822 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-25 04:10:35 +00:00
Luigi Rizzo 574e9ae7a8 Add missing
#include "asterisk.h"  
    ASTERISK_FILE_VERSION(__FILE__, "$Revision$")

to these files.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-24 15:01:22 +00:00
BJ Weschke 6d22be794f Merged revisions 14659 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r14659 | bweschke | 2006-03-23 22:53:42 -0600 (Thu, 23 Mar 2006) | 3 lines

 Fix a typo in the app description


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-24 04:55:09 +00:00
BJ Weschke fb8ff8ed57 Merged revisions 14467 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r14467 | bweschke | 2006-03-23 14:43:05 -0600 (Thu, 23 Mar 2006) | 3 lines

 Bug #5884 - fix a possible race state in app_meetme when a channel has gone away and we are reading continuously for more frames. (mneuhauser)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14470 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-23 20:48:08 +00:00
Russell Bryant 4c1d49f5c8 Merged revisions 14462 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r14462 | russell | 2006-03-23 15:13:48 -0500 (Thu, 23 Mar 2006) | 2 lines

don't crash when asked to read from a file that doesn't exist (issue #6786)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-23 20:15:01 +00:00
Joshua Colp b60145bbf7 Merged revisions 14276 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r14276 | file | 2006-03-22 18:18:32 -0400 (Wed, 22 Mar 2006) | 2 lines

Fix a minor code issue

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-22 22:28:36 +00:00
Joshua Colp 7b54d83b1e Merged revisions 14275 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r14275 | file | 2006-03-22 18:13:30 -0400 (Wed, 22 Mar 2006) | 2 lines

Issue #6781 - Verbose levels not enforced in app_voicemail (Reported by flobi)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-22 22:27:11 +00:00
Russell Bryant 0f03e0ef17 Merged revisions 13851 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r13851 | russell | 2006-03-21 10:53:27 -0500 (Tue, 21 Mar 2006) | 2 lines

don't add conference participant if the user hangs up while recording their name (issue #6661)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-21 15:55:38 +00:00
Tilghman Lesher 81a70f668e Merged revisions 13748 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r13748 | tilghman | 2006-03-21 00:24:56 -0600 (Tue, 21 Mar 2006) | 2 lines

Bug 6714 - Workaround to avoid retrieving incomplete voicemail message

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-21 06:28:19 +00:00
Tilghman Lesher f35aeb0312 Meetme file is parsed with comma-delimiters, not vertical bars
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13733 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-21 06:03:58 +00:00
Russell Bryant fc9d3ba21b Merged revisions 13550 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r13550 | russell | 2006-03-19 04:59:55 -0500 (Sun, 19 Mar 2006) | 4 lines

revert the change made in revision 12927 in favor of keeping the original
behavior of the option.  The documentation has now been updated to reflect
the actual behavior.  (issue #6523)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-19 10:11:29 +00:00
Tilghman Lesher b97c3dd6ae Bug 6316 - Add flag to not speak single user announcement
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-15 17:12:15 +00:00
Russell Bryant 9063466dfb update to reflect conversion of the accountcode to use stringfields (issue #6722)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12961 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-14 19:09:13 +00:00
Russell Bryant 686b512e23 Merged revisions 12927 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r12927 | russell | 2006-03-14 13:41:05 -0500 (Tue, 14 Mar 2006) | 3 lines

when using the G() option to Dial, fix sending the called channel to 1 priority
beyond what was specified (issue #6523)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12928 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-14 18:42:56 +00:00
Russell Bryant f28abd4020 Merged revisions 12925 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r12925 | russell | 2006-03-14 13:28:39 -0500 (Tue, 14 Mar 2006) | 3 lines

fix a problem with not loading realtime queue members by always reloading a 
realtime queue from the database even if it is found in the list (issue #6680)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12926 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-14 18:30:52 +00:00
Russell Bryant 63056dcb8f add a couple of variables to clarify some code (issue #6700)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-14 18:11:35 +00:00
Olle Johansson 7aeb45a0da Small fixes to the messagecount function (while trying to understand
a bug report...)
- Remove unused variable "ret"
- Declare char* pointers in the block where they are used


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-14 07:17:30 +00:00
Tilghman Lesher f86476dd68 Bug 6526 - Add a reference count to avoid crash
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-13 13:56:34 +00:00
Olle Johansson d61a6c9a1c README files have changed names, better change references too :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-12 17:27:57 +00:00
Tilghman Lesher 30a806010a Bug 6459 - tell manager when queue is abandoned
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-11 15:17:50 +00:00
Tilghman Lesher bb92e0ec1f Bug 5702 - Realtime patch for meetme
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-07 01:12:09 +00:00
Olle Johansson 7d3ef37477 Initialize variable (fix by Luigi Rizzo)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11983 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-06 09:43:59 +00:00
BJ Weschke c88e03113f Merged revisions 11778 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r11778 | bweschke | 2006-03-04 06:45:37 -0500 (Sat, 04 Mar 2006) | 3 lines

 Substitute variables in the post_process string (if it exists) before those variables could possibly disappear (channel hangup) #6462


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-04 11:51:45 +00:00
Matt O'Gorman 02aadcc8ae Russian locale for voicemail from bug patch 6603
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-03 19:14:18 +00:00
Jim Dixon 60c5b80818 Fixed nasty lockup bug and added command macros (not to be confused with
macro-oni).


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-26 05:11:34 +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
Tilghman Lesher e912ad9d35 Move conditional compilation for CURL from apps/ to funcs/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10961 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-23 23:43:06 +00:00
Tilghman Lesher 53936916ec Bug 6417 - Allow retrieval of raw CDR values
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-23 23:12:41 +00:00
Tilghman Lesher 61d4406b69 Move CURL function from apps/ to funcs/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-23 22:27:49 +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
Kevin P. Fleming 6204abdae2 merge rizzo's patch to make compiler warnings stop the build, and fix a bunch of warnings found
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-22 22:53:49 +00:00
Matt O'Gorman 3ae4285d17 Solved problem where talker hears himself when
talk optimization is on in app_meetme.
bug #6266


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-22 21:40:00 +00:00
Matt O'Gorman cff3864fa5 bug in the linkedlists macros where the prev node
was improperly managed when doing removals or insertions.
also solved issues with app_voicemail init. and reload
solves bug #6557


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-22 20:13:05 +00:00
Tilghman Lesher 800c3982df Updating skel application to use current parsing constructs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-22 03:04:42 +00:00
Matt O'Gorman fecae4f64e Changing syntax once again slightly and standardizing
config to other asterisk samples , bug note 6530


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-20 18:30:49 +00:00
Tilghman Lesher 55b1d07a97 Merged revisions 10464 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r10464 | tilghman | 2006-02-19 11:26:31 -0600 (Sun, 19 Feb 2006) | 2 lines

Fix possible lack of initialization of useadsi

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-19 17:27:39 +00:00
Russell Bryant f369bbdac3 fix up the summary and help text for the mixmonitor cli command
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-17 04:17:35 +00:00
Tilghman Lesher 92679bc761 Bug 6503 - Change wording from mailbox to folder when referring to the subfolders of a mailbox (less confusing)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10353 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-16 23:13:48 +00:00
Tilghman Lesher 697d3208dd Bug 6516 - u->chan not defined
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10339 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-16 22:59:38 +00:00
Russell Bryant 39fbbe1c25 Merged revisions 10301 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r10301 | russell | 2006-02-16 13:07:52 -0500 (Thu, 16 Feb 2006) | 3 lines

when executing the Directory application from voicemail and a context is not
specified, use the "default" context, not the channel's current context (issue #6507)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-16 18:19:05 +00:00
Russell Bryant 118b277ab1 add StopMixMonitor application (issue #6122, with mods)
Rename and export ast_complete_channels for use by cli completion functions
that want to complete from the list of active channels


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-16 17:37:03 +00:00
Tilghman Lesher 6f8cdb5c03 Define the initial values separate from the STATIC definitions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-15 23:00:07 +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
Kevin P. Fleming f0495e8944 add option to avoid calling members whose channels are 'in use' (issue #6315, plus documentation)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-15 02:52:19 +00:00
Kevin P. Fleming c1e19165b4 add channel's uniqueid to manager 'join' event (issue #6458)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-15 01:01:35 +00:00
Kevin P. Fleming 5845408aab update app to use args parser
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-15 00:33:07 +00:00
Kevin P. Fleming 4662d58b01 add API function for parsing strings to time_t (issue #6320, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-15 00:24:24 +00:00
Matt O'Gorman ec7df7e557 Now Kevin will be really happy!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 23:38:27 +00:00
Matt O'Gorman 49a04b91a2 changed naming scheme for variables so it matches
asterisk standard, changed it so it can take frames
 of sizes other than 20ms, allowed for the app to reload
 properly, and finalyl changed sample to general section
 as to follow standards.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 23:30:18 +00:00
Kevin P. Fleming 2f46cb9198 don't use localuser structure for outbound calls (issue #6216)
various code cleanup and reorganization (issue #6216)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 21:50:35 +00:00
Kevin P. Fleming c6ddfef02d list macro conversion (issue #6328, with bugfix)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 20:39:56 +00:00
Kevin P. Fleming 918cab0e08 Merged revisions 9961,9964,9990,10018 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r10018 | kpfleming | 2006-02-14 14:20:15 -0600 (Tue, 14 Feb 2006) | 2 lines

don't double-increment abandon counter for calls that are hung up while dialing members (issue #6289)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 20:21:38 +00:00
Mark Spencer c3b0828c00 Properly stopsteram on meetme (bug #6137)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 19:08:51 +00:00
Kevin P. Fleming b9918fb16b set properties for new files (i need to get this documented)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9960 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 18:44:18 +00:00
Matt O'Gorman f57ae73d62 bug 6485 fixed.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9935 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 17:08:06 +00:00
Matt O'Gorman dacbca4699 Commiting 5959 with minor formatting and typo
fixes.  Thanks to all those involved.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9918 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 16:42:50 +00:00
Tilghman Lesher 073885e1ea Shouldn't have been a public function
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-13 20:55:13 +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
Josh Roberson c09ad4e192 Don't set the formats before we stop indications. (issue #6380)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-13 17:50:53 +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
Tilghman Lesher 3d2404c62c Make the ditlen and tone configurable at runtime
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9658 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-12 03:38:50 +00:00
Russell Bryant 303a9855b3 update for change to ast_pbx_outgoing_exten
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9601 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 19:02:14 +00:00
Kevin P. Fleming 6aa6819c41 use auto-build for apps, simplify variable setting
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 17:12:05 +00:00
Kevin P. Fleming e42c6c4f9e set standard properties on all non-binary files
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 16:15:11 +00:00
Kevin P. Fleming c7da92d2ea fix compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9468 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 03:13:25 +00:00
Kevin P. Fleming 7b2988821a clean up SMDI support commit:
copyright header format and dates
code formatting and guidelines conformance
use of timeval wrapper functions
use of memory allocation wrappers
propery unref created interface objects during config load
document new variable set by chan_zap in doc/channelvariables.txt
remove useless 'extern' on function prototypes and definitions


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-10 23:55:47 +00:00
Matthew Fredrickson af07dc8883 Add smdi support for asterisk (see doc/smdi.txt for config info) (#5945)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-10 21:50:56 +00:00
Russell Bryant 3f37ece516 remove some Makefile targets for things that don't exist in the tree
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-09 02:27:30 +00:00
Tilghman Lesher b347ddf3c6 Merged revisions 9156 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r9156 | tilghman | 2006-02-05 11:10:19 -0600 (Sun, 05 Feb 2006) | 2 lines

Bug 6176 - Fix race condition

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9157 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-05 17:20:29 +00:00
Kevin P. Fleming 193b923925 remove obsolete stuff
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-02 22:23:00 +00:00
Kevin P. Fleming a16ae226b6 use string fields for some stuff in ast_channel
const-ify some more APIs
remove 'type' field from ast_channel, in favor of the one in the channel's tech structure
allow string field module users to specify the 'chunk size' for pool allocations
update chan_alsa to be compatible with recent const-ification patches


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01 23:05:28 +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 e01861fafd define a global null_frame object so when queueing a null frame, you don't
have to allocate one on the stack


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9001 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-31 17:18:58 +00:00
Matt O'Gorman a13ae9b5c1 reverting blocks 9 and 10 from revision 7547
fixes bug 6080


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8938 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-30 21:16:43 +00:00
Russell Bryant 8578862401 don't re-define the localuser struct for custom use inside the module (issue #6216)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-27 00:31:05 +00:00
Russell Bryant 32026d6f49 don't redefine the localuser struct for additional use specific to the module (issue #6216)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8742 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-26 20:28:52 +00:00
Russell Bryant 7707b953e1 store conference list using linked list macros (issue #6327)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8727 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-26 19:33:27 +00:00
Kevin P. Fleming 210d4679ee Merged revisions 8608 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8608 | kpfleming | 2006-01-24 19:50:52 -0600 (Tue, 24 Jan 2006) | 2 lines

ensure hangup cause code is handled properly when channel does not return a frame (issue #6346)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8609 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-25 01:52:58 +00:00
Matt O'Gorman 83ab52cdc4 changed some settings to app_args and some code
cleaning patch 6267


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-23 17:23:22 +00:00
Olle Johansson 92390274e5 Use doxygen for todo's! :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-23 12:44:53 +00:00
Olle Johansson 77752fc8c5 Remove javadoc doxygen format...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-23 12:19:16 +00:00
Russell Bryant 72a2e892bc fix memory leak from not freeing the list of queue members when freeing a queue
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8447 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-22 19:09:50 +00:00
Tilghman Lesher 56bb41460e Bug 6312 - Macro janitor
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-22 17:28:42 +00:00
Tilghman Lesher c3ded332b5 Bug 6148 - Add PARKEDAT variable; also cleaned up application help to fit 80-column screen.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8426 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-22 07:18:02 +00:00
Russell Bryant 039ee896c7 oops, don't build app_sql_postgres by default ...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8409 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 21:57:01 +00:00
Russell Bryant eefe5d1685 - conversion to allocation wrappers
- get rid of some compiler warnings due to usused variables and const-ification
- remove some unnecessary uses of malloc/strncpy/free and replace with ast_strdupa
(based on the patch from issue #6275)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 21:50:09 +00:00
Russell Bryant a163eaa03c clean up formatting to conform to coding guidelines and fix some typos (issue #6260)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 21:29:06 +00:00
Russell Bryant 4414f45393 on this pass, only remove duplicate log messages
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 20:57:06 +00:00
Tilghman Lesher 41c87ccb97 Bug 5936 - Cannot AddQueueMember on realtime queue, if queue not yet loaded (different fix than 1.2)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8402 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 20:32:17 +00:00
Russell Bryant 9fa6eb5e07 revert my pass through the tree to remove checks of the result of ast_strdupa
(revisions 8378 through 8381)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8387 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 17:50:04 +00:00
Russell Bryant 7ad681adc8 remove lots of useless checks of the result of ast_strdupa
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 08:13:12 +00:00
Russell Bryant cb8bd57a21 Merged revisions 8347 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8347 | russell | 2006-01-20 13:34:42 -0500 (Fri, 20 Jan 2006) | 2 lines

fix invalid value of prev_q (issue #6302)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-20 18:40:24 +00:00
Olle Johansson ad5eaa9aca More doxygen updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-20 00:18:42 +00:00
Tilghman Lesher 2977f19cac Deprecate the use of Random in 1.3, 1.4
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-19 18:58:45 +00:00
Russell Bryant 012e7e948f Merged revisions 8232 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8232 | russell | 2006-01-18 23:17:45 -0500 (Wed, 18 Jan 2006) | 3 lines

fix a seg fault due to assuming that space gets allocatted on the stack in the
same order that we declare the variables (issue #6290)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8233 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-19 04:21:12 +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
Matt O'Gorman d57bc8a513 Merged revisions 8194 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8194 | mogorman | 2006-01-18 15:02:06 -0600 (Wed, 18 Jan 2006) | 3 lines

Solves issue with the login proccess in meetme
patch from 6136

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8195 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-18 21:12:14 +00:00
Matt O'Gorman 90b4d8b9be oops all better now.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8153 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-17 21:10:38 +00:00
Matt O'Gorman 24c4e062cc allow for multiple periodic announcements
from bug 5273 with minor changes.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-17 20:58:56 +00:00
Kevin P. Fleming 5af944427f suppress compiler warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-17 20:49:39 +00:00
Matt O'Gorman 455f916d83 Merged revisions 8140 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2

........
r8140 | mogorman | 2006-01-17 14:10:29 -0600 (Tue, 17 Jan 2006) | 3 lines

Stop any generators running on a channel when
festival is called as described in 5996

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8141 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-17 20:16:18 +00:00
Olle Johansson 95144f75a5 - Logging clean up
- Whitespace removed and added, formatting fixed


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8136 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-17 18:54:56 +00:00
Jim Dixon 80c19330ff Added NOANSWER support, so that optional the DISA application starts without
answering (used in new version of app_rpt, and potentially other applicaitons).


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-16 18:52:13 +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
BJ Weschke 3854a2438e Spelling corrections (mostly in comments and doxygen areas) #6249
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8100 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-16 17:37:44 +00:00
Matt O'Gorman 58bac05e59 Added QUEUE_MEMBER_COUNT and QUEUE_MEMBER_LIST
from bug 5451


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 22:59:19 +00:00
Matt O'Gorman 9932a6415a make voicemail files group writable and uses a
nicer function for creating dirs as described in
5929


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 22:05:46 +00:00
Matt O'Gorman 169eeb8599 Added forward context option from 5497
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 19:09:05 +00:00
Russell Bryant 55c8fc92a9 Various cleanups from comments in an email from Luigi Rizzo. Thank you!
- Use a cleaner syntax for declaring the allocation macros
- Fix return value for ast_strdup/ast_strndup
- remove safe_strdup from app_macro, since ast_strup does the same thing
- fix a place in app_queue where ast_calloc+strncpy was used instead of
  ast_strdup.  If you are helping out with these conversions, please watch out
  for other places where this is done.
- add a note to the coding guidelines about the fix to app_queue


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 18:38:55 +00:00
Matt O'Gorman 130ce286ba added two new features to meetme, autofill and
autopause.  thanks twisted from 5577


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 17:39:56 +00:00
Matt O'Gorman 2aaffe48e4 allow app_directed_pickup to try to pickup
multiple channels at the same time. however it
does not work in cases where dial was called
with multiple devices.  bug 5694.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8057 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 17:02:15 +00:00
Tilghman Lesher caa0de6e99 Somebody complained the that length of the dah wasn't quite up to spec...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 07:14:42 +00:00
BJ Weschke f6c5e65266 More memory wrapper cleanup. #6224
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8045 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 03:34:31 +00:00
BJ Weschke 8637b23569 More memory wrapper and cleanup work. #6226 w/one very minor compile fix mod in app_rpt.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8044 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 03:25:23 +00:00
Tilghman Lesher bce06eff5b Fix typos that caused voicemail not to compile.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 21:12:25 +00:00
Matt O'Gorman ac2732ef4e I will never touch VM again...
thanks qwell for spotting mistakes.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 20:04:52 +00:00
Matt O'Gorman 791370e026 some error checking added into g and a option
if there is no parens.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8030 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 19:45:38 +00:00
Matt O'Gorman b86c380a58 More cosmetic changes. thanks qwell and everyone
else.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 19:28:47 +00:00
Matt O'Gorman 0228cf5bc0 Minor revisions from bug 6090
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 19:09:36 +00:00
BJ Weschke a44bc3a0d7 Remove an unneccessary unlock and do away with the error msg about not being able to unlock the lock. #6201
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 19:01:35 +00:00
Russell Bryant 57a8394f6c fix breakage from new feature committed in r7995
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 18:35:03 +00:00
BJ Weschke aaa4c9aecc More new memory wrapper work.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 16:08:06 +00:00
BJ Weschke e825a748cf More new memory wrapper work and initializing some memory allocations to zero where they weren't before.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 16:00:13 +00:00
BJ Weschke deae1cbc3f New memory wrapper changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 15:51:13 +00:00
BJ Weschke 0c41704c68 Use argument macro in app_voicemail #6221
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 15:28:01 +00:00
BJ Weschke 5f542e14cc Use argument macro in app_dictate #6222
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8007 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 15:11:49 +00:00
Tilghman Lesher 1db503ade6 Merged revisions 7999 via svnmerge from
/branches/1.2


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8000 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 06:15:56 +00:00
Tilghman Lesher 35dc7e7ff9 Bug 6213 - Morse code app
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7998 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 05:47:30 +00:00
Russell Bryant f693a606f8 typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7996 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 02:35:45 +00:00
Matt O'Gorman 672f6aa422 Added automatic folder feature described in 6090
with bounds checking.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 02:20:19 +00:00
Russell Bryant 2eb7eecdd0 conversions to memory allocation wrappers (issue #6210)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11 22:41:34 +00:00
Russell Bryant 2dc13eb912 replace malloc+memset with a call to ast_calloc, also removing the error
message that is no longer necessary (issue #6205)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7985 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11 18:40:42 +00:00
Russell Bryant 5ce65af66e fix temp greetings with odbc storage (issue #6078)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7978 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11 07:21:16 +00:00
Matt O'Gorman 283c0d64ba added feature from 5750 with whitespace fixing.
allows for meetme show list to tell how long user
has been in confrence and reports it to manager
when user leaves confrence.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7975 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11 06:56:28 +00:00
Russell Bryant 384aefa772 Merged revisions 7957 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7957 | russell | 2006-01-10 22:12:44 -0500 (Tue, 10 Jan 2006) | 2 lines

fix a little typo

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11 03:13:45 +00:00
Tilghman Lesher bdc14f3c84 Merged revisions 7955 via svnmerge from
/branches/1.2


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7956 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11 01:31:28 +00:00
Kevin P. Fleming 10862cd151 fix breakage introduced in revision 7863
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-09 18:03:18 +00:00
Mark Spencer 50ab29b64b Merge playback cleanups (bug #6163)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-08 00:08:49 +00:00
Mark Spencer f5678d89d4 Fix segfault in greek syntax (bug #6142)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7863 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-07 23:43:23 +00:00
Kevin P. Fleming d44823b5b8 allow limiting of queue members who will be delivered a given caller's call by penalty setting
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7833 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-06 03:40:12 +00:00
Matt O'Gorman 8adf708c1b Added feature from bug #5053, allowing for
app_authenticate to set a max number of digits
also implemented the new argument and option
parsing code.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7822 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-05 21:47:44 +00:00
Matt O'Gorman 6ac09042f1 oops minor formatting fixes, and taking out
debug message.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-05 21:04:06 +00:00
Matt O'Gorman 7b680ef6d8 Added feature from bug #5573 and updated app_read
to be able to use indication tones, and argument 
parsing code. Documented possible problems this might
cause an older dialplans in UPGRADE.txt


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-05 19:55:03 +00:00
Olle Johansson a5dcd29a2e Whitespace and formatting changes. /Housekeeping
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-04 13:49:25 +00:00
BJ Weschke 6149728a77 Fix the 'if' clause to be true under the right conditions. Bug #6126
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-04 05:26:03 +00:00
Kevin P. Fleming a4f8d466e8 update copyright headers for files changed this year
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03 22:16:23 +00:00
Tilghman Lesher 577e4189d5 Merged revisions 7743 via svnmerge from
/branches/1.2


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7744 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03 18:17:42 +00:00
Kevin P. Fleming cdf0303465 Merged revisions 7740 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7740 | kpfleming | 2006-01-03 11:24:56 -0600 (Tue, 03 Jan 2006) | 4 lines

revert incorrect fix for bug #6048 from revision 7709
put in correct (simpler) fix
add doxygen docs for channel spy 'state' values

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03 17:25:39 +00:00
Tilghman Lesher b5d18c50b9 Merged revisions 7709 via svnmerge from
/branches/1.2


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7710 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-02 07:41:02 +00:00
Russell Bryant a725468381 update doxygen docs to specify authors
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-30 21:18:06 +00:00
Russell Bryant 5c18154617 normalize a loop and avoid multiple strlen calls when completing voicemail users
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7668 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-29 08:25:06 +00:00
Russell Bryant 1bd94abf57 avoid multiple strlen calls in complete_queue
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7667 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-29 08:15:48 +00:00
Russell Bryant e458091585 fix permissions of created recordings (issue #6067)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-27 21:03:18 +00:00
Tilghman Lesher 478052caa0 Bug 5237 - Optional filename argument
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-27 17:53:48 +00:00
Tilghman Lesher 7fae5bb20e Bug 5382 - Allow VM_CATEGORY in voicemail emails
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-27 07:13:37 +00:00
Tilghman Lesher b7272182d1 Reduce warnings on signedness conversions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7643 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-27 02:05:56 +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
Mark Spencer ec0b96837e Add "local channel" variation so that we don't read/write to the same
channel...  (bug #6058)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-26 00:47:28 +00:00
Mark Spencer 96b3a24637 Fix multiple free of a frame (bug #6058)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7620 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-25 01:27:47 +00:00
Tilghman Lesher eeb58dcd81 Bug 5727 - reduce duplicate code
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-25 00:25:41 +00:00
Tilghman Lesher af4d531322 Bug 5759 - Remove unused datetime code (current DateTime app is in app_sayunixtime)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7616 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-23 23:42:58 +00:00
Tilghman Lesher 8d2b85d10a Merged revisions 7608 via svnmerge from
/branches/1.2


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7609 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-23 06:39:44 +00:00
BJ Weschke 3f035b3dfc Another app documentation tweak.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-22 23:59:13 +00:00
Tilghman Lesher 2f9eb968e7 Merged revisions 7601 via svnmerge from
/branches/1.2


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-22 22:06:35 +00:00
Tilghman Lesher f31bb6d7ed Bug 5734 - add status variables indicating the success or failure of the realtime apps
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-21 15:16:08 +00:00
Russell Bryant a63f3dffa1 add Log application for generating custom log messages from the dialplan (issue #5287)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-21 09:33:41 +00:00
Jim Dixon 13e757450d New version, including half/semi-half duplex modes and system announcements
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-20 23:41:59 +00:00
Mark Spencer 7f23f1b5de Avoid multiple free
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-20 23:36:22 +00:00