Philippe Sultan [Fri, 29 Feb 2008 14:15:03 +0000 (14:15 +0000)]
Remove unnecessary if statements before calling iks_delete (redundant check is
done inside iks_delete), thus making the code conform with coding guidelines.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@105263
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 29 Feb 2008 13:55:22 +0000 (13:55 +0000)]
Merged revisions 105261 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r105261 | file | 2008-02-29 09:48:13 -0400 (Fri, 29 Feb 2008) | 4 lines
Bump up the size of the uniqueid variable.
(closes issue #12107)
Reported by: asgaroth
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@105262
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Philippe Sultan [Fri, 29 Feb 2008 13:12:34 +0000 (13:12 +0000)]
Automatically create new buddy upon reception of a presence stanza of
type subscribed.
(closes issue #12066)
Reported by: ffadaie
Patches:
branch-1.4-12066-1.diff uploaded by phsultan (license 73)
trunk-12066-1.diff uploaded by phsultan (license 73)
Tested by: ffadaie, phsultan
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@105210
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 29 Feb 2008 01:15:20 +0000 (01:15 +0000)]
Merged revisions 105113 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r105113 | tilghman | 2008-02-28 15:56:54 -0600 (Thu, 28 Feb 2008) | 7 lines
Update init script for LSB compat
(closes issue #9843)
Reported by: ibc
Patches:
rc.debian.asterisk.patch uploaded by ibc (license 211)
Tested by: paravoid
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@105176
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 28 Feb 2008 22:39:26 +0000 (22:39 +0000)]
Merged revisions 105116 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r105116 | russell | 2008-02-28 16:23:05 -0600 (Thu, 28 Feb 2008) | 8 lines
Fix a bug in the lock tracking code that was discovered by mmichelson. The issue
is that if the lock history array was full, then the functions to mark a lock as
acquired or not would adjust the stats for whatever lock is at the end of the array,
which may not be itself. So, do a sanity check to make sure that we're updating
lock info for the proper lock.
(This explains the bizarre stats on lock #63 in BE-396, thanks Mark!)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@105144
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Thu, 28 Feb 2008 20:14:38 +0000 (20:14 +0000)]
Merged revisions 105059 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r105059 | mmichelson | 2008-02-28 14:11:57 -0600 (Thu, 28 Feb 2008) | 6 lines
When using autofill, members who are in use should be counted towards the
number of available members to call if ringinuse is set to yes.
Thanks to jmls who brought this issue up on IRC
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@105061
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Thu, 28 Feb 2008 20:14:04 +0000 (20:14 +0000)]
Merged revisions 104841 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104841 | mmichelson | 2008-02-27 15:49:20 -0600 (Wed, 27 Feb 2008) | 17 lines
Two fixes:
1. Make the list of ast_dial_channels a lockable list. This is because in some cases,
the ast_dial may exist in multiple threads due to asynchronous execution of its application, and
I found some cases where race conditions could exist.
2. Check in ast_dial_join to be sure that the channel still exists before attempting to lock it, since
it could have gotten hung up but the is_running_app flag on the ast_dial_channel may not have been
cleared yet.
(closes issue #12038)
Reported by: jvandal
Patches:
12038v2.patch uploaded by putnopvut (license 60)
Tested by: jvandal
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@105060
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Thu, 28 Feb 2008 19:21:15 +0000 (19:21 +0000)]
Merged revisions 105005 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r105005 | qwell | 2008-02-28 13:20:10 -0600 (Thu, 28 Feb 2008) | 9 lines
Make pbx_exec pass an empty string into applications, if we get NULL.
This protects against possible segfaults in applications that may try
to use data before checking length (ast_strdupa'ing it, for example)
(closes issue #12100)
Reported by: foxfire
Patches:
12100-nullappargs.diff uploaded by qwell (license 4)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@105006
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 28 Feb 2008 14:42:32 +0000 (14:42 +0000)]
Fix crash when configuration does not match hardware detection.
(closes issue #12096)
Reported by: mmickan
Patches:
chan_vpb.cc.diff uploaded by mmickan (license 400)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104974
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Thu, 28 Feb 2008 04:37:28 +0000 (04:37 +0000)]
Merged revisions 104920 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104920 | qwell | 2008-02-27 22:31:21 -0600 (Wed, 27 Feb 2008) | 2 lines
According to a video at www.cisco.com, the 7921G supports 6 line appearances.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104921
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 28 Feb 2008 00:11:31 +0000 (00:11 +0000)]
Merged revisions 104868 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104868 | tilghman | 2008-02-27 18:05:06 -0600 (Wed, 27 Feb 2008) | 7 lines
Compatibility fix for PPC64
(closes issue #12081)
Reported by: jcollie
Patches:
asterisk-1.4.18-funcdesc.patch uploaded by jcollie (license 412)
Tested by: jcollie, Corydon76
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104869
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 27 Feb 2008 23:58:49 +0000 (23:58 +0000)]
reduce indentation in alloc_sub
(issue #12079)
Reported by: tzafrir
Patches:
alloc_sub uploaded by tzafrir (license 46)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104866
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 27 Feb 2008 21:02:08 +0000 (21:02 +0000)]
Merged revisions 104787 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104787 | file | 2008-02-27 16:56:23 -0400 (Wed, 27 Feb 2008) | 2 lines
Don't loop around infinitely trying to spy on our own channel, and don't forget to free/detach the datastore upon hangup of the spy.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104788
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 27 Feb 2008 20:37:32 +0000 (20:37 +0000)]
Merged revisions 104783 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104783 | mmichelson | 2008-02-27 14:36:26 -0600 (Wed, 27 Feb 2008) | 4 lines
Bump a couple of more buffers up by 2 so that annoying warnings aren't generated
like crazy on every fileexists_core call.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104784
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 27 Feb 2008 19:36:34 +0000 (19:36 +0000)]
Remove useless 's' and 'key' variables, in favor of 'val', which serves the exact same purpose.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104756
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 27 Feb 2008 18:20:35 +0000 (18:20 +0000)]
Merged revisions 104704 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104704 | tilghman | 2008-02-27 12:15:10 -0600 (Wed, 27 Feb 2008) | 2 lines
Ensure the session ID can't be 0.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104705
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 27 Feb 2008 17:45:55 +0000 (17:45 +0000)]
Merged revisions 104665 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104665 | file | 2008-02-27 13:41:40 -0400 (Wed, 27 Feb 2008) | 2 lines
Bump up the buffer by 2.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104687
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 27 Feb 2008 17:36:50 +0000 (17:36 +0000)]
Merged revisions 104625 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104625 | russell | 2008-02-27 11:33:04 -0600 (Wed, 27 Feb 2008) | 4 lines
Fix a problem in ChanSpy where it could get stuck in an infinite loop without
being able to detect that the calling channel hung up.
(closes issue #12076, reported by junky, patched by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104643
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 27 Feb 2008 17:31:31 +0000 (17:31 +0000)]
Merged revisions 104598 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104598 | qwell | 2008-02-27 11:26:55 -0600 (Wed, 27 Feb 2008) | 8 lines
Inherit language from the transfering channel on a blind transfer.
(closes issue #11682)
Reported by: caio1982
Patches:
local_atxfer_lang3-1.4.diff uploaded by caio1982 (license 22)
Tested by: caio1982, victoryure
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104617
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 27 Feb 2008 17:12:08 +0000 (17:12 +0000)]
Merged revisions 104596 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104596 | file | 2008-02-27 13:07:33 -0400 (Wed, 27 Feb 2008) | 4 lines
Use the lock (which already existed, it just wasn't used) on the updaters list to protect the contents instead of the overall module list lock.
(closes issue #12080)
Reported by: ChaseVenters
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104597
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 27 Feb 2008 17:04:16 +0000 (17:04 +0000)]
After further discussion revert my previous commit for this. Currently in order to ensure devicestate is the expected value in another module (such as app_queue) then chan_sip must be loaded before hand.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104595
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 27 Feb 2008 16:54:14 +0000 (16:54 +0000)]
Merged revisions 104593 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104593 | kpfleming | 2008-02-27 10:53:06 -0600 (Wed, 27 Feb 2008) | 8 lines
fallback to standard English prompts properly when using new prompt directory layout
(closes issue #11831)
Reported by: IgorG
Patches:
fallbacken.v1.diff uploaded by IgorG (license 20) (modified by me to improve code and conform rest of function to coding guidelines)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104594
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 27 Feb 2008 16:46:49 +0000 (16:46 +0000)]
Blocked revisions 104591 via svnmerge
........
r104591 | russell | 2008-02-27 10:45:00 -0600 (Wed, 27 Feb 2008) | 4 lines
When we receive a known alarm, make sure that the unknown alarm flag is not still
set to make sure that when we come back out of alarm, it gets reported in the log
and manager interface (after discussion with tzafrir on the -dev list)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104592
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 27 Feb 2008 16:26:57 +0000 (16:26 +0000)]
When queueing up a device state change when the peer is loaded from the configuration give it a state of not in use. We have to do this because the channel technology may not yet be registered so the state could not be queried and would be considered invalid.
(closes issue #12087)
Reported by: liorm
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104539
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 27 Feb 2008 15:58:28 +0000 (15:58 +0000)]
Merged revisions 104536 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104536 | file | 2008-02-27 11:52:02 -0400 (Wed, 27 Feb 2008) | 4 lines
Only stop the MWI monitor thread if it was actually started.
(closes issue #12086)
Reported by: francesco_r
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104537
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 27 Feb 2008 15:34:28 +0000 (15:34 +0000)]
open(2) needs a mode argument when O_CREAT is specified.
(Closes issue #12083)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104534
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 27 Feb 2008 15:31:09 +0000 (15:31 +0000)]
Fix T38 passthrough regression introduced by state changes.
(closes issue #12078)
Reported by: dimas
Patches:
v1-12078.patch uploaded by dimas (license 88)
(closes issue #12074)
Reported by: Ivan
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104533
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 27 Feb 2008 08:20:15 +0000 (08:20 +0000)]
Bring Voicetronix driver up to date with current drivers
(closes issue #12084)
Reported by: mmickan
Patches:
chan_vpb.cc.diff uploaded by mmickan (license 400)
module.h.diff uploaded by mmickan (license 400)
vpb.conf.sample uploaded by mmickan (license 400)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104502
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 27 Feb 2008 04:42:59 +0000 (04:42 +0000)]
note that the chan_sip conversion is already in progress
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104473
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 27 Feb 2008 04:33:30 +0000 (04:33 +0000)]
add another janitor project
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104444
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 27 Feb 2008 04:14:54 +0000 (04:14 +0000)]
Add the stuff from the janitor projects page that is still relevant. I figure
that if we keep this in the tree, it will be much easier to keep up to date.
The page on asterisk.org just links to this on svn.digium.com/view
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104419
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 27 Feb 2008 03:52:18 +0000 (03:52 +0000)]
Create placeholder file...for now.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104418
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 27 Feb 2008 02:05:36 +0000 (02:05 +0000)]
Whitespace changes only
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104388
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 27 Feb 2008 01:16:06 +0000 (01:16 +0000)]
Merged revisions 104334 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104334 | russell | 2008-02-26 19:15:02 -0600 (Tue, 26 Feb 2008) | 3 lines
Avoid some recursion in the cleanup code for the chanspy datastore
(closes issue #12076, reported by junky, patched by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104335
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 27 Feb 2008 00:55:12 +0000 (00:55 +0000)]
Blocked revisions 104332 via svnmerge
........
r104332 | russell | 2008-02-26 18:54:29 -0600 (Tue, 26 Feb 2008) | 5 lines
Zaptel 1.4 now exposes FXO battery state as an alarm. However, Asterisk 1.4
does not know what to do with these alarms. Only Asterisk 1.6 cares about it.
So, if we get an unknown alarm in chan_zap, don't generate confusing log messages
about it.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104333
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Tue, 26 Feb 2008 22:14:22 +0000 (22:14 +0000)]
small change to allow this file to compile. No problem if you don't install the libsnmp package.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104301
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 26 Feb 2008 20:33:08 +0000 (20:33 +0000)]
I swear I compiled this ... *cough*
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104270
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 26 Feb 2008 20:30:50 +0000 (20:30 +0000)]
fix this module, too
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104260
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 26 Feb 2008 20:28:47 +0000 (20:28 +0000)]
fix this module
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104251
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 26 Feb 2008 20:19:03 +0000 (20:19 +0000)]
Re-add the automatically generated version.h, so that modules can include for
making build time decisions for cross asterisk version compatibility
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104245
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 26 Feb 2008 20:02:14 +0000 (20:02 +0000)]
Rename version.h to ast_version.h. Next, I will be re-adding version.h as an
automatically generated file like it used to be. This still needs to be there
for modules that have to check it to compile against multiple asterisk versions.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104244
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 26 Feb 2008 19:14:04 +0000 (19:14 +0000)]
Add an 'e' option to ResetCDR which re-enables a CDR that has been disabled.
(closes issue #11170)
Reported by: kratzers
Patches:
ResetCDR.1.diff uploaded by kratzers (license 307)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104215
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 26 Feb 2008 18:40:26 +0000 (18:40 +0000)]
1) Make braces mandatory for if/for/while, even around single statements.
2) Revise the argument parsing section, showing use of the standard macros.
3) Fix a typo.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104176
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 26 Feb 2008 18:27:08 +0000 (18:27 +0000)]
Merged revisions 104141 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104141 | qwell | 2008-02-26 12:26:12 -0600 (Tue, 26 Feb 2008) | 1 line
Add badshell to .PHONY target (thanks Kevin)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104142
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 26 Feb 2008 18:10:20 +0000 (18:10 +0000)]
Merged revisions 104139 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104139 | qwell | 2008-02-26 12:09:13 -0600 (Tue, 26 Feb 2008) | 2 lines
Since all shells aren't as awesome as bash, we have to fail if somebody tries to use a literal "~" in DESTDIR.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104140
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 26 Feb 2008 16:51:25 +0000 (16:51 +0000)]
Formatting and doxygen while waiting on an airport...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104137
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 26 Feb 2008 16:36:49 +0000 (16:36 +0000)]
Merged revisions 104135 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104135 | qwell | 2008-02-26 10:35:06 -0600 (Tue, 26 Feb 2008) | 5 lines
Revert previous abspath change.
...abspath is new in GNU make 3.81. I feel so...defeated.
Must find new fix!
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104136
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 26 Feb 2008 16:09:38 +0000 (16:09 +0000)]
Merged revisions 104132 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104132 | qwell | 2008-02-26 10:08:44 -0600 (Tue, 26 Feb 2008) | 9 lines
Fix a very bizarre issue we were seeing with our buildbot when using a DESTDIR that
wasn't an absolute path (such as DESTDIR=~/asterisk-1.4).
Apparently what was happening, was that some of the targets were being expanded to
the full path, so $@ ended up being /root/asterisk-1.4/[...]/ rather than ~/asterisk-1.4/[...]/
It appears that this may be a new "feature" in GNU make.
(*cough* http://en.wikipedia.org/wiki/Principle_of_least_surprise *cough*)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104133
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Tue, 26 Feb 2008 14:51:21 +0000 (14:51 +0000)]
Remove more hardcoded pipe symbols and replace with commas.
(closes issue #12072)
Reported by: SimonSharman
Patches:
features.patch uploaded by SimonSharman (license 410)
Tested by: SimonSharman
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104127
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 26 Feb 2008 06:43:16 +0000 (06:43 +0000)]
Use the readhandle for reads (closes issue #12069)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104125
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 26 Feb 2008 00:38:02 +0000 (00:38 +0000)]
Add a \todo to convert this module to the event system
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104124
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 26 Feb 2008 00:35:30 +0000 (00:35 +0000)]
Update CHANGES for SMDI stuff
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104123
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 26 Feb 2008 00:31:40 +0000 (00:31 +0000)]
Merged revisions 104119 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104119 | russell | 2008-02-25 18:25:29 -0600 (Mon, 25 Feb 2008) | 33 lines
Merge changes from team/russell/smdi-1.4
This commit brings in a significant set of changes to the SMDI support in Asterisk.
There were a number of bugs in the current implementation, most notably being that
it was very likely on busy systems to pop off the wrong message from the SMDI message
queue. So, this set of changes fixes the issues discovered as well as introducing
some new ways to use the SMDI support which are required to avoid the bugs with
grabbing the wrong message off of the queue.
This code introduces a new interface to SMDI, with two dialplan functions. First,
you get an SMDI message in the dialplan using SMDI_MSG_RETRIEVE() and then you access
details in the message using the SMDI_MSG() function. A side benefit of this is that
it now supports more than just chan_zap.
For example, with this implementation, you can have some FXO lines being terminated
on a SIP gateway, but the SMDI link in Asterisk.
Another issue with the current implementation is that it is quite common that the
station ID that comes in on the SMDI link is not necessarily the same as the Asterisk
voicemail box. There are now additional directives in the smdi.conf configuration
file which let you map SMDI station IDs to Asterisk voicemail boxes.
Yet another issue with the current SMDI support was related to MWI reporting over
the SMDI link. The current code could only report a MWI change when the change
was made by someone calling into voicemail. If the change was made by some other
entity (such as with IMAP storage, or with a web interface of some kind), then the
MWI change would never be sent. The SMDI module can now poll for MWI changes if
configured to do so.
This work was inspired by and primarily done for the University of Pennsylvania.
(also related to issue #9260)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104120
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 26 Feb 2008 00:05:17 +0000 (00:05 +0000)]
Blocked revisions 104111 via svnmerge
........
r104111 | qwell | 2008-02-25 18:03:30 -0600 (Mon, 25 Feb 2008) | 7 lines
IPTOS_MINCOST is not defined on Solaris.
(closes issue #12050)
Reported by: asgaroth
Patches:
12050.patch uploaded by putnopvut (license 60)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104112
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 25 Feb 2008 23:56:47 +0000 (23:56 +0000)]
Deprecate the "stripmsd" option in favor of dialplan substring variable syntax.
(closes issue #12060)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104110
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 25 Feb 2008 23:48:16 +0000 (23:48 +0000)]
Merged revisions 104106 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104106 | russell | 2008-02-25 17:42:42 -0600 (Mon, 25 Feb 2008) | 10 lines
This patch fixes some pretty significant problems with how app_chanspy handles
pointers to channels that are being spied upon. It was very likely that a
crash would occur if the channel being spied upon hung up. This was because
the current ast_channel handling _requires_ that the object is locked or else
it could disappear at any time (except in the owning channel thread). So, this
patch uses some channel datastore magic on the spied upon channel to be able to
detect if and when the channel goes away.
(closes issue #11877)
(patch written by me, but thanks to kpfleming for the idea, and to file for review)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104107
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 25 Feb 2008 23:19:31 +0000 (23:19 +0000)]
Merged revisions 104102 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104102 | russell | 2008-02-25 17:19:05 -0600 (Mon, 25 Feb 2008) | 7 lines
Improve the lock tracking code a bit so that a bunch of old locks that threads
failed to lock don't sit around in the history. When a lock is first locked,
this checks to see if the last lock in the list was one that was failed to be
locked. If it is, then that was a lock that we're no longer sitting in a trylock
loop trying to lock, so just remove it.
(inspired by issue #11712)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104103
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 25 Feb 2008 23:04:20 +0000 (23:04 +0000)]
Permit additional CDR columns to be saved in Postgres. Note that these
changes are backward-compatible, so no changes to UPGRADE.txt are
necessary.
(closes issue #9279)
Reported by: rottenroddy
Patches:
20080125__bug9279.diff.txt uploaded by Corydon76 (license 14)
Tested by: Corydon76
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104101
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 25 Feb 2008 21:56:19 +0000 (21:56 +0000)]
Shared space for variables (instead of letting other channels muck with your own)
(closes issue #11943)
Reported by: ramonpeek
Patches:
20080208__bug11943__2.diff.txt uploaded by Corydon76 (license 14)
Tested by: jmls
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104098
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 25 Feb 2008 21:53:36 +0000 (21:53 +0000)]
Merged revisions 104094 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104094 | tilghman | 2008-02-25 15:31:47 -0600 (Mon, 25 Feb 2008) | 5 lines
If the destination folder is full, don't delete a message when exiting.
(closes issue #12065)
Reported by: selsky
Patch by: (myself)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104097
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 25 Feb 2008 21:40:30 +0000 (21:40 +0000)]
Merged revisions 104095 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104095 | file | 2008-02-25 17:37:20 -0400 (Mon, 25 Feb 2008) | 6 lines
Make it so a users.conf user creates both a SIP peer and a SIP user. The user will be used for inbound authentication for the device, and peer will be used for placing calls to the device.
(closes issue #9044)
Reported by: queuetue
Patches:
sip-gui-friend.diff uploaded by qwell (license 4)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104096
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Mon, 25 Feb 2008 20:50:57 +0000 (20:50 +0000)]
Merged revisions 104092 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104092 | qwell | 2008-02-25 14:49:42 -0600 (Mon, 25 Feb 2008) | 11 lines
Allow the use of #include and #exec in situations where the max include depth was only 1.
Specifically, this fixes using #include and #exec in extconfig.conf.
This was basically caused because the config file itself raises the include level to 1.
I opted not to raise the include limit, because recursion here could cause very bizarre behavior.
Pointed out, and tested by jmls
(closes issue #12064)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104093
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 25 Feb 2008 19:02:33 +0000 (19:02 +0000)]
Instead of outputting a verbose message every so often let's make it a debug message.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104089
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Brett Bryant [Mon, 25 Feb 2008 19:00:16 +0000 (19:00 +0000)]
Adding more tls configuration details to sip.conf sample, with a list of valid ciphers provided in both files. .. First commit since July, woot
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104088
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 25 Feb 2008 18:38:51 +0000 (18:38 +0000)]
Merged revisions 104086 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104086 | russell | 2008-02-25 12:38:10 -0600 (Mon, 25 Feb 2008) | 4 lines
Ensure that the channel doesn't disappear in agent_logoff(). If it does, it
could cause a crash.
(fixes the crash reported in BE-396)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104087
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 25 Feb 2008 16:18:46 +0000 (16:18 +0000)]
Merged revisions 104084 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104084 | file | 2008-02-25 12:16:13 -0400 (Mon, 25 Feb 2008) | 6 lines
If a resubscription comes in for a dialog we no longer know about tell the remote side that the dialog does not exist so they subscribe again using a new dialog.
(closes issue #10727)
Reported by: s0l4rb03
Patches:
10727-2.diff uploaded by file (license 11)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104085
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 25 Feb 2008 15:19:58 +0000 (15:19 +0000)]
Merged revisions 104082 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104082 | file | 2008-02-25 11:17:18 -0400 (Mon, 25 Feb 2008) | 6 lines
Due to recent changes tag will no longer be NULL if not present so we have to use ast_strlen_zero to see if it's actually blank.
(closes issue #12061)
Reported by: flefoll
Patches:
chan_sip.c.br14.patch_pedantic_no_totag uploaded by flefoll (license 244)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104083
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 25 Feb 2008 15:12:48 +0000 (15:12 +0000)]
Fix building of trunk. dbpass is always going to exist.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104081
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Sun, 24 Feb 2008 02:37:08 +0000 (02:37 +0000)]
Enforce a space between function args as per code review.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104074
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Sun, 24 Feb 2008 00:44:14 +0000 (00:44 +0000)]
On a 64-bit machine, with dev-mode turned on, and pgsql installed, I get warnings that stops the compile. They are fixed now.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104073
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Doug Bailey [Fri, 22 Feb 2008 23:56:55 +0000 (23:56 +0000)]
Add protection to chan_zap build when NEONMWI events are not defined
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104045
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 22 Feb 2008 22:55:35 +0000 (22:55 +0000)]
Move Originate to a separate privilege and require the additional System privilege to call out to a subshell.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104039
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 22 Feb 2008 22:48:18 +0000 (22:48 +0000)]
Merged revisions 104037 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104037 | tilghman | 2008-02-22 16:45:14 -0600 (Fri, 22 Feb 2008) | 6 lines
Backwards debug message.
(closes issue #12052)
Reported by: flefoll
Patches:
chan_sip.c.br14.patch_found-notfound uploaded by flefoll (license 244)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104038
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 22 Feb 2008 22:39:21 +0000 (22:39 +0000)]
Allow database password to be NULL and several other cleanups.
(closes issue #12048)
Reported by: bukaj
Patches:
20080222__bug12048.diff.txt uploaded by Corydon76 (license 14)
Tested by: bukaj
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104036
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 21 Feb 2008 21:27:24 +0000 (21:27 +0000)]
fix a typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104031
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Thu, 21 Feb 2008 21:09:54 +0000 (21:09 +0000)]
Blocked revisions 104027 via svnmerge
........
r104027 | mmichelson | 2008-02-21 15:05:42 -0600 (Thu, 21 Feb 2008) | 4 lines
And as a followup to revision 104026, completely remove event-related
calls from a section of code where we know there was no event to handle or get.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104029
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Thu, 21 Feb 2008 21:09:11 +0000 (21:09 +0000)]
Blocked revisions 104026 via svnmerge
........
r104026 | mmichelson | 2008-02-21 14:12:38 -0600 (Thu, 21 Feb 2008) | 7 lines
Remove an incorrect debug message. It reported that it had received a specific event and tried to report
which event was received. What actually was happening was that it was reporting the number of bytes returned
from a call to read().
Thanks to Jared Smith for bringing the issue up on IRC
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104028
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Thu, 21 Feb 2008 17:44:34 +0000 (17:44 +0000)]
Instead of a notice, make the message about a hung-up channel a debug message, and revert the original
logic on the if statement. Thanks to Juggie for bringing this to my attention.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104025
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Doug Bailey [Thu, 21 Feb 2008 17:38:40 +0000 (17:38 +0000)]
Added configuration distinction between neon and fsk mwi detection
Add the detection for neon MWI events
got rid of extraneous handle_init_event call in monitor loop
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104024
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Thu, 21 Feb 2008 16:46:37 +0000 (16:46 +0000)]
Don't print the fact that we are using dead mode in AGI if called from the
'h' extension since it is well-known that it will be running in dead mode.
(closes issue #12046)
Reported by: explidous
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104020
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 21 Feb 2008 16:44:57 +0000 (16:44 +0000)]
Disable epoll as it has caused more obscure issues then any of my previous code. I will continue to work on it in a separate branch to make it stable for a release and test it against the following issues.
(closes issue #11253)
Reported by: falves11
(closes issue #11657)
Reported by: davevg
(closes issue #11033)
Reported by: falves11
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104019
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 21 Feb 2008 14:44:04 +0000 (14:44 +0000)]
Merged revisions 104015 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r104015 | kpfleming | 2008-02-21 08:33:51 -0600 (Thu, 21 Feb 2008) | 2 lines
reduce the likelihood that HTTP Manager session ids will consist of primarily '1' bits
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104016
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 21 Feb 2008 05:21:39 +0000 (05:21 +0000)]
Ignore some more unused generated events.
(closes issue #12042)
Reported by: junky
Patches:
astman_events.diff uploaded by junky (license 177)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104014
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 20 Feb 2008 22:34:12 +0000 (22:34 +0000)]
Merged revisions 103956 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r103956 | mmichelson | 2008-02-20 16:32:22 -0600 (Wed, 20 Feb 2008) | 8 lines
Clear up confusion when viewing the QUEUE_WAITING_COUNT of a
"dead" realtime queue. Since from the user's perspective, the queue
does exist, we shouldn't tell them we couldn't find the queue. Instead
since it is a dead queue, report a 0 waiting count
This issue was brought up on IRC by jmls
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103957
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 20 Feb 2008 22:29:47 +0000 (22:29 +0000)]
Try to do Packet2Packet bridging with chan_h323 if reinviting isn't enabled.
(closes issue #11901)
Reported by: pj
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103955
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 20 Feb 2008 22:10:30 +0000 (22:10 +0000)]
Merged revisions 103953 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r103953 | file | 2008-02-20 18:06:59 -0400 (Wed, 20 Feb 2008) | 6 lines
Don't wait for additional digits when overlap dialing is enabled if the setup message contains the sending_complete information element.
(closes issue #11785)
Reported by: klaus3000
Patches:
sending_complete_overlap_asterisk-1.4.17.patch.txt uploaded by klaus3000 (license 65)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103954
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 20 Feb 2008 21:41:31 +0000 (21:41 +0000)]
Merged revisions 103904 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r103904 | mmichelson | 2008-02-20 15:40:08 -0600 (Wed, 20 Feb 2008) | 6 lines
Fix a crash if the channel becomes NULL while attempting to lock it.
(closes issue #12039)
Reported by: danpwi
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103908
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 20 Feb 2008 21:36:46 +0000 (21:36 +0000)]
Largely refactor DSP tone detection routines.
Separate fax detection from digit detected.
Added CED (called) tone detection for fax (previously, only CNG (calling) was supported).
Separate DTMF/MF code paths where appropriate.
Allow detection of arbitary tones.
(closes issue #11796)
Reported by: dimas
Patches:
v6-dsp-faxtones.patch uploaded by dimas (license 88)
Tested by: dimas, IgorG, Cache
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103903
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 20 Feb 2008 21:08:46 +0000 (21:08 +0000)]
Fix a crash due to the wrong variable being used when building a directory string.
(closes issue #12027)
Reported by: jaroth
Patches:
forward.patch uploaded by jaroth (license 50)
Tested by: jaroth
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103902
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 20 Feb 2008 18:29:14 +0000 (18:29 +0000)]
Add some documentation fixups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103847
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 20 Feb 2008 18:28:00 +0000 (18:28 +0000)]
Merged revisions 103845 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r103845 | tilghman | 2008-02-20 11:53:00 -0600 (Wed, 20 Feb 2008) | 7 lines
Compat fix for Solaris
(closes issue #12022)
Reported by: asgaroth
Patches:
20080219__bug12022.diff.txt uploaded by Corydon76 (license 14)
Tested by: asgaroth
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103846
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 20 Feb 2008 15:21:51 +0000 (15:21 +0000)]
Fix another spot where a hard-coded '|' hadn't been converted to ','
(closes issue #12034)
Reported by: kowalma
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103844
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 20 Feb 2008 03:52:57 +0000 (03:52 +0000)]
*mumble*
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103842
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 20 Feb 2008 03:44:40 +0000 (03:44 +0000)]
file not found.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103840
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 20 Feb 2008 03:38:13 +0000 (03:38 +0000)]
Minor test...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103838
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 20 Feb 2008 00:49:38 +0000 (00:49 +0000)]
When using IMAP storage, if the folder you attempt to save to does not exist,
create it first.
(closes issue #12032)
Reported by: jaroth
Patches:
createfolder.patch uploaded by jaroth (license 50)
Tested by: jaroth
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103833
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 19 Feb 2008 22:35:23 +0000 (22:35 +0000)]
Make sure to mask out non-audio first as well
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103832
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 19 Feb 2008 22:23:04 +0000 (22:23 +0000)]
Maybe we should set the value before we test it? Fixes an issue people have been seeing (unreported?) with file playback not working.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103831
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 19 Feb 2008 21:54:09 +0000 (21:54 +0000)]
Add a log message that appears when you try to unload a module that isn't loaded.
(closes issue #12033)
Reported by: jamesgolovich
Patches:
asterisk-loader.diff.txt uploaded by jamesgolovich (license 176)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103828
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 19 Feb 2008 21:38:39 +0000 (21:38 +0000)]
Only output a log message saying the format does not exist if it actually does not exist, not if the file itself could not be opened.
(closes issue #11828)
Reported by: IgorG
Patches:
readfile.v1.diff uploaded by IgorG (license 20)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103827
65c4cc65-6c06-0410-ace0-
fbb531ad65f3