asterisk/asterisk.git
9 years agoMerged revisions 291575 via svnmerge from
Terry Wilson [Wed, 13 Oct 2010 22:34:32 +0000 (22:34 +0000)]
Merged revisions 291575 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r291575 | twilson | 2010-10-13 15:24:44 -0700 (Wed, 13 Oct 2010) | 8 lines

  Add a simple AMI client web page

  This patch uses the XML docs to parse all of the available AMI commands
  and allows you to enter the command name and be presented with a form with
  the available fields. You can then rapidly tab through the fields and submit
  the command and view the response. It is much faster/easier than having to
  use telnet for testing purposes.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@291576 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 291541 via svnmerge from
Richard Mudgett [Wed, 13 Oct 2010 20:24:51 +0000 (20:24 +0000)]
Merged revisions 291541 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r291541 | rmudgett | 2010-10-13 15:21:02 -0500 (Wed, 13 Oct 2010) | 26 lines

  The chan_dahdi faxdetect option only works for the first FAX call.

  The chan_dahdi faxdetect option only works for the first call.  After that
  the option no longer works.  The struct dahdi_pvt.callprogress member is
  the encoded user config setting for the callprogress and faxdetect config
  options.  Changing this value alters the configuration for all following
  calls until the chan_dahdi.conf file is reloaded.

  * Fixed the chan_dahdi ast_channel_setoption callback to not change the
  users faxdetect config setting except for the current call.

  * Fixed the chan_dahdi ast_channel_queryoption callback to read the active
  DSP setting of the faxdetect option.

  * Made actually disable the active faxdetect DSP setting for the current
  call on the analog port.  my_handle_dtmfup() is used for normal analog
  ports.  dahdi_handle_dtmfup() is the legacy code and is no longer used
  unless in a radio mode.

  (closes issue #18116)
  Reported by: seandarcy
  Patches:
        issue18116_v1.8.patch uploaded by rmudgett (license 664)

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@291542 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 291507 via svnmerge from
Richard Mudgett [Wed, 13 Oct 2010 19:06:55 +0000 (19:06 +0000)]
Merged revisions 291507 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r291507 | rmudgett | 2010-10-13 14:01:48 -0500 (Wed, 13 Oct 2010) | 18 lines

  Merged revision 291504 from
  https://origsvn.digium.com/svn/asterisk/be/branches/C.3-bier

  ..........
    r291504 | rmudgett | 2010-10-13 13:30:21 -0500 (Wed, 13 Oct 2010) | 11 lines

    Hold off ast_hangup() from destroying the ast_channel.

    Must get the ast_channel lock before proceeding with release_chan() and
    release_chan_early() to hold off ast_hangup() from destroying the
    ast_channel.

    Missed this change for -r291468.

    JIRA ABE-2598
    JIRA SWP-2317
  ..........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@291508 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 291469 via svnmerge from
Richard Mudgett [Wed, 13 Oct 2010 18:15:23 +0000 (18:15 +0000)]
Merged revisions 291469 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r291469 | rmudgett | 2010-10-13 13:10:21 -0500 (Wed, 13 Oct 2010) | 23 lines

  Merge revision 291468 from
  https://origsvn.digium.com/svn/asterisk/be/branches/C.3-bier

  ..........
    r291468 | rmudgett | 2010-10-13 12:39:02 -0500 (Wed, 13 Oct 2010) | 16 lines

    Memory overwrites when releasing mISDN call.

    Phone <--> Asterisk
    <-- ALERTING
    --> DISCONNECT
    <-- RELEASE
    --> RELEASE_COMPLETE

    * Add lock protection around channel list for find/add/delete operations.

    * Protect misdn_hangup() from release_chan() and vise versa using the
    release_lock.

    JIRA ABE-2598
    JIRA SWP-2317
  ..........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@291470 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 291394 via svnmerge from
Russell Bryant [Wed, 13 Oct 2010 15:51:39 +0000 (15:51 +0000)]
Merged revisions 291394 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r291394 | russell | 2010-10-13 10:46:39 -0500 (Wed, 13 Oct 2010) | 20 lines

  Merged revisions 291393 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r291393 | russell | 2010-10-13 10:29:21 -0500 (Wed, 13 Oct 2010) | 13 lines

    Merged revisions 291392 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r291392 | russell | 2010-10-13 10:23:19 -0500 (Wed, 13 Oct 2010) | 6 lines

      Lock pvt so pvt->owner can't disappear when queueing up a frame.

      This fixes a crash due to a hangup race condition.

      ABE-2601
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@291395 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoReport what extension called a failed macro
Stefan Schmidt [Wed, 13 Oct 2010 08:58:41 +0000 (08:58 +0000)]
Report what extension called a failed macro

Add the extension and context of the calling channel to the log output if a macro could not be found.

(closes issue #18112)
Reported by: prado
Patches:
app_macro-info.diff uploaded by prado (license 510)
Tested by: schmidts

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@291361 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 291284 via svnmerge from
Leif Madsen [Tue, 12 Oct 2010 17:21:15 +0000 (17:21 +0000)]
Merged revisions 291284 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r291284 | lmadsen | 2010-10-12 12:20:43 -0500 (Tue, 12 Oct 2010) | 15 lines

  Merged revisions 291280 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ........
    r291280 | lmadsen | 2010-10-12 12:20:02 -0500 (Tue, 12 Oct 2010) | 7 lines

    Add undocumented variables to phoneprov.conf.sample

    (closes issue #18107)
    Reported by: lathama
    Patches:
          phoneprov.conf.sample.diff uploaded by lathama (license 1028)
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@291287 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 291265 via svnmerge from
Tilghman Lesher [Tue, 12 Oct 2010 17:07:20 +0000 (17:07 +0000)]
Merged revisions 291265 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r291265 | tilghman | 2010-10-12 12:06:23 -0500 (Tue, 12 Oct 2010) | 16 lines

  Merged revisions 291264 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r291264 | tilghman | 2010-10-12 12:05:31 -0500 (Tue, 12 Oct 2010) | 9 lines

    Merged revisions 291263 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r291263 | tilghman | 2010-10-12 11:55:30 -0500 (Tue, 12 Oct 2010) | 2 lines

      Oops, incorrect range (although unallocated at ARIN)
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@291266 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 291230 via svnmerge from
Leif Madsen [Tue, 12 Oct 2010 16:08:53 +0000 (16:08 +0000)]
Merged revisions 291230 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r291230 | lmadsen | 2010-10-12 11:08:04 -0500 (Tue, 12 Oct 2010) | 10 lines

  Merged revisions 291229 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ........
    r291229 | lmadsen | 2010-10-12 11:07:28 -0500 (Tue, 12 Oct 2010) | 2 lines

    Add documention that mentions options are defined but not used.
    (Issue #18101)
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@291231 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 291227 via svnmerge from
David Vossel [Tue, 12 Oct 2010 16:00:06 +0000 (16:00 +0000)]
Merged revisions 291227 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r291227 | dvossel | 2010-10-12 10:58:56 -0500 (Tue, 12 Oct 2010) | 16 lines

  Fixes manager.c crash.

  This issue was caused by improper use of the mansession lock and
  manession_session lock.  These two structures are confusing to begin
  with so I'm not surprised this occurred.  I fixed this by consistently
  making sure we use each of these locks only to protect the data
  in the corresponding structure.  We had mismatched usage of these
  locks which resulted in no mutual exclusivity occurring at all.

  (closes issue #17994)
  Reported by: vrban
  Patches:
        mansession_locking_fix.diff uploaded by dvossel (license 671)
  Tested by: vrban
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@291228 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 291194 via svnmerge from
David Vossel [Mon, 11 Oct 2010 21:44:34 +0000 (21:44 +0000)]
Merged revisions 291194 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r291194 | dvossel | 2010-10-11 16:44:04 -0500 (Mon, 11 Oct 2010) | 2 lines

  Update CHANGES to reflect new gtalk.conf options.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@291195 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 291192 via svnmerge from
David Vossel [Mon, 11 Oct 2010 21:39:37 +0000 (21:39 +0000)]
Merged revisions 291192 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r291192 | dvossel | 2010-10-11 16:38:39 -0500 (Mon, 11 Oct 2010) | 19 lines

  Gtalk enhancements and general code cleanup.

  This patch includes several chan_gtalk enhancements.
  Two new gtalk.conf options have been added, externip
  and stunadd.  Setting externip allows us to
  manually specify what the external IP address is
  outside of a NAT environment.  Setting the stunaddr
  option to a valid stun server allows for that external
  ip to be retrieved via a STUN server automatically.  This
  external IP is then advertised during call setup as
  a possible candidate.

  I have also attempted to clean up chan_gtalk's code
  so it meets our coding guidelines. During this cleanup
  I noticed several things that need to be done in the
  code and made a TODO section at the top of the file.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@291193 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoAdd todo comment about handle_incoming() calling assumption.
Richard Mudgett [Mon, 11 Oct 2010 19:07:59 +0000 (19:07 +0000)]
Add todo comment about handle_incoming() calling assumption.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@291115 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 291112-291113 via svnmerge from
Richard Mudgett [Mon, 11 Oct 2010 18:58:50 +0000 (18:58 +0000)]
Merged revisions 291112-291113 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r291112 | rmudgett | 2010-10-11 13:48:15 -0500 (Mon, 11 Oct 2010) | 20 lines

  Merged revisions 291110-291111 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r291110 | rmudgett | 2010-10-11 13:34:22 -0500 (Mon, 11 Oct 2010) | 9 lines

    Merged revisions 291109 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r291109 | rmudgett | 2010-10-11 13:29:43 -0500 (Mon, 11 Oct 2010) | 1 line

      Add missing unlock to an exception condition in reload_config().
    ........
  ................
    r291111 | rmudgett | 2010-10-11 13:39:06 -0500 (Mon, 11 Oct 2010) | 1 line

    Make exit from handle_request_do() consistent.
  ................
................
  r291113 | rmudgett | 2010-10-11 13:51:13 -0500 (Mon, 11 Oct 2010) | 1 line

  Move declaration closer to where now used.
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@291114 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 291075 via svnmerge from
Richard Mudgett [Mon, 11 Oct 2010 16:44:32 +0000 (16:44 +0000)]
Merged revisions 291075 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r291075 | rmudgett | 2010-10-11 11:42:54 -0500 (Mon, 11 Oct 2010) | 22 lines

  Merged revisions 291073 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ........
    r291073 | rmudgett | 2010-10-11 11:39:17 -0500 (Mon, 11 Oct 2010) | 15 lines

    Fixed infinite loop in verbose/debug message output.

    Setting the module/filename specific message level and then changing it
    resulted in the linked list being looped on itself.  Traversing this
    linked list is an infinite loop if what you are looking for is not in the
    list.

    Also plugged some CLI parsing holes in the associated CLI command:

    * Removing a nonexistent module from the list actually added it with a
    level of zero.

    * Setting the non-module specific level to zero is now equivalent to
    setting it to "off" as documented.
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@291076 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 291038 via svnmerge from
Tilghman Lesher [Mon, 11 Oct 2010 03:20:17 +0000 (03:20 +0000)]
Merged revisions 291038 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r291038 | tilghman | 2010-10-09 18:25:37 -0500 (Sat, 09 Oct 2010) | 2 lines

  Add missing option to set calls to be logged in GMT/UTC.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@291039 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoAdded fast start and h.245 tunneling options per user and peer.
Alexandr Anikin [Sat, 9 Oct 2010 14:04:35 +0000 (14:04 +0000)]
Added fast start and h.245 tunneling options per user and peer.

Added options for faststart/h.245 tunneling per user/peer, properly
handle these and global options, correction of handling fs/tunneling
fields in signalling responses

(closes issue #17972)
Reported by: salecha
Patches:
      fs-tunnel-per-point-3.patch uploaded by may213 (license 454)
Tested by: may213, salecha

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@291006 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 290973 via svnmerge from
David Vossel [Fri, 8 Oct 2010 20:45:49 +0000 (20:45 +0000)]
Merged revisions 290973 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r290973 | dvossel | 2010-10-08 15:44:59 -0500 (Fri, 08 Oct 2010) | 12 lines

  Make outbound Google Voice calls.

  This patch allows for outbound Google Voice calls to be
  dialed from Asterisk using chan_gtalk. Below is an example
  dialstring.

  exten -> blah,1,Dial(Gtalk/asterisk/+15552225555@voice.google.com,,)

  In this example, 'asterisk' is the jabber.conf profile configured
  to connect to your gmail account. In order to receive Google Voice
  calls make sure to enable 'allowguest=yes' in gtalk.conf.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290974 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoAdd option to res_config_mysql and app_mysql to specify a character set that
Erin Spiceland [Fri, 8 Oct 2010 16:27:31 +0000 (16:27 +0000)]
Add option to res_config_mysql and app_mysql to specify a character set that
MySQL should use.
 (closes issue 17948)
 Reported by qmax.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290939 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 290864 via svnmerge from
Jeff Peeler [Fri, 8 Oct 2010 03:00:40 +0000 (03:00 +0000)]
Merged revisions 290864 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r290864 | jpeeler | 2010-10-07 21:56:24 -0500 (Thu, 07 Oct 2010) | 23 lines

  Merged revisions 290863 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r290863 | jpeeler | 2010-10-07 21:45:44 -0500 (Thu, 07 Oct 2010) | 16 lines

    Merged revisions 290862 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r290862 | jpeeler | 2010-10-07 21:35:29 -0500 (Thu, 07 Oct 2010) | 9 lines

      Ensure editline cleanup occurs when Ctrl-C is pressed at control console.

      A recent change was made to avoid a race condition on shutdown which only called
      the end functions from the console thread. However, when pressing Ctrl-C the
      quit handler is called from the signal handler thread.

      (closes issue #17698)
      Reported by: jmls
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290865 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 290829 via svnmerge from
David Vossel [Thu, 7 Oct 2010 22:39:29 +0000 (22:39 +0000)]
Merged revisions 290829 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r290829 | dvossel | 2010-10-07 17:38:05 -0500 (Thu, 07 Oct 2010) | 6 lines

  Add Philippe Sultan to chan_gtalk author list.

  Philippe has made some notable contributions to the
  gtalk channel driver.  His name deserves to be listed
  amoung the authors of that file.  Thanks Philippe!
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290831 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 290828 via svnmerge from
David Vossel [Thu, 7 Oct 2010 22:38:36 +0000 (22:38 +0000)]
Merged revisions 290828 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r290828 | dvossel | 2010-10-07 16:44:58 -0500 (Thu, 07 Oct 2010) | 5 lines

  Outbound gtalk calls now work correctly.

  There was a problem with how the candidates were being
  built on an outbound call. This patch fixes that.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290830 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 290752 via svnmerge from
Jason Parker [Thu, 7 Oct 2010 20:59:37 +0000 (20:59 +0000)]
Merged revisions 290752 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r290752 | qwell | 2010-10-07 15:58:47 -0500 (Thu, 07 Oct 2010) | 23 lines

  Merged revisions 290751 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r290751 | qwell | 2010-10-07 15:57:14 -0500 (Thu, 07 Oct 2010) | 16 lines

    Merged revisions 290750 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r290750 | qwell | 2010-10-07 15:56:04 -0500 (Thu, 07 Oct 2010) | 9 lines

      Allow PRI to build properly when using --with-pri.

      Use the directories found for the parent when using lib dependencies.

      (closes issue #17314)
      Reported by: tzafrir
      Patches:
            17314-withdeps.diff uploaded by qwell (license 4)
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290753 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 290713 via svnmerge from
Russell Bryant [Thu, 7 Oct 2010 11:12:50 +0000 (11:12 +0000)]
Merged revisions 290713 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r290713 | russell | 2010-10-07 13:00:52 +0200 (Thu, 07 Oct 2010) | 11 lines

  Merged revisions 290712 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ........
    r290712 | russell | 2010-10-07 12:53:56 +0200 (Thu, 07 Oct 2010) | 4 lines

    Don't crash when Set() is called without a value.

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290714 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 290674 via svnmerge from
David Vossel [Wed, 6 Oct 2010 21:23:29 +0000 (21:23 +0000)]
Merged revisions 290674 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r290674 | dvossel | 2010-10-06 16:22:51 -0500 (Wed, 06 Oct 2010) | 4 lines

  Fixes commented out code to use #if 0 instead.

  Thanks to rmudgett for catching this!
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290677 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 290648 via svnmerge from
David Vossel [Wed, 6 Oct 2010 21:09:14 +0000 (21:09 +0000)]
Merged revisions 290648 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r290648 | dvossel | 2010-10-06 16:08:19 -0500 (Wed, 06 Oct 2010) | 12 lines

  Fixes gtalk outbound DTMF to work properly.

  Outbound DTMF with gtalk needs to be done within the RTP stream.  I discovered
  this after investigating a packet capture from the gmail client.  Instead of
  performing jingle signaling DTMF, the gtalk servers expect all DTMF to arrive
  on the RTP stream using RFC2833 way of doing things.  Chan_gtalk also had an issue
  with negotiating RTP payload type 106 for the telephony-event and then sending
  DTMF as payload 101.  This has been resolved by always negotiating 101 as the payload
  type like we do everywhere else.  With this patch, incoming google voice calls forwarded
  to Asterisk via gtalk work.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290649 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 290614 via svnmerge from
Richard Mudgett [Wed, 6 Oct 2010 18:56:11 +0000 (18:56 +0000)]
Merged revisions 290614 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r290614 | rmudgett | 2010-10-06 13:50:37 -0500 (Wed, 06 Oct 2010) | 12 lines

  Merged revision 290613 from
  https://origsvn.digium.com/svn/asterisk/be/branches/C.3-bier

  ..........
    r290613 | rmudgett | 2010-10-06 13:42:41 -0500 (Wed, 06 Oct 2010) | 5 lines

    Eliminate a redundant test for AST_CONTROL_REDIRECTING.

    Eliminate redundant test for AST_CONTROL_REDIRECTING that prevents running
    the redirecting interception macro if it is defined.
  ..........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290615 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 290576 via svnmerge from
Tilghman Lesher [Wed, 6 Oct 2010 13:50:33 +0000 (13:50 +0000)]
Merged revisions 290576 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r290576 | tilghman | 2010-10-06 08:49:19 -0500 (Wed, 06 Oct 2010) | 15 lines

  Merged revisions 290575 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ........
    r290575 | tilghman | 2010-10-06 08:48:27 -0500 (Wed, 06 Oct 2010) | 8 lines

    Allow streaming audio from a pipe.

    (closes issue #18001)
     Reported by: jamicque
     Patches:
           20100926__issue18001.diff.txt uploaded by tilghman (license 14)
     Tested by: jamicque
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290577 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 290542 via svnmerge from
Terry Wilson [Wed, 6 Oct 2010 04:47:57 +0000 (04:47 +0000)]
Merged revisions 290542 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r290542 | twilson | 2010-10-05 21:35:51 -0700 (Tue, 05 Oct 2010) | 6 lines

  Don't try to send RTP when remote_address is null

  It is possible for ast_rtp_stop() to be called which will clear the remote
  address and cause the sendto to fail and spam warnings. Don't send in this
  case.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290543 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 290506 via svnmerge from
David Vossel [Tue, 5 Oct 2010 22:23:52 +0000 (22:23 +0000)]
Merged revisions 290506 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r290506 | dvossel | 2010-10-05 17:23:00 -0500 (Tue, 05 Oct 2010) | 2 lines

  Fixes uninitialized memory problem in 'iax2 set debug peer' option.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290509 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 290479 via svnmerge from
David Vossel [Tue, 5 Oct 2010 22:01:52 +0000 (22:01 +0000)]
Merged revisions 290479 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r290479 | dvossel | 2010-10-05 17:00:43 -0500 (Tue, 05 Oct 2010) | 6 lines

  Fixes chan_gtalk to work with gmail client

  This patch was written by Philippe Sultan (phsultan). Thanks
  for keeping this up to date!
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290480 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 290408 via svnmerge from
Tilghman Lesher [Tue, 5 Oct 2010 20:24:37 +0000 (20:24 +0000)]
Merged revisions 290408 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r290408 | tilghman | 2010-10-05 15:23:33 -0500 (Tue, 05 Oct 2010) | 22 lines

  Merged revisions 290396 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r290396 | tilghman | 2010-10-05 15:21:02 -0500 (Tue, 05 Oct 2010) | 15 lines

    Merged revisions 290392 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r290392 | tilghman | 2010-10-05 15:20:07 -0500 (Tue, 05 Oct 2010) | 8 lines

      Fix a crash by ensuring that we don't alter memory after it's freed.

      (closes issue #17387)
       Reported by: jmls
       Patches:
             20100726__issue17387.diff.txt uploaded by tilghman (license 14)
       Tested by: jmls
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290414 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 290378 via svnmerge from
David Vossel [Tue, 5 Oct 2010 20:10:05 +0000 (20:10 +0000)]
Merged revisions 290378 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r290378 | dvossel | 2010-10-05 15:09:06 -0500 (Tue, 05 Oct 2010) | 11 lines

  Resolves dnsmgr memory corruption in chan_iax2.

  (closes issue #17902)
  Reported by: afried
  Patches:
        issue_17902.rev1.txt uploaded by russell (license 2)
  Tested by: afried, russell, dvossel

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290379 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 290376 via svnmerge from
David Vossel [Tue, 5 Oct 2010 19:57:31 +0000 (19:57 +0000)]
Merged revisions 290376 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r290376 | dvossel | 2010-10-05 14:56:29 -0500 (Tue, 05 Oct 2010) | 16 lines

  Merged revisions 290375 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ........
    r290375 | dvossel | 2010-10-05 14:54:50 -0500 (Tue, 05 Oct 2010) | 10 lines

    Fixes PickupChan() not working with full channel name.

    (closes issue #18011)
    Reported by: schern
    Patches:
          app_directed_pickup.c.2.patch uploaded by schern (license 995)
          app_directed_pickup.c.trunk.patch uploaded by schern (license 995)
    Tested by: schern, dvossel
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290377 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 290289 via svnmerge from
Tilghman Lesher [Tue, 5 Oct 2010 14:17:37 +0000 (14:17 +0000)]
Merged revisions 290289 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r290289 | tilghman | 2010-10-05 09:15:46 -0500 (Tue, 05 Oct 2010) | 2 lines

  Restore run directory for OS X, as well as standardizing some other paths to Mac OS X.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290291 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 290255 via svnmerge from
Tilghman Lesher [Mon, 4 Oct 2010 23:23:57 +0000 (23:23 +0000)]
Merged revisions 290255 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r290255 | tilghman | 2010-10-04 18:23:11 -0500 (Mon, 04 Oct 2010) | 18 lines

  Merged revisions 290254 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ........
    r290254 | tilghman | 2010-10-04 18:14:59 -0500 (Mon, 04 Oct 2010) | 11 lines

    Change new pattern matcher to regard dashes the same as the old pattern matcher -- as visual candy to be ignored.

    Also change the AEL parser to not generate dashes within extensions, as those
    dashes would be ignored.  Update the AEL tests to match this behavior.

    (closes issue #17366)
     Reported by: murf
     Patches:
           20100727__issue17366.diff.txt uploaded by tilghman (license 14)
     Tested by: tilghman
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290256 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 290209 via svnmerge from
Tilghman Lesher [Mon, 4 Oct 2010 20:24:41 +0000 (20:24 +0000)]
Merged revisions 290209 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r290209 | tilghman | 2010-10-04 15:23:13 -0500 (Mon, 04 Oct 2010) | 16 lines

  Merged revisions 290201 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r290201 | tilghman | 2010-10-04 15:22:03 -0500 (Mon, 04 Oct 2010) | 9 lines

    Merged revisions 290177 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r290177 | tilghman | 2010-10-04 15:15:26 -0500 (Mon, 04 Oct 2010) | 2 lines

      Fixing Mac OS X auto-builder.
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290218 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 290102 via svnmerge from
Tilghman Lesher [Sun, 3 Oct 2010 21:09:52 +0000 (21:09 +0000)]
Merged revisions 290102 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r290102 | tilghman | 2010-10-03 16:08:45 -0500 (Sun, 03 Oct 2010) | 16 lines

  Merged revisions 290101 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r290101 | tilghman | 2010-10-03 16:06:58 -0500 (Sun, 03 Oct 2010) | 9 lines

    Merged revisions 290100 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r290100 | tilghman | 2010-10-03 16:04:29 -0500 (Sun, 03 Oct 2010) | 2 lines

      Automatically re-run configure test for menuselect, when the relevant makeopts settings change.
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290103 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 290066 via svnmerge from
Tilghman Lesher [Sun, 3 Oct 2010 20:04:57 +0000 (20:04 +0000)]
Merged revisions 290066 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r290066 | tilghman | 2010-10-03 15:02:29 -0500 (Sun, 03 Oct 2010) | 8 lines

  Get notification only when file is closed, not when created.

  (closes issue #17924)
   Reported by: mkeuter
   Patches:
         asterisk-1.8-bugid17924.patch uploaded by abelbeck (license 946)
   Tested by: abelbeck
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290067 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 290026 via svnmerge from
Kevin P. Fleming [Sat, 2 Oct 2010 18:06:35 +0000 (18:06 +0000)]
Merged revisions 290026 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r290026 | kpfleming | 2010-10-02 12:57:13 -0500 (Sat, 02 Oct 2010) | 6 lines

  Allow users to pass additional arguments to the Subversion command that
  obtains the MP-3 source code.

  (reported on IRC by jmls)
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290027 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 289951 via svnmerge from
Olle Johansson [Sat, 2 Oct 2010 08:58:34 +0000 (08:58 +0000)]
Merged revisions 289951 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r289951 | oej | 2010-10-02 10:56:08 +0200 (Lör, 02 Okt 2010) | 16 lines

  Merged revisions 289950 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r289950 | oej | 2010-10-02 10:52:03 +0200 (Lör, 02 Okt 2010) | 9 lines

    Merged revisions 289949 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r289949 | oej | 2010-10-02 10:50:05 +0200 (Lör, 02 Okt 2010) | 2 lines

      Add documentation for undocumented option to AMI action originate
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289952 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 289875 via svnmerge from
Tilghman Lesher [Sat, 2 Oct 2010 04:54:13 +0000 (04:54 +0000)]
Merged revisions 289875 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r289875 | tilghman | 2010-10-01 23:46:43 -0500 (Fri, 01 Oct 2010) | 22 lines

  Merged revisions 289874 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r289874 | tilghman | 2010-10-01 23:45:49 -0500 (Fri, 01 Oct 2010) | 15 lines

    Merged revisions 289873 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r289873 | tilghman | 2010-10-01 23:42:08 -0500 (Fri, 01 Oct 2010) | 8 lines

      When forwarding a message, a prepend means that the filesystem will always have a better copy.

      (closes issue #17803)
       Reported by: dpetersen
       Patches:
             20100923__issue17803.diff.txt uploaded by tilghman (license 14)
       Tested by: dpetersen
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289876 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 289840 via svnmerge from
Jeff Peeler [Sat, 2 Oct 2010 02:46:43 +0000 (02:46 +0000)]
Merged revisions 289840 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r289840 | jpeeler | 2010-10-01 21:43:45 -0500 (Fri, 01 Oct 2010) | 29 lines

  Merged revisions 289798 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r289798 | jpeeler | 2010-10-01 18:01:31 -0500 (Fri, 01 Oct 2010) | 22 lines

    Merged revisions 289797 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r289797 | jpeeler | 2010-10-01 17:58:38 -0500 (Fri, 01 Oct 2010) | 15 lines

      Change RFC2833 DTMF event duration on end to report actual elapsed time.

      The scenario here is with a non P2P early media session. The reported time
      length of DTMF presses are coming up short when sending to the remote side.
      Currently the event duration is a running total that is incremented when sending
      continuation packets. These continuation packets are only triggered upon
      incoming media from the remote side, which means that the running total probably
      is not going to end up matching the actual length of time Asterisk received
      DTMF. This patch changes the end event duration to be lengthened if it is
      detected that the end event is going to come up short.

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

      ABE-2476
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289841 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 289718 via svnmerge from
Paul Belanger [Fri, 1 Oct 2010 17:22:30 +0000 (17:22 +0000)]
Merged revisions 289718 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r289718 | pabelanger | 2010-10-01 13:19:49 -0400 (Fri, 01 Oct 2010) | 20 lines

  Merged revisions 289704 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r289704 | pabelanger | 2010-10-01 13:09:03 -0400 (Fri, 01 Oct 2010) | 13 lines

    Merged revisions 289703 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r289703 | pabelanger | 2010-10-01 13:03:11 -0400 (Fri, 01 Oct 2010) | 6 lines

      Disable debugging by default

      and reformat .config file.

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289732 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 289701 via svnmerge from
Jeff Peeler [Fri, 1 Oct 2010 16:23:16 +0000 (16:23 +0000)]
Merged revisions 289701 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r289701 | jpeeler | 2010-10-01 11:22:19 -0500 (Fri, 01 Oct 2010) | 28 lines

  Merged revisions 289700 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r289700 | jpeeler | 2010-10-01 11:21:04 -0500 (Fri, 01 Oct 2010) | 21 lines

    Merged revisions 289699 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r289699 | jpeeler | 2010-10-01 11:20:00 -0500 (Fri, 01 Oct 2010) | 14 lines

      Ensure user portion of SIP URI matches dialplan when using encoded characters.

      This commit takes a simliar approach to 288112 and checks the dialplan to
      determine the proper action for an incoming contact header as to whether or not
      it should be decoded or not. sip_new was blindly always decoding the extension,
      which also caused the outgoing contact header to be incorrect as well as failing
      to match the encoded extension in the dialplan.

      (closes issue #17892)
      Reported by: wdoekes
      Patches:
            bug17892-1.patch uploaded by jpeeler (license 325)
      Tested by: wdoekes
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289702 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agodon't iterate through all dialogs to find and delete old subscribes
Stefan Schmidt [Fri, 1 Oct 2010 10:04:31 +0000 (10:04 +0000)]
don't iterate through all dialogs to find and delete old subscribes

On every incoming subscribe there is a iteration through all dialogs to find old subscribes and delete them. This is slow and not RFC conform. This was only needed in 1.2 cause a subscribe was not deleted when a dialog was destroyed, after 1.4 a subscribe get removed when its dialog is destroyed.

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289623 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 289543,289581 via svnmerge from
Tilghman Lesher [Thu, 30 Sep 2010 20:40:08 +0000 (20:40 +0000)]
Merged revisions 289543,289581 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r289543 | tilghman | 2010-09-30 12:50:52 -0500 (Thu, 30 Sep 2010) | 2 lines

  More Solaris compatibility fixes
........
  r289581 | tilghman | 2010-09-30 15:23:10 -0500 (Thu, 30 Sep 2010) | 2 lines

  Solaris fixes.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289588 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 289554 via svnmerge from
Matthew Nicholson [Thu, 30 Sep 2010 19:54:59 +0000 (19:54 +0000)]
Merged revisions 289554 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r289554 | mnicholson | 2010-09-30 14:53:10 -0500 (Thu, 30 Sep 2010) | 11 lines

  Merged revisions 289553 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ........
    r289553 | mnicholson | 2010-09-30 14:51:27 -0500 (Thu, 30 Sep 2010) | 4 lines

    Properly handle channel allocation failures duing invites with replaces.

    ABE-2588
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289555 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 289549 via svnmerge from
Richard Mudgett [Thu, 30 Sep 2010 19:35:47 +0000 (19:35 +0000)]
Merged revisions 289549 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r289549 | rmudgett | 2010-09-30 14:28:36 -0500 (Thu, 30 Sep 2010) | 17 lines

  Merged revision 289547 from
  https://origsvn.digium.com/svn/asterisk/be/branches/C.3-bier

  ..........
    r289547 | rmudgett | 2010-09-30 14:16:36 -0500 (Thu, 30 Sep 2010) | 10 lines

    In chan_misdn, the DivertingLegInformation2 DivertingNr is garbage when the number is restricted.

    The same thing happens with DivertingLegInformation1 DivertedTo number.

    The misdn_PresentedNumberUnscreened_extract() extracted the Unscreened
    PartyNumber field unconditionally.  It now checks the presented number
    unscreened type to see if the PartyNumber was even present.

    JIRA ABE-2595
  ..........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289552 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 289426 via svnmerge from
Russell Bryant [Thu, 30 Sep 2010 15:40:10 +0000 (15:40 +0000)]
Merged revisions 289426 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r289426 | russell | 2010-09-30 10:39:45 -0500 (Thu, 30 Sep 2010) | 22 lines

  Merged revisions 289425 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r289425 | russell | 2010-09-30 10:37:29 -0500 (Thu, 30 Sep 2010) | 15 lines

    Merged revisions 289424 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r289424 | russell | 2010-09-30 10:34:29 -0500 (Thu, 30 Sep 2010) | 8 lines

      Fix a crash in app_sms.

      Since the data being passed to the generator callback is on the stack of the
      SMS() application, we must ensure that the generator is stopped before the
      application exits.

      ABE-2587
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289427 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 289340 via svnmerge from
Jason Parker [Wed, 29 Sep 2010 21:19:46 +0000 (21:19 +0000)]
Merged revisions 289340 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r289340 | qwell | 2010-09-29 16:12:43 -0500 (Wed, 29 Sep 2010) | 22 lines

  Merged revisions 289339 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r289339 | qwell | 2010-09-29 16:03:47 -0500 (Wed, 29 Sep 2010) | 15 lines

    Merged revisions 289338 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r289338 | qwell | 2010-09-29 15:56:26 -0500 (Wed, 29 Sep 2010) | 8 lines

      Allow a manager originate to succeed on forwarded devices.

      The timeout to wait for an answer was being set to 0 when a device forwarded to another
      extension.  We don't always need the timeout set like this, so make it an optional
      parameter, and don't use it in this case.

      ABE-2544
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289354 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 289336 via svnmerge from
Leif Madsen [Wed, 29 Sep 2010 20:29:11 +0000 (20:29 +0000)]
Merged revisions 289336 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r289336 | lmadsen | 2010-09-29 15:27:25 -0500 (Wed, 29 Sep 2010) | 9 lines

  Merged revisions 289334 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ........
    r289334 | lmadsen | 2010-09-29 15:24:47 -0500 (Wed, 29 Sep 2010) | 1 line

    Update sample documentation to note md5secret requirements.
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289337 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 289333 via svnmerge from
Russell Bryant [Wed, 29 Sep 2010 20:24:49 +0000 (20:24 +0000)]
Merged revisions 289333 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r289333 | russell | 2010-09-29 15:20:23 -0500 (Wed, 29 Sep 2010) | 11 lines

  Merged revisions 289332 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ........
    r289332 | russell | 2010-09-29 15:15:57 -0500 (Wed, 29 Sep 2010) | 4 lines

    Don't completely ignore md5secret from LDAP if the value does not begin with {md5}.

    This fixes a problem that lmadsen ran in to where md5secret was not working for him.
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289335 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 289300 via svnmerge from
Matthew Nicholson [Wed, 29 Sep 2010 17:54:49 +0000 (17:54 +0000)]
Merged revisions 289300 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r289300 | mnicholson | 2010-09-29 12:53:54 -0500 (Wed, 29 Sep 2010) | 2 lines

  Add 'ecm' to the sample fax config file
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289301 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 289268 via svnmerge from
Matthew Nicholson [Wed, 29 Sep 2010 17:08:56 +0000 (17:08 +0000)]
Merged revisions 289268 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r289268 | mnicholson | 2010-09-29 12:08:20 -0500 (Wed, 29 Sep 2010) | 5 lines

  Update the CDR record when ast_channel_set_caller_event() is called

  (related to issue #17569)
  Reported by: tbelder
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289269 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 289253 via svnmerge from
Richard Mudgett [Wed, 29 Sep 2010 16:17:27 +0000 (16:17 +0000)]
Merged revisions 289253 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r289253 | rmudgett | 2010-09-29 11:16:47 -0500 (Wed, 29 Sep 2010) | 1 line

  Make development error message indicate which channel.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289254 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 289179 via svnmerge from
Matthew Nicholson [Wed, 29 Sep 2010 15:07:57 +0000 (15:07 +0000)]
Merged revisions 289179 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r289179 | mnicholson | 2010-09-29 10:04:56 -0500 (Wed, 29 Sep 2010) | 22 lines

  Merged revisions 289178 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r289178 | mnicholson | 2010-09-29 10:04:11 -0500 (Wed, 29 Sep 2010) | 15 lines

    Merged revisions 289177 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r289177 | mnicholson | 2010-09-29 10:03:27 -0500 (Wed, 29 Sep 2010) | 8 lines

      Set the caller id on CDRs when it is set on the parent channel.

      (closes issue #17569)
      Reported by: tbelder
      Patches:
            17569.diff uploaded by tbelder (license 618)
      Tested by: tbelder
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289180 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 289099 via svnmerge from
Brett Bryant [Tue, 28 Sep 2010 18:24:11 +0000 (18:24 +0000)]
Merged revisions 289099 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r289099 | bbryant | 2010-09-28 14:18:02 -0400 (Tue, 28 Sep 2010) | 28 lines

  Merged revisions 289095 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r289095 | bbryant | 2010-09-28 14:14:19 -0400 (Tue, 28 Sep 2010) | 21 lines

    Merged revisions 289094 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r289094 | bbryant | 2010-09-28 14:10:19 -0400 (Tue, 28 Sep 2010) | 14 lines

      Fixes an issue with the Newchannel AMI event during the Masquerading process.

      Fixes an issue with the Newchannel AMI event during the Masquerading process,
      where no Newchannel AMI event was generated for the psuedo channel used during
      the masquerading process.

      (closes issue #17987)
      Reported by: RadicAlish
      Patches:
            newchannel.patch.txt uploaded by RadicAlish (license 1122)
            Tested by: RadicAlish

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289131 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 289104 via svnmerge from
Tilghman Lesher [Tue, 28 Sep 2010 18:20:20 +0000 (18:20 +0000)]
Merged revisions 289104 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r289104 | tilghman | 2010-09-28 13:18:43 -0500 (Tue, 28 Sep 2010) | 4 lines

  Solaris compatibility fixes

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289112 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 289057 via svnmerge from
Richard Mudgett [Tue, 28 Sep 2010 01:10:25 +0000 (01:10 +0000)]
Merged revisions 289057 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r289057 | rmudgett | 2010-09-27 20:04:37 -0500 (Mon, 27 Sep 2010) | 5 lines

  Avoid deadlock processing incoming AOC-E messages.

  Deadlock avoidance for the owner channel was not done when processing
  incoming AOC-E messages.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289058 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 289054-289055 via svnmerge from
Richard Mudgett [Tue, 28 Sep 2010 00:36:27 +0000 (00:36 +0000)]
Merged revisions 289054-289055 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r289054 | rmudgett | 2010-09-27 19:32:18 -0500 (Mon, 27 Sep 2010) | 1 line

  Break up long ast_manager_event_multichan() event lines.
........
  r289055 | rmudgett | 2010-09-27 19:35:25 -0500 (Mon, 27 Sep 2010) | 1 line

  Revert stuff not ready for commit in -r289054.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289056 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoFor an INVITE transaction, treat all 2XX responses the same as a 200.
David Vossel [Mon, 27 Sep 2010 22:03:54 +0000 (22:03 +0000)]
For an INVITE transaction, treat all 2XX responses the same as a 200.

ABE-2305

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289023 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoFormatting fixes
Olle Johansson [Mon, 27 Sep 2010 19:45:56 +0000 (19:45 +0000)]
Formatting fixes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288993 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoFormating changes
Olle Johansson [Mon, 27 Sep 2010 19:30:18 +0000 (19:30 +0000)]
Formating changes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288992 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 288961 via svnmerge from
Tilghman Lesher [Mon, 27 Sep 2010 18:39:05 +0000 (18:39 +0000)]
Merged revisions 288961 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r288961 | tilghman | 2010-09-27 13:37:41 -0500 (Mon, 27 Sep 2010) | 5 lines

  Still build SIP, even if res_crypto cannot be built (use, not depend).

  (closes issue #18062)
   Reported by: a user on the mailing list
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288962 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 288927 via svnmerge from
Russell Bryant [Mon, 27 Sep 2010 13:04:23 +0000 (13:04 +0000)]
Merged revisions 288927 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r288927 | russell | 2010-09-27 08:03:43 -0500 (Mon, 27 Sep 2010) | 2 lines

  Fix some documentation typos and spelling errors.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288928 65c4cc65-6c06-0410-ace0-fbb531ad65f3

9 years agoMerged revisions 288925 via svnmerge from
Russell Bryant [Mon, 27 Sep 2010 12:42:30 +0000 (12:42 +0000)]
Merged revisions 288925 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r288925 | russell | 2010-09-27 07:42:10 -0500 (Mon, 27 Sep 2010) | 2 lines

  Fix a documentation spelling error.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288926 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agosmall correction for verbose print h.323 packets
Alexandr Anikin [Sat, 25 Sep 2010 07:58:23 +0000 (07:58 +0000)]
small correction for verbose print h.323 packets

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288893 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 288852 via svnmerge from
David Vossel [Fri, 24 Sep 2010 17:59:47 +0000 (17:59 +0000)]
Merged revisions 288852 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r288852 | dvossel | 2010-09-24 12:58:57 -0500 (Fri, 24 Sep 2010) | 5 lines

  Append Retry-After header on 500 error response to Re-INVITE according to RFC3261 section 14.2.

  ABE-2301
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288853 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 288821 via svnmerge from
David Vossel [Fri, 24 Sep 2010 17:06:02 +0000 (17:06 +0000)]
Merged revisions 288821 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r288821 | dvossel | 2010-09-24 12:05:12 -0500 (Fri, 24 Sep 2010) | 4 lines

  Inspect Require header on BYE transaction according to RFC3261 section 8.2.2.3.

  ABE-2293
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288822 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 288748 via svnmerge from
Terry Wilson [Fri, 24 Sep 2010 16:11:19 +0000 (16:11 +0000)]
Merged revisions 288748 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r288748 | twilson | 2010-09-24 09:02:27 -0700 (Fri, 24 Sep 2010) | 19 lines

  Merged revisions 288747 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r288747 | twilson | 2010-09-24 08:37:39 -0700 (Fri, 24 Sep 2010) | 12 lines

    Merged revisions 288746 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r288746 | twilson | 2010-09-24 08:26:09 -0700 (Fri, 24 Sep 2010) | 5 lines

      Don't fail a masquerade if it is already being hung up

      This avoids noise on some Local channel situations where we don't use /n.
      Thanks to Alec Davis for the suggestion.
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288749 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 288713 via svnmerge from
Tilghman Lesher [Fri, 24 Sep 2010 13:55:11 +0000 (13:55 +0000)]
Merged revisions 288713 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r288713 | tilghman | 2010-09-24 08:54:17 -0500 (Fri, 24 Sep 2010) | 12 lines

  Merged revisions 288712 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ........
    r288712 | tilghman | 2010-09-24 08:53:30 -0500 (Fri, 24 Sep 2010) | 5 lines

    Solaris won't printf a NULL.

    (closes issue #18041)
     Reported by: asgaroth
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288714 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 288640 via svnmerge from
Tilghman Lesher [Fri, 24 Sep 2010 03:43:14 +0000 (03:43 +0000)]
Merged revisions 288640 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r288640 | tilghman | 2010-09-23 22:42:37 -0500 (Thu, 23 Sep 2010) | 2 lines

  Export timersub for platforms which do not have it
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288641 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 288638 via svnmerge from
Tilghman Lesher [Fri, 24 Sep 2010 03:41:02 +0000 (03:41 +0000)]
Merged revisions 288638 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r288638 | tilghman | 2010-09-23 22:39:29 -0500 (Thu, 23 Sep 2010) | 16 lines

  Merged revisions 288637 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r288637 | tilghman | 2010-09-23 22:36:01 -0500 (Thu, 23 Sep 2010) | 9 lines

    Merged revisions 288636 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r288636 | tilghman | 2010-09-23 22:20:24 -0500 (Thu, 23 Sep 2010) | 2 lines

      Solaris compatibility fixes
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288639 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 288606 via svnmerge from
Tilghman Lesher [Thu, 23 Sep 2010 18:45:41 +0000 (18:45 +0000)]
Merged revisions 288606 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r288606 | tilghman | 2010-09-23 13:44:44 -0500 (Thu, 23 Sep 2010) | 2 lines

  Add note about the checkhangup option of ${CHANNEL()}
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288607 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 288572 via svnmerge from
Terry Wilson [Thu, 23 Sep 2010 18:08:23 +0000 (18:08 +0000)]
Merged revisions 288572 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r288572 | twilson | 2010-09-23 13:05:16 -0500 (Thu, 23 Sep 2010) | 2 lines

  Make AMI honor enabled=no
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288573 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 288507 via svnmerge from
Terry Wilson [Wed, 22 Sep 2010 23:20:27 +0000 (23:20 +0000)]
Merged revisions 288507 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r288507 | twilson | 2010-09-22 16:18:27 -0700 (Wed, 22 Sep 2010) | 22 lines

  Merged revisions 288500 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r288500 | twilson | 2010-09-22 16:10:09 -0700 (Wed, 22 Sep 2010) | 15 lines

    Merged revisions 288499 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r288499 | twilson | 2010-09-22 16:00:30 -0700 (Wed, 22 Sep 2010) | 8 lines

      Don't let a Local channel get bridged to itself

      If a local channel gets bridged to itself, it becomes orphaned with no devices
      left to actually tell it to hang up. This patch modifies local_fixup() to detect
      this case and deny it.

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288519 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 288418 via svnmerge from
David Vossel [Wed, 22 Sep 2010 17:50:32 +0000 (17:50 +0000)]
Merged revisions 288418 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r288418 | dvossel | 2010-09-22 12:49:56 -0500 (Wed, 22 Sep 2010) | 18 lines

  Merged revisions 288417 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r288417 | dvossel | 2010-09-22 12:49:05 -0500 (Wed, 22 Sep 2010) | 11 lines

    Merged revisions 288416 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r288416 | dvossel | 2010-09-22 12:48:15 -0500 (Wed, 22 Sep 2010) | 5 lines

      RFC3261 section 12.2 explicitly says out of order requests are responded with a 500 Server Internal Error response.

      ABE-2458
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288419 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 288345 via svnmerge from
David Vossel [Wed, 22 Sep 2010 17:13:05 +0000 (17:13 +0000)]
Merged revisions 288345 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r288345 | dvossel | 2010-09-22 11:59:14 -0500 (Wed, 22 Sep 2010) | 16 lines

  Merged revisions 288344 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r288344 | dvossel | 2010-09-22 11:53:28 -0500 (Wed, 22 Sep 2010) | 9 lines

    Merged revisions 288343 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r288343 | dvossel | 2010-09-22 11:49:56 -0500 (Wed, 22 Sep 2010) | 2 lines

      During check_pendings, if the dialog is terminated with a CANCEL, change the invitestate to INV_CANCEL like in sip_hangup.
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288346 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 288341 via svnmerge from
Russell Bryant [Wed, 22 Sep 2010 16:46:20 +0000 (16:46 +0000)]
Merged revisions 288341 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r288341 | russell | 2010-09-22 11:45:18 -0500 (Wed, 22 Sep 2010) | 25 lines

  Merged revisions 288340 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r288340 | russell | 2010-09-22 11:44:13 -0500 (Wed, 22 Sep 2010) | 18 lines

    Merged revisions 288339 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r288339 | russell | 2010-09-22 11:39:16 -0500 (Wed, 22 Sep 2010) | 11 lines

      Fix a 100% CPU consumption problem when setting console=yes in asterisk.conf.

      The handling of -c and console=yes should be the same, but they were not.
      When you specify -c, it sets both a flag for console module and for asterisk
      not to fork() off into the background.  The handling of console=yes only set
      console mode, so you would end up with a background process() trying to run
      the Asterisk console and freaking out since it didn't have anything to read
      input from.

      Thanks to beagles for reporting and helping debug the problem!
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288342 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 288268 via svnmerge from
Tilghman Lesher [Wed, 22 Sep 2010 15:18:49 +0000 (15:18 +0000)]
Merged revisions 288268 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r288268 | tilghman | 2010-09-22 10:14:02 -0500 (Wed, 22 Sep 2010) | 30 lines

  Merged revisions 288267 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r288267 | tilghman | 2010-09-22 10:11:09 -0500 (Wed, 22 Sep 2010) | 23 lines

    Merged revisions 288265-288266 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r288265 | tilghman | 2010-09-22 09:48:04 -0500 (Wed, 22 Sep 2010) | 9 lines

      Allow the encoding to be set, in case local charset does not agree with database.

      (closes issue #16940)
       Reported by: jamicque
       Patches:
             20100827__issue16940.diff.txt uploaded by tilghman (license 14)
             20100921__issue16940__1.6.2.diff.txt uploaded by tilghman (license 14)
       Tested by: jamicque
    ........
      r288266 | tilghman | 2010-09-22 10:04:52 -0500 (Wed, 22 Sep 2010) | 5 lines

      Document addition of encoding parameter.

      (issue #16940)
      Reported by: jamicque
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288278 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 288194 via svnmerge from
Richard Mudgett [Wed, 22 Sep 2010 00:08:49 +0000 (00:08 +0000)]
Merged revisions 288194 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r288194 | rmudgett | 2010-09-21 19:06:21 -0500 (Tue, 21 Sep 2010) | 40 lines

  Merged revisions 288193 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r288193 | rmudgett | 2010-09-21 19:03:37 -0500 (Tue, 21 Sep 2010) | 33 lines

    Merged revisions 288192 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r288192 | rmudgett | 2010-09-21 18:55:58 -0500 (Tue, 21 Sep 2010) | 26 lines

      In chan_iax2.c:schedule_delivery() calls ast_bridged_channel() on an unlocked channel.

      Near the beginning of schedule_delivery(), ast_bridged_channel() is called
      on iaxs[fr->callno]->owner.  However, the channel is not locked, which can
      result in ast_bridged_channel() crashing should owner->tech change to a
      technology that doesn't implement bridged_channel.

      I also fixed the other calls to ast_bridged_channel() in chan_iax2.c since
      the owner lock was not held there either.

      Converted the existing channel deadlock avoidance to use
      iax2_lock_owner().  Using the new function simplified some awkward code.

      In the process of fixing the locking on ast_bridged_channel(), I also
      found a memory leak in socket_process() for v1.6.2 and v1.8.  The local
      struct variable ies.vars is not freed on early/abnormal function exits.

      (closes issue #17919)
      Reported by: rain
      Patches:
            issue17919_v1.4.patch uploaded by rmudgett (license 664)
            issue17919_w_leak_v1.6.2.patch uploaded by rmudgett (license 664)
            issue17919_w_leak_v1.8.patch uploaded by rmudgett (license 664)

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288195 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 288159 via svnmerge from
Tilghman Lesher [Tue, 21 Sep 2010 22:58:10 +0000 (22:58 +0000)]
Merged revisions 288159 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r288159 | tilghman | 2010-09-21 17:57:22 -0500 (Tue, 21 Sep 2010) | 29 lines

  Merged revisions 288113 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r288113 | tilghman | 2010-09-21 16:59:46 -0500 (Tue, 21 Sep 2010) | 22 lines

    Merged revisions 288112 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r288112 | tilghman | 2010-09-21 16:58:13 -0500 (Tue, 21 Sep 2010) | 15 lines

      Try both the encoded and unencoded subscription URI for a match in hints.

      When a phone sends an encoded URI for a subscription, the URI is not matched
      with the actual hint that is in decoded format.  For example, if we have an
      extension with a hint that is named: "#5601" or "*5601", the subscription will
      work fine if the phone subscribes with an already decoded URI, but when it's
      decoded like "%255601" or "%2A5601", Asterisk is unable to match it with the
      correct hint.

      (closes issue #17785)
       Reported by: ramonpeek
       Patches:
             20100831__issue17785.diff.txt uploaded by tilghman (license 14)
       Tested by: ramonpeek
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288160 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 288157 via svnmerge from
Paul Belanger [Tue, 21 Sep 2010 22:28:21 +0000 (22:28 +0000)]
Merged revisions 288157 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r288157 | pabelanger | 2010-09-21 18:26:15 -0400 (Tue, 21 Sep 2010) | 15 lines

  Merged revisions 288147 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ........
    r288147 | pabelanger | 2010-09-21 18:22:43 -0400 (Tue, 21 Sep 2010) | 9 lines

    Setup timer before set_config().

    (closes issue #18019)
    Reported by: Netview
    Patches:
          issue_0018019.patch uploaded by pabelanger (license 224)
    Tested by: Netview
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288158 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 288082 via svnmerge from
Richard Mudgett [Tue, 21 Sep 2010 21:04:04 +0000 (21:04 +0000)]
Merged revisions 288082 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r288082 | rmudgett | 2010-09-21 16:03:28 -0500 (Tue, 21 Sep 2010) | 1 line

  Add note in party manipulation chapter on interception macros.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288083 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 288079-288080 via svnmerge from
Richard Mudgett [Tue, 21 Sep 2010 20:33:20 +0000 (20:33 +0000)]
Merged revisions 288079-288080 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r288079 | rmudgett | 2010-09-21 15:29:51 -0500 (Tue, 21 Sep 2010) | 2 lines

  Protect channel access in CONNECTED_LINE and REDIRECTING interception macro launch code.
........
  r288080 | rmudgett | 2010-09-21 15:29:59 -0500 (Tue, 21 Sep 2010) | 8 lines

  Simplify locking code for REDIRECTING interception macro when forwarding a call.

  Simplified the locking code by using a local copy of the redirecting party
  information in app_dial.c:do_forward() and app_queue.c:wait_for_answer()
  for launching the REDIRECTING interception macro when a call is forwarded.

  Reduced the lock time of the 'o->chan' and 'in' channels.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288081 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoInstead of iterate through all dialogs, add two separte container for needdestroy...
Stefan Schmidt [Tue, 21 Sep 2010 20:27:04 +0000 (20:27 +0000)]
Instead of iterate through all dialogs, add two separte container for needdestroy and rtptimeout

adding two dialog container, one for dialogs which need destroy, another for rtptimeout checks.
both container will be checked on every loop of do_monitor instead of iterate through all dialogs.

(closes issue #17912)
Reported by: schmidts
Tested by: schmidts

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288063 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 288007 via svnmerge from
Brett Bryant [Tue, 21 Sep 2010 19:50:46 +0000 (19:50 +0000)]
Merged revisions 288007 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r288007 | bbryant | 2010-09-21 15:48:53 -0400 (Tue, 21 Sep 2010) | 21 lines

  Merged revisions 288006 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r288006 | bbryant | 2010-09-21 15:46:20 -0400 (Tue, 21 Sep 2010) | 14 lines

    Merged revisions 288005 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r288005 | bbryant | 2010-09-21 15:43:46 -0400 (Tue, 21 Sep 2010) | 8 lines

      Add a check to fix a rare segmentation fault you'd get if ast_frdup couldn't allocate
      memory on the first frame being queued in ast_queue_frame.

      (closes issue #17882)
      Reported by: seanbright
      Tested by: seanbright
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@288008 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 287935 via svnmerge from
Tilghman Lesher [Tue, 21 Sep 2010 19:09:15 +0000 (19:09 +0000)]
Merged revisions 287935 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r287935 | tilghman | 2010-09-21 14:08:36 -0500 (Tue, 21 Sep 2010) | 16 lines

  Merged revisions 287934 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r287934 | tilghman | 2010-09-21 14:07:53 -0500 (Tue, 21 Sep 2010) | 9 lines

    Merged revisions 287933 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r287933 | tilghman | 2010-09-21 14:07:07 -0500 (Tue, 21 Sep 2010) | 2 lines

      Less than zero is an error, not any non-zero value.
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@287936 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 287931 via svnmerge from
Terry Wilson [Tue, 21 Sep 2010 19:04:57 +0000 (19:04 +0000)]
Merged revisions 287931 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r287931 | twilson | 2010-09-21 14:02:40 -0500 (Tue, 21 Sep 2010) | 2 lines

  Revert change in favor of a more targeted fix
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@287932 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 287929 via svnmerge from
David Vossel [Tue, 21 Sep 2010 18:33:18 +0000 (18:33 +0000)]
Merged revisions 287929 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r287929 | dvossel | 2010-09-21 13:32:12 -0500 (Tue, 21 Sep 2010) | 4 lines

  Send a "415 Unsupported Media Type" after failure to process sdp due to unknown Content-Encoding header.

  ABE-2258
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@287930 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 287897 via svnmerge from
Richard Mudgett [Tue, 21 Sep 2010 15:54:12 +0000 (15:54 +0000)]
Merged revisions 287897 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r287897 | rmudgett | 2010-09-21 10:53:19 -0500 (Tue, 21 Sep 2010) | 1 line

  Cut-n-paste error in builtin_blindtransfer().
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@287898 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 287895 via svnmerge from
Russell Bryant [Tue, 21 Sep 2010 15:45:46 +0000 (15:45 +0000)]
Merged revisions 287895 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r287895 | russell | 2010-09-21 10:43:33 -0500 (Tue, 21 Sep 2010) | 10 lines

  Don't use ast_strdupa() from within the arguments to a function.

  (closes issue #17902)
  Reported by: afried
  Patches:
        issue_17902.rev1.txt uploaded by russell (license 2)
  Tested by: russell

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@287896 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 287893 via svnmerge from
Tilghman Lesher [Tue, 21 Sep 2010 15:27:10 +0000 (15:27 +0000)]
Merged revisions 287893 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r287893 | tilghman | 2010-09-21 10:24:47 -0500 (Tue, 21 Sep 2010) | 9 lines

  Anonymous callerid needs a "sip:" uri prefix.

  (closes issue #17981)
   Reported by: avalentin
   Patches:
         sip-anonymous-aastra.patch uploaded by avalentin (license 1107)
         (plus an additional fix by me)
   Tested by: avalentin
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@287894 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 287863 via svnmerge from
Russell Bryant [Tue, 21 Sep 2010 13:45:30 +0000 (13:45 +0000)]
Merged revisions 287863 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r287863 | russell | 2010-09-21 08:41:41 -0500 (Tue, 21 Sep 2010) | 2 lines

  Fix a regression in verbose logger processing.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@287864 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 287833 via svnmerge from
Terry Wilson [Tue, 21 Sep 2010 04:39:30 +0000 (04:39 +0000)]
Merged revisions 287833 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r287833 | twilson | 2010-09-20 23:37:44 -0500 (Mon, 20 Sep 2010) | 3 lines

  Don't generate connected line buffer twice for comparison
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@287834 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 287757 via svnmerge from
Terry Wilson [Tue, 21 Sep 2010 00:11:59 +0000 (00:11 +0000)]
Merged revisions 287757 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r287757 | twilson | 2010-09-20 18:51:38 -0500 (Mon, 20 Sep 2010) | 7 lines

  Avoid infinite loop with certain local channel connected line updates

  Compare connected line data before sending a connected line indication to avoid
  possible loops.

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@287764 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoMerged revisions 287760 via svnmerge from
Brett Bryant [Tue, 21 Sep 2010 00:04:54 +0000 (00:04 +0000)]
Merged revisions 287760 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r287760 | bbryant | 2010-09-20 20:00:23 -0400 (Mon, 20 Sep 2010) | 30 lines

  Merged revisions 287759 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r287759 | bbryant | 2010-09-20 19:58:26 -0400 (Mon, 20 Sep 2010) | 23 lines

    Merged revisions 287758 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r287758 | bbryant | 2010-09-20 19:57:08 -0400 (Mon, 20 Sep 2010) | 16 lines

      Fix misvalidation of meetme pins in conjunction with the 'a' MeetMe flag.

      When using the 'a' MeetMe flag and having a user and admin pin setup for your
      conference, using the user pin would gain you admin priviledges. Also, when no
      user pin was set, an admin pin was, the 'a' MeetMe flag wasn't used, and the
      user tried to enter a conference then they were still prompted for a pin and
      forced to hit #.

      (closes issue #17908)
      Reported by: kuj
      Patches:
            pins_2.patch uploaded by kuj (license 1111)
            Tested by: kuj

            Review: [full review board URL with trailing slash]
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@287763 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoAdd alecdavis' commit to merged props
Terry Wilson [Tue, 21 Sep 2010 00:01:33 +0000 (00:01 +0000)]
Add alecdavis' commit to merged props

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@287762 65c4cc65-6c06-0410-ace0-fbb531ad65f3

10 years agoAdd merge properties back.
Terry Wilson [Tue, 21 Sep 2010 00:00:41 +0000 (00:00 +0000)]
Add merge properties back.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@287761 65c4cc65-6c06-0410-ace0-fbb531ad65f3