Matt O'Gorman
942768c022
fixes some verbose vs debug issues. patch from bug 2617
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
6728ebb72c
cid is passed to a destructive function; thus a copy is needed (issue 7961)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43248 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
b1708137da
Add deprecation notice about app_math (issue #7957 reported by k-egg)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
88ccb83574
Directory used the wrong context for delivery of 0- and *- keypresses
...
(according to Directory's own documentation) - Issue 7965
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
b2122691de
When the marked user enters the conference, we should no longer timeout
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
ca79503d56
Backport bugfix patch from 7918 to 1.2 - msg_cfg destroyed before used
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42892 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
9c8d9ce377
When paging, only wait 5 seconds for the marked user to enter the conference.
...
After that, assume the paging already completed by the time the channel entered
the conference and drop back out. (Issue 7275)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
ec7535bba2
Jump logic was backwards: goto returns 0 if it succeeds, and we should jump if authentication fails. (Bug #7907 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
0cfb462845
Format vulnerability fix - allowing the user to specify a format is not a good idea (Bug 7811)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42355 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
68de3c0b29
Merge in last round of spy fixes. This should hopefully eliminate all the issues people have been seeing by distinctly separating what each component (core/spy) is responsible for. Core is responsible for adding a spy to a channel, feeding frames to the spy, removing the spy from a channel, and telling the spy to stop. Spy is responsible for reading frames in, and cleaning up after itself.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
BJ Weschke
f1744d3e31
Oops.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
Kevin P. Fleming
75ca02dbaa
backport some mutex initialization and linked list handling fixes from trunk
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29732 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
919e8741b4
Increase the silence threshold to 128 to "fix" it, so I'm told. (issue #6595 reported by davetroy fixed by casper)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
6691ebf59f
Bug 7194 - spelling fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
e0989958cc
don't allow queue member devices to ring longer than the total queue timeout (issue #6423 , reported and patched by bcnit)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
9123735599
fix a case where code made assumptions about how memory for variables is
...
allocatted on the stack - this patch is slightly different than the one
that went in for the trunk
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28966 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
63c91a899e
When forwarding messages use the context that the active voicemail user was found in. (issue #7010 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28651 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
14285e5b2b
Treat paused queue members as unreachable (issue #7127 reported by peterh)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
25d2c99737
Bug 7167 - HasNewVoicemail and VMCOUNT() didn't work when USE_ODBC_STORAGE was defined
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
3c8d8caca1
Return -1 on error in ODBC messagecount and 0 on success (issue #7133 reported by cfieldmtm)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
a6d8b31956
Fix endless looping message by checking value of res before doing retries stuff. (issue #7140 reported by tanischen)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28169 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
9911943d3d
Video in meetme? Hmmm. Removed until we do have some code for it.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28125 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
968d069242
Priority jumping not working on VoiceMail app with new syntax (issue #7164 reported and fixed by alvaro_palma_aste)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@27847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
bc3570ac0f
OSPNext does not handle success/failure correctly (issue #7147 reported and fixed by eborgstrom)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@27767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
728e1d9a31
Bug 7125 - Fix race condition between resequencing and leaving a message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@27636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
961bcfe98c
Inherit channel variables during call forwards when going through chan_local (issue #7095 reported by raarts)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@27594 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
ee46d2d92e
Bug 7134 - File descriptor leak with ODBC storage of voicemail
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@27093 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
b2e48e3c22
Correct memory leak in find_user_realtime #7118 (fnordian)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@26050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
249760b951
Make QueueStatusComplete event thread safe by wrapping it inside the queue lock clause already there. #7013 (bziherl reporting)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
d46fa7e825
Oops. :(
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25520 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
41210a37d6
Don't recheck valid_exit() after getting the result from say_position (which already checks it). Should prevent another loop if the caller hits digits during the position announcement. #6776 (tgj reporting)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
b3d0a54a6b
Fix playback behavior to exit correctly when we receive a hangup during playback of the invalid pin message. #7091 (AntD reporting)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25322 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
3bc1111ea8
Voicemail fixes along with an API change approved by russellb to fix the bug(s). (jcollie and supczinskib) #7064
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25014 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
d27c901fa2
use the correct function name ...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@24911 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
9d0eead218
use pbx_checkcondition() instead of ast_true() to evaluate the condition
...
for MacroIf and WhileIf (issue #7086 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@24837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
c7ee76b69f
Bug 7023 - reload should not unpause members
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@24706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
092055c3a5
Make sure that only the "|" is a recognized delimiter for Verbose(), as the app documentation already specifies. #7080 (alessiof reporting)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@24669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
1b107baf37
Correct application documentation to make users aware that certain options cannot be used in conjunction with others. #6666 (chotaire)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@24567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
49aa847408
Prompt does not request '#' to end input, so the application should not require it
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@24097 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
00c0af845d
Bug 6864 - drop realtime priority on ALL external processes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@24019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
822ea9615a
Correct a condition from the prior patch that could happen in rare circumstances and cause a core dump. Thanks Qwell!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@23988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
b7f8ee4a6d
Make sure that when someone 0's out while recording a msg and then chooses to DELETE the recorded file, the .txt file isn't left around by itself to cause problems later. #7061 (dimitripietro reporting, blitzrage confirmed)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@23985 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
9426da88b7
fix this to actually compile so people can learn from it
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@23899 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
4397e6dd42
remove extraneous -m64 flag that is not needed
...
remove old 'look' target which is no longer needed
(these are coming from Debian patches <G>)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@23636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d0aef28b0e
Queue(somequeue,,,,) -> interpreted as Queue(somequeue,,,,0) (issue #7044 reported nathan fixed by jsmith - sort of)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@22954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
d9b9996a59
do not allow for users to forward voicemail to
...
themselves, patch from 7001
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@22596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
e6b64adab2
Bug 6984 - off by one error in Random()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@21037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
4bea5adcbf
Bug 6947 - Allow vm broadcasts to more than 256 characters worth of mailboxes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19891 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
bd9026f975
oops... let's not set a variable and then immediately overwrite it while assuming its old value will magically return
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
829bf52765
Bug 6490 - telco intercept should report NOANSWER instead of CHANUNAVAIL
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
b224ed93ca
Bug 6061 - Fix ODBC storage of VM on PGSQL and MSSQL
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
5bc6b3b6fd
don't call the originating device as part of the Page() operation (issue #6932 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
95dc3bba01
handle call time limit properly when warning is requested _after_ call would hae already ended (issue #6356 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19301 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
83b525e2cb
When using the silence detector in ast_play_and_record() and ast_play_and_prepend(), the truncation code never gets called to remove the detected silence, because the value of res is zero when control gets to that point. #6903 w/some mods (softins)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
08cc142495
Bug 6914 - .txt file fails to rename on operator out
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@18494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ce8275960e
fix typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@18089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
a6e5c98723
small fix... don't try to check conference details if it couldn't be created or found
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@18088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
60df6b45d2
don't try to support 'i' or 'r' options if chan_zap is not loaded, and warn the user when they attempt to use them (issue #6675 )
...
update application help text to more clearly define when Zaptel and chan_zap are required
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@18087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
235212182e
move continue out of block that checks verbose level (issue #6880 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@17945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
831a96aac1
Update email address to my Digium one
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@17905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
457bdd22bb
Issue #6882 - move "res=-1" out of verbosity block, minor code cleanups (casper)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@17335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
43fde6acce
Adds documentation to show what the w flag.
...
Patch from Ian Kinner at Digium.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@17283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
0a48c19845
Typo fix.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@16344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
0bb7b71572
Bug 6830 - Let GosubIf work with the same conditions as a GotoIf (change in API approved by Russell)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@16192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
ea4baa91d0
Fix incorrect size of zeroing (left over from when maxmsg was hardcoded at 100)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@14830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
eb76fca6a3
Bug 6783 - When context is specified, voicemail should look for mailboxes in that context
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@14821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
dea7edda6b
Fix a typo in the app description
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@14659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
41feb1c7ff
Bug #5884 - fix a possible race state in app_meetme when a channel has gone away and we are reading continuously for more frames. (mneuhauser)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@14467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
9884c9637a
don't crash when asked to read from a file that doesn't exist (issue #6786 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@14462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
b0f4874196
Fix a minor code issue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@14276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
3667b25224
Issue #6781 - Verbose levels not enforced in app_voicemail (Reported by flobi)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@14275 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
17187101f6
don't add conference participant if the user hangs up while recording their name (issue #6661 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@13851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
d564b81083
Bug 6714 - Workaround to avoid retrieving incomplete voicemail message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@13748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
13b57f8255
revert the change made in revision 12927 in favor of keeping the original
...
behavior of the option. The documentation has now been updated to reflect
the actual behavior. (issue #6523 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@13550 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
e6ae8990bc
when using the G() option to Dial, fix sending the called channel to 1 priority
...
beyond what was specified (issue #6523 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@12927 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
14e8c4c5a3
fix a problem with not loading realtime queue members by always reloading a
...
realtime queue from the database even if it is found in the list (issue #6680 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@12925 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
4e3b9d6389
Substitute variables in the post_process string (if it exists) before those variables could possibly disappear (channel hangup) #6462
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@11778 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Tilghman Lesher
3da520e492
Fix possible lack of initialization of useadsi
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@10464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
7c92ffe150
when executing the Directory application from voicemail and a context is not
...
specified, use the "default" context, not the channel's current context (issue #6507 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@10301 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Matt O'Gorman
bab77bbab1
bug fix from 6485 with musiconhold not being turned
...
off by app_meetme
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@10021 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
ce008d40a1
don't double-increment abandon counter for calls that are hung up while dialing members (issue #6289 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@10018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
710445b5b1
Fix stopstream in menus (bug #6137 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@9990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Josh Roberson
671cde62de
Don't set the formats before we stop indications. (issue #6380 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@9756 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
db467378b4
fix due to CDR changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@9607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Tilghman Lesher
bae6e7b617
Revert behavior change from previous commit (fixes only)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@9326 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Tilghman Lesher
cf015dbefc
Backport 5929 to 1.2
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@9323 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
32cc1bedc1
add another location for postgresql headers (issue #6419 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@9262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Tilghman Lesher
eb177856db
Bug 6176 - Fix race condition
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@9156 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
e07c977f18
ensure hangup cause code is handled properly when channel does not return a frame (issue #6346 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@8608 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
2f1d118537
fix memory leak from not freeing the queue member list when freeing an old queue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@8445 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Tilghman Lesher
366c8a99ef
Bug 5936 - AddQueueMember fails on realtime queue, if queue not yet loaded
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@8394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
30f2aff526
fix invalid value of prev_q (issue #6302 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@8347 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
57c82eb66f
fix a seg fault due to assuming that space gets allocatted on the stack in the
...
same order that we declare the variables (issue #6290 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@8232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Matt O'Gorman
5460606cff
Solves issue with the login proccess in meetme
...
patch from 6136
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@8194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Matt O'Gorman
792b78b317
Stop any generators running on a channel when
...
festival is called as described in 5996
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@8140 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Tilghman Lesher
cb08e49303
Bug 6211 - Add option deletevoicemail as equivalent to option delete for Realtime
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7999 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
b5ec3e47fa
fix temp greetings with ODBC storage (issue #6078 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7976 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
72deed0c37
fix a little typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Tilghman Lesher
b9f8c60fa7
Bug 6192 - behave correctly when mailbox is specified as argument
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
bb47f95262
fix breakage introduced in revision 7871
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
a7a2115b9c
fix seg fault when using greek syntax in VoicemMailMain (issue #6142 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago