Commit Graph

8236 Commits

Author SHA1 Message Date
BJ Weschke 415dff6f2a Merged revisions 25518 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r25518 | bweschke | 2006-05-08 09:11:32 -0400 (Mon, 08 May 2006) | 3 lines

 Don't recheck valid_exit() after getting the result from say_position (which already checks it). Should prevent another loop if the caller hits digits during the position announcement. #6776 (tgj reporting)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25519 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 13:12:39 +00:00
BJ Weschke 569ecaf5a2 use pid_t instead of long for pid variables. #7099 (casper)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 12:32:44 +00:00
BJ Weschke 714aab87bb Fix situation for when there is no monitor_option defined, but there is a monitor_exec defined.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 12:30:46 +00:00
Russell Bryant 03120e00ad use ast_channel_(un)lock
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 11:30:32 +00:00
Matt O'Gorman ad825dcd8e added managerevent meetmemute with status on or off.
patch provided by bug 6811, with modifications for api.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25447 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 11:26:06 +00:00
Russell Bryant fb7757440f remove a check of the result from ast_mutex_lock
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 11:26:01 +00:00
Joshua Colp 3fbd46099e Incorrect log statement when playing transfer sounds (issue #7008 reported and fixed by nathan)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25444 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 11:22:00 +00:00
Russell Bryant 0fd612930a - convert the lists of switches to use the linked list macros
- remove some checks of the result of ast_mutex_lock, since it is not necessary
   (this would be a good project to add to the janitor projects list).


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25443 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 11:20:19 +00:00
Matt O'Gorman 05ea5482d0 woohoo asterdevcon first commit, adds feature to
cli for agents, show agents online , patch from bug
7096


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25441 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 11:08:38 +00:00
Russell Bryant a252d79484 remove an XXX comment
- we can't use ast_true here because non-empty strings would no longer be
   evaluated as true
document the return values of pbx_checkcondition() in doxygen format


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 10:08:20 +00:00
Mark Spencer 4b3832fc87 VIDUPDATE does not matter during playback.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25385 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 07:56:42 +00:00
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