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
2006-12-12 04:13:48 +00:00
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
2006-12-11 22:11:35 +00:00
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
2006-12-11 21:31:23 +00:00
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
2006-12-11 05:30:01 +00:00
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
2006-12-11 04:57:38 +00:00
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
2006-12-11 00:47:21 +00:00
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
2006-12-05 01:41:02 +00:00
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
2006-12-05 01:34:34 +00:00
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
2006-12-04 21:48:41 +00:00
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
2006-12-01 23:37:28 +00:00
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
2006-11-29 21:05:17 +00:00
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
2006-11-29 04:26:53 +00:00
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
2006-11-27 18:06:50 +00:00
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
2006-11-20 20:01:58 +00:00
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
2006-11-20 20:00:54 +00:00
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
2006-11-20 15:51:37 +00:00
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
2006-11-16 23:19:46 +00:00
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
2006-11-16 17:52:48 +00:00
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
2006-11-15 21:56:55 +00:00
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
2006-11-15 20:27:38 +00:00
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
2006-11-14 22:17:16 +00:00
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
2006-11-14 18:54:40 +00:00
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
2006-11-14 16:45:57 +00:00
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
2006-11-13 17:08:07 +00:00
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
2006-11-10 16:53:16 +00:00
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
2006-11-10 16:36:49 +00:00
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
2006-11-10 16:34:04 +00:00
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
2006-11-09 22:32:30 +00:00
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
2006-11-09 21:26:27 +00:00
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
2006-11-07 23:46:41 +00:00
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
2006-11-07 18:38:32 +00:00
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
2006-11-02 23:49:13 +00:00
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
2006-11-02 23:00:20 +00:00
Matt O'Gorman
29d2282f0a
spelling typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 22:25:43 +00:00
Matt O'Gorman
f94fd0ff04
formatting fix.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 22:22:34 +00:00
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
2006-10-30 16:27:34 +00:00
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
2006-10-27 17:39:31 +00:00
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
2006-10-26 20:25:44 +00:00
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
2006-10-25 19:08:18 +00:00
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
2006-10-25 14:32:08 +00:00
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
2006-10-24 01:04:14 +00:00
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
2006-10-19 17:19:47 +00:00
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
2006-10-16 17:24:35 +00:00
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
2006-10-13 17:05:02 +00:00
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
2006-10-13 16:20:58 +00:00
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
2006-10-04 19:47:22 +00:00
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
2006-10-04 15:52:12 +00:00
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
2006-10-04 15:49:20 +00:00
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
2006-10-03 20:18:29 +00:00
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
2006-09-28 20:11:22 +00:00