Commit Graph

2187 Commits

Author SHA1 Message Date
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
2007-04-20 19:51:49 +00:00
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
2007-04-20 18:19:18 +00:00
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
2007-04-13 19:17:08 +00:00
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
2007-04-13 18:08:02 +00:00
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
2007-04-13 17:10:19 +00:00
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
2007-04-10 05:18:26 +00:00
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
2007-04-09 19:05:48 +00:00
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
2007-04-09 18:32:07 +00:00
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
2007-04-09 17:22:59 +00:00
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
2007-04-09 01:03:14 +00:00
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
2007-04-08 17:04:44 +00:00
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
2007-04-08 14:14:29 +00:00
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
2007-04-06 19:50:52 +00:00
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
2007-04-06 18:58:46 +00:00
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
2007-04-06 01:14:00 +00:00
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
2007-04-05 16:10:48 +00:00
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
2007-04-04 16:26:23 +00:00
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
2007-04-03 19:40:59 +00:00
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
2007-04-02 18:58:24 +00:00
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
2007-03-29 17:38:55 +00:00
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
2007-03-27 23:37:31 +00:00
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
2007-03-27 23:32:46 +00:00
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
2007-03-27 23:20:22 +00:00
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
2007-03-27 23:16:27 +00:00
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
2007-03-27 23:02:12 +00:00
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
2007-03-26 19:34:14 +00:00
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
2007-03-26 18:33:50 +00:00
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
2007-03-26 18:28:29 +00:00
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
2007-03-26 18:13:06 +00:00
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
2007-03-23 16:09:01 +00:00
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
2007-03-20 17:48:17 +00:00
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
2007-03-20 17:43:02 +00:00
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
2007-03-18 16:36:44 +00:00
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
2007-03-16 16:12:28 +00:00
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
2007-03-16 01:41:00 +00:00
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
2007-03-15 23:11:33 +00:00
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
2007-03-15 22:25:12 +00:00
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
2007-03-14 16:33:01 +00:00
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
2007-03-13 23:19:51 +00:00
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
2007-03-10 03:58:27 +00:00
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
2007-03-09 21:08:19 +00:00
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
2007-03-08 22:15:15 +00:00
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
2007-03-08 20:54:56 +00:00
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
2007-03-08 13:17:42 +00:00
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
2007-03-05 18:39:28 +00:00
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
2007-03-05 17:52:03 +00:00
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
2007-03-03 06:45:00 +00:00
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
2007-03-01 23:42:53 +00:00
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
2007-02-28 22:07:05 +00:00
Russell Bryant
315c9614cb Minor formatting change
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-28 19:58:56 +00:00