Commit graph

8325 commits

Author SHA1 Message Date
Christian Richter
019f39f614 in PTMP TE we should set the free state for the B-Channel if we ignore an incoming call
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 07:30:28 +00:00
Russell Bryant
ba2451046e add the asterisk copyright header, doxygen header, and tweak the formatting
of the included strsep to match our coding guidelines


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25357 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-07 15:19:52 +00:00
Russell Bryant
b7c2ae9dba - use ast_calloc instead of malloc+memset
- conver one malloc to ast_malloc


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-07 15:19:13 +00:00
BJ Weschke
ed46a313d0 Merged revisions 25322 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r25322 | bweschke | 2006-05-07 09:38:11 -0400 (Sun, 07 May 2006) | 3 lines

 Fix playback behavior to exit correctly when we receive a hangup during playback of the invalid pin message. #7091 (AntD reporting)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25323 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-07 13:39:32 +00:00
BJ Weschke
7e43ace3d8 Merged revisions 25288 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r25288 | bweschke | 2006-05-07 08:48:09 -0400 (Sun, 07 May 2006) | 3 lines

 Reset the value of ast_mainpid if we fork so future remote unix connections display the correct PID. #7098 (tzafrir reporting)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25289 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-07 12:52:08 +00:00
Russell Bryant
7abda7787e various menuselect fixes as a result of boredom during a 9 hour flight and
now a 9 hour layover ...
- If a module is disabled from being built because of failed dependencies or a
  conflict, automatically re-enable the module if the issues are later
  resolved.
- If a module has been disabled by default, only set this value if there is not
  an existing menuselect.makeopts file.  Previously, this value would get reset
  every time you ran menuselect.
- staticize a bunch of functions and variables that aren't public


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-07 12:00:55 +00:00
Mark Spencer
e080c242f1 Minor AJAM fixups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-07 00:04:12 +00:00
BJ Weschke
3e2079e46c Fix output delimiters and add prefix parameter to func_odbc #7025 (Corydon76)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-06 13:36:29 +00:00
Tilghman Lesher
41b1a82a38 Typo fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-06 04:57:40 +00:00
Russell Bryant
1bea4082a2 fix a problem where the frame's data pointer is overwritten by the newly
allocated data buffer before the data can be copied from it.  This is in
the ast_frisolate() function which is rarely used.  (issue #6732, stefankroon)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25164 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-06 02:31:22 +00:00
Russell Bryant
cb263ed3ea git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25162 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2006-05-06 02:26:38 +00:00
Russell Bryant
24ed662549 add Polish language support to Voicemail, with some minor modifications that
include formatting fixes, making it so variables aren't declared in the
middle of a block, and various other little code cleanups
(issue #6970, supczinskib)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-06 02:05:18 +00:00
Russell Bryant
3b43ddac78 Merged revisions 25123 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r25123 | russell | 2006-05-05 20:05:27 -0400 (Fri, 05 May 2006) | 3 lines

ensure that the appropriate manager events are sent in all of the places where
alarms are detected or cleared (issue #6866, flefoll)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-06 00:06:58 +00:00
Russell Bryant
10b4545ac0 modify the handling of the new temporary greeting reminder feature so that
it works for any language


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 22:57:11 +00:00
Russell Bryant
272de2c394 add support for installing other init scripts, other than just the redhat
version.  (issue #7093, initial patch by froguz, extended by north)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 22:49:55 +00:00
BJ Weschke
085a4eaa04 Make the "Avoided Initial Deadlock for '....', X retries!" a LOG_DEBUG msg instead of LOG_WARNING as this only has relevance to developers trying to resolve a possible problem. #6949
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 22:18:07 +00:00
BJ Weschke
d83bd4d136 Integrate the MixMonitor functionality (introduced in 1.2) as an option for recording queue member conversations with callers. #7084
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 22:02:38 +00:00
Russell Bryant
b6ac5b36c6 document the return value of gettag()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25063 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 21:55:25 +00:00
Russell Bryant
e91afbaef1 fix the return value of gettag() to only return the pointer to the provided
tag buffer if the tag was actually found.  There is code that checks to see
if this result is non-zero to determine whether the tag was found or not.
(issue #7092, mikma)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 21:43:06 +00:00
Russell Bryant
5f856ea997 minor code optimizations to reduce the number of times that the ast_frame
and ast_trans_pvt pointers have to be dereferenced (issue #7069, Mithraen)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25059 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 21:36:17 +00:00
Russell Bryant
0794168428 add support for having the user reminded that their temporary greeting
is still set (issue #6120, khaefner)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25057 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 21:22:50 +00:00
BJ Weschke
85e0c889e4 Allow for the execution of an AGI to the caller's channel right before they get bridged with the queue member that is going to take their call. Add the option to set a MEMBERINTERFACE variable on the caller's channel that will contain the interface of the queue member that is going to/did take the call. #6843
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 21:22:45 +00:00
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