]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
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

16 years agoBlocked revisions 192853 via svnmerge
Jeff Peeler [Wed, 6 May 2009 22:05:43 +0000 (22:05 +0000)] 
Blocked revisions 192853 via svnmerge

........
  r192853 | jpeeler | 2009-05-06 17:02:46 -0500 (Wed, 06 May 2009) | 2 lines

  If no extension was found in the pattern tree, don't crash.
........

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

16 years agoMerged revisions 190946 via svnmerge from
Matthew Fredrickson [Wed, 6 May 2009 17:53:13 +0000 (17:53 +0000)] 
Merged revisions 190946 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r190946 | mattf | 2009-04-28 17:05:05 -0500 (Tue, 28 Apr 2009) | 1 line

Make sure that we do not clear the down flag on the BRI during PTMP link transients.  Also refix SS7 audio that the early media patch broke.
........

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

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

........
  r192808 | file | 2009-05-06 14:38:51 -0300 (Wed, 06 May 2009) | 10 lines

  Fix a bug where a timer would be created but not acknowledged.

  This scenario crept up if chan_iax2 was loaded with no configuration file present.
  It would create a timer and tell it to go at an interval but the thread that normally
  acknowledges it would not be created because no configuration file was present. The timer
  will now be closed if no configuration file is present.

  (closes issue #15014)
  Reported by: madkins
........

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

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

................
  r192634 | file | 2009-05-06 10:34:35 -0300 (Wed, 06 May 2009) | 14 lines

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

  ........
    r192633 | file | 2009-05-06 10:30:51 -0300 (Wed, 06 May 2009) | 7 lines

    Update some old logic to stop both begin and end DTMF frames from reaching the core if rfc2833 is not enabled.

    (closes issue #15036)
    Reported by: dimas
    Patches:
          v1-15036.patch uploaded by dimas (license 88)
  ........
................

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

16 years agoMerged revisions 192525 via svnmerge from
Sean Bright [Tue, 5 May 2009 20:02:12 +0000 (20:02 +0000)] 
Merged revisions 192525 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r192525 | seanbright | 2009-05-05 15:57:49 -0400 (Tue, 05 May 2009) | 18 lines

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

  ........
    r192524 | seanbright | 2009-05-05 15:56:11 -0400 (Tue, 05 May 2009) | 11 lines

    Fix Javascript error when using astman.js in Internet Explorer.

    Internet Explorer (tested with 7.0) does not like trailing commas on constructs
    like object initializers, so get rid of them to avoid some errors.

    (closes issue #15026)
    Reported by: rajnishgiri
    Patches:
          bug15026.patch uploaded by seanbright (license 71)
    Tested by: seanbright
  ........
................

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

16 years agoMerged revisions 192462 via svnmerge from
Joshua Colp [Tue, 5 May 2009 18:26:34 +0000 (18:26 +0000)] 
Merged revisions 192462 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r192462 | file | 2009-05-05 15:23:58 -0300 (Tue, 05 May 2009) | 15 lines

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

  ........
    r192454 | file | 2009-05-05 15:22:27 -0300 (Tue, 05 May 2009) | 8 lines

    Fix an incorrect assumption that certain values on the channel will always exist when they may not.

    The CDR code involved with bridges wrongly assumed that the currently executing application and data
    values will always exist. It is possible for this to be false when call forwarding is involved.

    (closes issue #14984)
    Reported by: gincantalupo
  ........
................

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

16 years agoMerged revisions 192430 via svnmerge from
Joshua Colp [Tue, 5 May 2009 17:50:23 +0000 (17:50 +0000)] 
Merged revisions 192430 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r192430 | file | 2009-05-05 14:46:51 -0300 (Tue, 05 May 2009) | 12 lines

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

  ........
    r192429 | file | 2009-05-05 14:43:30 -0300 (Tue, 05 May 2009) | 5 lines

    Fix a bug where the followme application would continue trying numbers after the caller hung up.

    (closes issue #13624)
    Reported by: sgenyuk
  ........
................

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

16 years agoMerged revisions 192387 via svnmerge from
Joshua Colp [Tue, 5 May 2009 14:27:42 +0000 (14:27 +0000)] 
Merged revisions 192387 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r192387 | file | 2009-05-05 11:22:47 -0300 (Tue, 05 May 2009) | 10 lines

  Fix a bug with setting t38pt_udptl at the user or peer level.

  If an incoming call authenticated as a user or peer and t38pt_udptl was
  not set to yes in general then no UDPTL session would be present and any
  T38 related things would fail. This commit changes it so that if after
  authenticating T38 is enabled but no UDPTL session is present one will be
  created.

  (issue AST-215)
........

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

16 years agoMerged revisions 192357 via svnmerge from
Kevin P. Fleming [Tue, 5 May 2009 13:37:23 +0000 (13:37 +0000)] 
Merged revisions 192357 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r192357 | kpfleming | 2009-05-05 15:18:21 +0200 (Tue, 05 May 2009) | 5 lines

  Correct some flaws in the memory accounting code for stringfields and ao2 objects

  Under some conditions, the memory allocation for stringfields and ao2 objects would not have supplied valid file/function names for MALLOC_DEBUG tracking, so this commit corrects that.
........

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

16 years agoMerged revisions 192318 via svnmerge from
Kevin P. Fleming [Tue, 5 May 2009 12:44:54 +0000 (12:44 +0000)] 
Merged revisions 192318 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r192318 | kpfleming | 2009-05-05 12:34:19 +0200 (Tue, 05 May 2009) | 5 lines

  Properly account for memory allocated for channels and datastores

  As in previous commits, when channels are allocated (with ast_channel_alloc) or datastores are allocated (with ast_datastore_alloc) properly account for the memory being owned by the caller, instead of the allocator function itself.
........

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

16 years agoMerged revisions 192279 via svnmerge from
Kevin P. Fleming [Tue, 5 May 2009 09:15:13 +0000 (09:15 +0000)] 
Merged revisions 192279 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r192279 | kpfleming | 2009-05-05 10:51:06 +0200 (Tue, 05 May 2009) | 5 lines

  Ensure that string pools allocated to hold stringfields are properly accounted in MALLOC_DEBUG mode

  This commit modifies the stringfield pool allocator to remember the 'owner' of the stringfield manager the pool is being allocated for, and ensures that pools allocated in the future when fields are populated are owned by that file/function.
........

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

16 years agoMerged revisions 192214 via svnmerge from
David Vossel [Mon, 4 May 2009 22:48:11 +0000 (22:48 +0000)] 
Merged revisions 192214 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r192214 | dvossel | 2009-05-04 17:44:51 -0500 (Mon, 04 May 2009) | 17 lines

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

  ........
    r192213 | dvossel | 2009-05-04 17:37:31 -0500 (Mon, 04 May 2009) | 11 lines

    global mohinterpret setting is ignored

    mohinterpret and mohsuggest global variables were not copied over during build_users and build_peers.

    (closes issue #14728)
    Reported by: dimas
    Patches:
          v1-14728.patch uploaded by dimas (license 88)
    Tested by: dimas, dvossel
  ........
................

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

16 years agoRecorded merge of revisions 192171 via svnmerge from
Tilghman Lesher [Mon, 4 May 2009 19:30:34 +0000 (19:30 +0000)] 
Recorded merge of revisions 192171 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r192171 | tilghman | 2009-05-04 14:29:13 -0500 (Mon, 04 May 2009) | 8 lines

  Restore 'asyncagi break' command to 1.6.1 and higher.
  (closes issue #14985)
   Reported by: nikkk
   Patches:
         20090428__bug14985.diff.txt uploaded by tilghman (license 14)
         20090429__bug14985__1.6.1.diff.txt uploaded by tilghman (license 14)
   Tested by: nikkk
........

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

16 years agoMerged revisions 192059 via svnmerge from
Kevin P. Fleming [Mon, 4 May 2009 19:20:58 +0000 (19:20 +0000)] 
Merged revisions 192059 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r192059 | kpfleming | 2009-05-04 18:24:16 +0200 (Mon, 04 May 2009) | 5 lines

  Ensure that astobj2 memory allocations are properly accounted for when MALLOC_DEBUG is used

  This commit ensures that all astobj2 allocated objects are properly accounted for in MALLOC_DEBUG mode by passing down the file/function/line information from the module/function that actually called the astobj2 allocation function.
........

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

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

........
  r192132 | tilghman | 2009-05-04 13:42:56 -0500 (Mon, 04 May 2009) | 6 lines

  Pass libraries in LIBS, not LDFLAGS.
  (closes issue #14671)
   Reported by: Chainsaw
   Patches:
         asterisk-1.6.0.6-toolcheck-libs-not-ldflags.patch uploaded by Chainsaw (license 723)
........

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

16 years agoResolve grammatical mistakes in the application description in app_forkcdr.
Leif Madsen [Mon, 4 May 2009 17:30:38 +0000 (17:30 +0000)] 
Resolve grammatical mistakes in the application description in app_forkcdr.

(closes issue #14801)
Reported by: festr

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

16 years agoMerged revisions 191955 via svnmerge from
Kevin P. Fleming [Mon, 4 May 2009 10:00:04 +0000 (10:00 +0000)] 
Merged revisions 191955 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r191955 | kpfleming | 2009-05-04 11:57:36 +0200 (Mon, 04 May 2009) | 8 lines

  Ensure that by default only one console channel driver is loaded

  This configuration file was changed to ensure that only one console channel driver
  (chan_oss) is loaded by default, but the change would only work if chan_console
  was not built. Now it will work as expected; if chan_alsa or chan_console are built
  and installed, they will not be loaded unless explicity requested.
........

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

16 years agoBlocked revisions 191781 via svnmerge
Mark Michelson [Sat, 2 May 2009 18:55:53 +0000 (18:55 +0000)] 
Blocked revisions 191781 via svnmerge

................
  r191781 | mmichelson | 2009-05-02 13:54:52 -0500 (Sat, 02 May 2009) | 16 lines

  Blocked revisions 191778 via svnmerge

  ........
    r191778 | mmichelson | 2009-05-02 13:48:20 -0500 (Sat, 02 May 2009) | 11 lines

    Fix a bug which resulted from the Hebrew voicemail commit.

    This fixes a case where a certain message could get played twice.

    (closes issue #13155)
    Reported by: greenfieldtech
    Patches:
          app_voicemail.c.multi-lang-patch uploaded by greenfieldtech (license 369)
    Tested by: greenfieldtech
  ........
................

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

16 years agoMerged revisions 191775 via svnmerge from
Kevin P. Fleming [Sat, 2 May 2009 18:45:56 +0000 (18:45 +0000)] 
Merged revisions 191775 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r191775 | kpfleming | 2009-05-02 20:39:48 +0200 (Sat, 02 May 2009) | 5 lines

  Fix an error in queue_log file rotation optimization code

  This code was copy-and-pasted without properly changing references to event_rotate into queue_rotate, so under some conditions the log rotation would rotate queue_log even though it was not necessary.
........

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

16 years agoMerged revisions 191700 via svnmerge from
Sean Bright [Sat, 2 May 2009 15:52:08 +0000 (15:52 +0000)] 
Merged revisions 191700 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r191700 | seanbright | 2009-05-02 11:45:07 -0400 (Sat, 02 May 2009) | 1 line

  Update copyright year to 2009
........

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

16 years agoBlocked revisions 191630 via svnmerge
Mark Michelson [Sat, 2 May 2009 10:47:19 +0000 (10:47 +0000)] 
Blocked revisions 191630 via svnmerge

................
  r191630 | mmichelson | 2009-05-02 05:46:02 -0500 (Sat, 02 May 2009) | 17 lines

  Blocked revisions 191628-191629 via svnmerge

  ........
    r191628 | mmichelson | 2009-05-02 05:21:00 -0500 (Sat, 02 May 2009) | 8 lines

    Move static buffers to outside for loops in app_chanspy.

    Similar to seanbright's commit 191422, this moves some static buffers
    to be defined outside of for loops since it is undefined if memory
    will be re-used or if the stack will grow with each iteration of the
    loop.
  ........
    r191629 | mmichelson | 2009-05-02 05:45:24 -0500 (Sat, 02 May 2009) | 3 lines

    Kevin has informed me that thi sort of thing is not necessary.
  ........
................

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

16 years agoMerged revisions 191560 via svnmerge from
Tilghman Lesher [Fri, 1 May 2009 20:02:41 +0000 (20:02 +0000)] 
Merged revisions 191560 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r191560 | tilghman | 2009-05-01 15:01:21 -0500 (Fri, 01 May 2009) | 13 lines

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

  ........
    r191559 | tilghman | 2009-05-01 15:00:23 -0500 (Fri, 01 May 2009) | 6 lines

    SIP Response 410 maps to cause code 22 (or 23), not 1.
    (closes issue #14993)
     Reported by: BigJimmy
     Patches:
           causepatch uploaded by BigJimmy (license 371)
  ........
................

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

16 years agoMerged revisions 191494 via svnmerge from
Tilghman Lesher [Fri, 1 May 2009 18:31:28 +0000 (18:31 +0000)] 
Merged revisions 191494 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r191494 | tilghman | 2009-05-01 13:18:00 -0500 (Fri, 01 May 2009) | 4 lines

  Set debug message back to DEBUG level.
  (closes issue #15007)
   Reported by: hulber
........

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

16 years agoMerged revisions 191489 via svnmerge from
Jeff Peeler [Fri, 1 May 2009 18:20:09 +0000 (18:20 +0000)] 
Merged revisions 191489 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r191489 | jpeeler | 2009-05-01 13:09:23 -0500 (Fri, 01 May 2009) | 15 lines

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

  ........
    r191488 | jpeeler | 2009-05-01 12:40:46 -0500 (Fri, 01 May 2009) | 9 lines

    Fix DTMF not being sent to other side after a partial feature match

    This fixes a regression from commit 176701. The issue was that
    ast_generic_bridge never exited after the feature digit timeout had elapsed,
    which prevented the queued DTMF from being sent to the other side.

    This issue was reported to me directly.
  ........
................

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

16 years agoFix a crash in app_queue with very long member lists.
Sean Bright [Fri, 1 May 2009 16:26:32 +0000 (16:26 +0000)] 
Fix a crash in app_queue with very long member lists.

A user reported via #asterisk that with very long lists of members, a crash
occurs in ast_strdupa, so just use a single buffer and ast_copy_string instead
of stack allocating copys of each interface name.

(Related to revision 191041 in branches/1.4)

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

16 years agoMerged revisions 191367 via svnmerge from
Tilghman Lesher [Thu, 30 Apr 2009 17:45:40 +0000 (17:45 +0000)] 
Merged revisions 191367 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r191367 | tilghman | 2009-04-30 12:40:58 -0500 (Thu, 30 Apr 2009) | 3 lines

  Detect eaccess (or euidaccess) before using it.
  Reported by Andrew Lindh via the -dev list.
........

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

16 years agoMerged revisions 191283 via svnmerge from
Tilghman Lesher [Thu, 30 Apr 2009 06:48:50 +0000 (06:48 +0000)] 
Merged revisions 191283 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r191283 | tilghman | 2009-04-30 01:47:13 -0500 (Thu, 30 Apr 2009) | 11 lines

  Change working directory to / under certain conditions.
  If backgrounding and no core will be produced, then changing the directory
  won't break anything; likewise, if the CWD isn't accessible by the current
  user, then a core wasn't possible anyway.
  (closes issue #14831)
   Reported by: chris-mac
   Patches:
         20090428__bug14831.diff.txt uploaded by tilghman (license 14)
         20090430__bug14831.diff.txt uploaded by tilghman (license 14)
   Tested by: chris-mac
........

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

16 years agoMerged revisions 191219 via svnmerge from
Tilghman Lesher [Wed, 29 Apr 2009 23:14:58 +0000 (23:14 +0000)] 
Merged revisions 191219 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r191219 | tilghman | 2009-04-29 18:06:56 -0500 (Wed, 29 Apr 2009) | 2 lines

  Make H.323 compile with FDLEAK detection code enabled
........

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

16 years agoBlocked revisions 191213 via svnmerge
Jeff Peeler [Wed, 29 Apr 2009 22:58:09 +0000 (22:58 +0000)] 
Blocked revisions 191213 via svnmerge

........
  r191213 | jpeeler | 2009-04-29 17:56:55 -0500 (Wed, 29 Apr 2009) | 1 line

  fix typos
........

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

16 years agoMerged revisions 191136 via svnmerge from
David Brooks [Wed, 29 Apr 2009 18:40:05 +0000 (18:40 +0000)] 
Merged revisions 191136 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r191136 | dbrooks | 2009-04-29 13:32:58 -0500 (Wed, 29 Apr 2009) | 3 lines

  Removing crufty code that is no longer necessary. Code cleanup.
........

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

16 years agoBlocked revisions 191116 via svnmerge
David Brooks [Wed, 29 Apr 2009 18:24:56 +0000 (18:24 +0000)] 
Blocked revisions 191116 via svnmerge

................
  r191116 | dbrooks | 2009-04-29 13:22:24 -0500 (Wed, 29 Apr 2009) | 14 lines

  Blocked revisions 191096 via svnmerge

  ........
    r191096 | dbrooks | 2009-04-29 13:07:59 -0500 (Wed, 29 Apr 2009) | 8 lines

    Patch to fix tab-completion crash on "remove extension"

    This patch simply removes some old code back before Asterisk used editline.
    This fixes the crash that occurred when tab-completing "remove extension".

    (closes issue #14689)
    Reported by: isaacgal
  ........
................

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

16 years agoMerged revisions 190830 via svnmerge from
TransNexus OSP Development [Wed, 29 Apr 2009 08:45:36 +0000 (08:45 +0000)] 
Merged revisions 190830 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r190830 | transnexus | 2009-04-28 17:10:42 +0800 (Tue, 28 Apr 2009) | 2 lines

  Updated for OSP Toolkit 3.5.
........

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

16 years agoMerged revisions 190904 via svnmerge from
Tilghman Lesher [Tue, 28 Apr 2009 17:33:18 +0000 (17:33 +0000)] 
Merged revisions 190904 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r190904 | tilghman | 2009-04-28 12:31:43 -0500 (Tue, 28 Apr 2009) | 2 lines

  UniqueID column has a maximum size of 150
........

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

16 years agoBlocked revisions 190865 via svnmerge
Kevin P. Fleming [Tue, 28 Apr 2009 14:16:54 +0000 (14:16 +0000)] 
Blocked revisions 190865 via svnmerge

........
  r190865 | kpfleming | 2009-04-28 09:15:47 -0500 (Tue, 28 Apr 2009) | 5 lines

  Build XML documention from *only* the source files that have docs in them

  Change the build process so that doc/core-en_US.xml is dependent solely on the source files that have documentation in them, not on all source files.
........

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

16 years agoMerged revisions 190861 via svnmerge from
Kevin P. Fleming [Tue, 28 Apr 2009 14:13:22 +0000 (14:13 +0000)] 
Merged revisions 190861 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r190861 | kpfleming | 2009-04-28 09:12:09 -0500 (Tue, 28 Apr 2009) | 5 lines

  Remove Makefile rules for bison and flex sources

  We never, ever want these files to processed automatically, because we store the output files in Subversion and users should never need to rebuild them.
........

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

16 years agoMerged revisions 190725 via svnmerge from
Kevin P. Fleming [Mon, 27 Apr 2009 19:42:07 +0000 (19:42 +0000)] 
Merged revisions 190725 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r190725 | kpfleming | 2009-04-27 14:30:54 -0500 (Mon, 27 Apr 2009) | 13 lines

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

  ........
    r190721 | kpfleming | 2009-04-27 14:29:46 -0500 (Mon, 27 Apr 2009) | 7 lines

    Fix 'inconsistent line endings' when autoconf 2.63 is used

    Attempt to make configure script regeneration 'safe' using autoconf 2.63, which embeds a bare CR into the script, thus making Subversion complain about inconsistent line endings

    This commit changes the MIME type of the configure script to be 'binary' thus making Subversion no longer inspect line endings, and as a bonus 'svn diff' will no longer try to generate diff output for it, which is not generally useful anyway.
  ........
................

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

16 years agoMerged revisions 190726 via svnmerge from
Tilghman Lesher [Mon, 27 Apr 2009 19:36:15 +0000 (19:36 +0000)] 
Merged revisions 190726 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r190726 | tilghman | 2009-04-27 14:34:48 -0500 (Mon, 27 Apr 2009) | 4 lines

  Don't warn on pipe in the System call.
  (closes issue #14979)
   Reported by: pj
........

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

16 years agoMerged revisions 190663 via svnmerge from
Russell Bryant [Mon, 27 Apr 2009 19:11:10 +0000 (19:11 +0000)] 
Merged revisions 190663 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r190663 | russell | 2009-04-27 14:08:12 -0500 (Mon, 27 Apr 2009) | 22 lines

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

........
r190661 | russell | 2009-04-27 14:00:54 -0500 (Mon, 27 Apr 2009) | 9 lines

Resolve a crash in res_smdi when used with chan_dahdi.

When chan_dahdi goes to get an SMDI message, it provides no search criteria.
It just grabs the next message that arrives.  This code was written with the
SMDI dialplan functions in mind, since that is now the preferred method of
using SMDI.  However, this broke support of it being used from chan_dahdi.

(closes AST-212)

........
r190662 | russell | 2009-04-27 14:03:59 -0500 (Mon, 27 Apr 2009) | 2 lines

Fix a typo from 190661.

........

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

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

16 years agoBlocked revisions 190626 via svnmerge
Mark Michelson [Mon, 27 Apr 2009 16:38:18 +0000 (16:38 +0000)] 
Blocked revisions 190626 via svnmerge

........
  r190626 | mmichelson | 2009-04-27 11:37:51 -0500 (Mon, 27 Apr 2009) | 14 lines

  Allow for a position to be specified when entering a queue.

  This would allow for one to add a caller to a specific place in the
  queue instead of just placing the caller in the back every time. To help
  facilitate some interesting manipulations, a new channel variable called
  QUEUEPOSITION has been added. When a caller is removed from a queue, his
  position in that queue is stored in the QUEUEPOSITION variable. One such
  strategy an administrator can employ is to allow for the removal of a caller
  from one queue followed by the insertion of the same caller into a separate
  queue in the same position.

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

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

16 years agoMerged revisions 190622 via svnmerge from
Mark Michelson [Mon, 27 Apr 2009 16:27:49 +0000 (16:27 +0000)] 
Merged revisions 190622 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r190622 | mmichelson | 2009-04-27 11:26:14 -0500 (Mon, 27 Apr 2009) | 3 lines

  Update warning message to not have pipes and contain all options.
........

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

16 years agoBlocked revisions 190577 via svnmerge
Mark Michelson [Mon, 27 Apr 2009 14:46:46 +0000 (14:46 +0000)] 
Blocked revisions 190577 via svnmerge

........
  r190577 | mmichelson | 2009-04-27 09:46:14 -0500 (Mon, 27 Apr 2009) | 6 lines

  Remove nonexistent option from sip.conf.sample.

  The option to choose which connected line header to
  use is not 'rpid_header' but 'sendrpid'
........

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

16 years agoMerged revisions 190357 via svnmerge from
Russell Bryant [Thu, 23 Apr 2009 21:20:31 +0000 (21:20 +0000)] 
Merged revisions 190357 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r190357 | russell | 2009-04-23 16:13:07 -0500 (Thu, 23 Apr 2009) | 10 lines

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

........
r190356 | russell | 2009-04-23 16:07:07 -0500 (Thu, 23 Apr 2009) | 2 lines

Remove a bogus ast_channel_unlock().

........

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

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

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

........
  r190352 | tilghman | 2009-04-23 15:42:11 -0500 (Thu, 23 Apr 2009) | 7 lines

  Labels are sometimes (most of the time?) NULL for extensions.
  (closes issue #14895)
   Reported by: chris-mac
   Patches:
         20090423__bug14895__2.diff.txt uploaded by tilghman (license 14)
   Tested by: lmadsen
........

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

16 years agoMerged revisions 190287 via svnmerge from
Joshua Colp [Thu, 23 Apr 2009 19:17:36 +0000 (19:17 +0000)] 
Merged revisions 190287 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r190287 | file | 2009-04-23 16:15:30 -0300 (Thu, 23 Apr 2009) | 13 lines

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

  ........
    r190286 | file | 2009-04-23 16:13:18 -0300 (Thu, 23 Apr 2009) | 6 lines

    Fix a bug in chan_local glare hangup detection.

    If both sides of a Local channel were hung up at around the same time it was
    possible for one thread to destroy the local private structure and have the other thread
    immediately try to remove the already freed structure from the local channel list.
  ........
................

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

16 years agoBlocked revisions 190250 via svnmerge
Mark Michelson [Thu, 23 Apr 2009 17:46:42 +0000 (17:46 +0000)] 
Blocked revisions 190250 via svnmerge

........
  r190250 | mmichelson | 2009-04-23 12:45:35 -0500 (Thu, 23 Apr 2009) | 9 lines

  Fix reversed behavior of leavewhenempty option in queues.conf.

  (closes issue #14650)
  Reported by: alecdavis
  Patches:
        14650.patch uploaded by mmichelson (license 60)
  Tested by: mmichelson, lmadsen
........

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

16 years agoMerged revisions 190093 via svnmerge from
Tilghman Lesher [Wed, 22 Apr 2009 21:42:58 +0000 (21:42 +0000)] 
Merged revisions 190093 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r190093 | tilghman | 2009-04-22 16:38:15 -0500 (Wed, 22 Apr 2009) | 14 lines

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

  ........
    r190092 | tilghman | 2009-04-22 16:35:03 -0500 (Wed, 22 Apr 2009) | 7 lines

    Detect availability of pthread_rwlock_timedwrlock() before using it.
    (closes issue #14930)
     Reported by: tilghman
     Patches:
           20090420__bug14930.diff.txt uploaded by tilghman (license 14)
     Tested by: mvanbaak, tilghman
  ........
................

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

16 years agoMerged revisions 190057 via svnmerge from
Jeff Peeler [Wed, 22 Apr 2009 21:18:11 +0000 (21:18 +0000)] 
Merged revisions 190057 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r190057 | jpeeler | 2009-04-22 16:15:55 -0500 (Wed, 22 Apr 2009) | 9 lines

  Fix building of chan_h323 with gcc-3.3

  There seems to be a bug with old versions of g++ that doesn't allow a structure
  member to use the name list. Rename list member to group_list in ast_group_info
  and change the few places it is used.

  (closes issue #14790)
  Reported by: stuarth
........

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

16 years agoMerged revisions 189993 via svnmerge from
Jeff Peeler [Wed, 22 Apr 2009 19:41:10 +0000 (19:41 +0000)] 
Merged revisions 189993 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r189993 | jpeeler | 2009-04-22 14:23:49 -0500 (Wed, 22 Apr 2009) | 18 lines

  Make chan_h323 respect packetization settings

  Previously, packetization settings were ignored and now they are not. A new
  config option 'autoframing' has been added to mirror the way chan_sip handles
  it. Turning on the autoframing option (available both as a global option or per
  peer) overrides the local settings with the remote packetization settings.
  Testing was performed with varying packetization levels with the following
  codecs: ulaw, alaw, gsm, and g729.

  (closes issue #12415)
  Reported by: pj
  Patches:
        2009012200_h323packetization.diff.txt uploaded by mvanbaak (license 7),
        modified by me
........

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

16 years agoMerged revisions 189951 via svnmerge from
Russell Bryant [Wed, 22 Apr 2009 17:59:58 +0000 (17:59 +0000)] 
Merged revisions 189951 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r189951 | russell | 2009-04-22 11:56:43 -0500 (Wed, 22 Apr 2009) | 2 lines

Fix call parking callback.  Pipes -> Commas.

........

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