BJ Weschke
a05a361fc3
Make sure the forwarded channel inherits variables appropriately when we receive a call forward in the queue. ( #7867 - raarts reported and patched)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41882 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-03 17:38:22 +00:00
BJ Weschke
aaf0ad7b77
Don't keep trying the same member in certain strategies when members of the queue are unavailable ( #7278 - diLLec reported and patched) - This should have been patched here first and then merged into /trunk. My bad!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-03 17:13:38 +00:00
BJ Weschke
919cb0b1a8
Let's NOT spy on Zap/psuedo channels, mmmmmmmmk?
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-03 14:50:59 +00:00
BJ Weschke
c3b61adc5b
Setting a retry of 0 is generally not a good idea and shouldn't be allowed. ( #7574 - reported by regin)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41827 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-03 14:16:08 +00:00
Steve Murphy
6daea8e8fb
According to a note added to 7731 by mneuhauser, this
...
will repair a break caused by the last fix (7731).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-28 19:06:55 +00:00
Tilghman Lesher
e83bbab1ec
Text only - clarify the reason for entry into authentication mode when the skipuser option is ignored
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 15:07:16 +00:00
Tilghman Lesher
dad6bc4d32
Bug 7779 - Using initstate(3) means that we cannot unload this module once loaded.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-22 02:59:37 +00:00
Jason Parker
d98055d875
Fix a bug with app_voicemail when trying to use app_directory to leave messages
...
to another user (options 3, 5, 2).
If the context/extension didn't exist in the dialplan (and why should it have to?),
it would fail, saying that it's an "invalid extension".
Fix was different in svn trunk.
(issue BE-71)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-19 01:03:22 +00:00
Joshua Colp
afedbd97af
Make app_macro compile again
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40223 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-17 16:18:08 +00:00
Steve Murphy
4098ad798d
In app_macro, changed the previously changed upper recursion depth limit to a variable, default of the original val of 7. MACRO_RECURSION is a channel variable that will override the limit, but until I can understand and fix why this limit is neccessary, I am not advertising this variable in the docs. This fix mirrors the changes made in r40200 in trunk.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-17 16:07:21 +00:00
Steve Murphy
f4e47e9b51
This revision fixes bug 7731, the inability for macros to be called more than one level deep in the 'h' extension.
...
It also pushes up the limit of recursion depth from 7 to 20.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@39931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-15 22:13:47 +00:00
Russell Bryant
e81646d2dd
remove duplicate queue log entry when the caller exits on a timeout
...
(issue #7616 , ppyy)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38972 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-05 08:08:48 +00:00
Russell Bryant
183541b44d
make sure the priv-callerintros directory exists before trying to create a file
...
there (issue #7659 , patch by hads, with some modifications by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38928 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-05 06:37:59 +00:00
Tilghman Lesher
84ad1fe0f3
Bug 7648 - Checking wrong count for plurality on new messages for Dutch language
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38761 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-03 05:22:19 +00:00
Kevin P. Fleming
7b9abdf138
use the enum that defines the option arguments, so that the likelihood of mismatched option indexes is reduced (which in this case was a bug, the volume argument was not checked properly)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-27 22:23:38 +00:00
Tilghman Lesher
ce37a590e5
Bug 7526 - previous commit broke app_sms
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37612 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-14 13:31:11 +00:00
Kevin P. Fleming
6ea65400a0
don't fail/abort if the message category sound file cannot be played, just generate a warning message and continue message playback
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37571 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-13 21:22:11 +00:00
Kevin P. Fleming
ff3890a952
fix a weird case where a lock file could be left (but would happen almost never)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37442 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-12 15:53:53 +00:00
Kevin P. Fleming
648bc1828d
remove some more bad examples of using printf
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37419 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-12 13:54:10 +00:00
Tilghman Lesher
4bee2f3210
Bug 7349 - Directory did not work correctly when USE_ODBC_STORAGE was defined.
...
Note: Russell agreed that this should have worked, which is why this is
classified as a bugfix.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-30 14:05:53 +00:00
BJ Weschke
64def5d791
We should lock the queue before we go making changes to member interface statuses.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@35669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 11:30:17 +00:00
Joshua Colp
43ad959914
Call reset_user_pw upon changing the password using externpass (issue #7395 reported by Ryan Cumming)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34911 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-19 20:27:44 +00:00
Tilghman Lesher
4c688bb3b3
Issue 7357 - txt file left behind when going to operator. Also, fix a possible file descriptor leak.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-19 18:07:26 +00:00
Kevin P. Fleming
d00c50cd14
don't use prefixed structure names for internal structures
...
don't use a plural structure name for a singular object
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-15 13:30:22 +00:00
Tilghman Lesher
2159afd1ae
VoicemailMain exits on any key, when the language is set to Italian, instead of
...
properly handling the key (issue 7353).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34242 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-15 12:40:10 +00:00
Kevin P. Fleming
55ba8ef5c4
coding style cleanups on queue interface handling code that was committed for the last release
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-14 22:22:21 +00:00
Kevin P. Fleming
724b3d0004
clarify file headers that mention disclaimer usage
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-14 14:07:53 +00:00
Kevin P. Fleming
5ae03d8ff8
memory allocation optimizations
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 13:30:06 +00:00
Russell Bryant
ec39ee2c34
fix various places where the code returns without unlocking vmlock or
...
destroying loaded configuration
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 04:31:19 +00:00
Russell Bryant
ecbc33eb78
add a missing close of an open fd, destroy of open config, and removal of the
...
calling channel from the localusers list
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 04:20:10 +00:00
Joshua Colp
d1afe5c64f
Greatly simply the mixmonitor thread, and move channel reference directly to spy structure so that the core can modify it.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-12 21:34:38 +00:00
Russell Bryant
dcebecb76e
fix up five little places where frames would not be free'd and remove an
...
unnecessary mutex_unlock where there is no way for it to be locked at
that time
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 21:08:04 +00:00
Russell Bryant
332880b8bc
fix a place that would leak a frame (all of these fixes are in applications
...
that call ast_read() on a channel but have code paths in them that would not
free the frame)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33515 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 20:48:41 +00:00
Russell Bryant
59224d0f9f
fix a couple places that would leak a frame
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33513 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 20:45:06 +00:00
Russell Bryant
33661e9258
fix two places that would cause a frame to be leaked
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33510 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 20:38:39 +00:00
Russell Bryant
4003aff342
fix a case where an HTML frame would be leaked
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33480 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 15:08:12 +00:00
Russell Bryant
de0d5de853
Free frames read from the channel when measuring noise. This resulted in about
...
9 or 10 seconds of leaked frames in both the TestClient and TestServer
applications
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 15:02:40 +00:00
Russell Bryant
9c99053126
backport a couple of frame leak fixes from the trunk (revisions 33446, 33447)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 14:56:55 +00:00
Joshua Colp
9d9a6da961
Allow the format outputted by meetme list to be used for meetme commands (like kick) (issue #7322 reported by darkskiez)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 18:52:51 +00:00
Joshua Colp
5ccc5a9e53
Handle hangup during recording of screened name (issue #7304 reported by kulldominique)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 18:08:00 +00:00
Joshua Colp
43f10147fe
Add missing newlines (issue #7323 reported by darkskiez)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 16:31:29 +00:00
Tilghman Lesher
95cd30dc01
Bug 7287 - A too short voicemail with ODBC_STORAGE will cause the first voicemail to be deleted erroneously
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@32605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 16:55:23 +00:00
Kevin P. Fleming
5684ba5966
return bridge exit logic to what it was before i broke it :-(
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-04 03:43:35 +00:00
BJ Weschke
a6a17f1789
Fix infinite loop scenario and add some sanity checking to prevent segfault on a NULL parameter coming in (which probably shouldn't happen, but just to be safe...)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-30 14:55:16 +00:00
BJ Weschke
a94248e7dc
A new way to try and deal with deadlocks that occur in app_queue at present. Using this approach, we only manipulate the main queue mutexes when we get a dev state change on a device that is actually a member of a queue. Backported from /trunk for the "bug fix".
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-26 17:09:51 +00:00
BJ Weschke
f1744d3e31
Oops.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25 21:22:16 +00:00
Joshua Colp
9ef31203c9
Don't play the enter sound twice when a person joins a conference after the leader has joined it. (issue #6138 reported by shanermn)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25 20:03:11 +00:00
Matt O'Gorman
3e830d9a85
app_meemte used the ast_max_exten instead of path_max
...
solves bug 6822
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-24 19:55:21 +00:00
Joshua Colp
42e50f7eae
Merge branch for bug 6264 (Privacy option 2 returns dial-status ANSWER / option_priority_jumping not respected) (reported by jkoopmann and branch by murf
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30035 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-24 19:44:26 +00:00
Kevin P. Fleming
f5765a22fc
fix various bugs related to exiting from queue via keypress and moh handling (issue #6776 , different fix)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29971 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-24 16:52:08 +00:00