Commit Graph

20296 Commits

Author SHA1 Message Date
Leif Madsen
35ae872061 Importing release summary for 1.8.0-beta1 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.0-beta1@279204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 20:43:18 +00:00
Leif Madsen
f8d117d871 Importing files for 1.8.0-beta1 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.0-beta1@279203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 20:43:13 +00:00
Leif Madsen
e5afafaebe Creating tag for the release of asterisk-1.8.0-beta1
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.0-beta1@279202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 20:28:53 +00:00
Leif Madsen
8191b9b17e Creating tag for the release of asterisk-1.8.0-beta1
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.0-beta1@279200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 20:24:43 +00:00
Leif Madsen
d3ef350abf Creating tag for the release of asterisk-1.8.0-beta1
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.0-beta1@279192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 20:22:20 +00:00
Leif Madsen
e429e798f0 Creating tag for the release of asterisk-1.8.0-beta1
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.0-beta1@279179 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 20:19:31 +00:00
Leif Madsen
e60ed30452 Creating tag for the release of asterisk-1.8.0-beta1
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.0-beta1@279167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 20:16:43 +00:00
Leif Madsen
6f4102a040 Creating tag for the release of asterisk-1.8.0-beta1
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.0-beta1@279165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 20:14:07 +00:00
Leif Madsen
6098cca391 Creating tag for the release of asterisk-1.8.0-beta1
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.0-beta1@279163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 20:09:55 +00:00
Leif Madsen
7dd5b56170 Use autotagged externals
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.0-beta1@279160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 19:58:02 +00:00
Leif Madsen
f6a708dc6c Importing release summary for 1.8.0-beta1 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.0-beta1@279159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 19:57:59 +00:00
Leif Madsen
72098cc00e Importing files for 1.8.0-beta1 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.0-beta1@279158 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 19:57:55 +00:00
Leif Madsen
bea146dd4b Creating tag for the release of asterisk-1.8.0-beta1
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.0-beta1@279157 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 19:56:15 +00:00
Leif Madsen
9bc2e11f72 Use autotagged externals
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.0-beta1@279154 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 19:45:59 +00:00
Leif Madsen
305826c267 Importing release summary for 1.8.0-beta1 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.0-beta1@279153 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 19:45:55 +00:00
Leif Madsen
8f61d8afb2 Creating tag for the release of asterisk-1.8.0-beta1
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.0-beta1@279152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 19:40:45 +00:00
Leif Madsen
072b223db2 Use autotagged externals
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.0-beta1@279150 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 19:34:37 +00:00
Leif Madsen
679fcda5ae Importing release summary for 1.8.0-beta1 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.0-beta1@279149 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 19:34:23 +00:00
Leif Madsen
0dd42e0394 Creating tag for the release of asterisk-1.8.0-beta1
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.0-beta1@279148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 19:32:54 +00:00
Tilghman Lesher
a2d1082065 Silly 64-bit compilers (who uses 64-bit anyway?)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@279113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 18:56:04 +00:00
Russell Bryant
371c5ed5c2 fix up properties on 1.8 branch
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@279094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 18:23:31 +00:00
Russell Bryant
ba1e5d1e00 Create a branch for Asterisk 1.8.
___      _            _     _      _   ___
 / _ \ ___| |_ ___ _ __(_)___| | __ / | ( _ )
| |_| / __| __/ _ \ '__| / __| |/ / | | / _ \
|  _  \__ \ ||  __/ |  | \__ \   <  | || (_) |
|_| |_|___/\__\___|_|  |_|___/_|\_\ |_(_)___/



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@279056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 18:10:58 +00:00
Russell Bryant
2707e1ccd2 Create a branch for Asterisk 1.8.
___      _            _     _      _   ___
 / _ \ ___| |_ ___ _ __(_)___| | __ / | ( _ )
| |_| / __| __/ _ \ '__| / __| |/ / | | / _ \
|  _  \__ \ ||  __/ |  | \__ \   <  | || (_) |
|_| |_|___/\__\___|_|  |_|___/_|\_\ |_(_)___/



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@279054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 18:08:27 +00:00
Tilghman Lesher
f90409101e Merged revisions 278984 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r278984 | tilghman | 2010-07-23 12:04:15 -0500 (Fri, 23 Jul 2010) | 5 lines
  
  Establish a maximum version for openh323 (i.e. not opal), because chan_h323 will fail to load, even if it links.
  
  (issue #17679)
  Reported by: am
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278985 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 17:05:16 +00:00
Tilghman Lesher
ec482eac9c Merged revisions 278981 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r278981 | tilghman | 2010-07-23 11:42:25 -0500 (Fri, 23 Jul 2010) | 8 lines
  
  Avoid race with consolethread on shutdown (on parallel processors).
  
  (closes issue #17080)
   Reported by: sybasesql
   Patches: 
         20100721__issue17080.diff.txt uploaded by tilghman (license 14)
   Tested by: sybasesql
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 16:43:34 +00:00
Mark Michelson
d1ad460b3d SIP URI comparison fixes.
This initially was created to work around the issue of
using a string comparison instead of a binary comparison
for IP addresses. It evolved a bit when test cases were
created and it was discovered that comparison of URI
parameters was not working exactly as it should.

sip_uri_cmp() and its helpers have been moved to reqresp_parser.c
and a new test has been added.

(closes issue #17662)
Reported by: oej

Review: https://reviewboard.asterisk.org/r/792



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278980 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 16:33:52 +00:00
Tilghman Lesher
3ab0041118 Merge the realtime failover branch
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 16:19:21 +00:00
Tzafrir Cohen
76c1992f38 Some left-over hyphen-minus fixes in the man page
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 16:07:53 +00:00
Russell Bryant
09206a7db8 ... just kidding. Enable SIP by default. :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 15:57:23 +00:00
Russell Bryant
98f0f3933f Disable SIP support by default for Asterisk 1.8.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 15:57:01 +00:00
Mark Michelson
ffa69fd54d Well, who knew chan_ooh323 used udptl? I sure didn't!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278943 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 15:52:37 +00:00
Richard Mudgett
301505c4c4 Rename sig_pri_pri to sig_pri_span. More descriptive of concept.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278942 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 15:41:44 +00:00
Mark Michelson
57a92a6a7c Allow IPv6 addresses for UDPTL streams.
Review: https://reviewboard.asterisk.org/r/795



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278908 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 15:16:33 +00:00
Olle Johansson
98ad48e5d4 Minor corrections to the LDAP realtime driver
Review: https://reviewboard.asterisk.org/r/798/

Thanks Mark for a quick review!


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 13:37:17 +00:00
Paul Belanger
7d96f2d01e Portability updates for Makefiles.
When possible, use $(INSTALL).  This allows us to use the functionality within
install for setting directory / file permissions, a requirement for unprivileged
installation.

Also move any directory we plan to create within the installdirs macro. Plus
various other formatting issues.

(issue #17436)
Reported by: pabelanger
Patches:
      non-root.patch.v8 uploaded by pabelanger (license 224)
Tested by: pabelanger

Review: https://reviewboard.asterisk.org/r/654/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278873 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 13:26:41 +00:00
Alec L Davis
8b3c00a824 missed FXS kewl start polarityswitch when finally on hook.
(issue #17318)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 11:01:14 +00:00
Alec L Davis
85bfe38f2f Support FXS module Polarity Reversal on remote party Answer and Hangup
FXS lines normally connect to a telephone. However, when FXS lines are routed
to an external PBX or Key System to act as "external" or "CO" lines, it is
extremely difficult, if not impossible for the external PBX to know when
the call has been disconnected without receiving a polarity reversal on the line.

Now using answeronpolarityswitch and hanguponpolarityswitch keywords that
previously were used only for FXO ports, now applies like functionality for
an FXS port, but from the connected equipment's point of view.

(closes issue #17318)
Reported by: armeniki
Patches: 
      fxs_linepolarity.diff5.txt uploaded by alecdavis (license 585)
Tested by: alecdavis

Review: https://reviewboard.asterisk.org/r/797/



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-22 23:14:50 +00:00
Richard Mudgett
ab0b255455 DNID not cleared when channel hang up (Affects PRI and SS7)
The "dahdi show channels" CLI command still reports the DNID of the
previous call even if the call is already hang up.  The "dahdi show
channels" command of older releases clear the DNID once the channel is
hang up.

Regression from the sig_analog/sig_pri extraction from chan_dahdi.

(closes issue #17623)
Reported by: klaus3000
Patches:
      issue17623.patch uploaded by rmudgett (license 664)
Tested by: rmudgett


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-22 21:16:04 +00:00
Jeff Peeler
4d1aeff357 Add method for finding XML doc files for systems that don't support GLOB_BRACE.
In particular, Solaris and perhaps others do not support the above mentioned
GNU extension. In this case the paths are simply expanded without the braces
and the calls to glob are made separately.

Note: I could not explain memory allocation failures that were being reported
from within libxml itself when making calls to glob without using GLOB_NOCHECK.
This is the only reason why that flag is being used.

(closes issue #15402)
Reported by: snuffy
Patches: 
      bug_xmlpatt-v3.diff uploaded by snuffy (license 35),
      modified by me


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278708 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-22 19:45:30 +00:00
Mark Michelson
0da891c543 Merged revisions 278618 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r278618 | mmichelson | 2010-07-22 09:55:04 -0500 (Thu, 22 Jul 2010) | 13 lines
  
  Allow PLC to function properly when channels use SLIN for audio.
  
  If a channel involved in a bridge was using SLIN audio, then translation
  paths were not guaranteed to be set up properly since in all likelihood
  the number of translation steps was only 1.
  
  This patch enforces the transcode_via_slin behavior if transcode_via_slin
  or generic_plc is enabled and one of the formats to make compatible is
  SLIN.
  
  AST-352
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278620 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-22 14:58:01 +00:00
David Vossel
3819ba7ac7 update sip subscription debug message to a warning message
If the Expire header of a SUBSCRIBE is less that our expiremin,
a log warning will be displayed.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-22 14:56:26 +00:00
Tilghman Lesher
1b2893cab4 Add the full current set of CDR drivers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-22 05:29:29 +00:00
David Vossel
f805d00bbd make func_file unit test's category consistent with other tests
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-21 19:16:12 +00:00
Terry Wilson
d6e1c724e5 Remove built-in AES code and use optional_api instead
Review: https://reviewboard.asterisk.org/r/793/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278538 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-21 19:11:32 +00:00
David Vossel
318798e932 send "423 Interval too small" Response to Subscribe with Expires less that min allowed
[RFC3265]3.1.6.1....
   The notifier MAY also check that the duration in the "Expires" header
   is not too small.  If and only if the expiration interval is greater
   than zero AND smaller than one hour AND less than a notifier-
   configured minimum, the notifier MAY return a "423 Interval too
   small" error which contains a "Min-Expires" header field.  The "Min-
   Expires" header field is described in SIP [1].




git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278536 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-21 18:52:14 +00:00
Tzafrir Cohen
16b4813599 Fix invalid test for rxisoffhook in FXO channels
This fixes some cases of no outgoing calls on FXO before an incoming call.

Remove an unnecessary testing of an "off-hook" bit from DAHDI for FXO
(KS/GS) channels.In some cases the bit would not be initialized properly
before the first inbound call and thus prevent an outgoing call.

If those tests are actually required by anybody, they should define
DAHDI_CHECK_HOOKSTATE in channels/sig_analog.c .

(closes issue #14577)
Reported by: jkroon
Patches:
      asterisk_chan_dahdi_hookstate_fix_trunk_new.diff uploaded by frawd (license 610)
Tested by: frawd

Review: https://reviewboard.asterisk.org/r/699/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-21 17:44:20 +00:00
Russell Bryant
765b275976 Use poll() instead of select() in res_timing_pthread to avoid stack corruption.
This code did not properly check FD_SETSIZE to ensure that it did not try to
select() on fds that were too large.  Switching to poll() removes the limitation
on the maximum fd value.

(closes issue #15915)
Reported by: keiron

(closes issue #17187)
Reported by: Eddie Edwards

(closes issue #16494)
Reported by: Hubguru

(closes issue #15731)
Reported by: flop

(closes issue #12917)
Reported by: falves11

(closes issue #14920)
Reported by: vrban

(closes issue #17199)
Reported by: aleksey2000

(closes issue #15406)
Reported by: kowalma

(closes issue #17438)
Reported by: dcabot

(closes issue #17325)
Reported by: glwgoes

(closes issue #17118)
Reported by: erikje

possibly other issues, too ...


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-21 16:15:00 +00:00
Tilghman Lesher
9bb8dc67e7 Ensure realtime conferences are treated the same as static conferences when trying to find an empty one.
Also, parse the useropts properly, when retrieving from realtime, and add them
to the existing flags.

(closes issue #17502)
 Reported by: kenji
 Patches: 
       20100720__issue17502.diff.txt uploaded by tilghman (license 14)
 Tested by: kenji


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-21 15:56:05 +00:00
Matthew Nicholson
3b5d63fd2b Properly show the current page being transfered for 'fax show session'
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-21 15:54:29 +00:00
Matthew Nicholson
43b486453b Properly set the port number for UDPTL media sessions.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278461 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-21 15:51:24 +00:00