Joshua Colp
72a00026cd
Do not bother looking for a result if none are present.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61651 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
2ac2c7f64d
Eliminate a compiler warning with ODBC_STORAGE enabled so that it will build
...
under dev-mode.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61645 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Steve Murphy
18ad368048
Finished up a previous fix to overcome a compiler warning; the app NoCDR() has been updated to mark the channel CDR as POST_DISABLED instead of destroying the CDR; this way its flags are propagated thru a bridge and the CDR is actually dropped. The cases where only one channel in a bridge has a CDR was cleaned up.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61136 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
7a8d30f3c3
Use the appropriate interface name with COMPLETECALLER.
...
Issue 9395.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Steve Murphy
7d5a79a0b9
This is a big improvement over the current CDR fixes. It may still need refinement, but this won't have as many folks bothered.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
c8f511f31b
Merged revisions 60935 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r60935 | qwell | 2007-04-09 12:22:15 -0500 (Mon, 09 Apr 2007) | 5 lines
Allow matching on names shorter than 3 chars.
This also fixes the case where somebody wants to match on less then 3 chars.
Issue 9071
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
88e5a094b6
Merged revisions 60797 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r60797 | file | 2007-04-08 20:59:29 -0400 (Sun, 08 Apr 2007) | 2 lines
When calling a device that then forwards us elsewhere... we have to make our channels compatible if it is the only channel being dialed. (issue #9445 reported by marcelbarbulescu)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
acd37793b1
Allow app_queue to use MONITOR_EXEC even if MONITOR_OPTIONS is not set. (issue #9495 reported by cduffy)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60762 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
0d5e645d47
Merged revisions 60711 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r60711 | tilghman | 2007-04-08 09:00:22 -0500 (Sun, 08 Apr 2007) | 2 lines
Gosub called within a Macro resets the arguments improperly and causes general weirdness. (Issue 8329)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60713 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
762ed2a7ad
When a station picks up a trunk that was on hold, make the hints reflect that
...
nobody has the trunk on hold anymore.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
8908289ec7
Fix a few problems with SLA. (issue #9459 , reported by francesco_r, fixed by me)
...
* The original behavior was that if one station put a call on hold, another one
picked it up, and then hung up, the code would still consider the call on
hold by the first station, so the trunk would not be hung up. However, to
better comply with what most people seem to expect it to behave, it will now
hang up the trunk.
* Fix a problem with "barge=no". This was only intended to prevent people from
joining calls that are in progress. However, it also prevented other people
from picking up a call that was on hold. This has been fixed.
* When there are no active stations on a trunk and it is on hold, the code now
indicates the HOLD and UNHOLD conditions to the trunk channel. This allows
music on hold to be played to the trunk when it is on hold.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
f996b1cbc8
Add support for returning different types of results (ie: NBest).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
e658e931ca
Merged revisions 60267 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r60267 | qwell | 2007-04-05 11:09:41 -0500 (Thu, 05 Apr 2007) | 5 lines
Just because we can't find the voicemail configuration file, doesn't
mean that the module failed to load. The user could be using realtime.
Issue #9473
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
5119296ab5
Fix a problem where if a trunk was hung up while it was on hold, all of the
...
hints would reflect the line still on hold, even though it should reflect that
it is back to not in use. (issue #9459 , reported by francesco_r, fixed by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
06634b25ea
Don't clash when a person both speaks and uses DTMF.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59963 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
76dcc531f0
Merged revisions 59723 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59723 | file | 2007-04-02 14:55:25 -0400 (Mon, 02 Apr 2007) | 2 lines
Increase the maximum size for a string of mailboxes to 1024. (issue #9270 reported by rtucker)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
4490052410
Merged revisions 59360 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59360 | file | 2007-03-29 13:33:58 -0400 (Thu, 29 Mar 2007) | 2 lines
Keep a global array of variables indicating whether certain conference rooms are in use. This ensures that two people going into a new dynamic conference when the 'e' option is set don't go into the same conference room. (issue #8835 reported by eliel)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
ffabe730a1
Merged revisions 59283 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59283 | tilghman | 2007-03-27 18:36:49 -0500 (Tue, 27 Mar 2007) | 2 lines
Oops
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
9be4250a0e
Merged revisions 59280 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59280 | tilghman | 2007-03-27 18:31:20 -0500 (Tue, 27 Mar 2007) | 2 lines
Fix a few remaining bad mmap(2) return values
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
87c1d334a0
Merged revisions 59277 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59277 | russell | 2007-03-27 18:19:41 -0500 (Tue, 27 Mar 2007) | 3 lines
Fix the check of the return value from mmap(). Thanks to Corydon for catching
this one.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
b6b74d9b0a
Fix app_directory to actually compile with ODBC_STORAGE, and update the code to
...
the latest res_odbc API.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59275 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
d1403e32e2
Fix app_directory when ODBC_STORAGE is being used. The Makefile did not
...
properly ensure that this information got copied from what was selected
for app_voicemail. (issue #9224 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
fd950a2955
Add ability to specify no timeout. This means as soon as the prompt is done playing it moves on to the next priority.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59223 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
d036212872
Somehow the code for building the email for voicemail got out of sync. This
...
change makes a few tweaks to get 1.4 in sync with trunk.
(issue #9301 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59217 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
3d052c0ca1
Fix some codec negotiation problems when CallerID support is not enabled in SLA.
...
(issue #9308 , reported by twilson)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59215 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
a541ea96e1
Make SpeechBackground obey the digit timeout value.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Steve Murphy
23c28f5aff
Merged revisions 59186 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59186 | murf | 2007-03-23 09:57:26 -0600 (Fri, 23 Mar 2007) | 1 line
Added a few words in the Macro doc strings about the behavior of macros with hangups (et al.), as per 9337
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59188 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Steve Murphy
1d90b0dec7
Ooops. Sorry, messed up app_stack. This should return it to its previous, untouched, state.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Steve Murphy
6e869d135c
The fix for the AEL <<security hole>> (bug 9316) is here...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
BJ Weschke
2a609b930c
Don't return a non-zero return code if the profile doesn't exist, to match what the documentation says it already does. ( #9307 Reported by kkiely)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59035 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
74ad0dbc66
Wait for the async thread to exit when hanging up all of the paged phones under all circumstances. (issue #9181 reported by PhilSmith)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
1b8da31130
Making these documentation changes in the 1.4 branch upset various people, so
...
these chanes will only be done in the trunk.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
6278d5c65b
Expand deprecation warnings from simply warning on use to the builtin documentation.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
c474809cdf
Merge changes from svn/asterisk/team/russell/LaTeX_docs.
...
* Convert most of the doc directory into a single LaTeX formatted document
so that we can generate a PDF, HTML, or other formats from this
information.
* Add a CLI command to dump the application documentation into LaTeX format
which will only be include if the configure script is run with
--enable-dev-mode.
* The PDF turned out to be close to 1 MB, so it is not included. However, you
can simply run "make asterisk.pdf" to generate it yourself. We may include
it in release tarballs or have automatically generated ones on the web site,
but that has yet to be decided.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
78d178173f
By default, don't attempt to do any CallerID handling at all with SLA because
...
it is known to not work properly in some situations. However, add an option to
enable it for those that would like to use it anyway.
The short story behind this is that to properly handle CallerID with SLA, we
need the ability to change the CallerID on an existing call, and we are not
ready to handle that.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58894 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
b7f05aeaaa
Ensure that the blinky lights show that the trunk stopped ringing when the
...
trunk hangs up before a station has answered it.
(issue #9234 , reported by francesco_r)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58872 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
442c9f222f
Make the compiler happy and initialize a variable.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
76f8e0c489
Fix spelling of unavailable in voicemail documentation. (issue #9248 reported by tensai)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
90aa4ab658
Hang up the channel that put the call on hold in the event processing thread to
...
avoid a race condition. Also, if the station originated the call that it is
putting on hold, don't hang up the trunk if it was the only station on the call
and it is hanging up due to hold and not a normal hangup.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58512 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
ed9b9c6791
Refactor hold handling a bit so that it does not require keeping the call up
...
when a call is put on hold.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Kevin P. Fleming
37af77e79f
fix a compiler warning, and overwriting 'res' value
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
a5b62f15c3
Don't create a listen channel and record the conference unless the option is turned on. (issue #9204 reported by francesco_r)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57872 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
2feaf74cdd
Merged revisions 57869 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r57869 | file | 2007-03-05 12:49:18 -0500 (Mon, 05 Mar 2007) | 2 lines
Make create_dirpath use our standard for return values. -1 is failure, 0 is success. (issue #9205 reported by ballares)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57870 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
3687771760
Merged revisions 57648 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r57648 | tilghman | 2007-03-03 00:36:55 -0600 (Sat, 03 Mar 2007) | 2 lines
Memory leak of a list, if call recording was abandoned
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
31cf37519f
Merge changes from svn/asterisk/team/russell/sla_updates
...
* Originally, I put in the documentation that only Zap interfaces would be
supported on the trunk side. However, after a discussion with Qwell, we came
up with a way to make IP trunks work as well, using some things already in
Asterisk. So, here it is, this now officially supports IP trunks.
* Update the SLA documentation to reflect how to setup IP trunks.
* Add a section in sla.txt that describes how to set up an SLA system with
voicemail.
* Simplify the way DTMF passthrough is handled in MeetMe.
* Fix a bug that exposed itself when using a Local channel on the trunk side
in SLA. The station's channel needs to be passed to the dial API when
dialing the trunk.
* Change a WARNING message to DEBUG in channel.h. This message is of no use
to users.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
447561d7a2
Merge more changes from svn/asterisk/team/russell/sla_updates
...
* Add support for private hold. By setting "hold=private" for a trunk, only
the station that put the call on hold will be able to retrieve it from hold.
Also, by setting "hold=private" for a station, any call that station puts
on hold can only be retrieved by that station.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
315c9614cb
Minor formatting change
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
9d3ff33b25
Merge changes from svn/asterisk/team/russell/sla_updates
...
* Add support for the "barge=no" option for trunks. If this option is set,
then stations will not be able to join in on a call that is on progress
on this trunk.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57144 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
9021d3c3b2
Merge current set of changes from svn/asterisk/team/russell/sla_updates
...
* Add support for station ring delays. Ring delays can be set globally for a
station or for specific trunks on the station.
* Fix a few bugs in existing code.
* Restructure and Reorganize code to improve readability and maintainability.
* Improve formatting of the "sla show (trunks|stations)" CLI commands.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
53b014b81a
Picky compiler...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d92e56ac89
Better handle timeouts when the individual speaks after everything has been played but before the timeout ends.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
1082f8d178
Fix voicemail email attachments. I missed the conversion of one of the line
...
endings and there was an extra one where it should not have been.
(issue #9128 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56975 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
91355b5e5f
Picky, picky... show deprecation warning in application help, too (reported via list)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
0750349819
Update app_record documentation to use new CLI command, core show file formats. (issue #9151 reported by junky)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56839 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
11e4c71bc0
Move a comment to be in the correct struct.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56740 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
ad720f24bb
The IMAP storage code uses the same code to build the email that is used when
...
voicemail is sent via email using something like sendmail. In the patch from
bug 8033 to fix various IMAP storage problems, the line endings in the email
file were changed in the code from "\n" to "\r\n". However, this breaks
sending regular voicemail to email. So, this change conditionally sets line
endings to "\r\n" only if IMAP_STORAGE is enabled.
(issue #9128 , patch by jarjarbinks, modified by me to not break IMAP storage)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56341 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
f314685447
Merge changes from team/russell/sla_updates.
...
This batch of changes to the SLA code does a few different things.
* I made the SLA code event driven instead of having to act in a lot of busy
loops while dialing things to wait for state changes. This makes the code
more efficient and readable at the same time.
* I have implemented a couple of new features. The first is inbound trunk
ringing timeouts. This is an option that defines how long to let an incoming
call on a trunk to ring.
* I have also implemented ring timeouts for stations. They may be specified
for the entire station, meaning it is how long to let the station ring before
giving up. You can also specify a ring timeout for a specific trunk on a
station. So, you can say that you only want a specific station to ring 5
seconds if it is line1 ringing, but otherwise, there is no timeout.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
fee3b74617
Merged revisions 55956 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r55956 | file | 2007-02-21 15:32:16 -0500 (Wed, 21 Feb 2007) | 2 lines
Change naughty warning message to provide useful information. If a write now fails on a channel in meetme it will tell you the channel name instead of spitting out the wrong error message.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
bb3aa2ee41
Simplify the last change to app_meetme, and move the call to dispose_conf()
...
up into the block where we know a conf exists.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55951 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
54f59f4dad
Only dispose of the conference if one was created.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
10864c42ea
Only start playing the next file if we have not been quieted.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
39026c9f96
Improve the reference counting to fix bugs where people report seeing
...
conferences listed that have no members.
(issue #9073 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
51f20d54e7
Better handle dropped IMAP connections. (issue #9054 reported by bsmithurst)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
f0bf09466a
Merged revisions 55434 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r55434 | tilghman | 2007-02-19 12:09:09 -0600 (Mon, 19 Feb 2007) | 2 lines
forcename and forcegreetings options should check to see if the recording already exists
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55435 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
476d1c932e
Merged revisions 55277 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r55277 | oej | 2007-02-18 13:32:13 +0100 (Sun, 18 Feb 2007) | 2 lines
Documentation update (#9053 , jsmith)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
7cec18d933
Add missing membername option to AddQueueMember documentation. (issue #9088 reported by seanbright)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55219 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
ec6e4f6887
Merged revisions 55153 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r55153 | file | 2007-02-16 22:53:45 -0500 (Fri, 16 Feb 2007) | 2 lines
Answer the channel before recording privacy information. (issue #8926 reported by lmamane)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55154 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
fccaadad94
Make the 'i' option of Queue actually work. (issue #8986 reported by utis)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
960b4de2de
Merged revisions 55005 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r55005 | russell | 2007-02-16 16:48:22 -0600 (Fri, 16 Feb 2007) | 9 lines
Revert the change I did in revisions 54955, 54969, and 54970, in 1.2, 1.4,
and trunk. I decided that once a conference is created from meetme.conf,
it is acceptable behavior that the pin can not be changed until the
conference goes away. I also added a note in meetme.conf to describe this
behavior.
We still have another issue in 1.4 and trunk where some conferences with no
users don't go away. That is the real bug that needs to be addressed here.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
cad10249de
Merged revisions 54955 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r54955 | russell | 2007-02-16 14:56:58 -0600 (Fri, 16 Feb 2007) | 5 lines
For conferences that are configured in meetme.conf, check the configuration
file every time someone joins the conference instead of only when the
conference is first created. This is to ensure that changes to the pin
numbers in the config file are always honored. (issue #9073 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54969 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
3a1ceb4ff8
Need to check macro extension as well as macro context for directed pickup.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
7722d96bea
Allow directed pickup to pick up the real context instead of the macro context if a Macro is used. (issue #8984 reported by jamesb63)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
ae5eec37dd
Don't let dtmf leak over into the engine and let it skew the results... also give DTMF results priority. (issue #9014 reported by surftek)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
bddfe6fea7
Merged revisions 54622 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r54622 | file | 2007-02-15 11:14:40 -0500 (Thu, 15 Feb 2007) | 2 lines
Use a separate variable to indicate execution should continue instead of the return value. (issue #8842 reported by pluto70)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54623 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
dadf652e26
Forward begin DTMF frames as well as end. (issue #9068 reported by mhardeman)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
5bc6ee1714
- Add the ability to register a callback to monitor state changes in an
...
asynchronous dial operation.
- Rename the various references to "status" to "state" in the dial API
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
f02a11732b
Much simpler than previous one ;-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
c16059235e
Add some output for "show application SLAStation/SLATrunk"
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
7ee02f585d
Merge team/russell/sla_rewrite
...
This is a completely new implementation of the SLA functionality introduced in
Asterisk 1.4. It is now functional and ready for testing. However, I will be
adding some additional features over the next week, as well.
For information on how to set this up, see configs/sla.conf.sample
and doc/sla.txt.
In addition to the changes in app_meetme.c for the SLA implementation itself,
this merge brings in various other changes:
chan_sip:
- Add the ability to indicate HOLD state in NOTIFY messages.
- Queue HOLD and UNHOLD control frames even if the channel is not bridged to
another channel.
linkedlists.h:
- Add support for rwlock based linked lists.
dial.c:
- Add the ability to run ast_dial_start() without a reference channel to
inherit information from.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53810 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
2f5eabb51e
When the Echo() application receives the digit '#', echo that back as well.
...
Since we already sent the BEGIN frame for that digit, it makes sense to send
the END as well.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
07462b8d1b
add some inter-module dependencies
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53780 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
1ba2aa702d
Temporarily change musicclass on channel to one specified in Dial so that the 'm' option functions properly. (issue #8969 reported by christianbee)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
dce4b744a1
Fix timeout issue when utterance is longer then timeout itself.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53601 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
1612f65f9c
Merged revisions 53529 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53529 | tilghman | 2007-02-08 07:36:10 -0600 (Thu, 08 Feb 2007) | 2 lines
Issue 9003 - If fullname is empty, quote() passes back "\""
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
670a0ff144
Directly load say.conf in load_module instead of calling the reload function. (issue #8946 reported by junky)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53399 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
7f0c317655
Merged revisions 53354 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53354 | tilghman | 2007-02-07 09:30:02 -0600 (Wed, 07 Feb 2007) | 2 lines
Issue 7440 - Macro called from Macro from the h extension exits prematurely
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53355 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
687b672a09
Ensure say_cfg is NULL when the module is loaded. (issue #8946 reported by junky)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e647794710
Unregister Playback CLI commands as well as dialplan application. (issue #8946 reported by junky)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53150 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
8f04a45ee9
Merged revisions 53133 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53133 | russell | 2007-02-03 14:38:13 -0600 (Sat, 03 Feb 2007) | 4 lines
set the DIALSTATUS variable to contain "INVALIDARGS" when the dial application
exits early because of invalid arguments instead of just leaving it empty.
(issue #8975 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53136 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
c71401e705
I'm baaaaaaaaaack. :)
...
Post a warning to the console that things might possibly be misconfigured when queue member's states are still 'Not in Use' when we're about to bridge them with a caller from queue. Also, put some documentation quoted from oej's queues.txt efforts started in /trunk today.
This commit puts #7433 into feedback state for 1.4, and pending no further negative feedback, it will finally be closed.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
10f0da24c2
Change debug level for state change message that is not really informative when debugging app_queue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53081 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
9aab046002
Merged revisions 53045 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53045 | russell | 2007-01-31 15:25:11 -0600 (Wed, 31 Jan 2007) | 3 lines
Fix a bunch of places where pthread_attr_init() was called, but
pthread_attr_destroy() was not.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
43e68cac9a
Remove an extra \r\n from manager user events. (issue #8955 , mnicholson)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
ad254da05d
Only changed the paused status in an existing queue member if the paused
...
column exists.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
8dc0a7778f
Instead of always creating a realtime queue member as unpaused, read the
...
"paused" column and use that value for the paused status of the member.
(issue #8949 , jmls)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53035 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
f92505eec1
Merged revisions 52716 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r52716 | file | 2007-01-29 18:39:39 -0500 (Mon, 29 Jan 2007) | 2 lines
Now that filename is part of the structure and since it comes before postprocess... we have to add it to our postprocess line. (reported on asterisk-dev by Boris Bakchiev)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
a4d3a2dbc9
Use ast_calloc instead of malloc.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
f2fab700c3
this is for 8778 (pt_BR backport to 1.4). It was committed to trunk via 7663. But it wasn't so much an enhancement as a fix for the bad language output for portuguese in Brazil, so, after a lot of prodding from patient Brazilians, here is the same fix for 1.4
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e67ade2403
Set quota information to 0 when creating a vm_state. (issue #8924 reported by neutrino88)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
47f9dd508a
Merged revisions 52415 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r52415 | file | 2007-01-26 21:09:10 -0500 (Fri, 26 Jan 2007) | 2 lines
Make COMPLETECALLER and COMPLETEAGENT output to queue_log follow documentation. (issue #7677 reported by amilcar)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
6124ace110
Merged revisions 52162 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r52162 | file | 2007-01-24 20:48:52 -0500 (Wed, 24 Jan 2007) | 2 lines
Add another note about audio files being played back to each bridged party. (issue #8718 reported by ppyy)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
96beb30159
By suggestion from kpfleming last week, change "vmpassword" to "vmsecret".
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
8acccb9254
Merge in dialing API and the app_page that uses it. (issue #BE-118)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
d7d0c10c21
Merged revisions 51828 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51828 | russell | 2007-01-23 18:17:50 -0600 (Tue, 23 Jan 2007) | 4 lines
Don't set a new value for the END_ variable on the channel before using the
old value. If you do, it will lead to accessing a memory address that has
been free()'d. (issue #8895 , arkadia)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
c60c2b5ffc
Merged revisions 51406 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51406 | file | 2007-01-22 14:08:52 -0500 (Mon, 22 Jan 2007) | 2 lines
Move filestream creation to Mixmonitor loop. This will prevent a blank file from being created if no frames ever pass through to be recorded. (issue #7589 reported by steve_mcneil)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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