Commit Graph

10820 Commits

Author SHA1 Message Date
Tilghman Lesher
1572777fa0 Merged revisions 61680 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61680 | tilghman | 2007-04-18 21:30:18 -0500 (Wed, 18 Apr 2007) | 5 lines

Bug 9557 - Specifying the GetVar AMI action without a Channel parameter can
cause Asterisk to crash.  The reason this needs to be fixed in the functions
instead of in AMI is because Channel can legitimately be NULL, such as when
retrieving global variables.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61681 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-19 02:45:05 +00:00
Kevin P. Fleming
b823c62709 allow external build systems to extract the required sound file versions
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-18 22:10:23 +00:00
Olle Johansson
521e1698e1 Clean upp formatting, add some doxygen stuff while we're in cleaning mode... Thanks Kevin!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61676 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-18 20:46:23 +00:00
Olle Johansson
0ef4dad39c Issue #9554 - Improve RTCP (Dave Troy)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-18 20:28:53 +00:00
Olle Johansson
dc6d309bdb #9483, half of patch by twilson to solve 302 redirect issues
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61666 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-16 14:47:05 +00:00
Olle Johansson
06b7d38720 Blocking AstHoloPatch from 1.2
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-16 14:21:48 +00:00
Steve Murphy
b74884a9cd This is a fix to the way CDR merge handles the data that results from ForkCDR.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61658 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-13 21:17:20 +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
Joshua Colp
eb631c00a3 For those very verbose SIP implementations that attach tons of info to the Contact header... let's increase our variable sizes. (issue #9535 reported by jeffg)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-13 17:19:53 +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
8a386a9816 A fix for chan_oss that resulted from the CDR changes; it helps to use the right info.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61644 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-13 17:01:02 +00:00
Joshua Colp
c06e063e1a Don't assume the callid of a dialog will be set, as in some circumstances it may not. (issue #9534 reported by tecnoxarxa)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-13 16:32:03 +00:00
Russell Bryant
5858778f40 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/branches/1.4@61477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 16:05:29 +00:00
Nadi Sarrar
3bd81c31fb 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/branches/1.4@61443 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 15:39:14 +00:00
Russell Bryant
a0d75effd5 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/branches/1.4@61427 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 15:09:39 +00:00
Russell Bryant
63ef5e53b0 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/branches/1.4@61407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 14:48:01 +00:00
Russell Bryant
9ce476a89c 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/branches/1.4@61377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 14:04:44 +00:00
Nadi Sarrar
4e2ab7de64 Export AOCD variables on misdn_hangup.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 13:40:26 +00:00
Nadi Sarrar
b31fe9be83 Ignore facility messages in case we don't have a corresponding channel object.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 13:33:30 +00:00
Nadi Sarrar
5e08746b28 AOCD's are now exported to asterisk channel variables.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 10:52:28 +00:00
Russell Bryant
706e448e28 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/branches/1.4@61220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10 16:05:55 +00:00
Nadi Sarrar
50d606bbf8 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/branches/1.4@61183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10 12:43:40 +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
Olle Johansson
3e5c59f235 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/branches/1.4@61072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 19:58:17 +00:00
Kevin P. Fleming
bf4969f66e fix up some warnings found using --enable-dev-mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 19:55:14 +00:00
Kevin P. Fleming
7d50ba6b85 remove some more stuff we don't need
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 19:49:09 +00:00
Russell Bryant
de8c29f5cb Remove another directory that should no longer be there
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61044 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 19:41:04 +00:00
Russell Bryant
96c472353a Remove various files that I thought I already removed.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 19:40:29 +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
Olle Johansson
a1bdbc0289 Add final new line after JabberEvent
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60984 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 18:02:17 +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
Tilghman Lesher
a5872f439b 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/branches/1.4@60850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 03:01:12 +00:00
Tilghman Lesher
1d3fbc214a 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/branches/1.4@60847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 02:42:48 +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
Tilghman Lesher
86fc0a3c03 Fix --enable-dev-mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-08 14:12:00 +00:00
Tilghman Lesher
dc54d451dc Off by one error, resulting in a crash (Issue 9500)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60709 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-08 13:45:24 +00:00
Tilghman Lesher
f32fa7f2ee 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/branches/1.4@60661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-08 01:40:47 +00:00
Russell Bryant
06ff84b549 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/branches/1.4@60603 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06 20:58:43 +00:00
Dwayne M. Hubbard
04adac9bda clarified a sentence in the format_wav section
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06 20:32:49 +00:00
Dwayne M. Hubbard
42efff0d82 updated UPGRADE.txt with format_wav GAIN change and plan to remove GAIN code from trunk
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06 19:58:33 +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
Matthew Fredrickson
e7e3929740 Make sure we check the faxdetect option before doing fax processing
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60485 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06 18:21:52 +00:00
Matthew Fredrickson
96a8eadf29 Merged revisions 60456 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r60456 | mattf | 2007-04-06 12:03:15 -0500 (Fri, 06 Apr 2007) | 2 lines

There should only be one code path for doing DTMF conditionals on channels.  This fixes it.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06 17:32:31 +00:00
Kevin P. Fleming
f6ab517b3f Merged revisions 60398 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r60398 | kpfleming | 2007-04-06 09:41:37 -0500 (Fri, 06 Apr 2007) | 2 lines

remove undocumented 'cardsmode' parameter and stop searching for transcoders during reload()

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60399 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06 14:49:51 +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