Commit Graph

2079 Commits

Author SHA1 Message Date
Russell Bryant
c41964cd78 Remove an unused instance of an unnamed enum.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51343 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-20 00:13:06 +00:00
Russell Bryant
c94df4db51 Remove another duplicated definition
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51341 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 22:19:10 +00:00
Russell Bryant
89285ade68 Remove a variable that was declared twice.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51339 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 21:20:20 +00:00
Jason Parker
76eb4e76dc Add some more checks for option_debug before ast_log(LOG_DEBUG, ...) calls.
Issue 8832, patch(es) by tgrman


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 22:50:23 +00:00
Joshua Colp
f6132a8ec4 Only start timeout once we reach the end of the files to play back.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51251 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 19:17:34 +00:00
Joshua Colp
d4398c0bb6 Build the IMAP remote directory string better and properly. Fix an issue with encoding the GSM voicemail when attaching to the voicemail. (issue #8808 reported by akohlsmith)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 00:48:55 +00:00
Jason Parker
d47da64f51 re-add "password" for realtime voicemail
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51186 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 17:36:53 +00:00
Kevin P. Fleming
439034e464 a few more coding style cleanups and one bug fix (from AnthonyL)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 01:29:12 +00:00
Jason Parker
c3f17ca3c1 Fix an issue with IMAP storage and realtime voicemail.
Also update the vmdb sql script for IMAP specific options.

Issue 8819, initial patches by bsmithurst (slightly modified by me)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 22:50:19 +00:00
Tilghman Lesher
87ea385650 Merged revisions 51158 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r51158 | tilghman | 2007-01-16 15:26:06 -0600 (Tue, 16 Jan 2007) | 2 lines

Postgres driver doesn't like a NULL pointer when retrieving the length (Bug 8513)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 21:28:39 +00:00
Matt O'Gorman
ea3421ec27 minor things i missed before i get jumped on
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51150 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 17:46:12 +00:00
Matt O'Gorman
cc003179d4 Patch allows for changing voicemail password in users.conf from voicemail main, written by AnthonyL bug #8436
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51030 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 00:22:09 +00:00
Matt O'Gorman
d95432aad3 Merged revisions 50946 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2

........
r50946 | mogorman | 2007-01-15 14:44:53 -0600 (Mon, 15 Jan 2007) | 4 lines

Solves issue with forwarding voicemails from folders other than inbox.
patch by anthonyl.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-15 21:08:07 +00:00
Joshua Colp
4ec0f8cbd6 Merge speech-multi branch which adds support for joining multiple sound files together to be played one after another in SpeechBackground.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-10 20:25:44 +00:00
Joshua Colp
2c4359d9b3 Merged revisions 50295 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r50295 | file | 2007-01-09 23:51:06 -0500 (Tue, 09 Jan 2007) | 2 lines

Add another return value to dial_exec_full that indicates execution is going to continuing at a new extension/context/priority and to just let it slide. (issue #8598 reported by jon)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-10 04:55:13 +00:00
Tilghman Lesher
8597c8f7b4 Merged revisions 50150 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r50150 | tilghman | 2007-01-09 07:30:04 -0600 (Tue, 09 Jan 2007) | 4 lines

The advent of realtime has enabled people to use commas in the fullname field.
This could cause an issue with sending voicemails, when the field is unquoted.
(Issue 8595)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50151 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-09 13:40:45 +00:00
Jason Parker
5cd6177995 Fix an issue with voicemail and users.conf, where it wouldn't ever parse a password, since it was using "secret" instead of "password"
Issue 8761, reported by and patch suggestion from ssokol.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50098 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-08 23:39:12 +00:00
Matt O'Gorman
f7767f2e23 we can't unlock a channel if we cant find it. - AnthonyL bug #8741
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-08 21:11:16 +00:00
Tilghman Lesher
5d9b3e845f Merged revisions 49833 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r49833 | tilghman | 2007-01-07 15:43:10 -0600 (Sun, 07 Jan 2007) | 2 lines

If openstream fails, then we crash (Issue 8564)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49834 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-07 21:44:52 +00:00
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
2007-01-05 22:16:33 +00:00
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
2007-01-04 18:11:19 +00:00
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
2007-01-04 16:50:56 +00:00
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
2007-01-03 23:32:03 +00:00
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
2006-12-26 05:20:08 +00:00
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
2006-12-20 02:56:09 +00:00
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
2006-12-19 23:04:30 +00:00
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
2006-12-19 21:12:07 +00:00
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
2006-12-19 21:03:02 +00:00
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