Joshua Colp
34b000a0e7
Move makeannouncement variable declaration to proper place.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@76054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
049fb8d98e
The diff on this looks pretty big but all I did was remove a pointless if statement (always evaluates true).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@75978 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
1f9e2457dd
Changes in handling return values of several functions in app_queue. This all started as a fix for issue #10008
...
but now includes all of the following changes:
1. Simplifying the code to handle positive return values from ast API calls.
2. Removing the background_file function.
3. The fix for issue #10008
(closes issue #10008 , reported and patched by dimas)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@75969 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
0b6bdf6bf3
Merged revisions 75748 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r75748 | tilghman | 2007-07-18 15:31:36 -0500 (Wed, 18 Jul 2007) | 2 lines
Store prior to copy (closes issue #10193 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@75749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
6d143d401f
Backport GCC 4.2 fixes. Without these Asterisk won't build under devmode using GCC 4.2.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@75712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Dwayne M. Hubbard
226a627244
Merged revisions 75657 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r75657 | dhubbard | 2007-07-18 12:48:33 -0500 (Wed, 18 Jul 2007) | 1 line
removed the word 'pissed' from ast_log(...) function call for BE-90
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@75658 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
6cab645954
Using a freed frame causes crashes (closes issue #9317 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@75529 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
e4cc4ef183
Fixing an error I made earlier. ast_fileexists can return -1 on failure, so I need to be sure that we only enter the if
...
statement if it is successful.
Related to my fix to issue #10186
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@75405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
402820c9e3
Restoring functionality from 1.2 wherein Retrydial will not exit if there is no announce file specified.
...
This change makes it so that if there is no announce file specified, the application will continue until finished (or caller hangs up).
If a bogus announce file is specified, then a warning message will be printed saying that the file could not be found, but execution will
still continue.
(closes issue #10186 , reported by jon, patched by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@75253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
90da4da6ad
Merged revisions 75066 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r75066 | mmichelson | 2007-07-13 15:10:39 -0500 (Fri, 13 Jul 2007) | 5 lines
Fixed an issue where chanspy flags were uninitialized if no options were passed.
What triggered this investigation was an IRC chat where some people's quiet flags were
set while others' weren't even though none of them had specified the q option.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@75078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
4ab675ca50
Forwarding a message with IMAP storage was storing the message in the sender's box instead of the forwarded mailbox.
...
(closes issue #10138 , reported and patched by jaroth)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
05923bb562
Merged revisions 74427 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r74427 | qwell | 2007-07-10 14:57:20 -0500 (Tue, 10 Jul 2007) | 6 lines
Fix an issue where it was possible to have a service level of over 100%
Between the time recalc_holdtime and update_queue was called, it was possible that the call could have been hungup.
Move both additions to the same place, so this won't happen.
Issue 10158, initial patch by makoto, modified by me.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74428 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
53b44803ee
Merged revisions 74316 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r74316 | qwell | 2007-07-10 10:37:54 -0500 (Tue, 10 Jul 2007) | 4 lines
Fix a small typo in description in of Voicemail() application.
Issue 10170, patch by casper.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74317 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
5112357ae1
Forgot to get rid of an extraneous debug message.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
591f77fe14
The n option for Queue should make the queue exit immediately after failure to reach any members and should not
...
be dependent on the timeout value passed to Queue
(closes issue #10127 , reported by bcnit, repaired by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
441d1bbdf5
Fixed a logic error in leave_voicemail. Pass the mailbox instead of the context to inbox_count when the context is "default."
...
(closes issue #10135 , reported by yannj, repaired by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
bf9d8ab999
Fixing a rare case which causes voicemail to crash when compiled with IMAP storage.
...
inboxcount has the possibility of finding an "interactive" vm_state when no persistent "non-interactive"
vm_state exists for that mailbox. If this should happen when someone attempts to leave a message, it results in
a crash. This patch, along with my commit in revision 72670 fix issue 10053, reported by jaroth.
closes issue #10053
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@73727 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
60c9f69f20
Correcting a minor CLI bug I found. When issuing the queue show command, if you type
...
queue show and then press tab, you can continue pressing tab and it will keep auto-completing
queue names even though only 1 queue can be used as an argument.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@73400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
0e80607e17
Merged revisions 73349 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r73349 | file | 2007-07-05 11:19:14 -0300 (Thu, 05 Jul 2007) | 2 lines
Tweak spy locking. (issue #9951 reported by welles)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@73355 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
6fec0a545f
Merged revisions 73315 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r73315 | file | 2007-07-05 10:19:17 -0300 (Thu, 05 Jul 2007) | 2 lines
Reset ServicelevelPerf variable back to 0 if we are unable to calculate it each time... otherwise we will get previous values. (issue #10117 reported by noriyuki)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@73316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
3a215d6a50
Merged revisions 73052 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r73052 | tilghman | 2007-07-03 07:34:14 -0500 (Tue, 03 Jul 2007) | 2 lines
RetryDial should accept a 0 argument, but it does not, because atoi does not distinguish between 0 and error (closes issue #10106 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@73053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Luigi Rizzo
e0b32b53b1
cast a time_t so that it does not conflict with the print format.
...
This change was already done on trunk so this change needs to be
blocked from merging.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72453 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
6c1076bd45
Merged revisions 72378 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r72378 | file | 2007-06-27 19:24:01 -0400 (Wed, 27 Jun 2007) | 2 lines
Update documentation to clarify variable usage with MixMonitor. (issue #9494 reported by netoguy)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72381 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
2c67ae6869
Merged revisions 72327 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r72327 | file | 2007-06-27 18:43:11 -0400 (Wed, 27 Jun 2007) | 2 lines
Fix issue where queue log events might be missing. (issue #7765 reported by mtryfoss)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
04524392d3
Fix another problem in voicemail with missing symbols.
...
Issue 10074, patch by kryptolus, extended to include #if 0'd blocks (just in case)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72182 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
83fd6c08d2
Removing a pointless line. This variable was already set earlier and between then and this
...
line, there is no way that the values on the right side of the assignment could have changed.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@71953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
79332488f7
A few changes, the ultimate goal of which is to keep better track of the number of messages
...
that a mailbox currently has. A description of the changes:
1. Changed the "updated" field of the vm_state struct to act more as a binary semaphore than a
counting semaphore, since its current implementation made the inboxcount function not work properly.
This change falls in line with a change made by UPenn with their IMAP setup and helps to sync our changes with theirs.
2. Eliminated some redundant calls to get_vm_state_by_mailbox inside leave_voicemail
3. Use the play_folder variable to keep track of the number of old and new messages in a mailbox as the messages are deleted
4. Added an increment to the number of new messages that was not there previously in the leave_voicemail function
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@71877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
555dcbc021
Fixing bug where the authuser was mistakenly pulled from the mailbox string instead
...
of the IMAP user.
(closes issue 10054, reported and patched by jaroth)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@71796 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
5da46f710e
Merged revisions 71750 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r71750 | tilghman | 2007-06-26 07:25:58 -0500 (Tue, 26 Jun 2007) | 2 lines
Issue 10062 - Trying to move a message without selecting one first results in memory corruption
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@71751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
e107da04b4
Merged revisions 71065 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r71065 | qwell | 2007-06-22 09:52:18 -0500 (Fri, 22 Jun 2007) | 4 lines
Fix a few silly usages of ast_playstream() - it only ever returns 0...
Issue 10035
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@71068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
c7dc8d1735
Merged revisions 70898 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r70898 | file | 2007-06-21 17:37:55 -0400 (Thu, 21 Jun 2007) | 2 lines
Don't explode if the gain option is specified without a value. (issue #9274 reported by mfarver)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@70899 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
ac73d19138
When volgain is used don't leave a temporary file behind.
...
(Closes Issue 8514, Reported and patched by ulogic, code reviewed by Jason Parker)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@70808 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
a959ed6f67
Remove a couple of duplicate unlocks
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@70726 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
ce4f92604a
Fix building with ODBC storage enabled. (issue #10025 reported by denisgalvao)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@70677 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
badad4a542
Merged revisions 70444 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r70444 | tilghman | 2007-06-20 14:25:54 -0500 (Wed, 20 Jun 2007) | 2 lines
Issue 9997 - Timelimit times out the wrong channel
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@70445 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
ff3d5422b6
Merged revisions 69894 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r69894 | file | 2007-06-19 09:54:03 -0400 (Tue, 19 Jun 2007) | 2 lines
Perform an extra hangup check just in case. (issue #9589 reported by bcnit)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@69895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
cbdc6b5b2d
To prevent 92138749238754 more reports of "I have unixodbc installed, but
...
still can't build *_odbc.so!", check for ltdl directly, instead of just listing
it as another library to include in the unixodbc check in the configure script.
This also makes ltdl show up as a dependency in menuselect so people know what
to go install. (related to issue #9989 , patch by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@69702 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
ad3c504b10
Add support for setting the maximum length of acceptable DTMF in SpeechBackground.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@69558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
4bce51f79f
The SLATRUNK_STATUS variable indicated "SUCCESS" for both an answer of the
...
incoming call on the trunk, or if the trunk reached its ring timeout.
This patch changes the variable to say "RINGTIMEOUT" in that case.
(issue #9973 , reported by n00dle, patch by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@69518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Kevin P. Fleming
ae82d97c6d
use ast_localtime() in every place localtime_r() was being used
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@69392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
9a68aa6d89
Contains a patch for fixing an encoding problem when using Outlook to view voicemail emails and attachments.
...
This fix has also been tested on Thunderbird, Evolution, Pine, and Mutt.
(Issue 9336, reported by marwick, patched by mutterc)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@69181 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
2a582ba2cf
Really ignore NULL frames and check whether the channel hungup or not. (issue #9912 reported by junky)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@69144 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
53700fd145
Issue 9947 - fn2 was unused / incorrectly used
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@68781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
337738d6d6
Merged revisions 68526 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r68526 | russell | 2007-06-08 17:22:36 -0500 (Fri, 08 Jun 2007) | 4 lines
Don't automatically hang up after running Dictate so that callers can exit
cleanly using '#'
(closes issue #9577 , patch from Thomas Andrews)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@68527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
30d9a8a20b
Fix incorrect French syntax of "old messages".
...
Request for feedback was sent to asterisk-dev mailing list, with little response.
Issue 9118, patch by junky.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@68326 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
e7cb53e8b2
Fix loading persistent queue members when using realtime configuration for queues.
...
Also, remove an unneeded leading slash for the astdb family.
(issue #9911 , patch by atis)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@68280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
1d704b2857
Merged revisions 68204 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r68204 | qwell | 2007-06-07 15:02:50 -0500 (Thu, 07 Jun 2007) | 4 lines
Don't try to save voicemail greetings unless the user presses '1' to accept/save.
Issue 9904, patch by me.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@68211 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
878e480ff8
Submitting a fix for Issue 8016. Added a check to make sure that greetings get stored properly.
...
(Issue 8016, reported by edhorton, patched by alamantia with modification by me. Thanks to Jason Parker
for the advice on this).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@68198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
f07dfca43a
Merged revisions 68070 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r68070 | file | 2007-06-07 10:19:40 -0400 (Thu, 07 Jun 2007) | 2 lines
Allow the 'g' option to work if used with the 'S' option. (issue #9888 reported by gasparz)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@68071 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
e8900612be
Fix for Issue 9810. There was a segfault under a specific set of circumstances:
...
1. VoiceMailMain was configured in the dialplan with an extension as its argument
2. A message was left for this mailbox
3. Tried to call VoiceMailMain but hung up before entering password.
This was fixed by checking that a pointer was non-null prior to trying to dereference it.
(Issue 9810, reported by xmarksthespot, patched by Corydon76 with modifications by me).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@67804 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
a4ebf8b608
Include macroexten while searching for a channel to pick up in case they are in a macro. (issue #9491 reported by jamesb63)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@67626 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
1a3e65a793
Fix some crashes related to the use of the "meetme" CLI command. The code for
...
this command was not locking the conference list at all.
(issue #9351 , reported by and patch submitted by Junk-Y, committed patch
is different and by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@67558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
0a49a913ed
Fix for bug number 9786, wherein voicemails saved to IMAP storage using extensions other than gsm were
...
unable to be played over the phone. (Issue 9786, reporter: xmarksthespot, Patched by xmarksthe spot with revisions by me,
reviewed by Russell Bryant).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@67424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
1317920054
Initialize cidname variable to nothing since it may be used without having been touched. (issue #9661 reported by dimas)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@67066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
a90cf2d802
Removing extraneous debugging lines from revision 66897. Sorry :)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@66917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
c71ead7c52
Submitting a fix for voicemail with IMAP storage. Attachments with format specified as gsm were duplicated (i.e. two attachments) were left.
...
Thank you very much to xmarksthespot for submitting the patch that fixed this. (Issues 9787 and 8873, Reported by xmarksthespot and jerjer, patched by xmarksthespot)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@66897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
3db95c55d0
List app_meetme as a module that app_page depends on.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@66879 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
17329054c8
Merged revisions 66744 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r66744 | tilghman | 2007-05-31 10:58:45 -0500 (Thu, 31 May 2007) | 2 lines
Issue 9818 - Fix for issue 8329 breaks pbx_realtime. Issue 8329 will remain unfixed for pbx_realtime, but only because we lack core API to do it.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@66770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
48b438a0c3
Fixed seg-faults when recording greetings in voicemail with IMAP enabled. (Issue No. 9735, reported by xmarksthespot, patched by me)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@66671 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
1990758086
Ensure that frames are fully initialized. This will probably fix getting
...
weird timestamp log messages in logs when using the Festival app.
(issue #9781 , patch by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@65853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
c556cc222c
List res_smdi as a dependency for app_voicemail and chan_zap
...
(Thanks to mnicholson for pointing it out)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@65501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
aae1e3e377
Remove a double const.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@65452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
BJ Weschke
288d51d94f
Fix a problem with flag recognition.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@65408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
ece55e3de7
Merged revisions 65389 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r65389 | russell | 2007-05-22 08:07:03 -0500 (Tue, 22 May 2007) | 4 lines
Fix a memory leak that I just noticed in the device state handling in app_queue.
On most device state changes, it would leak roughly 8 to 64 bytes (the length of
the name of the device).
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@65394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Steve Murphy
dfee354cfa
Merged revisions 65172 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r65172 | murf | 2007-05-18 14:56:20 -0600 (Fri, 18 May 2007) | 1 line
This update will fix the situation that occurs as described by 9717, where when several targets are specified for a dial, if any one them reports FAIL, the whole call gets FAIL, even though others were ringing OK. I rearranged the priorities, so that a new disposition, NULL, is at the lowest level, and the disposition get init'd to NULL. Then, next up is FAIL, and next up is BUSY, then NOANSWER, then ANSWERED. All the related set routines will only do so if the disposition value to be set to is greater than what's already there. This gives the intended effect. So, if all the targets are busy, you'd get BUSY for the call disposition. If all get BUSY, but one, and that one rings is not answered, you get NOANSWER. If by some freak of nature, the NULL value doesn't get overridden, then the disp2str routine will report NOANSWER as before.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@65200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
88f6591b24
Fix a small bug I noticed while working on something else. app_queue did not
...
unregister its device state monitoring callback in unload_module(). So, this
would make Asterisk crash on the first device state change after you
unload the module.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@64868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
954f082462
Merged revisions 64758 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r64758 | qwell | 2007-05-17 11:52:38 -0500 (Thu, 17 May 2007) | 4 lines
If we have a negative current message, we shouldn't go back even further...
Issue 9727.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@64761 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
78989c792f
Increase the size of a buffer to support longer dial strings for channels.
...
(issue #9291 , reported and fix suggested by meni)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@64756 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
5e41785d73
Fix authuser support. (issue #9740 reported by xmarksthespot)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@64720 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
e7f9e2662b
Merged revisions 63565 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r63565 | tilghman | 2007-05-09 09:48:06 -0500 (Wed, 09 May 2007) | 2 lines
Replicate fix from 51158 (app_voicemail) to app_directory (Issue 9224)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
414b5a15f5
Merged revisions 63477 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r63477 | tilghman | 2007-05-08 17:19:15 -0500 (Tue, 08 May 2007) | 2 lines
Issue 9602 - segfault in app_macro
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
dac8d487f7
Merged revisions 63359 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r63359 | tilghman | 2007-05-08 01:20:16 -0500 (Tue, 08 May 2007) | 2 lines
Issue 9527 - upon entering a folder, no message is selected (curmsg == -1), so deleting causes memory corruption (beyond bounds)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63360 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
e5f56f776d
Bug 9590 - Memory leaks around find_user() (found by rayjay, different fixes by me)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
698a82996e
Note that the "talker optimization" option will be enabled by default in 1.6
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
15d34ea798
Merged revisions 61692 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r61692 | qwell | 2007-04-20 14:49:54 -0500 (Fri, 20 Apr 2007) | 5 lines
If the '* to hangup' option is not enabled, we don't need to disable * as a valid exit key.
If it was enabled, this statement would've never been checked in the first place.
Issue #9552
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61694 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
70eb19121e
Fix the UpdateConfig manager action to properly treat "variables" and "objects"
...
differently (a=b versus a=>b).
(issue #9568 , reported by pari, patch by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
03eb572457
Merged revisions 61655 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r61655 | file | 2007-04-13 15:15:12 -0400 (Fri, 13 Apr 2007) | 2 lines
Add OUTBOUND_GROUP_ONCE variable to app_dial. This behaves the same as OUTBOUND_GROUP except it will get unset after use so it won't get accidentally inherited. (issue #BE-140)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
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