Commit Graph

21588 Commits

Author SHA1 Message Date
Richard Mudgett
cbfbbbeb32 Merged revisions 332264 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r332264 | rmudgett | 2011-08-17 10:51:08 -0500 (Wed, 17 Aug 2011) | 26 lines
  
  Outgoing BRI calls fail when using Asterisk 1.8 with HA8, HB8, and B410P cards.
  
  France Telecom brings layer 2 and layer 1 down on BRI lines when the line
  is idle.  When layer 1 goes down Asterisk cannot make outgoing calls and
  the HA8 and HB8 cards also get IRQ misses.
  
  The inability to make outgoing calls is because the line is in red alarm
  and Asterisk will not make calls over a line it considers unavailable.
  The IRQ misses for the HA8 and HB8 card are because the hardware is
  switching clock sources from the line which just brought layer 1 down to
  internal timing.
  
  There is a DAHDI option for the B410P card to not tell Asterisk that layer
  1 went down so Asterisk will allow outgoing calls: "modprobe wcb4xxp
  teignored=1".  There is a similar DAHDI option for the HA8 and HB8 cards:
  "modprobe wctdm24xxp bri_teignored=1".  Unfortunately that will not clear
  up the IRQ misses when the telco brings layer 1 down.
  
  * Add layer 2 persistence option to customize the layer 2 behavior on BRI
  PTMP lines.  The new option has three settings: 1) Use libpri default
  layer 2 setting.  2) Keep layer 2 up.  Bring layer 2 back up when the peer
  brings it down.  3) Leave layer 2 down when the peer brings it down.
  Layer 2 will be brought up as needed for outgoing calls.
  
  JIRA AST-598
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@332265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-17 16:01:29 +00:00
Paul Belanger
36f0a24040 Merged revisions 332176 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r332176 | pabelanger | 2011-08-16 16:10:13 -0400 (Tue, 16 Aug 2011) | 4 lines
  
  Flag test modules as 'core'
  
  Review: https://reviewboard.asterisk.org/r/1369/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@332177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-16 20:11:49 +00:00
Jonathan Rose
6ae104a4b2 Merged revisions 332118 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r332118 | jrose | 2011-08-16 12:38:19 -0500 (Tue, 16 Aug 2011) | 16 lines
  
  ASTERISK-18067 ASTERISK-15479 - White Space affects mailbox value, multiple MWI subs
  
  Before, having multiple subscriptions to mailboxes on a sip peer set via the mailbox
  setting in sip.conf would only result in updates being sent on whichever mailbox
  triggered the mwi event.  Now all of them get counted regardless.  Also fixes a bug
  involving parsing of the mailbox option in sip.conf so that trailing and leading
  spaces before/after commas are trimmed.
  
  (closes issue ASTERISK-18067)
  Reported by: aragon
  
  (closes issue ASTERISK-15479)
  Reported by: Ben Winslow
  Patches: chan_sip.c-mwi_multi_mailbox_fix-1.6.2.13.diff (License #5288) patch uploaded by Ben Winslow
   
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@332119 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-16 17:45:38 +00:00
Richard Mudgett
d367c2631c Merged revisions 332100 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r332100 | rmudgett | 2011-08-16 11:31:36 -0500 (Tue, 16 Aug 2011) | 133 lines
  
  Fix multiple parking issues.
  
  JIRA ASTERISK-17183
  Multi-parkinglot directs calls to wrong parkinglot.
  JIRA ASTERISK-17870
  Cannot retrieve parked calls.
  JIRA ASTERISK-17430
  ParkedCall() with no extension should pickup first available call and does not.
  JIRA AST-576
  Issues with parking lots
  
  * Removed searching for parking lots by extension.  Parking lots can only
  be found by the parking lot name since parking lot access extensions and
  spaces are not guaranteed to be unique.
  
  * Added parking_lot_name option to the Park and ParkedCall applications.
  Updated documentation for Park and ParkedCall applications.
  
  * Add parkext_exclusive configuration option to make parking entry
  extensions specify which parking lot they access.
  
  (closes issue ASTERISK-17183)
  Reported by: David Cabrejos
  Tested by: rmudgett, David Cabrejos
  
  (closes issue ASTERISK-17870)
  Reported by: Remi Quezada
  
  (closes issue ASTERISK-17430)
  Reported by: Philippe Lindheimer
  
  
  JIRA ASTERISK-17452
  Parking_offset not used
  JIRA AST-624
  'next' setting for findslot does nothing
  
  * Reimplemented since findslot feature option broken by -r114655.
  
  (closes issue ASTERISK-17452)
  Reported by: David Woolley
  Tested by: rmudgett
  
  
  JIRA ASTERISK-15792
  Dialplan continues execution after transfer to park.
  
  This happens for DTMF attended transfer, DTMF blind transfer, and DTMF
  one-touch-parking if the party initiating these features also initiated
  the call.
  
  * Fixed the return code from the affected builtin features when parking a
  call.
  
  (closes issue ASTERISK-15792)
  Reported by: Mat Murdock
  Tested by: rmudgett, twilson
  
  
  JIRA AST-607
  The courtesytone is not playing to the expected call when picking up a
  parked call.
  
  This is mostly a documentation problem.  However, the option is not reset
  to the default when features.conf is reloaded.
  
  * Updated features.conf.sample documentation for courtesytone and
  parkedplay options.
  
  * Reset the parkedplay option to default when features.conf is reloaded.
  
  
  JIRA AST-615
  AMI Park action followed by features reload results in orphaned channels
  in parking lot.
  
  * Reloading features.conf will not touch parking lots that have calls
  still parked in them.  Reload again at a later time.
  
  
  Misc additional fixes:
  
  * Added unit test for parking lot dialplan usage checking.
  
  * Made update connected line when a parked call is retrieved from a
  parking lot.
  
  * Made retrieved parked call stop ringing or MOH depending upon how the
  call was waiting in the parking lot.
  
  * Made CLI "features show" indicate if the parking lot is enabled for use.
  
  * Added PARKINGDYNEXTEN channel variable to allow dynamic parking lots to
  specify the parking lot access extension.
  
  * Made AMI ParkedCalls action ParkedCall events have a Parkinglot header.
  
  * Made AMI ParkedCalls action ParkedCallsComplete event have a Total
  header.
  
  * Fixed potential deadlock from AMI Park action holding channel locks
  while calling masq_park_call().
  
  * Fixed several places where ast_strdupa() were used inside of loops.
  (Mostly fixed by refactoring the loop body into its own function.)
  
  * Fixed copy_parkinglot() copying too much from the source parking lot.
  Extracted the parking lot configuration settings into struct
  parkinglot_cfg.
  
  * Refactored courtesytone playing code to put the channel not playing the
  tone in autoservice.
  
  * Fix when pbx-parkingfailed is played that the other channel is put in
  autoservice if it exists.
  
  * Fixed parkinglot reference leak in parked_call_exec() error paths.
  
  * Fixed parkinglot_unref() use of parkinglot after it was unreffed.
  
  * Made destroy the struct ast_parkinglot parkings lock when done.
  
  * Refactored the features.conf parking lot configuration code to eliminate
  redundancy.
  
  * Fixed feature reload to better protect parking lots.
  
  * Fixed parking lot container reference leak in handle_parkedcalls().
  
  * Fixed the total count in handle_parkedcalls().
  
  Review: https://reviewboard.asterisk.org/r/1358/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@332101 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-16 17:17:28 +00:00
Matthew Nicholson
c98c274f06 fix a code comment
AST-580


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@332042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-16 15:20:48 +00:00
Matthew Nicholson
21e2715c6f Moved notes about 'storesipcause' to UPGRADE.txt from CHANGES
AST-580


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@332029 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-16 15:17:16 +00:00
Matthew Nicholson
0059096c5e Merged revisions 332026 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r332026 | mnicholson | 2011-08-16 10:06:31 -0500 (Tue, 16 Aug 2011) | 2 lines
  
  use DEFAULT_STORE_SIP_CAUSE to set the default value for the 'storesipcause' option

  AST-580
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@332027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-16 15:08:40 +00:00
Matthew Nicholson
b83a26eefa In 10 and trunk this option is disabled by default.
Merged revisions 332021 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r332021 | mnicholson | 2011-08-16 09:20:43 -0500 (Tue, 16 Aug 2011) | 7 lines
  
  Added the 'storesipcause' option to sip.conf to allow the user to disable the
  setting of HASH(SIP_CAUSE,<chan name>) on the channel.
  
  Having chan_sip set HASH(SIP_CAUSE,<chan name>) on the channel carries a
  significant performance penalty because of the usage of the MASTER_CHANNEL()
  dialplan function.

  AST-580
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@332022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-16 14:40:37 +00:00
Richard Mudgett
41549fcd66 Merged revisions 331955 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r331955 | rmudgett | 2011-08-15 12:24:08 -0500 (Mon, 15 Aug 2011) | 13 lines
  
  Fix some minor chan_dahdi config load issues.
  
  * Address chan_dahdi.conf dahdichan option todo item about needing line
  number.
  
  * Make ignore_failed_channels option also apply to dahdichan option.
  
  * Don't attempt to create a default pseudo channel if the chan_dahdi.conf
  channel/channels option is not allowed.
  
  * Add a similar check for dahdichan in normal chan_dahdi.conf sections as
  is done in users.conf.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331956 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-15 17:35:03 +00:00
Paul Belanger
8d614eb68f Merged revisions 331886 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r331886 | pabelanger | 2011-08-15 11:21:16 -0400 (Mon, 15 Aug 2011) | 5 lines
  
  Fix noisy message when briding channels
  
  (closes issue ASTERISK-18270)
  Reported by: Federico Alves
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331894 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-15 15:22:45 +00:00
David Vossel
132a7e75a0 Merged revisions 331867 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r331867 | dvossel | 2011-08-15 10:12:16 -0500 (Mon, 15 Aug 2011) | 6 lines
  
  Fixes locking inversion issues present in the handling of the sip REFER method.
  
  (closes issue ASTERISK-18082)
  Reported by: James Van Vleet
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-15 15:14:13 +00:00
Matthew Nicholson
0a1d4c7c02 Merged revisions 331774 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r331774 | mnicholson | 2011-08-12 14:01:27 -0500 (Fri, 12 Aug 2011) | 11 lines
  
  Unlock the channel before calling update_queue.
  
  Holding the channel lock when calling update_queue which attempts to lock the
  queue lock can cause a deadlock. This deadlock involves the following chain:
  
  1. hold chan lock -> wait queue lock
  2. hold queue lock -> wait agent list lock
  3. hold agent list lock -> wait chan list lock
  4. hold chan list lock -> wait chan lock
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331775 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-12 19:03:31 +00:00
Richard Mudgett
4e9515bab0 Merged revisions 331771 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r331771 | rmudgett | 2011-08-12 13:58:40 -0500 (Fri, 12 Aug 2011) | 8 lines
  
  Suppress warning message when using DAHDITransfer or DAHDIHangup.
  
  * The fake event should only be processed by the channel that currently
  owns the private and not the associated call waiting or 3-way channel.
  
  JIRA AST-620
  JIRA SWP-3616
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331772 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-12 18:59:45 +00:00
Richard Mudgett
a9a9bb4bda Merged revisions 331714 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r331714 | rmudgett | 2011-08-12 12:47:57 -0500 (Fri, 12 Aug 2011) | 22 lines
  
  AMI actions DAHDIHangup and DAHDITransfer have no effect.
  
  The AMI actions DAHDIHangup and DAHDITransfer have no effect on a DAHDI
  channel.  These two AMI actions are highly specialized to analog channels
  and appear to make the channel behave like a jack port for headsets.
  
  * Made the faked DAHDI event get processed before a normal media stream
  read in dahdi_read() instead of trying to trigger an exception read by
  setting the AST_FLAG_EXCEPTION flag.  Apparently a change was made long
  ago that changed how AST_FLAG_EXCEPTION is processed in the core.
  Unfortunately, the faked DAHDI events no longer worked when that happened.
  
  * Updated the DAHDI AMI action documentation for the following actions:
  DAHDITransfer, DAHDIHangup, DAHDIDialOffhook, DAHDIDNDon, DAHDIDNDoff,
  DAHDIShowChannels, and DAHDIRestart.
  
  * Made use sscanf() instead of atoi() for better error checking of the
  DAHDIChannel header string.
  
  JIRA AST-620
  JIRA SWP-3616
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-12 17:54:47 +00:00
Terry Wilson
5d31658903 Merged revisions 331658 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r331658 | twilson | 2011-08-12 11:30:26 -0500 (Fri, 12 Aug 2011) | 4 lines
  
  Fix netsock2 multiple zero-expansion test
  
  Remove erroneous single bracket.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-12 16:31:21 +00:00
Kinsey Moore
958c0efba7 Merged revisions 331649 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r331649 | kmoore | 2011-08-12 11:20:25 -0500 (Fri, 12 Aug 2011) | 12 lines
  
  Logger does not warn of failure to open logging channels
  
  Currently, logger only prints an error message to stderr when it fails to open
  a logger channel where many users will not see it because the logger lock is
  held.  The alternative provided by this patch is to log the error to all
  attached consoles in the hopes that it will be easier to see.  Additionally,
  this patch prevents the failed logger channel from being added to the list
  where it would silently fail on each call to the Asterisk logger.
  
  (closes issue ASTERISK-16231)
  Review: https://reviewboard.asterisk.org/r/1338
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-12 16:21:37 +00:00
Jonathan Rose
c64bc780da Merged revisions 331635 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r331635 | jrose | 2011-08-12 10:49:17 -0500 (Fri, 12 Aug 2011) | 1 line
  
  Fixes 32bit compilation warnings brought on by 331634 in app_dial and app_meetme
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331644 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-12 16:18:57 +00:00
Jason Parker
369ab7e566 Merged revisions 331578 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r331578 | qwell | 2011-08-11 16:46:39 -0500 (Thu, 11 Aug 2011) | 6 lines
  
  Use proper values for 64-bit option flags.
  
  Also, reusing bits es no bueno, so change the value of a duplicate.
  
  (issue ASTERISK-18239)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-11 21:54:54 +00:00
Richard Mudgett
ed72dd52a8 Merged revisions 331575 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r331575 | rmudgett | 2011-08-11 16:39:58 -0500 (Thu, 11 Aug 2011) | 9 lines
  
  Segfault in shell_helper in func_shell.c.
  
  The return value of popen() was not checked for failure to open.
  
  (closes issue ASTERISK-18109)
  JIRA SWP-3633
  Reported by: Michael Myles
  Tested by: rmudgett
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-11 21:42:21 +00:00
Kinsey Moore
678ece77d5 Merged revisions 331517 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r331517 | kmoore | 2011-08-10 17:23:08 -0500 (Wed, 10 Aug 2011) | 10 lines
  
  SIP Notify via AMI or CLI leaks SIP PVTs
  
  Any SIP notify sent via AMI or CLI leaks a SIP PVT with ref count +2.  Removing
  the additional ref just before the invite and adding an unref following it
  corrects the issue as seen via REF_DEBUG.  The unref existed in a distant
  revision and it appears as though the wrong ref operation was removed.
  
  (closes issue ASTERISK-18091)
  Review: https://reviewboard.asterisk.org/r/1332/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-10 22:23:49 +00:00
Richard Mudgett
ad7f3602e3 Merged revisions 331461 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r331461 | rmudgett | 2011-08-10 15:29:59 -0500 (Wed, 10 Aug 2011) | 30 lines
  
  Output of queue log not started until logger reloaded.
  
  ASTERISK-15863 caused a regression with queue logging.  The output of the
  queue log is not started until the logger configuration is reloaded.
  
  * Queue log initialization is completely delayed until the first message
  is posted to the queue log system.  Including the initial opening of the
  queue log file.
  
  * Fixed rotate_file() ROTATE strategy to give the file just rotated out to
  the configured exec function after rotate.  Just like the other strategies.
  
  * Fixed logger reload to always post the queue reload entry instead of
  just if there is a queue log file.
  
  * Refactored some code to eliminate some redundancy and to reduce stack
  utilization.
  
  (closes issue ASTERISK-17036)
  JIRA SWP-2952
  Reported by: Juan Carlos Valero
  Patches:
        jira_asterisk_17036_v1.8.patch (license #5621) patch uploaded by rmudgett
  Tested by: rmudgett
  
  (closes issue ASTERISK-18208)
  Reported by: Christian Pinedo
  
  Review: https://reviewboard.asterisk.org/r/1333/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-10 20:41:35 +00:00
Richard Mudgett
45300c7684 Make sure feature_request_and_dial() initializes outstate if passed in.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331420 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-10 19:07:53 +00:00
Richard Mudgett
e539dda698 Revert -r318141. It was a band-aid that only partially fixed parking.
A better fix is on reviewboard review 1358.

(issue ASTERISK-17374)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331418 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-10 18:25:08 +00:00
Kinsey Moore
43d5f5ba3a Merged revisions 331315 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r331315 | kmoore | 2011-08-10 08:47:46 -0500 (Wed, 10 Aug 2011) | 8 lines
  
  AMI action ModuleReload returns Error if Module: missing or empty
  
  An empty string was not being checked for properly causing identification of
  the module to be reloaded to fail and return an Error with message
  "No such module."
  
  (closes issue AST-616)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-10 13:48:41 +00:00
Richard Mudgett
9bd1af5e42 Merged revisions 331248 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r331248 | rmudgett | 2011-08-09 17:12:59 -0500 (Tue, 09 Aug 2011) | 15 lines
  
  Misc minor items found in code.
  
  * Add some reentrancy protection in pbx.c when creating the contexts_table
  hash table.
  
  * Fix inverted test in chan_sip.c conditional code.
  
  * Fix uninitialized variable and use of the wrong variable in chan_iax2.c.
  
  * Fix test of return value in app_parkandannounce.c.  Explicitly testing
  for -1 is bad if the function does not actually return that value when it
  fails.
  
  * Fixup some comments and add some curly braces in features.c.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-09 23:12:49 +00:00
Alexandr Anikin
4c646db574 Setup IP proto version for call in GK mode
Added additional check for IP semantics before parse destination
by ast_parse_args due to it can parse numeric as IP.

 (closes issue ASTERISK-18218)
 Reported by: slesru
 Patch: ASTERISK-18218.patch



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-09 16:36:39 +00:00
Alexandr Anikin
cabe2172c7 Merged revisions 331146 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r331146 | may | 2011-08-09 20:13:09 +0400 (Tue, 09 Aug 2011) | 4 lines
  
  move ast_cond_signal for admitted call after all data filled/freed
  clear all log channels by pointed number not only first
  free allocated callToken in ooh323_answer
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-09 16:16:55 +00:00
Jason Parker
da8bd61649 Merged revisions 331142 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r331142 | qwell | 2011-08-09 10:58:16 -0500 (Tue, 09 Aug 2011) | 1 line
  
  Regenerate asterisk man page from sgml.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-09 15:59:54 +00:00
Jason Parker
6f96c25efa Merged revisions 306999 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r306999 | lathama | 2011-02-08 14:22:35 -0600 (Tue, 08 Feb 2011) | 12 lines
  
  Documentation Updates
  
  Note default polling setting in voicemail.conf
  Add missing config to asterisk.conf
  Update manpage
  
  (issue #16505)
  Reported by: tzafrir
  Patches: 
        asterisk_sgml_fixes_demo.diff uploaded by tzafrir (license 46)
  Tested by: lathama, tzafrir
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331139 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-09 15:50:07 +00:00
Jason Parker
6e937b1b63 Revert merge of r306999, due to merge conflict.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-09 15:47:20 +00:00
Terry Wilson
1460caabed Bump the AMI protocol version to 1.2
As a result of converting Unlink events that were missed in the AMI
1.1 update to Bridge events, the AMI protocol version is being incremented.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331097 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-08 22:59:01 +00:00
Terry Wilson
03cd651aaf Replace AMI Unlink events with Bridge events
A previous update converted some of the Link and Unlink events to
Bridge events, but a couple of Unlink events were missed. This patch
rectifies the situation.

(closes issue ASTERISK-17455)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331041 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-08 21:12:51 +00:00
Kinsey Moore
6984fbaa95 Merged revisions 331038 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r331038 | kmoore | 2011-08-08 15:52:45 -0500 (Mon, 08 Aug 2011) | 11 lines
  
  In-queue MOH stops after a periodic announcement
  
  If the seek value is past the end of file when resuming G.722 MOH, MOH will
  cease to function for the duration of the MOH session through all starts and
  stops until saved state is cleared.  Adjusting the code to guarantee a single
  valid read (which is already assumed) fixes the bug.
  
  (closes issue ASTERISK-18077)
  Review: https://reviewboard.asterisk.org/r/1328/
  Tested-by: Jonathan Rose <jrose@digium.com>
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@331039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-08 20:53:30 +00:00
David Vossel
51bb83603a The slin resampler is no longer dependent on an external library, but the dependency was not removed correctly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@330940 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-05 15:53:49 +00:00
Alexandr Anikin
cb5f2b710f Merged revisions 330827 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r330827 | may | 2011-08-04 23:37:16 +0400 (Thu, 04 Aug 2011) | 4 lines
  
  change gk client behaivour on rrq/grq failures to setup timers
  and next tries after timeout instead of complete failure in the ooh323
  stack
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@330899 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-05 07:38:28 +00:00
Terry Wilson
2c521c5f1c Merged revisions 330843 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r330843 | twilson | 2011-08-04 15:29:19 -0500 (Thu, 04 Aug 2011) | 4 lines
  
  Make libsrtp instructions more explicit when linking fails
  
  (closes issue ASTERISK-18139)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@330844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-04 20:51:23 +00:00
Kinsey Moore
1d6d961a60 Merged revisions 330762 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r330762 | kmoore | 2011-08-03 10:14:36 -0500 (Wed, 03 Aug 2011) | 9 lines
  
  editing files in main/editline does not ensure rebuild of libedit.a
  
  When editing a source file in main/editline, the build system does not rebuild
  libedit.a and uses the already existing one instead.  Adding a PHONY to
  CHECK_SUBDIR fixes this problem.
  
  (closes issue ASTERISK-16221)
  Patch-by: Walter Doekes
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@330763 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-03 15:15:26 +00:00
Kinsey Moore
82a2f7541e Merged revisions 330705 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r330705 | kmoore | 2011-08-03 08:38:17 -0500 (Wed, 03 Aug 2011) | 10 lines
  
  Call pickup broken for DAHDI channels when beginning with #
  
  The call pickup feature did not work on DAHDI devices for anything other than
  feature codes beginning with * since all feature codes in chan_dahdi were
  originally hard-coded to begin with *.  This patch is also applied to
  chan_dahdi.c to fix this bug with radio modes.
  
  (closes issue AST-621)
  Review: https://reviewboard.asterisk.org/r/1336/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@330706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-03 13:39:06 +00:00
Kevin P. Fleming
16cd91b92e Merged revisions 330648 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r330648 | kpfleming | 2011-08-02 15:51:56 -0500 (Tue, 02 Aug 2011) | 2 lines
  
  Convert an error message to actually be helpful.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@330649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-02 20:52:44 +00:00
David Vossel
e60c8ae0d0 Merged revisions 330581 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r330581 | dvossel | 2011-08-02 11:15:08 -0500 (Tue, 02 Aug 2011) | 8 lines
  
  Fixes crash in chan_iax2.
  
  Fixes crash in chan_iax2 resulting from an edge case in the
  way control frames are queued during calltoken negotiation is complete.
  
  (closes issue ASTERISK-17610)
  Reported by: mgrobecker
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@330586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-02 16:17:59 +00:00
David Vossel
252a251ac2 Merged revisions 330578 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r330578 | dvossel | 2011-08-02 11:07:02 -0500 (Tue, 02 Aug 2011) | 2 lines
  
  Optimization to buffer initialization fix.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@330579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-02 16:08:57 +00:00
David Vossel
03fd1aca68 Merged revisions 330575 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r330575 | dvossel | 2011-08-02 10:53:21 -0500 (Tue, 02 Aug 2011) | 5 lines
  
  Fixes uninitialized string buffer in log message.
  
  (closes issue ASTERISK-17200)
  Reported by: lmadsen
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@330576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-02 15:55:36 +00:00
Jonathan Rose
9fb6bc039a Blocked revisions 330510 via svnmerge
................
  r330510 | jrose | 2011-08-01 16:20:40 -0500 (Mon, 01 Aug 2011) | 8 lines
  
  Blocked revisions 330505 via svnmerge
  
  ........
    r330505 | jrose | 2011-08-01 16:19:47 -0500 (Mon, 01 Aug 2011) | 3 lines
    
    fixes reference leak pointed out by rmudgett in https://reviewboard.asterisk.org/r/1337/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@330514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-01 21:21:23 +00:00
Jonathan Rose
9c08f47dda Blocked revisions 330491 via svnmerge
................
  r330491 | jrose | 2011-08-01 16:09:15 -0500 (Mon, 01 Aug 2011) | 18 lines
  
  Blocked revisions 330490 via svnmerge
  
  ........
    r330490 | jrose | 2011-08-01 16:08:10 -0500 (Mon, 01 Aug 2011) | 12 lines
    
    Asterisk 18103 - Fix reload crash caused by destroying default parking lot
    
    Default parking lot was being destroyed in reload and was not being rebuilt properly.
    This patch keeps features.c reload from destroying the default parking lot in 1.6.2.
    Bug was caused by a hasty backport which didn't test reload enough times to catch the
    problem.
    
    (Closes Issue ASTERISK-18103)
    Reported by: 808blogger
    
    Review: https://reviewboard.asterisk.org/r/1337/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@330492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-01 21:10:35 +00:00
Kinsey Moore
72baa3f32e Merged revisions 330433 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r330433 | kmoore | 2011-08-01 10:22:10 -0500 (Mon, 01 Aug 2011) | 9 lines
  
  Incorrect playback for Spanish in some circumstances
  
  When you say the time in spanish and it is 01:00 - 01:59 or 13:00 - 13:59 you
  must use female pronunciation "1F". The function "say_date_with_format_es" does
  not take this in account.
  
  (closes ASTERISK-15016)
  Patch-by: Luis Jimenez
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@330434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-08-01 15:23:29 +00:00
Richard Mudgett
53d1b92b8e Merged revisions 330368 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r330368 | rmudgett | 2011-07-30 18:56:29 -0500 (Sat, 30 Jul 2011) | 4 lines
  
  Remove some redundant locking code in ast_do_masquerade().
  
  Also updated some comments.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@330369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-07-30 23:57:56 +00:00
Gregory Nietsky
df3b454279 Merged revisions 330311 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r330311 | irroot | 2011-07-30 17:25:16 +0200 (Sat, 30 Jul 2011) | 9 lines
  
  prevent double masqurading channels when one is been hung up and deadlock avoidance is used.
  
  There is a race condition in ast_do_masquerade / ast_hangup (at least)
 
  Reported by me signed off by schmidts with input from David Vossel
  
  Review: https://reviewboard.asterisk.org/r/1323/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@330312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-07-30 15:34:41 +00:00
Sean Bright
a3f15d7ea9 Merged revisions 330213 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r330213 | seanbright | 2011-07-29 13:18:56 -0400 (Fri, 29 Jul 2011) | 2 lines
  
  Correct the check for O_RDONLY.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@330217 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-07-29 17:19:42 +00:00
Sean Bright
cc838d5474 Merged revisions 330203 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r330203 | seanbright | 2011-07-29 12:58:08 -0400 (Fri, 29 Jul 2011) | 2 lines
  
  Only write to wav files that were opened to be written to.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@330204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-07-29 16:58:40 +00:00
Paul Belanger
28d317a1a7 Fix typo pointed out on #asterisk
Thanks notten


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@330162 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-07-29 05:25:18 +00:00