Commit Graph

11564 Commits

Author SHA1 Message Date
Joshua Colp 97d93d091b Add a configure script check for sysinfo support.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61557 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 20:21:18 +00:00
Dwayne M. Hubbard 62256ee410 added option_minmemfree for use in asterisk.conf to specify the amount of minimum free memory prior to accepting calls. added CLI 'core show sysinfo' to display system information
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 19:11:32 +00:00
Joshua Colp 6fc5c73f78 Output verbose messages to the normal logger as well. (issue #9476 reported by gdalgliesh)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 17:07:17 +00:00
Russell Bryant 3c0b24bda8 Merged revisions 61477 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61477 | russell | 2007-04-11 11:05:29 -0500 (Wed, 11 Apr 2007) | 13 lines

Merged revisions 61476 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61476 | russell | 2007-04-11 11:01:25 -0500 (Wed, 11 Apr 2007) | 5 lines

If someone sets the "useragent" option in sip.conf to be empty, then don't add
the User-Agent header at all.  It is an optional header, anyway.  Also, the bug
report says that some of Japan's SIP providers don't allow it for some weird
reason.  (issue #9488, reported by makoto, fixed by me)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 16:06:37 +00:00
Nadi Sarrar 9978dc647b Merged revisions 61342,61372-61373,61443 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61342 | nadi | 2007-04-11 12:52:28 +0200 (Mi, 11 Apr 2007) | 2 lines

AOCD's are now exported to asterisk channel variables.

........
r61372 | nadi | 2007-04-11 15:33:30 +0200 (Mi, 11 Apr 2007) | 2 lines

Ignore facility messages in case we don't have a corresponding channel object.

........
r61373 | nadi | 2007-04-11 15:40:26 +0200 (Mi, 11 Apr 2007) | 2 lines

Export AOCD variables on misdn_hangup.

........
r61443 | nadi | 2007-04-11 17:39:14 +0200 (Mi, 11 Apr 2007) | 2 lines

Don't export AOCD variables on misdn_hangup anymore, this was mainly a fix for trunk..

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61460 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 15:48:54 +00:00
Russell Bryant 0df4004ee5 Add a minor loop optimization to the custom device state callback. Once the
correct device is found, it should just break out of the loop ...


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61429 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 15:25:43 +00:00
Russell Bryant 6b033eea04 Merged revisions 61427 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61427 | russell | 2007-04-11 10:09:39 -0500 (Wed, 11 Apr 2007) | 14 lines

Merged revisions 61426 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61426 | russell | 2007-04-11 10:05:36 -0500 (Wed, 11 Apr 2007) | 6 lines

Fix a bug with switching between host=dynamic and using specific hosts for
peers.  The code would only reset the peer's address when it is dynamic if
it was a new peer structure.  Now, it will also reset the address if it was
already in the peer list, but before the reload, it was not dynamic.
(issue #9515, reported by caio1982, fixed by me)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61428 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 15:13:12 +00:00
Russell Bryant 2047feb97e Merged revisions 61407 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61407 | russell | 2007-04-11 09:48:01 -0500 (Wed, 11 Apr 2007) | 4 lines

Add "svgz" to the mimetypes table.  (issue #9510, bkruse)

In passing, constify the elements of the mimetypes table.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 14:49:07 +00:00
Russell Bryant e34c67d308 Merged revisions 61377 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61377 | russell | 2007-04-11 09:04:44 -0500 (Wed, 11 Apr 2007) | 13 lines

Merged revisions 61376 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61376 | russell | 2007-04-11 09:02:54 -0500 (Wed, 11 Apr 2007) | 5 lines

Remove the attempt at reporting configuration errors in sip.conf.  This can
cause a bunch of improper messages when using realtime.  I give up.  As oej
tried to convince me when I put this in, there is just no easy way to do it.
(inspired by a message on the -dev list)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 14:13:08 +00:00
Steve Murphy 13d44de57e via 8119, a patch to allow voicemail data to be stored in RealTime.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 14:09:26 +00:00
Joshua Colp 9fff461080 Remove duplicate prototype declaration. (issue #9517 reported by junky)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 14:01:53 +00:00
Steve Murphy 69bb679e14 via 8118, a RealTime upgrade to make RT a complete storage abstraction. The store/destroy mechanisms needed these missing peices.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61374 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 13:41:17 +00:00
Tilghman Lesher 47dd5a15af Issue 6082 - New DTMF event for manager
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61324 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10 23:55:26 +00:00
Doug Bailey 7c9e46507b Added zapata.conf parameter "cid_rxgain" to allow the user to adjust the gain bump used during CID acquisition.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10 22:02:53 +00:00
Russell Bryant 74221823af Note the bridge manager action and application in the CHANGES file.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10 20:50:27 +00:00
Russell Bryant 9c8c9c5fa1 Merge changes from team/russell/issue_5841:
This patch adds a "Bridge" Manager action, as well as a "Bridge" dialplan
application.  The manager action will allow you to steal two active channels
in the system and bridge them together.  Then, the one that did not hang up
will continue in the dialplan.  Using the application will bridge the calling
channel to an arbitrary channel in the system.  Whichever channel does not
hang up here will continue in the dialplan, as well.

This patch has been touched by a bunch of people over the course of a couple
years.  Please forgive me if I have missed your name in the history of things.
The most recent patch came from issue #5841, but there is also a reference to
an earlier version of this patch from issue #4297.  The people involved in writing
and/or reviewing the code include at least: twisted, mflorrel, heath1444, davetroy, 
tim_ringenbach, moy, tmancill, serge-v, and me.  There are also positive test
reports from many people.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10 20:44:44 +00:00
Russell Bryant ab31bec392 Add an option to the dial API for playing music instead of ringing to the caller.
I started this for use with SLA but ended up deciding not to use it.  However,
there is no reason not to put this part in, anyway.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61259 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10 19:16:24 +00:00
Russell Bryant 9255f350cf Blocked revisions 61220 via svnmerge
........
r61220 | russell | 2007-04-10 11:05:55 -0500 (Tue, 10 Apr 2007) | 5 lines

File upload support was added to solve some needs for the Asterisk GUI.
However, after much discussion, it has been decided that adding this to 1.4 is
not in the best interests of the project.  It has been removed here, but will
remain in trunk.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10 16:08:16 +00:00
Steve Murphy 28b5fb02bd updated ast_channel_alloc() call to include the 4 extra args everyone got. Not much info there, as the config file evidently does not allow amaflags, or accountcode settings; and the pvt's exten doesn't sound like what we need in the cdr, either.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10 16:07:10 +00:00
Nadi Sarrar 0220ec0511 Merged revisions 61183 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61183 | nadi | 2007-04-10 14:43:40 +0200 (Di, 10 Apr 2007) | 10 lines

Merged revisions 61170 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61170 | nadi | 2007-04-10 14:31:45 +0200 (Di, 10 Apr 2007) | 2 lines

msns config parameter defaults to '*'

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61184 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10 12:47:57 +00:00
Steve Murphy ecaf781933 Merged revisions 60989 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60989 | murf | 2007-04-09 12:32:07 -0600 (Mon, 09 Apr 2007) | 1 line

This is a big improvement over the current CDR fixes. It may still need refinement, but this won't have as many folks bothered.
This also adds the mods from 1.4/r.61136;
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10 05:41:34 +00:00
Russell Bryant be874b92d3 Remove unused instances of unnamed enums.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 22:49:32 +00:00
Olle Johansson b52f774850 Merged revisions 61072 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61072 | oej | 2007-04-09 21:58:17 +0200 (Mon, 09 Apr 2007) | 11 lines

Merged revisions 61038 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61038 | oej | 2007-04-09 21:38:59 +0200 (Mon, 09 Apr 2007) | 3 lines

- Don't send ActionID before Response: header. 
- Don't use a blank in an AMI header

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 20:01:28 +00:00
Kevin P. Fleming 480685fda5 Merged revisions 61070 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61070 | kpfleming | 2007-04-09 14:55:14 -0500 (Mon, 09 Apr 2007) | 2 lines

fix up some warnings found using --enable-dev-mode

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61071 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 19:57:21 +00:00
Kevin P. Fleming 14a2b3bf6e Merged revisions 61062 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61062 | kpfleming | 2007-04-09 14:49:09 -0500 (Mon, 09 Apr 2007) | 2 lines

remove some more stuff we don't need

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 19:50:20 +00:00
Russell Bryant 73b8fbd1cb Blocked revisions 61042,61044 via svnmerge
........
r61042 | russell | 2007-04-09 14:40:29 -0500 (Mon, 09 Apr 2007) | 2 lines

Remove various files that I thought I already removed.

........
r61044 | russell | 2007-04-09 14:41:04 -0500 (Mon, 09 Apr 2007) | 2 lines

Remove another directory that should no longer be there

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61048 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 19:42:43 +00:00
Jason Parker 0cb6714ce8 Merged revisions 61022 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61022 | qwell | 2007-04-09 14:05:48 -0500 (Mon, 09 Apr 2007) | 4 lines

Use the appropriate interface name with COMPLETECALLER.

Issue 9395.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 19:06:36 +00:00
Olle Johansson c1d8971831 Add hint to ExtensionStatus AMI event in manager
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61021 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 19:05:40 +00:00
Olle Johansson 4aef0155d6 use "ChannelType" in events to indicate which channel driver that generates the event. This replaces
"ChannelDriver" and "Channel", previously used to indicate channel driver. ChannelType is more
in line with "core show channeltypes"


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 18:22:43 +00:00
Olle Johansson 6ec9260e9f Fix JabberEvents
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60986 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 18:13:30 +00:00
Olle Johansson ae6587ac8f Fix missing newline in JabberEvent
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60985 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 18:09:31 +00:00
Jason Parker a84ca79445 Merged revisions 60936 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r60936 | qwell | 2007-04-09 12:22:59 -0500 (Mon, 09 Apr 2007) | 13 lines

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/trunk@60937 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 17:23:55 +00:00
Dwayne M. Hubbard c3ae939ddc updated UPGRADE.txt to include format_wav changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 16:30:04 +00:00
Joshua Colp a4bef3bb3a Make RTP session ID and session version generation random. (issue #9456 reported by tjardick)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 12:33:49 +00:00
Tilghman Lesher 5ecaea3d0a Merged revisions 60850 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r60850 | tilghman | 2007-04-08 22:01:12 -0500 (Sun, 08 Apr 2007) | 10 lines

Merged revisions 60849 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r60849 | tilghman | 2007-04-08 21:49:06 -0500 (Sun, 08 Apr 2007) | 2 lines

Don't check for error when lowering priority (according to the manpage, it should never happen anyway).  It might could happen, though, if another thread messed with the priority, so safeguard against that (reported via -dev list).

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 03:04:07 +00:00
Tilghman Lesher c6c64af72d Merged revisions 60847 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r60847 | tilghman | 2007-04-08 21:42:48 -0500 (Sun, 08 Apr 2007) | 10 lines

Merged revisions 60846 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r60846 | tilghman | 2007-04-08 21:37:18 -0500 (Sun, 08 Apr 2007) | 2 lines

Bug 9505 - If the return value for local_queue_frame is set, then p->lock is no longer valid.

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 02:44:37 +00:00
Joshua Colp 840f1e61e0 Merged revisions 60798 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r60798 | file | 2007-04-08 21:03:14 -0400 (Sun, 08 Apr 2007) | 10 lines

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/trunk@60799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 01:06:56 +00:00
Joshua Colp ed75ded048 Add counter for sip show registry CLI command. (issue #9352 reported by junky)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60796 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 00:47:06 +00:00
Joshua Colp 9ab4327d8b Merged revisions 60762 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60762 | file | 2007-04-08 13:04:44 -0400 (Sun, 08 Apr 2007) | 2 lines

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/trunk@60763 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-08 17:13:39 +00:00
Tilghman Lesher 072347fa40 Merged revisions 60713 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r60713 | tilghman | 2007-04-08 09:14:29 -0500 (Sun, 08 Apr 2007) | 10 lines

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/trunk@60715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-08 14:23:16 +00:00
Tilghman Lesher a858c92e3f Merged revisions 60712 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60712 | tilghman | 2007-04-08 09:12:00 -0500 (Sun, 08 Apr 2007) | 2 lines

Fix --enable-dev-mode

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-08 14:20:42 +00:00
Tilghman Lesher 1af546c931 Blocked revisions 60709 via svnmerge
........
r60709 | tilghman | 2007-04-08 08:45:24 -0500 (Sun, 08 Apr 2007) | 2 lines

Off by one error, resulting in a crash (Issue 9500)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60710 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-08 13:48:44 +00:00
Tilghman Lesher a7a0e8598c Merged revisions 60661 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r60661 | tilghman | 2007-04-07 20:40:47 -0500 (Sat, 07 Apr 2007) | 10 lines

Merged revisions 60660 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r60660 | tilghman | 2007-04-07 20:39:25 -0500 (Sat, 07 Apr 2007) | 2 lines

Bug 9486 - memory leak when opening a filestream

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-08 01:42:32 +00:00
Dwayne M. Hubbard 3c635cf6f1 removed GAIN preprocessor definition, removed needsgain from struct wav_desc, removed unnecessary gain code from wav_read() and wav_write()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06 22:29:53 +00:00
Russell Bryant 0f29ce05af Filter out -Wundef so that the automatically generated C files will compile cleanly
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60623 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06 21:43:14 +00:00
Russell Bryant f6ee1f7a0b Remove a bunch of files that weren't supposed to get added.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06 21:19:25 +00:00
Russell Bryant 0a9750ef9f Merged revisions 60603 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60603 | russell | 2007-04-06 15:58:43 -0500 (Fri, 06 Apr 2007) | 13 lines

To be able to achieve the things that we would like to achieve with the
Asterisk GUI project, we need a fully functional HTTP interface with access
to the Asterisk manager interface.  One of the things that was intended to be
a part of this system, but was never actually implemented, was the ability for
the GUI to be able to upload files to Asterisk.  So, this commit adds this in
the most minimally invasive way that we could come up with.

A lot of work on minimime was done by Steve Murphy.  He fixed a lot of bugs in
the parser, and updated it to be thread-safe.  The ability to check
permissions of active manager sessions was added by Dwayne Hubbard.  Then,
hacking this all together and do doing the modifications necessary to the HTTP
interface was done by me.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06 21:16:38 +00:00
Russell Bryant e3192c77f2 Merged revisions 60565 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60565 | russell | 2007-04-06 14:50:52 -0500 (Fri, 06 Apr 2007) | 3 lines

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/trunk@60566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06 19:52:12 +00:00
Olle Johansson 5bc2aa8ab1 Use the same parameter to the two "Registry" AMI events - ChannelDriver
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06 19:26:01 +00:00
Russell Bryant bdd6e89dcd Merged revisions 60521 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60521 | russell | 2007-04-06 13:58:46 -0500 (Fri, 06 Apr 2007) | 16 lines

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/trunk@60522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06 18:59:42 +00:00