]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
16 years agoMerged revisions 200146 via svnmerge from
Mark Michelson [Thu, 11 Jun 2009 21:18:37 +0000 (21:18 +0000)] 
Merged revisions 200146 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r200146 | mmichelson | 2009-06-11 16:17:14 -0500 (Thu, 11 Jun 2009) | 5 lines

  Fix a crash due to a potentially NULL p->options.

  Thanks to mnicholson for pointing it out.
........

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

16 years agoMerged revisions 200039 via svnmerge from
Leif Madsen [Thu, 11 Jun 2009 12:16:54 +0000 (12:16 +0000)] 
Merged revisions 200039 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r200039 | lmadsen | 2009-06-11 08:15:09 -0400 (Thu, 11 Jun 2009) | 8 lines

  Fix path for .flavor and .version

  (issue #14737)
  Reported by: davidw
  Patches:
        flavor.patch uploaded by davidw (license 780)
  Tested by: davidw
........

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

16 years agoFixes the argument order in definition of new_find_extension().
David Brooks [Wed, 10 Jun 2009 20:35:05 +0000 (20:35 +0000)] 
Fixes the argument order in definition of new_find_extension().

In the definition of new_find_extension(), the arguments 'callerid' and
'label' were swapped. The prototype declaration and all calls to the
function are ordered 'callerid' then 'label', but the function itself
was ordered 'label' then 'callerid'.

(closes issue #15303)
Reported by: JimDickenson

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

16 years agoMerged revisions 199958 via svnmerge from
Mark Michelson [Wed, 10 Jun 2009 20:18:21 +0000 (20:18 +0000)] 
Merged revisions 199958 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r199958 | mmichelson | 2009-06-10 15:15:48 -0500 (Wed, 10 Jun 2009) | 6 lines

  Only try to use the invite_branch on outgoing INVITEs with auth credentials.

  I have added a comment to the code to help ease understanding of the logic here
  as well.
........

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

16 years agoMerged revisions 199857 via svnmerge from
Sean Bright [Wed, 10 Jun 2009 16:13:16 +0000 (16:13 +0000)] 
Merged revisions 199857 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r199857 | seanbright | 2009-06-10 12:10:23 -0400 (Wed, 10 Jun 2009) | 9 lines

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

  ........
    r199856 | seanbright | 2009-06-10 12:08:35 -0400 (Wed, 10 Jun 2009) | 2 lines

    __WORDSIZE is not available on all platforms, so use sizeof(void *) instead.
  ........
................

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

16 years agoMerged revisions 199818 via svnmerge from
David Vossel [Tue, 9 Jun 2009 20:50:10 +0000 (20:50 +0000)] 
Merged revisions 199818 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r199818 | dvossel | 2009-06-09 15:47:57 -0500 (Tue, 09 Jun 2009) | 11 lines

  CLI NOTIFY sending wrong transport type.

  SIP's cli NOTIFY command only used UDP rather than copying the transport type from the peer.

  (closes issue #15283)
  Reported by: jthurman
  Patches:
        sip-notify-tcp-svn199728.patch uploaded by jthurman (license 614)
  Tested by: jthurman, dvossel
........

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

16 years agoMerged revisions 199743 via svnmerge from
David Vossel [Tue, 9 Jun 2009 16:33:31 +0000 (16:33 +0000)] 
Merged revisions 199743 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r199743 | dvossel | 2009-06-09 11:22:04 -0500 (Tue, 09 Jun 2009) | 11 lines

  module load priority

  This patch adds the option to give a module a load priority. The value represents the order in which a module's load() function is initialized.  The lower the value, the higher the priority.  The value is only checked if the AST_MODFLAG_LOAD_ORDER flag is set.  If the AST_MODFLAG_LOAD_ORDER flag is not set, the value will never be read and the module will be given the lowest possible priority
  on load.  Since some modules are reliant on a timing interface, the timing modules have been given a high load priorty.

  (closes issue #15191)
  Reported by: alecdavis
  Tested by: dvossel

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

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

16 years agoMerged revisions 199630 via svnmerge from
Sean Bright [Mon, 8 Jun 2009 19:39:24 +0000 (19:39 +0000)] 
Merged revisions 199630 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r199630 | seanbright | 2009-06-08 15:33:09 -0400 (Mon, 08 Jun 2009) | 32 lines

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

  ........
    r199626 | seanbright | 2009-06-08 15:24:32 -0400 (Mon, 08 Jun 2009) | 21 lines

    Increase the size of our thread stack on 64 bit processors.

    We were setting the stack size for each thread to 240KB regardless of
    architecture, which meant that in some scenarios we actually had less available
    stack space on 64 bit processors (pointers use 8 bytes instead of 4).  So now we
    calculate the stack size we reserve based on the platform's __WORDSIZE, which
    gives us:

         32 bit -> 240KB
         64 bit -> 496KB
        128 bit -> 1008KB (that's right, we're ready for 128 bit processors)

    Patch typed by me but written by several members of #asterisk-dev, including
    Kevin, Tilghman, and Qwell.

    (closes issue #14932)
    Reported by: jpiszcz
    Patches:
          06052009_issue14932.patch uploaded by seanbright (license 71)
    Tested by: seanbright
  ........
    r199628 | seanbright | 2009-06-08 15:28:33 -0400 (Mon, 08 Jun 2009) | 2 lines

    Fix a typo in the stack size calculation just introduced.
  ........
................

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

16 years agoRecorded merge of revisions 199588 via svnmerge from
Mark Michelson [Mon, 8 Jun 2009 17:35:58 +0000 (17:35 +0000)] 
Recorded merge of revisions 199588 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r199588 | mmichelson | 2009-06-08 12:32:04 -0500 (Mon, 08 Jun 2009) | 9 lines

  Fix a deadlock that could occur when setting rtp stats on SIP calls.

  (closes issue #15143)
  Reported by: cristiandimache
  Patches:
        15143.patch uploaded by mmichelson (license 60)
  Tested by: cristiandimache
........

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

16 years agoMerged revisions 199298 via svnmerge from
David Vossel [Fri, 5 Jun 2009 21:32:16 +0000 (21:32 +0000)] 
Merged revisions 199298 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r199298 | dvossel | 2009-06-05 16:21:22 -0500 (Fri, 05 Jun 2009) | 21 lines

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

  ........
    r199297 | dvossel | 2009-06-05 16:19:56 -0500 (Fri, 05 Jun 2009) | 14 lines

    Fixes issue with hints giving unexpected results.

    Hints with two or more devices that include ONHOLD gave unexpected results.

    (closes issue #15057)
    Reported by: p_lindheimer
    Patches:
          onhold_trunk.diff uploaded by dvossel (license 671)
          pbx.c.1.4.patch uploaded by p (license 558)
          devicestate.c.trunk.patch uploaded by p (license 671)
    Tested by: p_lindheimer, dvossel

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

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

16 years agoMerged revisions 199227 via svnmerge from
Mark Michelson [Fri, 5 Jun 2009 13:51:51 +0000 (13:51 +0000)] 
Merged revisions 199227 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r199227 | mmichelson | 2009-06-05 08:51:08 -0500 (Fri, 05 Jun 2009) | 14 lines

  Correct "dahdi show channels" output when specifying a group.

  Since a DAHDI channel may belong to multiple groups, we need to use
  a bitwise and instead of equivalence to determine whether to display
  the channel information.

  (closes issue #15248)
  Reported by: gentian
  Patches:
        15248.patch uploaded by mmichelson (license 60)
  Tested by: gentian
........

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

16 years agoMerged revisions 199139 via svnmerge from
David Vossel [Thu, 4 Jun 2009 19:16:15 +0000 (19:16 +0000)] 
Merged revisions 199139 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r199139 | dvossel | 2009-06-04 14:10:16 -0500 (Thu, 04 Jun 2009) | 9 lines

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

  ........
    r199138 | dvossel | 2009-06-04 14:00:15 -0500 (Thu, 04 Jun 2009) | 3 lines

    Additional updates to AST-2009-001
  ........
................

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

16 years agoMerged revisions 199051 via svnmerge from
Sean Bright [Thu, 4 Jun 2009 14:53:51 +0000 (14:53 +0000)] 
Merged revisions 199051 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r199051 | seanbright | 2009-06-04 10:31:24 -0400 (Thu, 04 Jun 2009) | 47 lines

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

  ........
    r199022 | seanbright | 2009-06-04 10:14:57 -0400 (Thu, 04 Jun 2009) | 40 lines

    Safely handle AMI connections/reload requests that occur during startup.

    During asterisk startup, a lock on the list of modules is obtained by the
    primary thread while each module is initialized.  Issue 13778 pointed out a
    problem with this approach, however.  Because the AMI is loaded before other
    modules, it is possible for a module reload to be issued by a connected client
    (via Action: Command), causing a deadlock.

    The resolution for 13778 was to move initialization of the manager to happen
    after the other modules had already been lodaded.  While this fixed this
    particular issue, it caused a problem for users (like FreePBX) who call AMI
    scripts via an #exec in a configuration file (See issue 15189).

    The solution I have come up with is to defer any reload requests that come in
    until after the server is fully booted.  When a call comes in to
    ast_module_reload (from wherever) before we are fully booted, the request is
    added to a queue of pending requests.  Once we are done booting up, we then
    execute these deferred requests in turn.

    Note that I have tried to make this a bit more intelligent in that it will not
    queue up more than 1 request for the same module to be reloaded, and if a
    general reload request comes in ('module reload') the queue is flushed and we
    only issue a single deferred reload for the entire system.

    As for how this will impact existing installations - Before 13778, a reload
    issued before module initialization was completed would result in a deadlock.
    After 13778, you simply couldn't connect to the manager during startup (which
    causes problems with #exec-that-calls-AMI configuration files).  I believe this
    is a good general purpose solution that won't negatively impact existing
    installations.

    (closes issue #15189)
    (closes issue #13778)
    Reported by: p_lindheimer
    Patches:
          06032009_15189_deferred_reloads.diff uploaded by seanbright (license 71)
    Tested by: p_lindheimer, seanbright

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

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

16 years agoBlocked revisions 198958 via svnmerge
Sean Bright [Wed, 3 Jun 2009 20:51:51 +0000 (20:51 +0000)] 
Blocked revisions 198958 via svnmerge

................
  r198958 | seanbright | 2009-06-03 16:49:11 -0400 (Wed, 03 Jun 2009) | 17 lines

  Blocked revisions 198957 via svnmerge

  ........
    r198957 | seanbright | 2009-06-03 16:39:10 -0400 (Wed, 03 Jun 2009) | 11 lines

    Fix a possible crash in pbx_spool.

    We were trying to reference members of a struct that had previously been freed.
    This patch makes sure that we free the struct after it has been removed from
    the spooler queue.

    (closes issue #15072)
    Reported by: garlew
    Patches:
          spool.diff uploaded by garlew (license 376)
  ........
................

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

16 years agoMerged revisions 198856 via svnmerge from
David Vossel [Wed, 3 Jun 2009 15:26:16 +0000 (15:26 +0000)] 
Merged revisions 198856 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r198856 | dvossel | 2009-06-02 16:17:49 -0500 (Tue, 02 Jun 2009) | 10 lines

  Generic call forward api, ast_call_forward()

  The function ast_call_forward() forwards a call to an extension specified in an ast_channel's call_forward string.  After an ast_channel is called, if the channel's call_forward string is set this function can be used to forward the call to a new channel and terminate the original one.  I have included this api call in both channel.c's ast_request_and_dial() and feature.c's feature_request_and_dial().  App_dial and app_queue already contain call forward logic specific for their application and options.

  (closes issue #13630)
  Reported by: festr

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

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

16 years agoMerged revisions 198824 via svnmerge from
David Vossel [Tue, 2 Jun 2009 17:56:59 +0000 (17:56 +0000)] 
Merged revisions 198824 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r198824 | dvossel | 2009-06-02 12:55:35 -0500 (Tue, 02 Jun 2009) | 8 lines

  fixes issue with channels not going down after transfer

  Iax2 currently does not support native bridging if the timeoutms value is set.  We check for that in iax2_bridge, but then set timeoutms to 0 by default.  If the timeoutms is not provided it is set to -1. By setting timeoutms to 0 it is processed causing a bridging retry loop.

  (closes issue #15216)
  Reported by: oxymoron
  Tested by: dvossel
........

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

16 years agoMerged revisions 198791 via svnmerge from
Joshua Colp [Tue, 2 Jun 2009 13:50:21 +0000 (13:50 +0000)] 
Merged revisions 198791 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r198791 | file | 2009-06-02 10:48:06 -0300 (Tue, 02 Jun 2009) | 5 lines

  Correct documentation for the register line, specifically where the domain should be specified.

  (closes issue #14367)
  Reported by: Nick_Lewis
........

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

16 years agoMerged revisions 198626 via svnmerge from
Tilghman Lesher [Mon, 1 Jun 2009 18:44:21 +0000 (18:44 +0000)] 
Merged revisions 198626 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r198626 | tilghman | 2009-06-01 13:40:35 -0500 (Mon, 01 Jun 2009) | 2 lines

  Add information for new meetme realtime fields
........

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

16 years agoMerged revisions 198437 via svnmerge from
Eliel C. Sardanons [Sun, 31 May 2009 01:58:53 +0000 (01:58 +0000)] 
Merged revisions 198437 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r198437 | eliel | 2009-05-30 21:22:15 -0400 (Sat, 30 May 2009) | 11 lines

  Avoid a crash when res_timing_dahdi is unloaded but wasn't properly loaded.

  if dahdi_test_timer() fails, timing_funcs_handle remains NULL causing a crash
  when calling ast_unregister_timing_interface() with a NULL pointer.

  (closes issue #15234)
  Reported by: eliel
  Patches:
        timing_dahdi1.diff uploaded by eliel (license 64)
........

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

16 years agoMerged revisions 198375 via svnmerge from
Sean Bright [Sat, 30 May 2009 20:21:03 +0000 (20:21 +0000)] 
Merged revisions 198375 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r198375 | seanbright | 2009-05-30 16:11:33 -0400 (Sat, 30 May 2009) | 13 lines

  Properly terminate the receive buffer before sending to iksemel.

  aji_io_recv takes the maximum number of bytes to read (instead of the total
  buffer size), so we have to subtract 1 from our buffer size.  Without this, when
  we receive packets that are larger than our buffer, iksemel will choke and
  things get wonky.

  (closes issue #15232)
  Reported by: lp0
  Patches:
        05302009_res_jabber.c.patch uploaded by seanbright (license 71)
  Tested by: seanbright, lp0
........

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

16 years agoMerged revisions 198371 via svnmerge from
Sean Bright [Sat, 30 May 2009 19:40:59 +0000 (19:40 +0000)] 
Merged revisions 198371 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r198371 | seanbright | 2009-05-30 15:38:58 -0400 (Sat, 30 May 2009) | 19 lines

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

  ........
    r198370 | seanbright | 2009-05-30 15:36:20 -0400 (Sat, 30 May 2009) | 12 lines

    Properly terminate AMI JabberSend response messages.

    The response message (either Error or Success) needs an extra trailing \r\n
    after the fields to inform the client that the message is complete.

    (closes issue #14876)
    Reported by: srt
    Patches:
          05302009_1.4_res_jabber.c.diff uploaded by seanbright (license 71)
          asterisk_14876.patch uploaded by srt (license 378)
          trunk-14876-2.diff uploaded by phsultan (license 73)
  ........
................

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

16 years agoMerged revisions 198312 via svnmerge from
Russell Bryant [Sat, 30 May 2009 03:49:57 +0000 (03:49 +0000)] 
Merged revisions 198312 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r198312 | russell | 2009-05-29 22:43:23 -0500 (Fri, 29 May 2009) | 12 lines

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

  ........
    r198311 | russell | 2009-05-29 22:42:46 -0500 (Fri, 29 May 2009) | 5 lines

    Fix a crash that occurred when MWI SMDI messages expired.

    (closes issue #14561)
    Reported by: cmoss28
  ........
................

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

16 years agoMerged revisions 198285 via svnmerge from
Sean Bright [Sat, 30 May 2009 03:28:05 +0000 (03:28 +0000)] 
Merged revisions 198285 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r198285 | seanbright | 2009-05-29 23:26:06 -0400 (Fri, 29 May 2009) | 15 lines

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

  ........
    r198251 | seanbright | 2009-05-29 22:46:41 -0400 (Fri, 29 May 2009) | 8 lines

    Treat an empty FORWARD_CONTEXT the same way we treat a missing one.

    (closes issue #15056)
    Reported by: p_lindheimer
    Patches:
          05292009_bug15056.diff uploaded by seanbright (license 71)
    Tested by: p_lindheimer
  ........
................

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

16 years agoMerged revisions 198248 via svnmerge from
Joshua Colp [Sat, 30 May 2009 02:34:12 +0000 (02:34 +0000)] 
Merged revisions 198248 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r198248 | file | 2009-05-29 23:31:48 -0300 (Fri, 29 May 2009) | 2 lines

  When removing all packets from a dialog we also need to free the data if present.
........

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

16 years agoMerged revisions 198186 via svnmerge from
Russell Bryant [Fri, 29 May 2009 23:05:14 +0000 (23:05 +0000)] 
Merged revisions 198186 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r198186 | russell | 2009-05-29 18:04:31 -0500 (Fri, 29 May 2009) | 2 lines

  Suggesting that only a single timing module be loaded is no longer necessary.
........

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

16 years agoMerged revisions 198183 via svnmerge from
Russell Bryant [Fri, 29 May 2009 22:34:12 +0000 (22:34 +0000)] 
Merged revisions 198183 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r198183 | russell | 2009-05-29 17:33:31 -0500 (Fri, 29 May 2009) | 2 lines

  Improve handling of trying to ACK too many timer expirations.
........

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

16 years agoMerged revisions 198146 via svnmerge from
Russell Bryant [Fri, 29 May 2009 20:11:00 +0000 (20:11 +0000)] 
Merged revisions 198146 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r198146 | russell | 2009-05-29 15:06:59 -0500 (Fri, 29 May 2009) | 38 lines

  Resolve issues with choppy sound when using res_timing_pthread.

  The situation that caused this problem was when continuous mode was being
  turned on and off while a rate was set for a timing interface.  A very easy
  way to replicate this bug was to do a Playback() from behind a Local channel.
  In this scenario, a rate gets set on the channel for doing file playback.
  At the same time, continuous mode gets turned on and off about every 20 ms
  as frames get queued on to the PBX side channel from the other side of the
  Local channel.

  Essentially, this module treated continuous mode and a set rate as mutually
  exclusive states for the timer to be in.  When I dug deep enough, I observed
  the following pattern:

     1) Set timer to tick every 20 ms.
     2) Wait almost 20 ms ...
     3) Continuous mode gets turned on for a queued up frame
     4) Continuous mode gets turned off
     5) The timer goes back to its tick per 20 ms. state but starts counting
        at 0 ms.
     6) Goto step 2.

  Sometimes, res_timing_pthread would make it 20 ms and produce a timer tick,
  but not most of the time.  This is what produced the choppy sound (or sometimes
  no sound at all).

  Now, the module treats continuous mode and a set rate as completely independent
  timer modes.  They can be enabled and disabled independently of each other and
  things work as expected.

  (closes issue #14412)
  Reported by: dome
  Patches:
        issue14412.diff.txt uploaded by russell (license 2)
        issue14412-1.6.1.0.diff.txt uploaded by russell (license 2)
  Tested by: DennisD, russell
........

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

16 years agoBlocked revisions 198088 via svnmerge
Jeff Peeler [Fri, 29 May 2009 19:54:42 +0000 (19:54 +0000)] 
Blocked revisions 198088 via svnmerge

........
  r198088 | jpeeler | 2009-05-29 14:19:51 -0500 (Fri, 29 May 2009) | 9 lines

  New signaling module to handle analog operations in chan_dahdi

  This branch splits all the analog signaling logic out of chan_dahdi.c into
  sig_analog.c. Functionality in theory should not change at all. As noted
  in the code, there is still some unused code remaining that will be cleaned
  up in a later commit.

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

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

16 years agoMerged revisions 198072 via svnmerge from
Matthew Nicholson [Fri, 29 May 2009 19:13:44 +0000 (19:13 +0000)] 
Merged revisions 198072 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r198072 | mnicholson | 2009-05-29 14:04:24 -0500 (Fri, 29 May 2009) | 21 lines

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

  ........
    r198068 | mnicholson | 2009-05-29 13:53:01 -0500 (Fri, 29 May 2009) | 15 lines

    Use AST_CDR_NOANSWER instead of AST_CDR_NULL as the default CDR disposition.

    This change also involves the addition of an AST_CDR_FLAG_ORIGINATED flag that is used on originated channels to distinguish: them from dialed channels.

    (closes issue #12946)
    Reported by: meral
    Patches:
          null-cdr2.diff uploaded by mnicholson (license 96)
    Tested by: mnicholson, dbrooks

    (closes issue #15122)
    Reported by: sum
    Tested by: sum
  ........
................

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

16 years agoMerged revisions 198064 via svnmerge from
Joshua Colp [Fri, 29 May 2009 18:39:46 +0000 (18:39 +0000)] 
Merged revisions 198064 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r198064 | file | 2009-05-29 15:39:04 -0300 (Fri, 29 May 2009) | 2 lines

  Fix a memory leak of the write buffer when writing a file.
........

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

16 years agoMerged revisions 198000 via svnmerge from
Sean Bright [Fri, 29 May 2009 18:17:48 +0000 (18:17 +0000)] 
Merged revisions 198000 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r198000 | seanbright | 2009-05-29 14:15:15 -0400 (Fri, 29 May 2009) | 15 lines

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

  ........
    r197998 | seanbright | 2009-05-29 14:14:12 -0400 (Fri, 29 May 2009) | 8 lines

    Fix 'make config' target for Slackware.

    There was a missing semi-colon after the echo statement in the Makefile that was
    causing problems for some users.  Fix suggested by reporter.

    (closes issue #15225)
    Reported by: pdavis
  ........
................

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

16 years agoMerged revisions 197960 via svnmerge from
Russell Bryant [Fri, 29 May 2009 16:19:55 +0000 (16:19 +0000)] 
Merged revisions 197960 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r197960 | russell | 2009-05-29 11:15:30 -0500 (Fri, 29 May 2009) | 2 lines

  Trim trailing whitespace so that I can work on this bug without it bothering me.  :-)
........

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

16 years agoUpdate MixMonitor documentation.
Leif Madsen [Thu, 28 May 2009 23:59:10 +0000 (23:59 +0000)] 
Update MixMonitor documentation.

Updated the MixMonitor documentation for the 'b' option so that
it is more obvious that you must not optimize awat the Local
channel when using this option.

(issue #14829)

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

16 years agoBlocked revisions 197738 via svnmerge
Terry Wilson [Thu, 28 May 2009 20:50:50 +0000 (20:50 +0000)] 
Blocked revisions 197738 via svnmerge

........
  r197738 | twilson | 2009-05-28 14:57:18 -0500 (Thu, 28 May 2009) | 19 lines

  Add Calendaring support for Asterisk

  This commit add Calendaring support to Asterisk for iCalendar, CalDAV, and MS
  Exchange calendars. Exchange support has only been tested on Exchange Server 2k3
  and does not support forms-based authentication at this time (patches *very*
  welcome). Exchange support is also currently missing the ability to return a
  list of a meting's attendees (again, patches are very, very welcome).

  Features include:
    Querying a calendar for events over a specific time range
    Checking a calendar's busy status via the dialplan
    Writing calendar events via the dialplan (CalDAV and Exchange only)
    Handling calendar event notifications through the dialplan

  (closes issue #14771)
  Tested by: lmadsen, twilson, Shivaprakash

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

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

16 years agoMerged revisions 197697 via svnmerge from
Joshua Colp [Thu, 28 May 2009 18:47:56 +0000 (18:47 +0000)] 
Merged revisions 197697 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r197697 | file | 2009-05-28 15:45:11 -0300 (Thu, 28 May 2009) | 2 lines

  Fix a bug where the trunkmtu setting was not set to the default value of 1240 on load but was on reload.
........

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

16 years agoMerged revisions 197621 via svnmerge from
Eliel C. Sardanons [Thu, 28 May 2009 18:26:50 +0000 (18:26 +0000)] 
Merged revisions 197621 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r197621 | eliel | 2009-05-28 12:01:48 -0400 (Thu, 28 May 2009) | 19 lines

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

  ........
    r197562 | eliel | 2009-05-28 11:21:32 -0400 (Thu, 28 May 2009) | 13 lines

    Use the address we already know when reloading a peer with nat=yes.

    If we already have an address for a peer, and we are reloading the sip
    configuration, try to use that address to contact the peer, instead of
    getting it from the Contact.

    (closes issue #15194)
    Reported by: ibc
    Patches:
          sip.patch uploaded by eliel (license 64)
          Tested by: manwe
  ........
................

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

16 years ago'iax show peer blah' now outputs whether or not peer 'blah' is in trunk mode or not.
David Vossel [Thu, 28 May 2009 16:08:30 +0000 (16:08 +0000)] 
'iax show peer blah' now outputs whether or not peer 'blah' is in trunk mode or not.

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

16 years agoMerged revisions 197606 via svnmerge from
Mark Michelson [Thu, 28 May 2009 15:39:37 +0000 (15:39 +0000)] 
Merged revisions 197606 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r197606 | mmichelson | 2009-05-28 10:32:19 -0500 (Thu, 28 May 2009) | 22 lines

  Recorded merge of revisions 197588 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r197588 | mmichelson | 2009-05-28 10:27:49 -0500 (Thu, 28 May 2009) | 16 lines

    Allow for media to arrive from an alternate source when responding to a reinvite with 491.

    When we receive a SIP reinvite, it is possible that we may not be able to process the
    reinvite immediately since we have also sent a reinvite out ourselves. The problem is
    that whoever sent us the reinvite may have also sent a reinvite out to another party,
    and that reinvite may have succeeded.

    As a result, even though we are not going to accept the reinvite we just received, it
    is important for us to not have problems if we suddenly start receiving RTP from a new
    source. The fix for this is to grab the media source information from the SDP of the
    reinvite that we receive. This information is passed to the RTP layer so that it will
    know about the alternate source for media.

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

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

16 years agoMerged revisions 197543 via svnmerge from
Mark Michelson [Thu, 28 May 2009 15:11:15 +0000 (15:11 +0000)] 
Merged revisions 197543 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r197543 | mmichelson | 2009-05-28 09:58:06 -0500 (Thu, 28 May 2009) | 27 lines

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

  ........
    r197537 | mmichelson | 2009-05-28 09:49:13 -0500 (Thu, 28 May 2009) | 21 lines

    Add flags to chanspy audiohook so that audio stays in sync.

    There are two flags being added to the chanspy audiohook here. One
    is the pre-existing AST_AUDIOHOOK_TRIGGER_SYNC flag. With this set,
    we ensure that the read and write slinfactories on the audiohook do
    not skew beyond a certain tolerance.

    In addition, there is a new audiohook flag added here,
    AST_AUDIOHOOK_SMALL_QUEUE. With this flag set, we do not allow for
    a slinfactory to build up a substantial amount of audio before
    flushing it. For this particular issue, this means that the person
    spying on the call will hear the conversations in real time with very
    little delay in the audio.

    (closes issue #13745)
    Reported by: geoffs
    Patches:
          13745.patch uploaded by mmichelson (license 60)
    Tested by: snblitz
  ........
................

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

16 years agoMerged revisions 197538 via svnmerge from
Joshua Colp [Thu, 28 May 2009 14:54:25 +0000 (14:54 +0000)] 
Merged revisions 197538 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r197538 | file | 2009-05-28 11:51:43 -0300 (Thu, 28 May 2009) | 5 lines

  Fix a bug in stringfields where it did not actually free the pools of memory.

  (closes issue #15074)
  Reported by: pj
........

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

16 years agoMerged revisions 197467 via svnmerge from
Joshua Colp [Thu, 28 May 2009 13:52:20 +0000 (13:52 +0000)] 
Merged revisions 197467 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r197467 | file | 2009-05-28 10:47:45 -0300 (Thu, 28 May 2009) | 15 lines

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

  ........
    r197466 | file | 2009-05-28 10:44:58 -0300 (Thu, 28 May 2009) | 8 lines

    Fix a bug where the flag indicating the presence of rport would get overwritten by the nat setting.

    The presence of rport is now stored as a separate flag. Once the dialog is setup and authenticated
    (or it passes through unauthenticated) the proper nat flag is set.

    (closes issue #13823)
    Reported by: dimas
  ........
................

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

16 years agoissue #15155 and issue #15156 from trunk
Gavin Henry [Thu, 28 May 2009 11:40:30 +0000 (11:40 +0000)] 
issue #15155 and issue #15156 from trunk

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

16 years agoMerged revisions 197260 via svnmerge from
Sean Bright [Wed, 27 May 2009 20:11:01 +0000 (20:11 +0000)] 
Merged revisions 197260 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r197260 | seanbright | 2009-05-27 16:08:16 -0400 (Wed, 27 May 2009) | 6 lines

  Use bash explicitly when calling build_tools/mkpkgconfig from the Makefile.

  Since we use bashisms in build_tools/mkpkgconfig, we should call on bash
  explicitly when running from the Makefile, otherwise we get errors during a
  'make install.'

  (closes issue #15209)
  Reported by: seandarcy
........

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

16 years agoRecorded merge of revisions 197209 via svnmerge from
Tilghman Lesher [Wed, 27 May 2009 19:29:58 +0000 (19:29 +0000)] 
Recorded merge of revisions 197209 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r197209 | tilghman | 2009-05-27 14:20:56 -0500 (Wed, 27 May 2009) | 12 lines

  Recorded merge of revisions 197194 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r197194 | tilghman | 2009-05-27 14:09:42 -0500 (Wed, 27 May 2009) | 5 lines

    Use a different determinator on whether to print the delimiter, since leading fields may be blank.
    (closes issue #15208)
     Reported by: ramonpeek
     Patch by me, though inspired in part by a patch from ramonpeek
  ........
................

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

16 years agoFix broken attended transfers
Jeff Peeler [Wed, 27 May 2009 17:21:04 +0000 (17:21 +0000)] 
Fix broken attended transfers

The bridge was terminating immediately after the attended transfer was
completed. The problem was because upon reentering ast_channel_bridge
nexteventts was checked to see if it was set and if so could possibly
return AST_BRIDGE_COMPLETE.

(closes issue #15183)
Reported by: andrebarbosa
Tested by: andrebarbosa, tootai, loloski

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

16 years agoMerged revisions 197089 via svnmerge from
Sean Bright [Wed, 27 May 2009 16:12:10 +0000 (16:12 +0000)] 
Merged revisions 197089 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r197089 | seanbright | 2009-05-27 12:07:57 -0400 (Wed, 27 May 2009) | 6 lines

  Fix references to /etc/dahdi/system.conf and /etc/asterisk/chan_dahdi.conf in
  the sample configuration files.

  (closes issue #15207)
  Reported by: seandarcy
........

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

16 years agoFixes merge issue for r196453.
David Vossel [Wed, 27 May 2009 15:59:59 +0000 (15:59 +0000)] 
Fixes merge issue for r196453.

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

16 years agoMerged revisions 196988 via svnmerge from
Sean Bright [Wed, 27 May 2009 13:05:27 +0000 (13:05 +0000)] 
Merged revisions 196988 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r196988 | seanbright | 2009-05-27 09:02:54 -0400 (Wed, 27 May 2009) | 9 lines

  Display an error message when chan_alsa fails to load due to a missing
  or inaccessible configuration file.

  Before this change, when chan_alsa failed to load due to a missing or
  inaccessible configuration file, no message would be displayed.  With this
  change, when chan_alsa fails to load due to a missing or inaccessible
  configuration file, a message will be displayed.

  (closes issue #14760)
  Reported by: Nick_Lewis
  Patches:
        chan_alsa.c-confload.patch uploaded by Nick (license 657)
........

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

16 years agoMerged revisions 196946 via svnmerge from
Russell Bryant [Tue, 26 May 2009 22:42:04 +0000 (22:42 +0000)] 
Merged revisions 196946 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r196946 | russell | 2009-05-26 17:40:34 -0500 (Tue, 26 May 2009) | 8 lines

  Update configure script to check for OSP toolkit 3.5.0.

  (closes issue #14988)
  Reported by: tzafrir
  Patches:
        configure.ac.diff uploaded by homesick (license 91)
        new_ast_check_osptk.m4 uploaded by homesick (license 91)
........

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

16 years agoMerged revisions 196843 via svnmerge from
Russell Bryant [Tue, 26 May 2009 18:30:04 +0000 (18:30 +0000)] 
Merged revisions 196843 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r196843 | russell | 2009-05-26 13:20:57 -0500 (Tue, 26 May 2009) | 16 lines

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

  ........
    r196826 | russell | 2009-05-26 13:14:36 -0500 (Tue, 26 May 2009) | 9 lines

    Resolve a file handle leak.

    The frames here should have always been freed.  However, out of luck, there was
    never any memory leaked.  However, after file streams became reference counted,
    this code would leak the file stream for the file being read.

    (closes issue #15181)
    Reported by: jkroon
  ........
................

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

16 years agoMerged revisions 196721 via svnmerge from
Joshua Colp [Tue, 26 May 2009 13:46:38 +0000 (13:46 +0000)] 
Merged revisions 196721 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r196721 | file | 2009-05-26 10:43:13 -0300 (Tue, 26 May 2009) | 7 lines

  Fix a bug where the sip unregister CLI command did not completely unregister the peer.

  (closes issue #15118)
  Reported by: alecdavis
  Patches:
        chan_sip_unregister.diff2.txt uploaded by alecdavis (license 585)
........

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

16 years agoMerged revisions 196658 via svnmerge from
Joshua Colp [Tue, 26 May 2009 13:08:12 +0000 (13:08 +0000)] 
Merged revisions 196658 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r196658 | file | 2009-05-26 10:06:50 -0300 (Tue, 26 May 2009) | 14 lines

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

  ........
    r196657 | file | 2009-05-26 10:06:09 -0300 (Tue, 26 May 2009) | 7 lines

    Remove some bash specific stuff from safe_asterisk.

    (closes issue #10812)
    Reported by: paravoid
    Patches:
          safe_asterisk_bashism.diff uploaded by tzafrir (license 46)
  ........
................

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

16 years agoMerged revisions 196416 via svnmerge from
David Vossel [Fri, 22 May 2009 22:35:46 +0000 (22:35 +0000)] 
Merged revisions 196416 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r196416 | dvossel | 2009-05-22 16:09:45 -0500 (Fri, 22 May 2009) | 19 lines

  SIP set outbound transport type from Registration

  In sip.conf the transport option allows for the configuration of what transport types (udp, tcp, and tls) a peer will accept, but only the first type listed was used for outbound connections.  This patch changes this.  Now the default transport type is only used until the peer registers.  When registration takes place the transport type is parsed out of the Contact header.  If the Contact header's transport type is equal to one that the peer supports, the peer's default transport type for outbound connections is set to match the Contact header's type.  If the Contact header's transport type is not present, then the peer's default transport type is set to match the one the peer registered with.  When a peer unregisters or the registration expires, the default transport type for that peer is reset.

  (closes issue #12282)
  Reported by: rjain
  Patches:
        reg_patch_1.diff uploaded by dvossel (license 671)
  Tested by: dvossel

  (closes issue #14727)
  Reported by: pj
  Patches:
        reg_patch_3.diff uploaded by dvossel (license 671)
  Tested by: pj, dvossel

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

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

16 years agoMerged revisions 196117 via svnmerge from
Joshua Colp [Fri, 22 May 2009 13:58:58 +0000 (13:58 +0000)] 
Merged revisions 196117 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r196117 | file | 2009-05-22 10:56:47 -0300 (Fri, 22 May 2009) | 12 lines

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

  ........
    r196116 | file | 2009-05-22 10:54:17 -0300 (Fri, 22 May 2009) | 5 lines

    Fix a bug where using immediate with mISDN caused a cause code of 16 to get sent back instead of 1 if the 's' extension did not exist.

    (closes issue #12286)
    Reported by: lmamane
  ........
................

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

16 years agoMerged revisions 195995 via svnmerge from
David Vossel [Thu, 21 May 2009 19:13:45 +0000 (19:13 +0000)] 
Merged revisions 195995 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r195995 | dvossel | 2009-05-21 14:11:49 -0500 (Thu, 21 May 2009) | 20 lines

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

  ........
    r195991 | dvossel | 2009-05-21 14:04:56 -0500 (Thu, 21 May 2009) | 14 lines

    Sign problem calculating timestamp for iax frame leads to no audio on the receiving peer.

    There are rare cases in which a frame's delivery timestamp is slightly less than the iax2_pvt's offset.  This causes the pvt's timestamp to be a small negative number, but since the timestamp value is unsigned it looks like a huge positive number.  This patch checks for this negative case and sets the ms to zero.  A similar check is already done right below this one in the 'else' statement.

    (closes issue #15032)
    Reported by: guillecabeza
    Patches:
          chan_iax2.c.patch_timestamp uploaded by guillecabeza (license 380)
    Tested by: guillecabeza

    (closes issue #14216)
    Reported by: Andrey Sofronov
  ........
................

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

16 years agoMerged revisions 195882 via svnmerge from
Matthew Nicholson [Thu, 21 May 2009 16:19:20 +0000 (16:19 +0000)] 
Merged revisions 195882 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r195882 | mnicholson | 2009-05-21 10:33:55 -0500 (Thu, 21 May 2009) | 20 lines

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

  ........
    r195881 | mnicholson | 2009-05-21 10:25:50 -0500 (Thu, 21 May 2009) | 13 lines

    This commit prevents cdr records with AST_CDR_FLAG_ANSLOCKED and AST_CDR_FLAG_LOCKED from being updated in certain cases.

    This is accomplished by adding two functions to update the answer time and disposition of calls that checks for the proper lock flags.  These functions are used in the ast_bridge_call() function so that ForkCDR(A) calls are respected.

    This patch also modifies the way ast_bridge_call() chooses the cdr record to base the bridged_cdr on.  Previously the first unlocked cdr record would be chosen, now instead the first cdr record is chosen and forked cdr records are moved to the bridge_cdr.  This allows the original cdr record and any forked cdr records to be properly updated with answer and end times.

    (closes issue #13797)
    Reported by: sh0t
    Tested by: sh0t

    (closes issue #14744)
    Reported by: deepesh
  ........
................

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

16 years agoMerged revisions 195839 via svnmerge from
Tilghman Lesher [Wed, 20 May 2009 23:31:17 +0000 (23:31 +0000)] 
Merged revisions 195839 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r195839 | tilghman | 2009-05-20 18:30:05 -0500 (Wed, 20 May 2009) | 3 lines

  If a variable had a blank value upon the initial setting, then it would do nothing.
  Identified by Dmitry Andrianov via private email, fixed by me.
........

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

16 years agoMerged revisions 195698 via svnmerge from
Joshua Colp [Wed, 20 May 2009 17:34:26 +0000 (17:34 +0000)] 
Merged revisions 195698 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r195698 | file | 2009-05-20 14:33:02 -0300 (Wed, 20 May 2009) | 12 lines

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

  ........
    r195688 | file | 2009-05-20 14:30:25 -0300 (Wed, 20 May 2009) | 5 lines

    Fix some code that wrongly assumed a pointer would always be non-NULL when dealing with CDRs after a bridge.

    (closes issue #15079)
    Reported by: barryf
  ........
................

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

16 years agoMerged revisions 195636 via svnmerge from
Joshua Colp [Wed, 20 May 2009 17:16:07 +0000 (17:16 +0000)] 
Merged revisions 195636 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r195636 | file | 2009-05-20 14:14:42 -0300 (Wed, 20 May 2009) | 12 lines

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

  ........
    r195635 | file | 2009-05-20 14:14:00 -0300 (Wed, 20 May 2009) | 5 lines

    Fix a bug where the MeetMe option 'D' did not actually prompt for the pin.

    (closes issue #15050)
    Reported by: pmhaddad
  ........
................

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

16 years agoMerged revisions 195521 via svnmerge from
Tilghman Lesher [Tue, 19 May 2009 20:18:11 +0000 (20:18 +0000)] 
Merged revisions 195521 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r195521 | tilghman | 2009-05-19 15:16:01 -0500 (Tue, 19 May 2009) | 14 lines

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

  ........
    r195520 | tilghman | 2009-05-19 15:12:20 -0500 (Tue, 19 May 2009) | 7 lines

    Ensure thread keys are initialized before attempting to access them.
    (closes issue #14889)
     Reported by: jaroth
     Patches:
           app_voicemail.c.patch uploaded by msirota (license 758)
     Tested by: msirota, BlargMaN
  ........
................

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

16 years agoMerged revisions 195449 via svnmerge from
Joshua Colp [Tue, 19 May 2009 14:47:46 +0000 (14:47 +0000)] 
Merged revisions 195449 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r195449 | file | 2009-05-19 11:43:54 -0300 (Tue, 19 May 2009) | 14 lines

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

  ........
    r195448 | file | 2009-05-19 11:41:45 -0300 (Tue, 19 May 2009) | 7 lines

    Fix a bug where direct RTP setup would partially occur even when disabled if the calling channel was answered.

    (issue #13545)
    Reported by: davidw
    (issue #14244)
    Reported by: mbnwa
  ........
................

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

16 years agoMerged revisions 195369 via svnmerge from
Eliel C. Sardanons [Mon, 18 May 2009 21:31:15 +0000 (21:31 +0000)] 
Merged revisions 195369 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r195369 | eliel | 2009-05-18 16:49:20 -0400 (Mon, 18 May 2009) | 8 lines

  Fix the CLI command 'manager show command' documentation and functionality.

  The CLI command 'manager show command' supports passing multiple action names in
  the same line, but it was not allowing that because of a incorrect check in the
  argumentes counter. Also the documentation was updated to show that this usage
  of the command is possible.
........

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

16 years agoRecorded merge of revisions 195370 via svnmerge from
Tilghman Lesher [Mon, 18 May 2009 20:54:29 +0000 (20:54 +0000)] 
Recorded merge of revisions 195370 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r195370 | tilghman | 2009-05-18 15:52:33 -0500 (Mon, 18 May 2009) | 15 lines

  Recorded merge of revisions 195366 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r195366 | tilghman | 2009-05-18 15:24:13 -0500 (Mon, 18 May 2009) | 8 lines

    Add a similar dependency on SMDI for voicemail as already exists for ADSI.
    (closes issue #14846)
     Reported by: pj
     Patches:
           20090413__bug14846__1.4.diff.txt uploaded by tilghman (license 14)
           20090507__issue14846__1.6.0.diff.txt uploaded by tilghman (license 14)
           20090507__issue14846__1.6.1.diff.txt uploaded by tilghman (license 14)
  ........
................

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

16 years agoMerged revisions 195320 via svnmerge from
Tilghman Lesher [Mon, 18 May 2009 19:30:30 +0000 (19:30 +0000)] 
Merged revisions 195320 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r195320 | tilghman | 2009-05-18 14:17:15 -0500 (Mon, 18 May 2009) | 9 lines

  Move the spawn of astcanary down, until after the call to daemon(3).
  This avoids possible conflicts with the internal implementation of
  daemon(3).
  (closes issue #15093)
   Reported by: tzafrir
   Patches:
         20090513__issue15093__2.diff.txt uploaded by tilghman (license 14)
   Tested by: tzafrir
........

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

16 years agoMerged revisions 195316 via svnmerge from
Mark Michelson [Mon, 18 May 2009 19:00:51 +0000 (19:00 +0000)] 
Merged revisions 195316 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r195316 | mmichelson | 2009-05-18 13:58:26 -0500 (Mon, 18 May 2009) | 18 lines

  Fix externalivr's setvariable command so that it properly sets multiple variables.

  The command had a for loop that was guaranteed to only execute once since
  the continuation operation of the loop would set the input buffer NULL. I rewrote
  the loop so that its operation was more obvious, and it would set multiple variables
  correctly.

  I also reduced stack space required for the function, constified the input string,
  and modified the function so that it would not modify the input string while I was
  at it.

  (closes issue #15114)
  Reported by: chris-mac
  Patches:
        15114.patch uploaded by mmichelson (license 60)
  Tested by: chris-mac
........

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

16 years agoMerged revisions 195207 via svnmerge from
Joshua Colp [Mon, 18 May 2009 15:55:45 +0000 (15:55 +0000)] 
Merged revisions 195207 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r195207 | file | 2009-05-18 12:53:26 -0300 (Mon, 18 May 2009) | 14 lines

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

  ........
    r195206 | file | 2009-05-18 12:51:22 -0300 (Mon, 18 May 2009) | 7 lines

    Fix a typo which caused loss of audio when using G729 in some scenarios with a smoother present.

    (closes issue #15105)
    Reported by: bamby
    Patches:
          process-vad-correctly.diff uploaded by bamby (license 430)
  ........
................

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

16 years agoMerged revisions 195162 via svnmerge from
Eliel C. Sardanons [Mon, 18 May 2009 15:13:34 +0000 (15:13 +0000)] 
Merged revisions 195162 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r195162 | eliel | 2009-05-18 10:45:23 -0400 (Mon, 18 May 2009) | 9 lines

  Warn about the use of the application WaitExten() within a Macro().

  Update applications documentation to warn the user about the use of the
  WaitExten() application within a Macro(). Recommend the use of Read()
  instead.

  (closes issue #14444)
  Reported by: ewieling
........

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

16 years agoMerged revisions 195096 via svnmerge from
Joshua Colp [Mon, 18 May 2009 13:58:30 +0000 (13:58 +0000)] 
Merged revisions 195096 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r195096 | file | 2009-05-18 10:56:16 -0300 (Mon, 18 May 2009) | 12 lines

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

  ........
    r195095 | file | 2009-05-18 10:53:39 -0300 (Mon, 18 May 2009) | 5 lines

    Fix a bug where the codecs of the called party leg were not properly sent back to the caller call leg when reinvited.

    (closes issue #13569)
    Reported by: bkw918
  ........
................

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

16 years agoMerged revisions 195089 via svnmerge from
Joshua Colp [Mon, 18 May 2009 13:38:19 +0000 (13:38 +0000)] 
Merged revisions 195089 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r195089 | file | 2009-05-18 10:36:17 -0300 (Mon, 18 May 2009) | 5 lines

  Fix a bug where specifying an empty outboundproxy would cause packets to get sent to ourself.

  (closes issue #15106)
  Reported by: timeshell
........

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

16 years agoMerged revisions 195021 via svnmerge from
Russell Bryant [Mon, 18 May 2009 13:07:23 +0000 (13:07 +0000)] 
Merged revisions 195021 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r195021 | russell | 2009-05-18 07:59:11 -0500 (Mon, 18 May 2009) | 12 lines

  Recorded merge of revisions 195020 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r195020 | russell | 2009-05-18 07:57:46 -0500 (Mon, 18 May 2009) | 5 lines

    Don't try to unlock a bogus channel.

    (closes issue #15144)
    Reported by: cristiandimache
  ........
................

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

16 years agoMerged revisions 194874 via svnmerge from
David Vossel [Fri, 15 May 2009 22:46:55 +0000 (22:46 +0000)] 
Merged revisions 194874 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r194874 | dvossel | 2009-05-15 17:44:44 -0500 (Fri, 15 May 2009) | 23 lines

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

  ........
    r194873 | dvossel | 2009-05-15 17:43:13 -0500 (Fri, 15 May 2009) | 17 lines

    IAX2 REGAUTH loop

    IAX was not sending REGREJ to terminate invalid registrations.  Instead it sent another REGAUTH if the authentication challenge failed.  This caused a loop of REGREQ and REGAUTH frames.

    (Related to Security fix AST-2009-001)

    (closes issue #14867)
    Reported by: aragon
    Tested by: dvossel

    (closes issue #14717)
    Reported by: mobeck
    Patches:
          regauth_loop_update_patch.diff uploaded by dvossel (license 671)
    Tested by: dvossel
  ........
................

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

16 years agoMerged revisions 194833 via svnmerge from
David Vossel [Fri, 15 May 2009 21:13:39 +0000 (21:13 +0000)] 
Merged revisions 194833 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r194833 | dvossel | 2009-05-15 15:52:12 -0500 (Fri, 15 May 2009) | 24 lines

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

  ........
    r194557 | dvossel | 2009-05-14 17:59:43 -0500 (Thu, 14 May 2009) | 10 lines

    IAX2 "Ghost" Channels

    There is a bug tracker issue where people are reporting "Ghost" channels in their 'iax2 show channels' output.  The confusion is caused by channels being listed as "(NONE)" with format "unknown".  These are not channels of coarse.  They are usually just pending registration or poke requests, but it is confusing output.  To help make sense of this I have added two columns to 'iax2 show channels'.  One shows the first message which started the transaction, and the second shows the last message sent by either side of the call.  This helps diagnose why the entry exists and why it may not go away.

    (closes issue #14207)
    Reported by: clive18

    Review: https://reviewboard.asterisk.org/r/246/
  ........
    r194685 | dvossel | 2009-05-15 10:40:37 -0500 (Fri, 15 May 2009) | 6 lines

    Update to previous IAX2 "Ghost" Channels patch.

    Fixed some comments made on reviewboard for the previous patch.

    (issue #14207)
  ........
................

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

16 years agoMerged revisions 194765 via svnmerge from
Russell Bryant [Fri, 15 May 2009 18:44:09 +0000 (18:44 +0000)] 
Merged revisions 194765 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r194765 | russell | 2009-05-15 13:43:42 -0500 (Fri, 15 May 2009) | 10 lines

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

........
r194764 | russell | 2009-05-15 13:43:18 -0500 (Fri, 15 May 2009) | 2 lines

Fix some spelling fail.

........

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

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

16 years agoMerged revisions 194722 via svnmerge from
Russell Bryant [Fri, 15 May 2009 18:05:14 +0000 (18:05 +0000)] 
Merged revisions 194722 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r194722 | russell | 2009-05-15 12:59:08 -0500 (Fri, 15 May 2009) | 4 lines

Shuttle some bits around to address some gain issues with G.722.

(closes AST-209)

........

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

16 years agoMerged revisions 194718 via svnmerge from
Russell Bryant [Fri, 15 May 2009 17:37:39 +0000 (17:37 +0000)] 
Merged revisions 194718 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r194718 | russell | 2009-05-15 12:37:12 -0500 (Fri, 15 May 2009) | 2 lines

Further simplify codec_g722 build.

........

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

16 years agoMerged revisions 194714 via svnmerge from
Russell Bryant [Fri, 15 May 2009 17:25:25 +0000 (17:25 +0000)] 
Merged revisions 194714 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r194714 | russell | 2009-05-15 12:24:39 -0500 (Fri, 15 May 2009) | 2 lines

Actually force running make for g722.

........

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

16 years agoMerged revisions 194520 via svnmerge from
Kevin P. Fleming [Thu, 14 May 2009 22:30:42 +0000 (22:30 +0000)] 
Merged revisions 194520 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r194520 | kpfleming | 2009-05-14 17:26:02 -0500 (Thu, 14 May 2009) | 9 lines

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

  ........
    r194509 | kpfleming | 2009-05-14 17:23:49 -0500 (Thu, 14 May 2009) | 1 line

    Update URL to Reviewboard
  ........
................

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

16 years agoMerged revisions 194496 via svnmerge from
Mark Michelson [Thu, 14 May 2009 22:23:21 +0000 (22:23 +0000)] 
Merged revisions 194496 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r194496 | mmichelson | 2009-05-14 17:20:51 -0500 (Thu, 14 May 2009) | 30 lines

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

  ........
    r194484 | mmichelson | 2009-05-14 17:17:55 -0500 (Thu, 14 May 2009) | 24 lines

    Fix a race condition where a reinvite could trigger a 482 response.

    The loop detection/spiral detection code in chan_sip used the owner
    channel's state as a criterion for determining if the incoming INVITE
    is a looped request. The problem with this is that the INVITE-handling
    code happens in a different thread than the thread that marks the owner
    channel as being up. As a result, if a reinvite were to come in very quickly,
    say from another Asterisk on the same LAN, it was possible for the reinvite
    to arrive before the owner channel had been set to the up state.

    This patch corrects the problem by using the invitestate of the sip_pvt
    instead, since that can be guaranteed to be set correctly by the time
    the reinvite arrives. Since there is a switch statement further in the
    INVITE-handling code, the AST_STATE_RINGING state also checks the invitestate
    of the sip_pvt in case we should actually be treating the channel as if it were
    up already.

    (closes issue #12215)
    Reported by: jpyle
    Patches:
          12215_confirmed.patch uploaded by mmichelson (license 60)
    Tested by: lmadsen
  ........
................

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

16 years agoMerged revisions 194434 via svnmerge from
Joshua Colp [Thu, 14 May 2009 17:07:04 +0000 (17:07 +0000)] 
Merged revisions 194434 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r194434 | file | 2009-05-14 14:05:33 -0300 (Thu, 14 May 2009) | 7 lines

  Fix a bug where the 'T' option to Meetme did not work.

  (closes issue #15031)
  Reported by: Stochastic
  (closes issue #13801)
  Reported by: justdave
........

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

16 years agoRecorded merge of revisions 194357 via svnmerge from
Mark Michelson [Wed, 13 May 2009 19:50:37 +0000 (19:50 +0000)] 
Recorded merge of revisions 194357 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r194357 | mmichelson | 2009-05-13 14:42:51 -0500 (Wed, 13 May 2009) | 18 lines

  Blocked revisions 194356 via svnmerge

  ........
    r194356 | mmichelson | 2009-05-13 14:41:44 -0500 (Wed, 13 May 2009) | 13 lines

    Remove an extraneous unlocking operation from ast_channel_free.

    In the case that we could not remove the desired channel from the
    list of channels, there was an extra call to unlock the channel list.
    Since we unlock the list later on in the function anyway, this results
    in the list being unlocked twice yet only being locked once.

    (closes issue #15098)
    Reported by: tim_ringenbach
    Patches:
          remove_extra_unlock.diff uploaded by tim (license 540)
  ........
................

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

16 years agoMerged revisions 194209 via svnmerge from
Joshua Colp [Wed, 13 May 2009 13:41:28 +0000 (13:41 +0000)] 
Merged revisions 194209 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r194209 | file | 2009-05-13 10:39:10 -0300 (Wed, 13 May 2009) | 18 lines

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

  ........
    r194208 | file | 2009-05-13 10:38:01 -0300 (Wed, 13 May 2009) | 11 lines

    Fix RFC2833 issues with DTMF getting duplicated and with duration wrapping over.

    (closes issue #14815)
    Reported by: geoff2010
    Patches:
          v1-14815.patch uploaded by dimas (license 88)
    Tested by: geoff2010, file, dimas, ZX81, moliveras
    (closes issue #14460)
    Reported by: moliveras
    Tested by: moliveras
  ........
................

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

16 years agoMerged revisions 194138 via svnmerge from
Tilghman Lesher [Wed, 13 May 2009 00:54:14 +0000 (00:54 +0000)] 
Merged revisions 194138 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r194138 | tilghman | 2009-05-12 19:52:49 -0500 (Tue, 12 May 2009) | 14 lines

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

  ........
    r194137 | tilghman | 2009-05-12 19:52:03 -0500 (Tue, 12 May 2009) | 7 lines

    Fix logic for how to proceed with a single digit extension.
    (closes issue #15091)
     Reported by: andrew
     Patches:
           20090512__issue15091.diff.txt uploaded by tilghman (license 14)
     Tested by: andrew
  ........
................

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

16 years agoMerged revisions 194057 via svnmerge from
Matthew Nicholson [Tue, 12 May 2009 23:01:49 +0000 (23:01 +0000)] 
Merged revisions 194057 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r194057 | mnicholson | 2009-05-12 17:32:13 -0500 (Tue, 12 May 2009) | 22 lines

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

  ........
    r194028 | mnicholson | 2009-05-12 17:15:45 -0500 (Tue, 12 May 2009) | 16 lines

    This change modifies app_queue to properly generate CDR records in failure
    situations.

    This involves setting a proper cdr disposition coresponding to the given
    failure condition and ensuring the proper information is stored in the cdr
    record.

    (closes issue #13691)
    Reported by: dferrer
    Tested by: mnicholson

    (closes issue #13637)
    Reported by: atis
    Tested by: atis
  ........
................

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

16 years agoMerged revisions 193954 via svnmerge from
Mark Michelson [Tue, 12 May 2009 20:51:05 +0000 (20:51 +0000)] 
Merged revisions 193954 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r193954 | mmichelson | 2009-05-12 15:28:13 -0500 (Tue, 12 May 2009) | 18 lines

  Update spiral support in trunk and 1.6.X to match what is in 1.4.

  In 1.4, a SIP spiral is treated the same way as a call forward. This
  works much better than what is currently in trunk and 1.6.X. The code
  in trunk and 1.6.X did not create a new call to the recipient of the spiral,
  instead trying to continue the same call. In addition to just being plain
  wrong, this also had the side effect of only being able to spiral calls
  to other SIP channels.

  With this in place, as long as call forwards are honored, SIP spirals
  will work properly. This means that it will work for outbound calls
  made  by the Queue, Dial, and Page applications. For originated calls and
  spool calls, however, the spiral will not work properly until a generic
  call forward mechanism is introduced into Asterisk.

  (relates to issue #13630)
........

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

16 years agoMerged revisions 193956 via svnmerge from
Tilghman Lesher [Tue, 12 May 2009 20:42:17 +0000 (20:42 +0000)] 
Merged revisions 193956 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r193956 | tilghman | 2009-05-12 15:40:22 -0500 (Tue, 12 May 2009) | 13 lines

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

  ........
    r193955 | tilghman | 2009-05-12 15:39:21 -0500 (Tue, 12 May 2009) | 6 lines

    Avoid initializing routines if the authentication fails.  Fixes a crash (RR) issue.
    (closes issue #14508)
     Reported by: tiziano
     Patches:
           20090221_2_wrongmailbox.diff.txt uploaded by tiziano (license 377)
  ........
................

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

16 years agoBlocked revisions 193886 via svnmerge
Mark Michelson [Tue, 12 May 2009 18:20:58 +0000 (18:20 +0000)] 
Blocked revisions 193886 via svnmerge

................
  r193886 | mmichelson | 2009-05-12 13:20:14 -0500 (Tue, 12 May 2009) | 17 lines

  Blocked revisions 193880 via svnmerge

  ........
    r193880 | mmichelson | 2009-05-12 13:18:44 -0500 (Tue, 12 May 2009) | 12 lines

    Set the invitestate to INV_CANCELLED only if we are actually sending a SIP CANCEL.

    The problem was that the hangup code was setting the invitestate too early. The result of
    this was that we would always send a CANCEL request, even if it was not an appropriate
    time to do so (e.g. we have not yet received a provisional response for our INVITE).

    Note that this same fix had been applied to trunk and the 1.6.X branches starting with
    revision 155467. This is why you will see this revision being blocked from those places.

    AST-216
  ........
................

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

16 years agoMerged revisions 193870 via svnmerge from
Tilghman Lesher [Tue, 12 May 2009 17:48:30 +0000 (17:48 +0000)] 
Merged revisions 193870 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r193870 | tilghman | 2009-05-12 12:29:33 -0500 (Tue, 12 May 2009) | 2 lines

  Convert a THREADSTORAGE object into a simple malloc'd object (as suggested by Russell on -dev)
........

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

16 years agoRecorded merge of revisions 193756 via svnmerge from
Tilghman Lesher [Mon, 11 May 2009 23:35:52 +0000 (23:35 +0000)] 
Recorded merge of revisions 193756 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r193756 | tilghman | 2009-05-11 17:50:47 -0500 (Mon, 11 May 2009) | 25 lines

  Recorded merge of revisions 193755 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r193755 | tilghman | 2009-05-11 17:48:20 -0500 (Mon, 11 May 2009) | 18 lines

    Move 300 bytes around on the stack, to make more room for an extension buffer.
    This allows more concurrent extensions to be copied for a single voicemail,
    without creating a possibility of upsetting existing users, where a dialplan
    could run out of stack space where it had run fine before.  Alternatively,
    we could have allocated off the heap, but that is a larger change and would
    have increased the chance for instability introduced by this change.

    This is really solved starting in 1.6.0.11, as the use of an ast_str buffer
    allows an unlimited number of extensions (up to available memory).  We
    additionally create a new warning message when the buffer length is exceeded,
    permitting administrators to see an issue after the fact, whereas previously
    the list was silently truncated.
    (closes issue #14739)
     Reported by: p_lindheimer
     Patches:
           20090417__bug14739.diff.txt uploaded by tilghman (license 14)
     Tested by: p_lindheimer
  ........
................

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

16 years agoMerged revisions 193614 via svnmerge from
Richard Mudgett [Mon, 11 May 2009 19:16:10 +0000 (19:16 +0000)] 
Merged revisions 193614 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r193614 | rmudgett | 2009-05-11 14:11:29 -0500 (Mon, 11 May 2009) | 19 lines

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

  ........
    r193613 | rmudgett | 2009-05-11 14:09:00 -0500 (Mon, 11 May 2009) | 12 lines

    Sent wrong message to clear a call we started if the other end has not responed yet.

    In the state MISDN_CALLING (i.e. SETUP was sent but no answer has arrived yet),
    it is not allowed to clear the call with RELEASE_COMPLETE.  It must be
    cleared with DISCONNECT.  A RELEASE_COMPLETE is only allowed as an answer
    to a SETUP.  (See Q.931 ch. 5.3.2, 5.3.2.a, 5.3.2.b)

    Patches:
        chan-misdn-ccstate7.patch uploaded by customer.

    JIRA ABE-1862
  ........
................

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

16 years agoRecorded merge of revisions 193545 via svnmerge from
Leif Madsen [Mon, 11 May 2009 18:07:51 +0000 (18:07 +0000)] 
Recorded merge of revisions 193545 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r193545 | lmadsen | 2009-05-11 14:01:44 -0400 (Mon, 11 May 2009) | 14 lines

  Recorded merge of revisions 193544 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r193544 | lmadsen | 2009-05-11 13:35:17 -0400 (Mon, 11 May 2009) | 7 lines

    Document CHANNEL(transfercapability) in CLI documentation.

    (issue #15073)
    Reported by: pkempgen
    Patches:
          20090511__issue15073.diff.txt uploaded by tilghman (license 14)
  ........
................

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

16 years agoMerged revisions 193387 via svnmerge from
David Vossel [Fri, 8 May 2009 20:51:17 +0000 (20:51 +0000)] 
Merged revisions 193387 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r193387 | dvossel | 2009-05-08 15:32:51 -0500 (Fri, 08 May 2009) | 7 lines

  TCP not matching valid peer.

  find_peer() does not find a valid peer when using pvt->recv as the sockaddr_in argument.  Because of the way TCP works, the port number in pvt->recv is not what we're looking for at all.  There is currently only one place that find_peer searches for a peer using the sockaddr_in argument.  If the peer is not found after using pvt->recv (works for UDP since the port number will be correct), a temp sockaddr_in struct is made using the Contact header in the sip_request.  This has the correct port number in it.

  Review: http://reviewboard.digium.com/r/236/
........

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

16 years agoMerged revisions 193274 via svnmerge from
Sean Bright [Fri, 8 May 2009 15:36:16 +0000 (15:36 +0000)] 
Merged revisions 193274 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r193274 | seanbright | 2009-05-08 11:18:40 -0400 (Fri, 08 May 2009) | 2 lines

  Fix the spelling of UNAVAILABLE in func_devstate CLI completion.
........

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

16 years agoMerged revisions 193263 via svnmerge from
David Vossel [Fri, 8 May 2009 14:54:15 +0000 (14:54 +0000)] 
Merged revisions 193263 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r193263 | dvossel | 2009-05-08 09:52:19 -0500 (Fri, 08 May 2009) | 15 lines

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

  ........
    r193262 | dvossel | 2009-05-08 09:51:09 -0500 (Fri, 08 May 2009) | 9 lines

    "misdn show config" segfaults asterisk, if no MSN lists

    (closes issue #14976)
    Reported by: alecdavis
    Patches:
          misdn_config.diff.txt uploaded by alecdavis (license 585)
    Tested by: alecdavis, FabienToune
  ........
................

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

16 years agoMerged revisions 193194 via svnmerge from
Kevin P. Fleming [Fri, 8 May 2009 14:10:58 +0000 (14:10 +0000)] 
Merged revisions 193194 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r193194 | kpfleming | 2009-05-08 09:06:15 -0500 (Fri, 08 May 2009) | 13 lines

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

  ........
    r193193 | kpfleming | 2009-05-08 09:03:28 -0500 (Fri, 08 May 2009) | 7 lines

    Make absolute paths for logger channels work properly

    (Note: This is not a new feature, it was previously undocumented and broken.)

    The Asterisk logger has a feature to support absolute pathnames for logger channels, but the code implementing the feature was broken. This has been fixed, and the absolute path feature is now documented in the sample logger.conf.
  ........
................

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

16 years agoMerged revisions 193120 via svnmerge from
Tilghman Lesher [Thu, 7 May 2009 23:44:20 +0000 (23:44 +0000)] 
Merged revisions 193120 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r193120 | tilghman | 2009-05-07 18:42:28 -0500 (Thu, 07 May 2009) | 26 lines

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

  ........
    r193119 | tilghman | 2009-05-07 18:41:11 -0500 (Thu, 07 May 2009) | 19 lines

    Fix Background within a Macro for FreePBX.
    If the single digit DTMF is an extension in the specified context, then
    go there and signal no DTMF.  Otherwise, we should exit with that DTMF.
    If we're in Macro, we'll exit and seek that DTMF as the beginning of an
    extension in the Macro's calling context.  If we're not in Macro, then
    we'll simply seek that extension in the calling context.  Previously,
    someone complained about the behavior as it related to the interior of a
    Gosub routine, and the fix (#14011) inadvertently broke FreePBX
    (#14940).  This change should fix both of these situations, but with the
    possible incompatibility that if a single digit extension does not exist
    (but a longer extension COULD have matched), it would have previously
    gone immediately to the "i" extension, but will now need to wait for a
    timeout.
    (closes issue #14940)
     Reported by: p_lindheimer
     Patches:
           20090420__bug14940.diff.txt uploaded by tilghman (license 14)
     Tested by: p_lindheimer
  ........
................

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

16 years agoMerged revisions 193077 via svnmerge from
Richard Mudgett [Thu, 7 May 2009 22:42:54 +0000 (22:42 +0000)] 
Merged revisions 193077 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r193077 | rmudgett | 2009-05-07 17:24:04 -0500 (Thu, 07 May 2009) | 12 lines

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

  ........
    r193050 | rmudgett | 2009-05-07 17:17:06 -0500 (Thu, 07 May 2009) | 5 lines

    Give a more helpful message when an incoming call's dialed extension does not match.

    Added the dialed extension and context to the chan_misdn messages warning
    that the dialed number cannot be matched in the dialplan.
  ........
................

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

16 years agoMerged revisions 193006 via svnmerge from
Tilghman Lesher [Thu, 7 May 2009 17:52:01 +0000 (17:52 +0000)] 
Merged revisions 193006 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r193006 | tilghman | 2009-05-07 12:51:13 -0500 (Thu, 07 May 2009) | 7 lines

  Second result should not contain data from the first result.
  (closes issue #15039)
   Reported by: jims
   Patches:
         20090506__issue15039.diff.txt uploaded by tilghman (license 14)
   Tested by: jims
........

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

16 years agoMerged revisions 192938 via svnmerge from
Tilghman Lesher [Thu, 7 May 2009 17:15:00 +0000 (17:15 +0000)] 
Merged revisions 192938 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r192938 | tilghman | 2009-05-07 12:13:36 -0500 (Thu, 07 May 2009) | 6 lines

  Send DTMF frame before playing back audio.
  (closes issue #14858)
   Reported by: barryf
   Patches:
         20090507__bug14858.diff.txt uploaded by tilghman (license 14)
........

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

16 years agoMerged revisions 192933 via svnmerge from
Tilghman Lesher [Thu, 7 May 2009 16:45:31 +0000 (16:45 +0000)] 
Merged revisions 192933 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r192933 | tilghman | 2009-05-07 11:43:56 -0500 (Thu, 07 May 2009) | 17 lines

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

  ........
    r192932 | tilghman | 2009-05-07 11:29:08 -0500 (Thu, 07 May 2009) | 10 lines

    Eliminate repetition of fullcontact during reconstruction.
    If the fullcontact field appears in both the sippeers and the
    sipregs table, then during reconstruction of the field, it will
    otherwise be doubled.
    (closes issue #14754)
     Reported by: Alexei Gradinari
     Patches:
           20090506__bug14754.diff.txt uploaded by tilghman (license 14)
     Tested by: lmadsen
  ........
................

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

16 years agoMerged revisions 192861 via svnmerge from
Jeff Peeler [Wed, 6 May 2009 22:19:18 +0000 (22:19 +0000)] 
Merged revisions 192861 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r192861 | jpeeler | 2009-05-06 17:17:27 -0500 (Wed, 06 May 2009) | 17 lines

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

  ........
    r192858 | jpeeler | 2009-05-06 17:15:19 -0500 (Wed, 06 May 2009) | 10 lines

    Make ParkedCall application stop execution of the dialplan after hang up

    Just changed park_exec to always return non-zero. I really wasn't entirely sure
    at first if this was a bug. Decided it was since it would be surprising when
    not using ParkedCall in the dialplan to hang up and have dialplan execution
    continue.

    (closes issue #14555)
    Reported by: francesco_r
  ........
................

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