Russell Bryant
4fe3960478
move ast_carefulwrite from manager.c to utils.c so that cli.c and
...
res_agi.c no longer depend on manager.h (issue #6397 , casper)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 21:01:39 +00:00
BJ Weschke
8917191953
Blocking r25014 from coming into /trunk as the fix was different for /trunk and was already applied earlier. #7064
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 20:52:25 +00:00
Russell Bryant
9ecb116f23
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25016 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 20:50:28 +00:00
Russell Bryant
e5b6df5769
move ExecIf from app_while.c to app_exec.c (issue #7094 , north)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25013 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 20:43:16 +00:00
BJ Weschke
a09110c810
Adding documentation about API change approved in order to fix bug(s).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 20:12:59 +00:00
Joshua Colp
c1649932ec
Minor documentation change regarding authentication. (issue #6644 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 19:20:58 +00:00
BJ Weschke
6ed0af6fc3
Fix 4 bugs in voicemail. #7064 ( supczinskib and jcollie )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24981 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 19:10:11 +00:00
Russell Bryant
0f8ea8ddca
re-add the initialization of the scheduled item's time to 0. I had removed
...
this because I checked the sched_alloc function to use calloc instead of
malloc, so I thought it was no longer necessary. However, the sched structures
are cached, and cached values will have the old values in them, so this still
needs to be done.
Also, wrap the scheduler debug code to only happen if option_debug is enabled.
It spits out a ton of output so it's nice to be able to enable/disable it
during runtime.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 18:11:55 +00:00
Russell Bryant
282c5fd214
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24912 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 17:39:31 +00:00
Russell Bryant
55aab4cfbd
convert the list of scheduled items in a scheduler context to use the
...
list macros. Also, use ast_calloc instead of malloc in one place
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24910 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 17:09:27 +00:00
Russell Bryant
326afa4900
use ast_malloc instead of malloc
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 16:46:46 +00:00
Christian Richter
efccf89eae
Added option far_alerting. This option makes it possible to generate a Ringing on other channels if they feel that they should have inband ringing, but there is non in reality. I need this due to the fact that asterisk has not the possibility to transmit progress indicators thus chan_sip and others do not know wether they should generate a Rining tone themselves if they receive AST_CONTROL_RINGING..
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24879 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 16:38:15 +00:00
Russell Bryant
816a7cf13b
constify the argument to pbx_checkcondition
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24878 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 16:36:43 +00:00
Russell Bryant
53d09cbaf7
oops :)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24876 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 16:34:35 +00:00
Russell Bryant
110a0aa803
Merged revisions 24837 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r24837 | russell | 2006-05-05 10:44:50 -0400 (Fri, 05 May 2006) | 3 lines
use pbx_checkcondition() instead of ast_true() to evaluate the condition
for MacroIf and WhileIf (issue #7086 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24838 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 14:47:22 +00:00
Russell Bryant
f4f7b74655
- formatting fixes
...
- don't declare a variable in the middle of a block
- keep track of the result of registration functions in load_module()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 00:43:28 +00:00
BJ Weschke
7a9472f8a4
New manager action SendDTMF #6682 (squinky86)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-04 21:33:45 +00:00
BJ Weschke
e7b7d41d73
#6991 . Take 3. (casper)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24775 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-04 21:26:04 +00:00
BJ Weschke
53e8e35d79
Another adjustment for #6991 (casper)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-04 21:02:26 +00:00
BJ Weschke
c8c8164f13
ast_play_and_prepend and ast_play_and_record cleanup #6991 (casper)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-04 20:29:13 +00:00
Tilghman Lesher
7734d20eb5
Merged revisions 24706 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r24706 | tilghman | 2006-05-04 11:27:20 -0500 (Thu, 04 May 2006) | 2 lines
Bug 7023 - reload should not unpause members
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-04 16:38:32 +00:00
BJ Weschke
c037f1abdd
Merged revisions 24669 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r24669 | bweschke | 2006-05-04 06:17:13 -0500 (Thu, 04 May 2006) | 3 lines
Make sure that only the "|" is a recognized delimiter for Verbose(), as the app documentation already specifies. #7080 (alessiof reporting)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24670 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-04 11:24:47 +00:00
Tilghman Lesher
21789c391b
Bug 6989 - updates to the ODBC storage mechanism for compatibility with the new res_odbc
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 22:54:02 +00:00
BJ Weschke
326c82e1c4
Fix "o'clock" from being said twice in French. #6900 (casper)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 22:53:38 +00:00
BJ Weschke
8ce9bec4ce
Documentation / whitespace fix.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 22:40:42 +00:00
BJ Weschke
fd7ca09072
Optionally record audio of the page command for re-pages/playback. #6827 (JeffSaxe)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 22:38:56 +00:00
BJ Weschke
76c9d14bb2
Allow channels in ChanSpy to belong to mutiple spygroups #7072 (anthm)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 22:25:08 +00:00
BJ Weschke
a7b1476058
Provide the ability to adjust txgain/rxgain on a channel level via the CHANNEL() function
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24621 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 22:02:50 +00:00
BJ Weschke
282eb80ed4
Correct call parking behavior when there is no courtesytone specified. #6306 (murf)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 21:39:24 +00:00
BJ Weschke
bdf2a05aa5
Merged revisions 24567 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r24567 | bweschke | 2006-05-03 15:58:10 -0500 (Wed, 03 May 2006) | 3 lines
Correct application documentation to make users aware that certain options cannot be used in conjunction with others. #6666 (chotaire)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 21:11:23 +00:00
BJ Weschke
80c34d2a91
Make sure that callers kicked from queue because of joinempty and leavewhenempty have an event logged with regard to the reason for their departure. #6559 (Corydon76)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 20:47:34 +00:00
BJ Weschke
944c8cc4a6
Log hold time and talktime in queue_log when blind transfers are made by queue members. #7038 (alphaqueue) w/documentation mods added
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 20:31:58 +00:00
BJ Weschke
ebb7eee9ce
Implement and document RINGNOANSWER queue logging functionality to "tattle" on bad queue members.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 20:14:54 +00:00
BJ Weschke
7b3f3db65d
Fix autofill behavior in app_queue and document it's functionality in queues.conf.sample and UPGRADE.txt
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24543 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 20:01:30 +00:00
Russell Bryant
a21507a60a
suppress a compiler warning
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24534 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 19:10:41 +00:00
Russell Bryant
a10d238d6c
Merged revisions 24496 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r24496 | russell | 2006-05-03 14:31:20 -0400 (Wed, 03 May 2006) | 6 lines
fix up "make rpm"
- don't reference the gzipped man page, because we don't store them
compressed anymore
- add some files that currently were not listed
(issue #6837 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 18:33:10 +00:00
Luigi Rizzo
2d5900391b
remove variable declarations in the middle of two blocks.
...
While at it, normalize the surrounding code.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 18:22:04 +00:00
Luigi Rizzo
5522238a7e
remove useless variables, and argument checks for functions
...
that can safely handle a NULL argument.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 17:44:30 +00:00
Luigi Rizzo
d7a2c4547b
document that ast_cdr_answer is happy with a NULL argument
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 17:37:47 +00:00
Luigi Rizzo
d1caf26728
no point in clearing a local variable just before return
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 17:30:37 +00:00
Luigi Rizzo
b569ebd593
more simplifications
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24460 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 17:07:56 +00:00
Luigi Rizzo
5f612f9ae6
consistent rule for goto...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 16:58:16 +00:00
Luigi Rizzo
e5b0c721e5
remove another useless nonterminal
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24430 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 16:46:55 +00:00
Luigi Rizzo
34d67f7d09
remove a useless nonterminal
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24429 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 16:38:50 +00:00
Luigi Rizzo
49227c7ba1
more simplifications
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24428 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 16:37:14 +00:00
Luigi Rizzo
7695df3896
remove more shift-reduce conflicts
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24427 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 16:34:31 +00:00
Luigi Rizzo
820ef22951
remove a redundant rule
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24426 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 16:33:00 +00:00
Luigi Rizzo
673607f87a
reduce shift/reduce warnings
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24425 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 16:28:48 +00:00
Luigi Rizzo
9ebc190fdc
simplify case_statements
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 16:12:31 +00:00
Luigi Rizzo
e2e92e49a6
switch statement in one place
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 16:08:35 +00:00