Kevin P. Fleming
444adcb477
reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most cases
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49676 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
ff7a8f61a4
Merged revisions 49447 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.2
........
r49447 | mogorman | 2007-01-04 11:45:16 -0600 (Thu, 04 Jan 2007) | 2 lines
converted a lot of 256 to PATH_MAX and some white space fixes.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
04b4ccc4c2
Merged revisions 49412 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.2
........
r49412 | mogorman | 2007-01-04 10:48:43 -0600 (Thu, 04 Jan 2007) | 3 lines
good catch russell sorry i missed that.
fix magic number with proper sizeof
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49413 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
5ebc820813
Merged revisions 49354 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.2
........
r49354 | mogorman | 2007-01-03 17:22:47 -0600 (Wed, 03 Jan 2007) | 6 lines
When using ODBC_STORAGE VoicemailMain doesn't create the
subdirectories for a mailbox such as the INBOX directory.
this patch solves that problem, was written by anthony
be-125
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49355 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
c4bde5b40a
Get rid of a needless memory allocation and only create a conference structure in find_conf_realtime if data was read from realtime. (issue #8669 reported by robl)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48966 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
3a0a8b1908
vms doesn't exist on non-IMAP storage builds.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
695c04cff3
Pass 'vms' pointer to record_and_review so it is then passed to the IMAP store file function. (issue #8614 reported by punknow)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
8d7bdfc607
Merged revisions 48584 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48584 | file | 2006-12-19 16:10:26 -0500 (Tue, 19 Dec 2006) | 2 lines
Free localuser structure when we fail to dial (issue #8612 reported by rizzo)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48585 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
0f325ae583
fix a bogus datalen in the frames generated by app_sms
...
(causing noisy output if you listen to the output!)
This affects trunk as well, whereas 1.2 is ok.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
9b8b64f08d
Use S_OR in my previous app_voicemail. This is the way it should have been done.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48401 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
d24fad5537
Merged revisions 48394 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.2
........
r48394 | mogorman | 2006-12-11 15:55:43 -0600 (Mon, 11 Dec 2006) | 4 lines
app_externalivr needs a real silence file, and additional
changes to add silence files into core instead of extra
patch provided by bug 8177 with minor additions.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
8832f97a1f
Return non-existant callerid handling to that which it was before. In 1.4 and trunk callerid can be allocated but not have any contents so we have to use ast_strlen_zero before passing it to the relevant functions. (issue #8567 reported by pabelanger)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
50ee01ccda
Use the correct API call to say a device state changed. (Yes, I'm a nub.)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
08ab40c1bf
Don't access the conference structure after it has been freed.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
cb95f19c3f
Merged revisions 48374 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48374 | tilghman | 2006-12-10 18:33:59 -0600 (Sun, 10 Dec 2006) | 5 lines
When doing a fork() and exec(), two problems existed (Issue 8086):
1) Ignored signals stayed ignored after the exec().
2) Signals could possibly fire between the fork() and exec(), causing Asterisk
signal handlers within the child to execute, which caused nasty race conditions.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
025c60f84e
Oops, forgot to release the odbc handle
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
1cb96e926a
Merged revisions 48251 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48251 | tilghman | 2006-12-04 19:26:08 -0600 (Mon, 04 Dec 2006) | 6 lines
If the recording in the database is too large, it will fail to retrieve with
an mmap error. Not too sure why this doesn't happen when we put it in the
database, also, but since that doesn't seem to be broken, I'm not going to fix
it (at least until someone reports it). Solution is to ask for the file in
smaller chunks. (Bug 8385)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48252 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
db68a40698
Fix an issue which didn't allow unavail/greet/busy/etc messages from being saved into ODBC (and probably IMAP).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48248 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
a2f6499c0a
Merged revisions 48192 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48192 | kpfleming | 2006-12-01 17:30:59 -0600 (Fri, 01 Dec 2006) | 2 lines
if Dial() is going to send music-on-hold to the calling party, it has to send PROGRESS first to ensure that the reverse audio path has been setup first (BE-106)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
81c438713b
Use MAILTMPLEN instead of sizeof in mm_login. (issue #8420 reported by slimey)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
53b04eea95
Don't crash if the mailstream was not created.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48101 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
ec4cae4068
Merged revisions 48053 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48053 | file | 2006-11-27 13:03:57 -0500 (Mon, 27 Nov 2006) | 2 lines
Use the proper function to get the new message count instead of always using the filesystem. (issue #8421 reported by slimey)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
f4133080ca
Oops, merge missed release of odbc object
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
04c4fbb3b3
Merged revisions 47862 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47862 | tilghman | 2006-11-20 13:59:07 -0600 (Mon, 20 Nov 2006) | 2 lines
Failing to trap -1 error from mmap causes segfault (Issue 8385)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47863 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
335630b10c
Use a separate variable in the channel structure to store the context that the channel was dialed from. (issue #8382 reported by jiddings)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
67546a068c
Fix a couple of typos. Initially pointed out by mrobinson.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
ee182a4b02
Don't unreference the SLA object if there is no SLA object in the devicestate callback. (issue #8354 reported by loloski)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
07c309c8b1
Fix ODBC_STORAGE for when context is NULL
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47709 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
17242b0602
Merged revisions 47677 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47677 | kpfleming | 2006-11-15 11:56:42 -0600 (Wed, 15 Nov 2006) | 4 lines
ensure that message duration is included in email notifications for forwarded messages (BE-96, fix by me after corydon used his clue-bat on me)
ensure that duration in the message metadata is updated if prepending is done during forwarding (related to BE-96)
remove prototype for API call that does not exist
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47693 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
0742fe1d7e
Merged revisions 47631 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47631 | file | 2006-11-14 17:15:10 -0500 (Tue, 14 Nov 2006) | 2 lines
Update copyright information in the ADSI logo blob.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47632 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
cd06244951
Conversion of res_odbc API to include ast_ prefix did not completely transition app_voicemail
...
when ODBC_STORAGE is used (reported on IRC by caio1982, not in bugtracker)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47621 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
159c54a5e9
Use LOG_DEBUG to print out the indication that app_amd is using default settings instead of using LOG_NOTICE. This stops needless logging of this information under normal circumstances. (issue #8361 reported by Seb7)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47617 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
5c5c73ec0f
Merged revisions 47549 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47549 | file | 2006-11-13 12:05:32 -0500 (Mon, 13 Nov 2006) | 2 lines
When sending an SMS with a user data header properly set the UDH flag in the first byte. (issue #8347 reported by hoffmeis)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
6c9e737d70
Only split up extension and context if a value exists. (issue #8332 reported by loloski)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
cb2930ecb4
if adding a queue member is LOG_NOTICE, then removing them should be LOG_NOTICE, not LOG_DEBUG
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
88fb11d10b
reflect addition/removal of dynamic queue members in queue_log, so that people using dialplan replacement for AgentCallbackLogin can still track login/logout (issue #7736 , reported/patched by whoiswes but this commit was written by me and covers all three paths for AQM/RQM)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d2624d72ec
Do conversion in a more easier to read and working way for \r, \n, and \t. (issue #8324 reported by johnlange)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
58ed1b07ab
Work around an issue that caused menuselect to display a bogus description for
...
app_voicemail and chan_zap. These modules use some preprocessor directives to
determine what it will report to Asterisk as its description. However, the way
we extract this information from the source files for menuselect is not smart
enough to figure this out.
(issue #8326 , #8328 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
517978fd5f
These mods are to solve the problem in bug 7506. It's a lot of rework to solve a fairly small problem... such is life.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
0b6456b7f1
large overhaul to voicemail imap support. Allows support for more imap servers,
...
also a better implementation of several parts of the original work.
patch provided by 8033 with major upgrades.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47275 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
56a1e60c54
More changes making the CLI more consistent with "category verb arguments" (continuation of issue 8236)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
e05a2752e8
Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
29d2282f0a
spelling typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
f94fd0ff04
formatting fix.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
86c973f71f
Issue #8246 - Doxygen fixes from kshumard.
...
An extra big thankyou is given to everyone that contributes to doxygen!
THANK YOU!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
d7f9b5f912
We should always be using _exit() after a fork() or vfork() instead of exit().
...
This is because exit() does some extra cleanup which in some implementations
of vfork(), for example, can actually modify the state of the parent process,
causing very weird bugs or crashes. (issue #7971 , Nick Gavrikov)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46363 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
f10529efed
Fix small formatting issue, that causes misaligned line
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46347 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
28d9579584
update warning message to include "agi" option (issue #8225 , jmls)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ce4b0afb73
apparently developers are still not aware that they should be use ast_copy_string instead of strncpy... fix up many more users, and fix some bugs in the process
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
6a74bc409c
Fix the descriptions of some of the MeetMeAdmin options (issue #8098 , mflorell)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d7329034ea
Merged revisions 45691 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r45691 | file | 2006-10-19 13:16:37 -0400 (Thu, 19 Oct 2006) | 2 lines
Respect language selection when seeing if the file exists (issue #8178 reported by mnicholson)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45692 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
552ca7e926
Backport of new directed pickup (BE-85).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45246 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
ba3ac1c86b
Merged revisions 45060 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r45060 | file | 2006-10-13 13:01:22 -0400 (Fri, 13 Oct 2006) | 2 lines
Turn on volume adjustment if it needs to be on (issue #8136 reported by mnicholson)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
c1f12bd5ad
Move say.conf existence check to do_say function since it is called from multiple places (issue #8144 reported by kshumard)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ff05bf15c8
update thread creation code a bit
...
reduce standard thread stack size slightly to allow the pthreads library to allocate the stack+data and not overflow a power-of-2 allocation in the kernel and waste memory/address space
add a new stack size for 'background' threads (those that don't handle PBX calls) when LOW_MEMORY is defined
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
fcd80ee83b
OOOps! There is no alternative to suggest in 1.4. A small erasure.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
7ceeecd23f
In response to bug 7776, a Warning has been added to the doc string for Macro().
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44337 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
b4a673780a
Merged revisions 44296 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44296 | kpfleming | 2006-10-03 15:14:13 -0500 (Tue, 03 Oct 2006) | 2 lines
fix a logic error in my previous fix to the queue reload code
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
4be96dc8d3
Fix incorrect argument order for member names, on persisted members.
...
Issue 8047, patch by jmls.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d2d4833b79
Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
78e8232ef8
Merged revisions 43916 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43916 | kpfleming | 2006-09-28 12:31:57 -0500 (Thu, 28 Sep 2006) | 2 lines
fix buggy (and overly complex) loop used during reload of app_queue for static member list updating
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43919 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
1dd8d10aa9
Merged revisions 43897 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43897 | bweschke | 2006-09-28 12:37:15 -0400 (Thu, 28 Sep 2006) | 3 lines
app_queue is comparing the device names incorrectly while checking their statuses. It's internal list of interfaces includes the dial string, while the argument passed to this function does not have the dial string (/n for a local channel). This causes it to ignore the device state changes because it thinks it belongs to none of its members. (#8040 reported and patch by tim_ringenbach)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43899 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
a30a5f2f09
Merged revisions 43891 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43891 | file | 2006-09-28 12:13:55 -0400 (Thu, 28 Sep 2006) | 2 lines
Stop the stream after waitstream returns so that our formats get restored. (issue #7370 reported by kryptolus)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43893 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
675749c706
Merged revisions 43871 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43871 | bweschke | 2006-09-28 11:18:05 -0400 (Thu, 28 Sep 2006) | 3 lines
Fix race condion crash with get_member_status (#7864 - tim_ringenbach reported and patched)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43873 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
669bbb6784
Autopause not working for queue members. ( #8042 - jmls reported and patch)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
07317339ce
Merged revisions 43815 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43815 | tilghman | 2006-09-27 15:20:35 -0500 (Wed, 27 Sep 2006) | 2 lines
Avoid inability to lock directory log message by creating the directory ahead of time. (Issue 7631)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43816 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
482c18499e
Fix an issue with PLAYBACKSTATUS not being set under certain circumstances.
...
Fix a minor issue, to make it use the filenames that were parsed, instead of the entire argument string.
Fix Background() to return -1 like Playback(), if no args are specified.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
86c80784e0
Backport revision 43754 from the trunk, which removes an unused buffer from
...
mm_login to close bug 8038, as well as addresses some formatting and coding
guidelines issues in passing.
Originally, I did not commit this to 1.4 since it is not necessarily fixing a
bug. However, since the IMAP storage code is brand new, I decided it would
be better to make the change here as well, in case someone has to work on this
code to address issues in the very near future. I don't want to make
unnecessary merge problems going to the trunk.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43756 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
6cb2b9fedb
Merged revisions 43699 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43699 | russell | 2006-09-26 16:23:15 -0400 (Tue, 26 Sep 2006) | 6 lines
When parsing the sections of voicemail.conf that contain mailbox definitions,
don't introduce a length limit on the definition by using a 256 byte temporary
storage buffer. Instead, make the temporary buffer just as big as it needs
to be to hold the entire mailbox definition.
(fixes BE-68)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43700 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d95288fdf8
Slight overhaul of the whisper support. 1. We need to duplicate the frame from ast_translate 2. We need to ensure we always have signed linear coming in for signed linear combining. 3. We need to ensure we are always feeding signed linear out. 4. Properly store and restore write format when beeping on the channel we are whispering on. 5. Properly discontinue the stream on the channel for the beep. (issue #8019 reported by timkelly1980)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43695 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
314d85326e
Should have moved these lines up in the merge, instead of removing them
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43642 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
84f8e88490
Merged revisions 43634 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43634 | tilghman | 2006-09-25 16:14:41 -0500 (Mon, 25 Sep 2006) | 4 lines
Two bugs when forwarding voicemail (Issue 7824):
1) delete=yes was ignored
2) maxmessages was ignored
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
f0fdf0acf9
Fix documentation to reflect how Url() really works
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43445 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
c708dee67a
Oops, missed the merge breakage
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43441 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
b5902caa79
Merged revisions 43420 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43420 | tilghman | 2006-09-21 12:01:48 -0500 (Thu, 21 Sep 2006) | 2 lines
Whitespace change... really just an excuse to test repotools
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
0a28b21d01
Warning be gone.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43371 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
d70fe791c2
A few misses from constification
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
70af28270d
Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
61e4465f49
Fix a segfault that was reported by jcmoore in #asterisk-bugs on IRC.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43357 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
50c1981780
We need to persist the member name also
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43322 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
a7119b522d
Add a "member name" to queue members.
...
Add option to the various methods of adding a queue member, to add the "member name".
Member name is used in (most) queue log records, in place of the interface name.
This makes it consistent, so that you can log in from any device, and still be logged as "member name"
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
41d3e99e28
move ADSI functionality into ast_ namespace
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
33ddb53663
Various updates from PCadach's chan_h323-live branch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
d0a1a0033d
similar patch for verbose vs debug with minor changes
...
bug 2617
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
e2253df3ec
Merged revisions 43248 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43248 | tilghman | 2006-09-19 07:28:55 -0500 (Tue, 19 Sep 2006) | 2 lines
cid is passed to a destructive function; thus a copy is needed (issue 7961)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
fcb999c01c
merge qwell's CLI verbification work
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
e39c9d7619
Merged revisions 43072 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43072 | tilghman | 2006-09-17 08:54:34 -0500 (Sun, 17 Sep 2006) | 3 lines
Directory used the wrong context for delivery of 0- and *- keypresses
(according to Directory's own documentation) - Issue 7965
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43075 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
c2c4f86c72
merge markster's usersconf branch with some slight changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
e16104185a
Merged revisions 43003 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43003 | tilghman | 2006-09-15 23:44:02 -0500 (Fri, 15 Sep 2006) | 2 lines
When the marked user enters the conference, we should no longer timeout
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
25b0e3a148
use strcpy instead of sprintf
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42858 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
a3a8442e5c
i dont know how msg_cfg got moved around but its all good again
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42842 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
979ef8d2ed
Merged revisions 42783 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42783 | tilghman | 2006-09-11 16:47:23 -0500 (Mon, 11 Sep 2006) | 4 lines
When paging, only wait 5 seconds for the marked user to enter the conference.
After that, assume the paging already completed by the time the channel entered
the conference and drop back out. (Issue 7275)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42788 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Anthony LaMantia
ef879455f5
small fix for issue 007926
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
9e397b6bba
In trunk, ast_fileexists now returns 0 for failure, instead of -1, as it did
...
in 1.2. This corrected a longstanding confusion about the return value.
Unfortunately, it broke this app in the process. (Issue 7906)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42621 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
f4434eba6f
Get rid of ugly tmp directory, although I really should
...
fix the way imap accesses its temporary voice files.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
ae6795f3ec
Merged revisions 42421 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42421 | tilghman | 2006-09-08 11:06:17 -0500 (Fri, 08 Sep 2006) | 2 lines
Jump logic was backwards: goto returns 0 if it succeeds, and we should jump if authentication fails. (Bug #7907 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
62e58282eb
Destroy msg_cfg after it's used, not before (issue #7618 reported by wvolz with minor mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
fa12b3c774
Merged revisions 42355 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42355 | tilghman | 2006-09-07 18:12:29 -0500 (Thu, 07 Sep 2006) | 2 lines
Format vulnerability fix - allowing the user to specify a format is not a good idea (Bug 7811)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
dd0b891e57
Minor cleanup and make sure the tmp variable is clean
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
36935ffc42
protect curhst and curusr
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago