]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
15 years agoMerged revisions 251884 via svnmerge from
Tilghman Lesher [Thu, 11 Mar 2010 21:08:14 +0000 (21:08 +0000)] 
Merged revisions 251884 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r251884 | tilghman | 2010-03-11 15:07:07 -0600 (Thu, 11 Mar 2010) | 8 lines

  Because ExecIf needs to reprocess arguments, it's best if we don't remove quotes during parsing.

  (closes issue #16905)
   Reported by: ip-rob
   Patches:
         20100303__issue16905.diff.txt uploaded by tilghman (license 14)
   Tested by: ip-rob
........

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

15 years agoMerged revisions 251877 via svnmerge from
Tilghman Lesher [Thu, 11 Mar 2010 20:29:31 +0000 (20:29 +0000)] 
Merged revisions 251877 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r251877 | tilghman | 2010-03-11 14:25:02 -0600 (Thu, 11 Mar 2010) | 8 lines

  If the argument to the system application is quoted, ensure we remove the quotes before trying to execute.

  (closes issue #16842)
   Reported by: ip-rob
   Patches:
         20100310__issue16842.diff.txt uploaded by tilghman (license 14)
   Tested by: ip-rob
........

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

15 years agoBlocked revisions 251679 via svnmerge
Jeff Peeler [Wed, 10 Mar 2010 20:53:55 +0000 (20:53 +0000)] 
Blocked revisions 251679 via svnmerge

........
  r251679 | jpeeler | 2010-03-10 14:51:23 -0600 (Wed, 10 Mar 2010) | 13 lines

  Fix ParkAndAnnounce not respecting parking options.

  The patch ensures that if a peer does not exist, parking settings are read from
  the channel. A unit test has been written to ensure proper operation for both
  standard parking and parking using masquerades.

  (closes issue #16592)
  Reported by: mwyres
  Patches:
        bug_16592.diff uploaded by snuffy (license 35)

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

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

15 years agoMerged revisions 251475 via svnmerge from
Tilghman Lesher [Tue, 9 Mar 2010 20:32:32 +0000 (20:32 +0000)] 
Merged revisions 251475 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r251475 | tilghman | 2010-03-09 14:30:03 -0600 (Tue, 09 Mar 2010) | 8 lines

  Build system modifications to ensure that Asterisk properly builds on Mac OS X 10.6.

  (closes issue #16997)
   Reported by: jquinn
   Patches:
         20100309__issue16997__2.diff.txt uploaded by tilghman (license 14)
   Tested by: tilghman, russell
........

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

15 years agoMerged revisions 251310 via svnmerge from
Leif Madsen [Mon, 8 Mar 2010 18:10:20 +0000 (18:10 +0000)] 
Merged revisions 251310 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r251310 | lmadsen | 2010-03-08 12:08:44 -0600 (Mon, 08 Mar 2010) | 21 lines

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

  ........
    r251309 | lmadsen | 2010-03-08 12:07:44 -0600 (Mon, 08 Mar 2010) | 13 lines

    Fix Debian init script to not use -c.
    When using the init script as-is currently, it could cause issues on Debian
    such as high CPU usage. This fix has worked for several people so I'm
    implementing the change.

    (closes issue #16784)
    Reported by: pabelanger
    Tested by: pabelanger, mnick, davidw, mutineer612

    (closes issue #16887)
    Reported by: jlpedrosa
    Tested by: jlpedrosa, mutineer612
  ........
................

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

15 years agoMerged revisions 250787 via svnmerge from
Jeff Peeler [Fri, 5 Mar 2010 01:07:46 +0000 (01:07 +0000)] 
Merged revisions 250787 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r250787 | jpeeler | 2010-03-04 19:05:46 -0600 (Thu, 04 Mar 2010) | 16 lines

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

  ........
    r250786 | jpeeler | 2010-03-04 19:02:58 -0600 (Thu, 04 Mar 2010) | 9 lines

    Fix not being able to specify a URL in MOH class directory.

    Don't attempt to chdir on a URL!

    (closes issue #16875)
    Reported by: raarts
    Patches:
          moh-http.patch uploaded by raarts (license 937)
  ........
................

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

15 years agoRecorded merge of revisions 250730 via svnmerge from
Mark Michelson [Thu, 4 Mar 2010 20:13:43 +0000 (20:13 +0000)] 
Recorded merge of revisions 250730 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r250730 | mmichelson | 2010-03-04 14:12:26 -0600 (Thu, 04 Mar 2010) | 3 lines

  Adjust XML for func_channel to indicate that rtpdest can take a "text" argument.
........

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

15 years agoMerged revisions 250609 via svnmerge from
Leif Madsen [Wed, 3 Mar 2010 21:27:02 +0000 (21:27 +0000)] 
Merged revisions 250609 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r250609 | lmadsen | 2010-03-03 16:22:55 -0500 (Wed, 03 Mar 2010) | 11 lines

  Update existing Local channel documentation.

  A complete re-write of the Local channel documentation has been performed, with
  the existing information from localchannel.txt and localchannel.tex merged in.

  (closes issue #16637)
  Reported by: kobaz
  Patches:
        localchannel.tex uploaded by lmadsen (license 10)
        localchannel.txt uploaded by lmadsen (license 10)
  Tested by: lmadsen, jsmith, mmichelson
........

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

15 years agoMerged revisions 250481 via svnmerge from
Jeff Peeler [Wed, 3 Mar 2010 19:07:49 +0000 (19:07 +0000)] 
Merged revisions 250481 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r250481 | jpeeler | 2010-03-03 13:06:06 -0600 (Wed, 03 Mar 2010) | 22 lines

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

  ........
    r250480 | jpeeler | 2010-03-03 13:04:11 -0600 (Wed, 03 Mar 2010) | 15 lines

    Make sure to clear red alarm after polarity reversal.

    From the issue:
    The automatic overnight line tests (or manual ones) used on UK (BT) lines causes
    a red alarm on a dahdi / TDM400P connected channel. This is because the line
    uses voltage tests (battery loss) and polarity reversal. The polarity reversal
    causes chan_dahdi to initiate v23 CallerID processing but during this the event
    DAHDI_EVENT_NOALARM is ignored so that the alarm is never cleared.

    (closes issue #14163)
    Reported by: jedi98
    Patches:
          chan_dahdi-1.4-inalarm.diff uploaded by jedi98 (license 653)
    Tested by: mattbrown, Chainsaw, mikeeccleston
  ........
................

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

15 years agoMerged revisions 250395 via svnmerge from
David Vossel [Wed, 3 Mar 2010 18:06:19 +0000 (18:06 +0000)] 
Merged revisions 250395 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r250395 | dvossel | 2010-03-03 12:03:19 -0600 (Wed, 03 Mar 2010) | 22 lines

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

  ........
    r250394 | dvossel | 2010-03-03 12:02:27 -0600 (Wed, 03 Mar 2010) | 16 lines

    fixes problem with duplicate TXREQ packets

    When Asterisk receives an IAX2 TXREQ packet, try_transfer()
    will call store_by_transfercallno() to link the chan_iax2_pvt
    struct into iax_transfercallno_pvts. If a duplicate TXREQ
    packet is received for the same call, the pvt struct will be
    linked into iax_transfercallno_pvts multiple times.  This patch
    fixes this.  Thanks rain for debugging this and providing a patch!

    (closes issue #16904)
    Reported by: rain
    Patches:
          iax2-double-txreq-fix.diff uploaded by rain (license 327)
    Tested by: rain, dvossel
  ........
................

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

15 years agoMerged revisions 250246 via svnmerge from
David Vossel [Wed, 3 Mar 2010 00:22:22 +0000 (00:22 +0000)] 
Merged revisions 250246 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r250246 | dvossel | 2010-03-02 18:18:28 -0600 (Tue, 02 Mar 2010) | 2 lines

  fixes signed to unsigned int comparision issue for FaxMaxDatagram value.
........

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

15 years agoMerged revisions 250051 via svnmerge from
Leif Madsen [Tue, 2 Mar 2010 21:11:52 +0000 (21:11 +0000)] 
Merged revisions 250051 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r250051 | lmadsen | 2010-03-02 16:09:27 -0500 (Tue, 02 Mar 2010) | 8 lines

  Update IMAP documentation.
  Update the IMAP documentation to make it clear that storing voicemails
  in the same folder as a large number of emails could potentially cause
  significant slow downs when writing or retrieving voicemails.

  (issue #16704)
  Reported by: TimeHider
  Tested by: lmadsen, TimeHider
........

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

15 years agoMerged revisions 250045 via svnmerge from
Leif Madsen [Tue, 2 Mar 2010 20:54:53 +0000 (20:54 +0000)] 
Merged revisions 250045 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r250045 | lmadsen | 2010-03-02 15:52:19 -0500 (Tue, 02 Mar 2010) | 15 lines

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

  ........
    r250043 | lmadsen | 2010-03-02 15:51:35 -0500 (Tue, 02 Mar 2010) | 7 lines

    Update documentation to clarify purpose of unanswered option.

    (closes issue #16267)
    Reported by: elsto
    Patches:
          cdr.conf.sample.patch.txt uploaded by lmadsen (license 10)
    Tested by: davidw, elsto
  ........
................

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

15 years agoMerged revisions 250037 via svnmerge from
Leif Madsen [Tue, 2 Mar 2010 20:42:42 +0000 (20:42 +0000)] 
Merged revisions 250037 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r250037 | lmadsen | 2010-03-02 15:36:10 -0500 (Tue, 02 Mar 2010) | 4 lines

  Update documentation to not imply we support overriding options.

  (closes issue #16855)
  Reported by: davidw
........

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

15 years agorevert ability to exit echo app
Alec L Davis [Tue, 2 Mar 2010 19:45:27 +0000 (19:45 +0000)] 
revert ability to exit echo app

caused a regression, as only supported VOICE, not VIDEO etc.

(issue #16880)

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

15 years agoMerged revisions 249893 via svnmerge from
David Vossel [Tue, 2 Mar 2010 19:20:05 +0000 (19:20 +0000)] 
Merged revisions 249893 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r249893 | dvossel | 2010-03-02 13:08:38 -0600 (Tue, 02 Mar 2010) | 11 lines

  fixes adaptive jitterbuffer configuration

  When configuring the adaptive jitterbuffer, the target_extra
  value not only could not be set from the configuration, but was
  not even being set to its proper default.  This value is required
  in order for the adaptive jitterbuffer to work correctly.  To resolve
  this a config option has been added to expose this value to the conf
  files, and a default value is provided when no config specific value
  is present.
........

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

15 years agofixes ability to exit echo app
Alec L Davis [Tue, 2 Mar 2010 09:16:02 +0000 (09:16 +0000)] 
fixes ability to exit echo app

when called from a ISDN channel, null frames prevent '#' exit.
Now only echo back VOICE and DTMF frames

(closes issue #16880)
Reported by: alecdavis
Patches:
      based on echo_exit_1-6-1.diff.txt uploaded by alecdavis (license 585)
Tested by: alecdavis

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

15 years agoMerged revisions 249672 via svnmerge from
Sean Bright [Mon, 1 Mar 2010 19:38:08 +0000 (19:38 +0000)] 
Merged revisions 249672 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r249672 | seanbright | 2010-03-01 14:36:30 -0500 (Mon, 01 Mar 2010) | 18 lines

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

  ........
    r249671 | seanbright | 2010-03-01 14:35:01 -0500 (Mon, 01 Mar 2010) | 11 lines

    Fix crash in app_voicemail related to message counting.

    We were passing a 'struct inprocess **' and treating it like a 'struct inprocess *'
    causing a segfault.

    (closes issue #16921)
    Reported by: whardier
    Patches:
          20100301_issue16921.patch uploaded by seanbright (license 71)
    Tested by: whardier
  ........
................

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

15 years agoMerged revisions 249538 via svnmerge from
Jeff Peeler [Mon, 1 Mar 2010 17:13:16 +0000 (17:13 +0000)] 
Merged revisions 249538 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r249538 | jpeeler | 2010-03-01 11:11:31 -0600 (Mon, 01 Mar 2010) | 18 lines

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

  ........
    r249536 | jpeeler | 2010-03-01 11:02:03 -0600 (Mon, 01 Mar 2010) | 11 lines

    Modify queued frames from local channels to not set the other side to up

    In this case, attended transfers were broken due to ast_feature_request_and_dial
    detecting the channel being set to up before the answer frame could be read and
    therefore failing to mark the channel as ready. This fix is a regression fix for
    244785, which should continue to work properly as well.

    (closes issue #16816)
    Reported by: jamhed
    Tested by: jamhed, corruptor
  ........
................

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

15 years agooverlap receiving: automatically send CALL PROCEEDING when dialplan starts
Alec L Davis [Sat, 27 Feb 2010 23:38:43 +0000 (23:38 +0000)] 
overlap receiving: automatically send CALL PROCEEDING when dialplan starts

Following Q.931 5.2.4
When the user has determined that sufficient call information has been received the
user shall stop T302 and send CALL PROCEEDING to the network.

Previously timeouts were possible if the dialplan took a long time to issue any
response back to the network.

Verified that our local TELCO also does the same.

(issue #16789)
Reported by: alecdavis
Patches:
      overlap_receiving_trunk.diff.txt uploaded by alecdavis (license 585)
Tested by: alecdavis

(closes issue #16789)

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

15 years agoMerged revisions 249235 via svnmerge from
Kevin P. Fleming [Sat, 27 Feb 2010 14:09:15 +0000 (14:09 +0000)] 
Merged revisions 249235 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r249235 | kpfleming | 2010-02-27 09:08:35 -0500 (Sat, 27 Feb 2010) | 9 lines

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

  ........
    r249234 | kpfleming | 2010-02-27 09:07:59 -0500 (Sat, 27 Feb 2010) | 1 line

    add a reference to the now-published IAX2 RFC
  ........
................

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

15 years agoMerged revisions 249101 via svnmerge from
Mark Michelson [Fri, 26 Feb 2010 17:05:22 +0000 (17:05 +0000)] 
Merged revisions 249101 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r249101 | mmichelson | 2010-02-26 11:04:58 -0600 (Fri, 26 Feb 2010) | 14 lines

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

  ........
    r249100 | mmichelson | 2010-02-26 11:04:29 -0600 (Fri, 26 Feb 2010) | 8 lines

    For T.38 reINVITEs treat a 606 the same as a 488.

    (closes issue #16792)
    Reported by: vrban
    Patches:
          t38_606.patch uploaded by vrban (license 756)
  ........
................

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

15 years agoMerged revisions 248952 via svnmerge from
Jeff Peeler [Thu, 25 Feb 2010 23:11:14 +0000 (23:11 +0000)] 
Merged revisions 248952 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r248952 | jpeeler | 2010-02-25 17:09:54 -0600 (Thu, 25 Feb 2010) | 24 lines

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

  ........
    r248860 | jpeeler | 2010-02-25 15:22:06 -0600 (Thu, 25 Feb 2010) | 18 lines

    Ensure that monitor recordings are written to the correct location (again)

    This is an extension to 248757. As such the dialplan test has been extended:

    exten => 5040, 1, monitor(wav,tmp/jeff/monitor_test,b)
    exten => 5040, n, dial(sip/5001)
    exten => 5041, 1, monitor(wav,/tmp/jeff/monitor_test2,b)
    exten => 5041, n, dial(sip/5001)
    exten => 5042, 1, monitor(wav,monitor_test3,b)
    exten => 5042, n, dial(sip/5001)
    exten => 5043, 1, monitor(wav,tmp/jeff/monitor_test3,m)
    exten => 5043, n, changemonitor(monitor_test4)
    exten => 5043, n, dial(sip/5001)
    exten => 5044, 1, monitor(wav,monitor_test4,m)
    exten => 5044, n, changemonitor(tmp/jeff/monitor_test5) ; this looks to fail by design and emits a warning
    exten => 5044, n, dial(sip/5001)
  ........
................

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

15 years agoMerged revisions 248946 via svnmerge from
Mark Michelson [Thu, 25 Feb 2010 22:42:19 +0000 (22:42 +0000)] 
Merged revisions 248946 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r248946 | mmichelson | 2010-02-25 16:41:48 -0600 (Thu, 25 Feb 2010) | 5 lines

  Fix incorrect ACL behavior when CIDR notation of "/0" is used.

  AST-2010-003
........

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

15 years agoMerged revisions 248861 via svnmerge from
Tilghman Lesher [Thu, 25 Feb 2010 21:24:06 +0000 (21:24 +0000)] 
Merged revisions 248861 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r248861 | tilghman | 2010-02-25 15:22:39 -0600 (Thu, 25 Feb 2010) | 22 lines

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

  ........
    r248859 | tilghman | 2010-02-25 15:21:05 -0600 (Thu, 25 Feb 2010) | 15 lines

    Some platforms clear /var/run at boot, which makes connecting a remote console... difficult.

    Previously, we only created the default /var/run/asterisk directory at install
    time.  While we could create it in the init script, that would not work for
    those who start asterisk manually from the command line.  So the safest thing
    to do is to create it as part of the Asterisk boot process.  This also changes
    the ownership of the directory, because the pid and ctl files are created after
    we setuid/setgid.

    (closes issue #16802)
     Reported by: Brian
     Patches:
           20100224__issue16802.diff.txt uploaded by tilghman (license 14)
     Tested by: tzafrir
  ........
................

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

15 years agoMerged revisions 248793 via svnmerge from
Jeff Peeler [Thu, 25 Feb 2010 18:46:09 +0000 (18:46 +0000)] 
Merged revisions 248793 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r248793 | jpeeler | 2010-02-25 12:37:56 -0600 (Thu, 25 Feb 2010) | 22 lines

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

  ........
    r248757 | jpeeler | 2010-02-25 12:06:54 -0600 (Thu, 25 Feb 2010) | 15 lines

    Ensure that monitor recordings are written to the correct location.

    Recordings should be placed in the monitor directory when a non-absolute path
    is used.

    Exact dialplan used for testing:
    exten => 5040, 1, monitor(wav,tmp/jeff/monitor_test,b)
    exten => 5040, n, dial(sip/5001)
    exten => 5041, 1, monitor(wav,/tmp/jeff/monitor_test2,b)
    exten => 5041, n, dial(sip/5001)
    exten => 5042, 1, monitor(wav,monitor_test3,b)
    exten => 5042, n, dial(sip/5001)

    ABE-2101
  ........
................

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

15 years agoMerged revisions 248584 via svnmerge from
Tilghman Lesher [Wed, 24 Feb 2010 21:23:35 +0000 (21:23 +0000)] 
Merged revisions 248584 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r248584 | tilghman | 2010-02-24 15:17:26 -0600 (Wed, 24 Feb 2010) | 14 lines

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

  ........
    r248582 | tilghman | 2010-02-24 15:02:18 -0600 (Wed, 24 Feb 2010) | 7 lines

    Remove color code sequences from verbose messages that go to logfiles.
    (closes issue #16786)
     Reported by: dodo
     Patches:
           logger2.patch uploaded by dodo (license 989)
     Tested by: tilghman
  ........
................

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

15 years agoMerged revisions 248397 via svnmerge from
David Vossel [Tue, 23 Feb 2010 16:51:23 +0000 (16:51 +0000)] 
Merged revisions 248397 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r248397 | dvossel | 2010-02-23 10:34:39 -0600 (Tue, 23 Feb 2010) | 15 lines

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

  ........
    r248396 | dvossel | 2010-02-23 10:26:05 -0600 (Tue, 23 Feb 2010) | 9 lines

    fixes invite with replaces deadlock

    (closes issue #16862)
    Reported by: pwalker
    Patches:
          replaces_deadlock_1.4 uploaded by dvossel (license 671)
    Tested by: pwalker, dvossel
  ........
................

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

15 years agoMerged revisions 228798 via svnmerge from
Tilghman Lesher [Fri, 19 Feb 2010 19:04:57 +0000 (19:04 +0000)] 
Merged revisions 228798 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

(closes issue #16470)
 Reported by: kjotte

........
  r228798 | tilghman | 2009-11-09 01:37:52 -0600 (Mon, 09 Nov 2009) | 14 lines

  Fix various problems detected with Valgrind.
   * chan_console accessed pvts after deallocation.
   * The module loader did not check usecount on shutdown, which led to chan_iax2
   reading a timer that was already unloaded.
  (closes issue #16062)
   Reported by: alexanderheinz
   Patches:
         20091109__issue16062.diff.txt uploaded by tilghman (license 14)
   Tested by: tilghman
........

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

15 years agoRestore generated file from flex source
Tilghman Lesher [Fri, 19 Feb 2010 18:19:25 +0000 (18:19 +0000)] 
Restore generated file from flex source

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

15 years agoMerged revisions 247914 via svnmerge from
Richard Mudgett [Fri, 19 Feb 2010 18:13:24 +0000 (18:13 +0000)] 
Merged revisions 247914 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r247914 | rmudgett | 2010-02-19 11:33:33 -0600 (Fri, 19 Feb 2010) | 62 lines

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

  ................
    r247910 | rmudgett | 2010-02-19 11:18:49 -0600 (Fri, 19 Feb 2010) | 55 lines

    Merged revision 247904 from
    https://origsvn.digium.com/svn/asterisk/be/branches/C.2-...

    ..........
    r247904 | rmudgett | 2010-02-19 10:49:44 -0600 (Fri, 19 Feb 2010) | 49 lines

    Make chan_misdn DTMF processing consistent with other channel technologies.

    The processing of DTMF tones on the receiving side of an ISDN channel is
    inconsistent with the way it is handled in other channels, especially
    DAHDI analog.  This causes DTMF tones sent from an ISDN phone to be
    doubled at the connected party.

    We are using the following 2 options of misdn.conf
    1) astdtmf=yes
    2) senddtmf=yes

    Option one is necessary because the asterisk DSP DTMF detection is better
    than mISDN's internal DSP.  Not as many false positives.

    Option two is necessary to transmit DTMF tones end to end when mISDN
    channels are connected to SIP channels with out of band DTMF for example.

    The symptom is that DTMF tones sent by an ISDN phone are doubled on the
    way through asterisk when two mISDN channels are connected with a Local
    channel in between or if it is bridged to an analog channel.

    The doubling of DTMF tones is because DTMF is passed inband to asterisk by
    the mISDN channel and passed out of band once again after the release of
    the DTMF tone.  Passing it inband is wrong.  Neither an analog channel nor
    SIP channel passes DTMF inband if configured to inband DTMF.  Analog and
    SIP channels filter out the DTMF tones because they use the voice frames
    returned by ast_dsp_process.  But chan_misdn passes the unfiltered input
    voice frames instead.

    To overcome one aspect of the problem, the doubling of DTMF tones when two
    mISDN channels are directly bridged, someone made an 'optimization', where
    in that case the DTMF tone passed out-of-band to the peer channel is not
    translated to an inband tone at the transmit side.  This optimization is
    bad because it does not work in general.  For example, analog channels or
    mISDN channels when bridged through an intermediary local channel will
    generate DTMF tones from out-of-band information.  Also, of course, it
    must not be done when there is no inband DTMF available.

    This patch fixes the issue.  Now chan_misdn will filter the received
    inband DTMF signal the same as other channel types.

    Another change included: No need to build an extra translation path
    because ast_process_dsp does it if required.

    Patches:
     misdn-dtmf.patch

    JIRA ABE-2080
  ................
................

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

15 years agoRestore fwrite() line so ast_expr2f.c can compile.
Richard Mudgett [Fri, 19 Feb 2010 18:07:26 +0000 (18:07 +0000)] 
Restore fwrite() line so ast_expr2f.c can compile.

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

15 years agoBlocked revisions 247915 via svnmerge
David Vossel [Fri, 19 Feb 2010 17:42:33 +0000 (17:42 +0000)] 
Blocked revisions 247915 via svnmerge

........
  r247915 | dvossel | 2010-02-19 11:40:26 -0600 (Fri, 19 Feb 2010) | 7 lines

  handle_request_invite revise comment, fix coding guideline issues

  I'm working with this code right now trying to analyze a deadlock.
  This change is just to clean up a few things before I make a more
  complex patch.
........

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

15 years agoMerged revisions 247841 via svnmerge from
Tilghman Lesher [Thu, 18 Feb 2010 23:15:03 +0000 (23:15 +0000)] 
Merged revisions 247841 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r247841 | tilghman | 2010-02-18 17:13:46 -0600 (Thu, 18 Feb 2010) | 7 lines

  Revert an errant part of a previous cleanup, to fix a memory corruption issue.

  (closes issue #16368)
   Reported by: thirionjwf
   Patches:
         res_speech.c.patch uploaded by thirionjwf (license 955)
........

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

15 years agofixes dialog ref count crash isolated to the 1.6.0 branch
David Vossel [Thu, 18 Feb 2010 22:45:41 +0000 (22:45 +0000)] 
fixes dialog ref count crash isolated to the 1.6.0 branch

(closes issue #16375)
Reported by: kobaz

(closes issue #16796)
Reported by: kobaz

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

15 years agoMerged revisions 247787 via svnmerge from
Tilghman Lesher [Thu, 18 Feb 2010 21:47:07 +0000 (21:47 +0000)] 
Merged revisions 247787 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r247787 | tilghman | 2010-02-18 15:42:53 -0600 (Thu, 18 Feb 2010) | 17 lines

  If the peer record is from realtime, it could be set to 0, due to MySQL not representing NULL well in integer columns.

  NULL means the value is not specified for the column, which normally means
  the driver uses whatever is the default value.  However, on MySQL, placing
  a NULL in either a float or integer column results in a retrieval of the 0
  value.  Hence, users get an errant error on load.  This patch suppresses
  that error and makes the value as if it was not there.

  Note that this cannot be done in the realtime driver, because the lack of
  difference between NULL and 0 can only be intepreted correctly by the
  driver itself.  If we did it in the realtime driver, then it would be
  effectively impossible to set any realtime field to 0, because it would act
  as if the field were unspecified and possibly take on a different value.

  (closes issue #16683)
   Reported by: wdoekes
........

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

15 years agoBlocked revisions 247770 via svnmerge
David Vossel [Thu, 18 Feb 2010 21:26:41 +0000 (21:26 +0000)] 
Blocked revisions 247770 via svnmerge

........
  r247770 | dvossel | 2010-02-18 15:23:48 -0600 (Thu, 18 Feb 2010) | 9 lines

  fixes confbridge crash when no timing module is loaded.

  (closes issue #16471)
  Reported by: kjotte
  Patches:
        M16471.diff uploaded by junky (license 177)
  Tested by: kjotte, junky
........

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

15 years agoBlocked revisions 247736 via svnmerge
David Vossel [Thu, 18 Feb 2010 21:00:55 +0000 (21:00 +0000)] 
Blocked revisions 247736 via svnmerge

........
  r247736 | dvossel | 2010-02-18 14:58:41 -0600 (Thu, 18 Feb 2010) | 7 lines

  fixes Queue with C option crash

  (closes issue #16475)
  Reported by: okrief
  Patches:
        queue_crash.diff uploaded by dvossel (license 671)
........

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

15 years agoMerged revisions 247652 via svnmerge from
Matthew Nicholson [Thu, 18 Feb 2010 19:45:45 +0000 (19:45 +0000)] 
Merged revisions 247652 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r247652 | mnicholson | 2010-02-18 13:39:37 -0600 (Thu, 18 Feb 2010) | 13 lines

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

  ........
    r247651 | mnicholson | 2010-02-18 13:38:09 -0600 (Thu, 18 Feb 2010) | 6 lines

    Copy the calling party's account code to the called party if they don't already have one.

    (closes issue #16331)
    Reported by: bluefox
    Tested by: mnicholson
  ........
................

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

15 years agoMerged revisions 247509 via svnmerge from
Leif Madsen [Thu, 18 Feb 2010 16:56:07 +0000 (16:56 +0000)] 
Merged revisions 247509 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r247509 | lmadsen | 2010-02-18 11:54:43 -0500 (Thu, 18 Feb 2010) | 9 lines

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

  ........
    r247508 | lmadsen | 2010-02-18 11:53:44 -0500 (Thu, 18 Feb 2010) | 1 line

    Add additional link to best practices document per jsmith.
  ........
................

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

15 years agoMerged revisions 247503 via svnmerge from
Leif Madsen [Thu, 18 Feb 2010 16:44:10 +0000 (16:44 +0000)] 
Merged revisions 247503 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r247503 | lmadsen | 2010-02-18 11:41:04 -0500 (Thu, 18 Feb 2010) | 18 lines

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

  ........
    r247502 | lmadsen | 2010-02-18 11:38:17 -0500 (Thu, 18 Feb 2010) | 10 lines

    Add best practices documentation.

    (issue #16808)
    Reported by: lmadsen

    (issue #16810)
    Reported by: Nick_Lewis
    Tested by: lmadsen

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

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

15 years agoMerged revisions 247423 via svnmerge from
Russell Bryant [Thu, 18 Feb 2010 04:20:42 +0000 (04:20 +0000)] 
Merged revisions 247423 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r247423 | russell | 2010-02-17 22:20:11 -0600 (Wed, 17 Feb 2010) | 17 lines

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

  ........
    r247422 | russell | 2010-02-17 22:19:01 -0600 (Wed, 17 Feb 2010) | 10 lines

    Tweak argument handling for wget in the sounds Makefile.

    1) Fix the check to see if we are using wget to not be full of fail.  The
    configure script populates this variable with the absolute path to wget if
    it is found, so it didn't work.

    2) Allow some extra arguments to be passed in for wget.  This is just a simple
    change to allow our Bamboo build script to tell wget to be quiet and not fill
    up our logs with download status output.
  ........
................

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

15 years agoMerged revisions 247335 via svnmerge from
Mark Michelson [Wed, 17 Feb 2010 21:35:29 +0000 (21:35 +0000)] 
Merged revisions 247335 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r247335 | mmichelson | 2010-02-17 15:22:40 -0600 (Wed, 17 Feb 2010) | 20 lines

  Fix two problems in ast_str functions found while writing a unit test.

  1. The documentation for ast_str_set and ast_str_append state that
  the max_len parameter may be -1 in order to limit the size of the
  ast_str to its current allocated size. The problem was that the max_len
  parameter in all cases was a size_t, which is unsigned. Thus a -1 was
  interpreted as UINT_MAX instead of -1. Changing the max_len parameter
  to be ssize_t fixed this issue.

  2. Once issue 1 was fixed, there was an off-by-one error in the case
  where we attempted to write a string larger than the current allotted
  size to a string when -1 was passed as the max_len parameter. When trying
  to write more than the allotted size, the ast_str's __AST_STR_USED was
  set to 1 higher than it should have been. Thanks to Tilghman for quickly
  spotting the offending line of code.

  Oh, and the unit test that I referenced in the top line of this commit
  will be added to reviewboard shortly. Sit tight...
........

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

15 years agoMerged revisions 247169 via svnmerge from
Mark Michelson [Wed, 17 Feb 2010 16:25:21 +0000 (16:25 +0000)] 
Merged revisions 247169 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r247169 | mmichelson | 2010-02-17 10:24:54 -0600 (Wed, 17 Feb 2010) | 9 lines

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

  ........
    r247168 | mmichelson | 2010-02-17 10:24:17 -0600 (Wed, 17 Feb 2010) | 3 lines

    Make sure that when autofill is disabled that callers not in the front of the queue cannot place calls.
  ........
................

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

15 years agoBlocked revisions 247076 via svnmerge
Mark Michelson [Tue, 16 Feb 2010 23:45:32 +0000 (23:45 +0000)] 
Blocked revisions 247076 via svnmerge

........
  r247076 | mmichelson | 2010-02-16 17:44:33 -0600 (Tue, 16 Feb 2010) | 12 lines

  Add va_end calls to __ast_str_helper.

  According to the man page for stdarg(3),
  "Each invocation of va_copy() must be matched by a
  corresponding invocation of va_end() in the same
  function."

  There were several cases in __ast_str_helper where
  va_copy was not matched with a corresponding call
  to va_end.
........

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

15 years agoMerged revisions 246985 via svnmerge from
Mark Michelson [Tue, 16 Feb 2010 21:16:44 +0000 (21:16 +0000)] 
Merged revisions 246985 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r246985 | mmichelson | 2010-02-16 15:15:38 -0600 (Tue, 16 Feb 2010) | 3 lines

  Add some clarifying documentation to the ast_str_set and ast_str_append functions.
........

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

15 years agoMerged revisions 246980 via svnmerge from
David Vossel [Tue, 16 Feb 2010 21:07:48 +0000 (21:07 +0000)] 
Merged revisions 246980 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r246980 | dvossel | 2010-02-16 14:54:48 -0600 (Tue, 16 Feb 2010) | 8 lines

  warning message if openssl support is missing while attempting tls connection

  (closes issue #16673)
  Reported by: michaesc
  Patches:
        tls_error_msg.diff uploaded by dvossel (license 671)
........

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

15 years agoMerged revisions 246899 via svnmerge from
David Vossel [Tue, 16 Feb 2010 17:14:53 +0000 (17:14 +0000)] 
Merged revisions 246899 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r246899 | dvossel | 2010-02-16 11:07:41 -0600 (Tue, 16 Feb 2010) | 16 lines

  fixes sample rate conversion issue with Monitor application

  When using ast_seekstream with the read/write streams of a monitor,
  the number of samples we are seeking must be of the same rate as the
  stream or the jump calculation will be incorrect.  This patch adds logic
  to correctly convert the number of samples to jump to the sample rate
  the read/write stream is using.

  For example, if the call is G722 (16khz) and the read/write stream is
  recording a 8khz wav, seeking 320 samples of 16khz audio is not the
  same as seeking 320 samples of 8khz audio when performing the ast_seekstream
  on the stream.

  ABE-2044
........

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

15 years agoMerged revisions 246710 via svnmerge from
Tilghman Lesher [Mon, 15 Feb 2010 23:44:46 +0000 (23:44 +0000)] 
Merged revisions 246710 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r246710 | tilghman | 2010-02-15 17:43:28 -0600 (Mon, 15 Feb 2010) | 12 lines

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

  ........
    r246709 | tilghman | 2010-02-15 17:42:33 -0600 (Mon, 15 Feb 2010) | 5 lines

    Make the menuselect instructions correct by allowing 'make menuselect' to actually solve dependency problems.

    (Previously, it would fail out again with the same message about running
    'make menuselect', which was NOT at all helpful.)
  ........
................

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

15 years agoMerged revisions 246546 via svnmerge from
David Vossel [Fri, 12 Feb 2010 23:35:06 +0000 (23:35 +0000)] 
Merged revisions 246546 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r246546 | dvossel | 2010-02-12 17:32:33 -0600 (Fri, 12 Feb 2010) | 21 lines

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

  ........
    r246545 | dvossel | 2010-02-12 17:30:17 -0600 (Fri, 12 Feb 2010) | 16 lines

    lock channel during datastore removal

    On channel destruction the channel's datastores are removed and
    destroyed.  Since there are public API calls to find and remove
    datastores on a channel, a lock should be held whenever datastores are
    removed and destroyed.  This resolves a crash caused by a race
    condition in app_chanspy.c.

    (closes issue #16678)
    Reported by: tim_ringenbach
    Patches:
          datastore_destroy_race.diff uploaded by tim ringenbach (license 540)
    Tested by: dvossel
  ........
................

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

15 years agoFix some silly formatting that made my head hurt.
Jason Parker [Fri, 12 Feb 2010 18:57:21 +0000 (18:57 +0000)] 
Fix some silly formatting that made my head hurt.

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

15 years agoMerged revisions 246204 via svnmerge from
Tilghman Lesher [Wed, 10 Feb 2010 21:27:35 +0000 (21:27 +0000)] 
Merged revisions 246204 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r246204 | tilghman | 2010-02-10 15:24:10 -0600 (Wed, 10 Feb 2010) | 2 lines

  Fussy compiler on another machine...
........

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

15 years agoMerged revisions 246200 via svnmerge from
Tilghman Lesher [Wed, 10 Feb 2010 21:20:38 +0000 (21:20 +0000)] 
Merged revisions 246200 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r246200 | tilghman | 2010-02-10 15:19:35 -0600 (Wed, 10 Feb 2010) | 2 lines

  Fix weird issue with unit tests on optimized build - turned out to be a signing issue.
........

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

15 years agoMerged revisions 246116 via svnmerge from
David Vossel [Wed, 10 Feb 2010 17:56:12 +0000 (17:56 +0000)] 
Merged revisions 246116 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r246116 | dvossel | 2010-02-10 11:49:34 -0600 (Wed, 10 Feb 2010) | 14 lines

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

  ........
    r246115 | dvossel | 2010-02-10 11:44:20 -0600 (Wed, 10 Feb 2010) | 8 lines

    fixes random deadlock in app_queue with use_weight during reload

    (closes issue #16677)
    Reported by: tim_ringenbach
    Patches:
          app_queue_use_weight_deadlock.diff uploaded by tim ringenbach (license 540)
  ........
................

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

15 years agoMerged revisions 246070 via svnmerge from
Jeff Peeler [Wed, 10 Feb 2010 16:53:00 +0000 (16:53 +0000)] 
Merged revisions 246070 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r246070 | jpeeler | 2010-02-10 10:47:37 -0600 (Wed, 10 Feb 2010) | 22 lines

  Change channel state on local channels for busy,answer,ring.

  Previously local channels channel state never changed. This became problematic
  when the state of the other side of the local channel was lost, for example
  during a masquerade. Changing the state of the local channel allows for the
  scenario to be detected when the channel state is set to ringing, but the peer
  isn't ringing. The specific problem scenario is described in 164201. Although
  this was noted on one of the issues, here is the tested dialplan verified to
  work:

  exten => 9700,1,Dial(Local/*9700@default&Local/0009700@default)

  exten => *9700,1,Set(GLOBAL(TESTCHAN)=${CHANNEL:0:${MATH(${LEN(${CHANNEL})}-1):0:2}}1)
  exten => *9700,n,wait(3) ;3 works, 1 did not
  exten => *9700,n,Dial(SIP/5001)

  exten => 0009700,1,Wait(1) ;1 works, 3 did not
  exten => 0009700,n,ChannelRedirect(${TESTCHAN},parkedcalls,701,1)

  (closes issue #14992)
  Reported by: davidw
........

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

15 years agoMerged revisions 246022 via svnmerge from
Tilghman Lesher [Wed, 10 Feb 2010 15:38:19 +0000 (15:38 +0000)] 
Merged revisions 246022 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r246022 | tilghman | 2010-02-10 09:36:57 -0600 (Wed, 10 Feb 2010) | 2 lines

  Enable warnings on atypical conditions for the FILTER function (suggested by mmichelson on the -dev list).
........

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

15 years agoMerged revisions 245945 via svnmerge from
Tilghman Lesher [Wed, 10 Feb 2010 14:09:28 +0000 (14:09 +0000)] 
Merged revisions 245945 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r245945 | tilghman | 2010-02-10 08:06:12 -0600 (Wed, 10 Feb 2010) | 9 lines

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

  ........
    r245944 | tilghman | 2010-02-10 07:37:13 -0600 (Wed, 10 Feb 2010) | 2 lines

    Include examples of FILTER usage in extension patterns where a "." may be a risk.
  ........
................

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

15 years agoMerged revisions 245793 via svnmerge from
David Vossel [Tue, 9 Feb 2010 23:14:09 +0000 (23:14 +0000)] 
Merged revisions 245793 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r245793 | dvossel | 2010-02-09 17:07:17 -0600 (Tue, 09 Feb 2010) | 18 lines

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

  ........
    r245792 | dvossel | 2010-02-09 16:55:38 -0600 (Tue, 09 Feb 2010) | 12 lines

    Fixes iaxs and iaxsl size off by one issue.

    2^15 = 32768 which is the maximum allowed iax2 callnumber.
    Creating the iaxs and iaxsl array of size 32768 means the maximum
    callnumber is actually out of bounds.  This causes a nasty crash.

    (closes issue #15997)
    Reported by: exarv
    Patches:
          iax_fix.diff uploaded by dvossel (license 671)
  ........
................

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

15 years agoMerged revisions 245729 via svnmerge from
Tilghman Lesher [Tue, 9 Feb 2010 18:09:16 +0000 (18:09 +0000)] 
Merged revisions 245729 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r245729 | tilghman | 2010-02-09 12:06:30 -0600 (Tue, 09 Feb 2010) | 8 lines

  Ensure frames are only freed once.

  (closes issue #16361)
   Reported by: vlad
   Patches:
         20100208__issue16361.diff.txt uploaded by tilghman (license 14)
   Tested by: kenny, bloodoff, misaksen
........

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

15 years agoMerged revisions 245680 via svnmerge from
Kevin P. Fleming [Tue, 9 Feb 2010 16:25:47 +0000 (16:25 +0000)] 
Merged revisions 245680 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r245680 | kpfleming | 2010-02-09 10:24:52 -0600 (Tue, 09 Feb 2010) | 8 lines

  Don't offer MMR or JBIG transcoding during T.38 negotiation.

  After further discussion with Steve Underwood, we should not (yet) be offering
  to receive MMR or JBIG transcoded streams from T.38 endpoints. A future spandsp
  release will support those features, and then they can be enabled during
  negotiation
........

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

15 years agoStop playing the message number multiple times.
Jason Parker [Mon, 8 Feb 2010 23:51:44 +0000 (23:51 +0000)] 
Stop playing the message number multiple times.

Also remove some accidentally duplicated code, which may have been causing a memleak.
This was caused by a bad merge.

(closes issue #16579)
Reported by: kue
Patches:
      0016525.patch uploaded by hokie21 (license 987)

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

15 years agoMerged revisions 245578 via svnmerge from
Tilghman Lesher [Mon, 8 Feb 2010 22:46:21 +0000 (22:46 +0000)] 
Merged revisions 245578 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r245578 | tilghman | 2010-02-08 16:31:40 -0600 (Mon, 08 Feb 2010) | 12 lines

  Actually use _ASTLDFLAGS in the main/ and channels/ Makefiles.

  They were previously passed correctly, but they simply weren't used.  This
  caused issues with various platforms whose builds needed to pass special
  linker flags via the configure script.

  (closes issue #16596)
   Reported by: pprindeville
   Patches:
         asterisk-1.6-astldflags.patch uploaded by pprindeville (license 347)
   Tested by: tilghman
........

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

15 years agoMerged revisions 245497 via svnmerge from
Jason Parker [Mon, 8 Feb 2010 20:42:00 +0000 (20:42 +0000)] 
Merged revisions 245497 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r245497 | qwell | 2010-02-08 14:41:05 -0600 (Mon, 08 Feb 2010) | 11 lines

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

  ........
    r245496 | qwell | 2010-02-08 14:39:50 -0600 (Mon, 08 Feb 2010) | 4 lines

    Remove reference of documentation in source directory.

    People don't always build Asterisk from source (distro packages, anybody?).
  ........
................

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

15 years agoMerged revisions 245090 via svnmerge from
Jeff Peeler [Fri, 5 Feb 2010 19:26:44 +0000 (19:26 +0000)] 
Merged revisions 245090 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r245090 | jpeeler | 2010-02-05 13:26:22 -0600 (Fri, 05 Feb 2010) | 11 lines

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

  ........
    r245044 | kpfleming | 2010-02-05 12:32:29 -0600 (Fri, 05 Feb 2010) | 5 lines

    Remove contrib/firmware directory as it is empty

    Remove explicit license for IAXy firmware as it is no longer included in the tree
  ........
................

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

15 years agoMerged revisions 244927 via svnmerge from
Sean Bright [Fri, 5 Feb 2010 17:10:11 +0000 (17:10 +0000)] 
Merged revisions 244927 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r244927 | seanbright | 2010-02-05 12:05:32 -0500 (Fri, 05 Feb 2010) | 9 lines

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

  ........
    r244926 | seanbright | 2010-02-05 12:03:35 -0500 (Fri, 05 Feb 2010) | 1 line

    Update main copyright date.
  ........
................

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

15 years agoBlocked revisions 244547 via svnmerge
Mark Michelson [Wed, 3 Feb 2010 19:27:20 +0000 (19:27 +0000)] 
Blocked revisions 244547 via svnmerge

........
  r244547 | mmichelson | 2010-02-03 13:26:53 -0600 (Wed, 03 Feb 2010) | 3 lines

  Initialize counters in ast_sched_report so that resulting data is not bogus.
........

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

15 years agoMerged revisions 244505 via svnmerge from
Tilghman Lesher [Wed, 3 Feb 2010 18:40:49 +0000 (18:40 +0000)] 
Merged revisions 244505 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r244505 | tilghman | 2010-02-03 12:34:29 -0600 (Wed, 03 Feb 2010) | 8 lines

  The chanvar= setting should inherit the entire list of variables, not just the first one.

  (closes issue #16359)
   Reported by: raarts
   Patches:
         dahdi-setvars.diff uploaded by raarts (license 937)
   Tested by: raarts
........

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

15 years agoMerged revisions 244443 via svnmerge from
David Vossel [Tue, 2 Feb 2010 22:32:56 +0000 (22:32 +0000)] 
Merged revisions 244443 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r244443 | dvossel | 2010-02-02 16:27:23 -0600 (Tue, 02 Feb 2010) | 18 lines

  fixes crash during T.38 negotiation caused by invalid or missing FaxMaxDatagram field

  AST-2010-001

  (closes issue #16634)
  Reported by: krn

  (closes issue #16724)
  Reported by: barthpbx

  (closes issue #16517)
  Reported by: bklang

  (closes issue #16485)
  Reported by: elsto
........

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

15 years agoMerged revisions 244331 via svnmerge from
Tilghman Lesher [Tue, 2 Feb 2010 18:59:20 +0000 (18:59 +0000)] 
Merged revisions 244331 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r244331 | tilghman | 2010-02-02 12:54:33 -0600 (Tue, 02 Feb 2010) | 9 lines

  Correct some off-by-one errors, especially when expressions don't contain expected spaces.

  Also include the tests provided by the reporter, as regression tests.

  (closes issue #16667)
   Reported by: wdoekes
   Patches:
         astsvn-func_match-off-by-one.diff uploaded by wdoekes (license 717)
........

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

15 years agoMerged revisions 244243 via svnmerge from
Tilghman Lesher [Mon, 1 Feb 2010 23:30:19 +0000 (23:30 +0000)] 
Merged revisions 244243 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r244243 | tilghman | 2010-02-01 17:16:12 -0600 (Mon, 01 Feb 2010) | 18 lines

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

  ........
    r244242 | tilghman | 2010-02-01 17:13:44 -0600 (Mon, 01 Feb 2010) | 11 lines

    Backup and restore original textfile, for prosthesis (gerund of prepend).

    Also, fix menuselect such that changing voicemail build options correctly
    causes rebuild.

    (closes issue #16415)
     Reported by: tomo1657
     Patches:
           prepention.patch uploaded by tomo1657 (license 484)
           (with modifications by me to backport to 1.4)
  ........
................

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

15 years agoMerged revisions 244071 via svnmerge from
Tilghman Lesher [Mon, 1 Feb 2010 17:59:37 +0000 (17:59 +0000)] 
Merged revisions 244071 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r244071 | tilghman | 2010-02-01 11:53:39 -0600 (Mon, 01 Feb 2010) | 22 lines

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

  ........
    r244070 | tilghman | 2010-02-01 11:46:31 -0600 (Mon, 01 Feb 2010) | 16 lines

    Revert previous chan_local fix (r236981) and fix instead by destroying expired frames in the queue.

    (closes issue #16525)
     Reported by: kobaz
     Patches:
           20100126__issue16525.diff.txt uploaded by tilghman (license 14)
           20100129__issue16525__1.6.0.diff.txt uploaded by tilghman (license 14)
     Tested by: kobaz, atis

    (closes issue #16581)
     Reported by: ZX81

    (closes issue #16681)
     Reported by: alexr1
  ........
................

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

15 years agoEnsure manager hooks are executed when there are no manager sessions.
Jeff Peeler [Thu, 28 Jan 2010 22:50:21 +0000 (22:50 +0000)] 
Ensure manager hooks are executed when there are no manager sessions.

Conditional expanded to check for hooks before aborting manager event
processing. The other two changes are just optimizations.

(closes issue #16455)
Reported by: atis
Patches:
      manager_hooks_16.patch uploaded by atis (license 242)
Tested by: atis

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

15 years agoUpdate location of bug tracker in documentation.
Leif Madsen [Thu, 28 Jan 2010 18:52:55 +0000 (18:52 +0000)] 
Update location of bug tracker in documentation.

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

15 years agoMerged revisions 243780 via svnmerge from
Russell Bryant [Thu, 28 Jan 2010 16:23:50 +0000 (16:23 +0000)] 
Merged revisions 243780 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r243780 | russell | 2010-01-28 09:07:23 -0600 (Thu, 28 Jan 2010) | 9 lines

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

  ........
    r243779 | russell | 2010-01-28 09:03:17 -0600 (Thu, 28 Jan 2010) | 2 lines

    Fix a bogus third argument to ast_copy_string().
  ........
................

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

15 years agoMerged revisions 243693 via svnmerge from
Jeff Peeler [Wed, 27 Jan 2010 20:38:19 +0000 (20:38 +0000)] 
Merged revisions 243693 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r243693 | jpeeler | 2010-01-27 14:37:33 -0600 (Wed, 27 Jan 2010) | 12 lines

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

  ........
    r243691 | jpeeler | 2010-01-27 14:35:56 -0600 (Wed, 27 Jan 2010) | 5 lines

    Revert 243570, I should have looked at this closer. Will reopen the issue, but
    am leaving the review closed as the change was pointless.

    (issue #16488)
  ........
................

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

15 years agoMerged revisions 243571 via svnmerge from
Jeff Peeler [Wed, 27 Jan 2010 18:50:50 +0000 (18:50 +0000)] 
Merged revisions 243571 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r243571 | jpeeler | 2010-01-27 12:49:52 -0600 (Wed, 27 Jan 2010) | 16 lines

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

  ........
    r243570 | jpeeler | 2010-01-27 12:47:34 -0600 (Wed, 27 Jan 2010) | 9 lines

    Extend announcement URL used with Queue from 80 chars to PATH_MAX.

    (closes issue #16488)
    Reported by: syspert
    Patches:
          soundfilelen.pacth-2 uploaded by syspert (license 938)

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

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

15 years agoMerged revisions 243487 via svnmerge from
Mark Michelson [Wed, 27 Jan 2010 18:08:51 +0000 (18:08 +0000)] 
Merged revisions 243487 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r243487 | mmichelson | 2010-01-27 12:08:02 -0600 (Wed, 27 Jan 2010) | 9 lines

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

  ........
    r243486 | mmichelson | 2010-01-27 12:06:43 -0600 (Wed, 27 Jan 2010) | 3 lines

    Use a safe list traversal while checking for duplicate vars in pbx_builtin_setvar_helper.
  ........
................

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

15 years agoMerged revisions 243482 via svnmerge from
Russell Bryant [Wed, 27 Jan 2010 17:35:36 +0000 (17:35 +0000)] 
Merged revisions 243482 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r243482 | russell | 2010-01-27 11:32:07 -0600 (Wed, 27 Jan 2010) | 13 lines

  Fix the ability to specify an OSP token for an outbound IAX2 call.

  When this patch was originally submitted, the code allowed for the token to be
  set via a channel variable.  I decided that a cleaner approach would be to
  integrate it into the CHANNEL() function.  Unfortunately, that is not a suitable
  approach.  It's not possible to get the value set on the channel soon enough
  using that method.  So, go back to the simple channel variable method.

  (closes issue #16711)
  Reported by: homesick
  Patches:
        iax-svn.diff uploaded by homesick (license 91)
........

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

15 years agoMerged revisions 243391 via svnmerge from
David Vossel [Wed, 27 Jan 2010 00:01:32 +0000 (00:01 +0000)] 
Merged revisions 243391 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r243391 | dvossel | 2010-01-26 17:56:57 -0600 (Tue, 26 Jan 2010) | 15 lines

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

  ........
    r243390 | dvossel | 2010-01-26 17:55:49 -0600 (Tue, 26 Jan 2010) | 9 lines

    fixes bug with channel receiving wrong privileges after call parking

    (closes issue #16429)
    Reported by: Yasuhiro Konishi
    Patches:
          features.c.diff uploaded by Yasuhiro Konishi (license 947)
    Tested by: dvossel
  ........
................

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

15 years agoMerged revisions 243266 via svnmerge from
Jeff Peeler [Tue, 26 Jan 2010 18:25:12 +0000 (18:25 +0000)] 
Merged revisions 243266 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r243266 | jpeeler | 2010-01-26 12:20:55 -0600 (Tue, 26 Jan 2010) | 9 lines

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

  ........
    r243258 | jpeeler | 2010-01-26 12:19:10 -0600 (Tue, 26 Jan 2010) | 2 lines

    Remove unnecessary code in ast_read as issue 16058 has been fully solved now.
  ........
................

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

15 years agoBlocked revisions 243244 via svnmerge
Jeff Peeler [Tue, 26 Jan 2010 18:08:47 +0000 (18:08 +0000)] 
Blocked revisions 243244 via svnmerge

........
  r243244 | jpeeler | 2010-01-26 12:07:57 -0600 (Tue, 26 Jan 2010) | 12 lines

  Fix crash resulting from frames with invalid data pointers.

  In ast_frdup the frame data union does not get set to point to malloced memory
  if the datalen is zero, so make sure to handle the same case in ast_frisolate
  appropriately.

  (closes issue #16058)
  Reported by: atis
  Patches:
        bug16058-fix.patch uploaded by jpeeler (license 325)
  Tested by: atis
........

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

15 years agoMerged revisions 239920 via svnmerge from
Tilghman Lesher [Mon, 25 Jan 2010 23:41:38 +0000 (23:41 +0000)] 
Merged revisions 239920 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r239920 | tilghman | 2010-01-13 14:38:42 -0600 (Wed, 13 Jan 2010) | 2 lines

  Flex uses fwrite incorrectly, which breaks the build.  Providing a workaround.
........

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

15 years agoMerged revisions 242967,242971 via svnmerge from
Tilghman Lesher [Mon, 25 Jan 2010 21:53:28 +0000 (21:53 +0000)] 
Merged revisions 242967,242971 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r242967 | tilghman | 2010-01-25 15:38:33 -0600 (Mon, 25 Jan 2010) | 9 lines

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

  ........
    r242966 | tilghman | 2010-01-25 15:36:33 -0600 (Mon, 25 Jan 2010) | 2 lines

    Only rebuild parsers by an option in menuselect
  ........
................
  r242971 | tilghman | 2010-01-25 15:51:41 -0600 (Mon, 25 Jan 2010) | 9 lines

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

  ........
    r242969 | tilghman | 2010-01-25 15:50:22 -0600 (Mon, 25 Jan 2010) | 2 lines

    Err, and use the new menuselect define, too.
  ........
................

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

15 years agoMerged revisions 242904 via svnmerge from
Olle Johansson [Mon, 25 Jan 2010 20:38:40 +0000 (20:38 +0000)] 
Merged revisions 242904 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r242904 | oej | 2010-01-25 21:27:59 +0100 (Mån, 25 Jan 2010) | 10 lines

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

........
r242850 | oej | 2010-01-25 21:03:38 +0100 (Mån, 25 Jan 2010) | 2 lines

Report error when writing to functions returns error in AMI setvar action

........

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

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

15 years agoMerged revisions 242857 via svnmerge from
Tilghman Lesher [Mon, 25 Jan 2010 20:24:11 +0000 (20:24 +0000)] 
Merged revisions 242857 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r242857 | tilghman | 2010-01-25 14:18:15 -0600 (Mon, 25 Jan 2010) | 9 lines

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

  ........
    r242852 | tilghman | 2010-01-25 14:15:45 -0600 (Mon, 25 Jan 2010) | 2 lines

    Restore FreeBSD to able-to-compile-ish-mode
  ........
................

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

15 years agoMerged revisions 242729 via svnmerge from
Tilghman Lesher [Mon, 25 Jan 2010 05:46:38 +0000 (05:46 +0000)] 
Merged revisions 242729 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r242729 | tilghman | 2010-01-24 23:45:00 -0600 (Sun, 24 Jan 2010) | 9 lines

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

  ........
    r242728 | tilghman | 2010-01-24 23:42:22 -0600 (Sun, 24 Jan 2010) | 2 lines

    Buildbot pointed out an error (thanks, buildbot!)
  ........
................

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

15 years agoMerged revisions 242724 via svnmerge from
Tilghman Lesher [Mon, 25 Jan 2010 05:35:19 +0000 (05:35 +0000)] 
Merged revisions 242724 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r242724 | tilghman | 2010-01-24 23:34:33 -0600 (Sun, 24 Jan 2010) | 9 lines

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

  ........
    r242723 | tilghman | 2010-01-24 23:33:37 -0600 (Sun, 24 Jan 2010) | 2 lines

    Oops, should have used CMD_PREFIX, not ECHO_PREFIX, for the commands.
  ........
................

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

15 years agoMerged revisions 242719 via svnmerge from
Tilghman Lesher [Mon, 25 Jan 2010 05:32:52 +0000 (05:32 +0000)] 
Merged revisions 242719 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r242719 | tilghman | 2010-01-24 23:30:33 -0600 (Sun, 24 Jan 2010) | 9 lines

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

  ........
    r242683 | tilghman | 2010-01-24 23:13:28 -0600 (Sun, 24 Jan 2010) | 2 lines

    Make the build of the Asterisk expression parser match that of the AEL parser.
  ........
................

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

15 years agoEnsure that the priority is set to 0 on the astcanary thread.
Kinsey Moore [Sun, 24 Jan 2010 17:12:30 +0000 (17:12 +0000)] 
Ensure that the priority is set to 0 on the astcanary thread.

This was causing asterisk to exit erroneously while polling to ensure that
it had a proper DAHDI timing source.

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

15 years agoMerged revisions 242521 via svnmerge from
Tilghman Lesher [Sun, 24 Jan 2010 06:42:42 +0000 (06:42 +0000)] 
Merged revisions 242521 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r242521 | tilghman | 2010-01-24 00:40:31 -0600 (Sun, 24 Jan 2010) | 15 lines

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

  ........
    r242520 | tilghman | 2010-01-24 00:33:01 -0600 (Sun, 24 Jan 2010) | 8 lines

    Only rebuild bison and flex source files on demand, if bison and flex are detected by the configure script.

    Changed after discussion on the -dev list about possible unnecessary build
    failures, due to checkouts/untars causing these special source files to
    possibly be newer than their resulting C files.  This should additionally
    ensure that nobody need learn about extra Makefile arguments to ensure the
    proper files get rebuilt when changes are made to these special source files.
  ........
................

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

15 years agoBackporting register line parsing from trunk to fix a bad parsing error in 1.6.0.
Tilghman Lesher [Sat, 23 Jan 2010 00:42:09 +0000 (00:42 +0000)] 
Backporting register line parsing from trunk to fix a bad parsing error in 1.6.0.

(closes issue #16491)
 Reported by: jamicque
 Patches:
       20100114__issue16491.diff.txt uploaded by tilghman (license 14)
 Tested by: jamicque

........
  r213098 | tilghman | 2009-08-19 16:05:17 -0500 (Wed, 19 Aug 2009) | 9 lines

  Better parsing for the "register" line
  Allows characters that are otherwise used as delimiters to be used within
  certain fields (like the secret).
  (closes issue #15008, closes issue #15672)
   Reported by: tilghman
   Patches:
         20090818__issue15008.diff.txt uploaded by tilghman (license 14)
   Tested by: lmadsen, tilghman
........
  r213635 | dvossel | 2009-08-21 16:02:50 -0500 (Fri, 21 Aug 2009) | 5 lines

  fixes sip register parsing when user@domain is used

  (issue #15008)
  (issue #15672)
........
  r215222 | tilghman | 2009-09-01 16:19:40 -0500 (Tue, 01 Sep 2009) | 3 lines

  Fix register such that lines with a transport string, but without an authuser, parse correctly.
  (AST-228)
........
  r215801 | tilghman | 2009-09-02 22:43:51 -0500 (Wed, 02 Sep 2009) | 5 lines

  Default the callback extension to "s".  This is a regression.
  (closes issue #15764)
   Reported by: elguero
   Change-type: bugfix
........
  r235132 | dvossel | 2009-12-15 12:43:06 -0600 (Tue, 15 Dec 2009) | 14 lines

  reverse minor sip registration regression

  A registration regression caused by a code tweak in (issue #14331)
  and a bug fix in (issue #15539) caused some sip registration
  config entries to be constructed incorrectly.  Origially
  issue #14331 contained the code tweak as well as a bug fix, but since
  the issue was reported as a tweak the bug fix portion was moved into
  issue #15539.  Both the tweak and the bug fix contained minor incorrect
  logic that resulted in some SIP registrations to fail.

  (issue #14331)
  (issue #15539)
........

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

15 years agoMerged revisions 242424 via svnmerge from
Tilghman Lesher [Fri, 22 Jan 2010 21:46:27 +0000 (21:46 +0000)] 
Merged revisions 242424 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r242424 | tilghman | 2010-01-22 15:45:18 -0600 (Fri, 22 Jan 2010) | 14 lines

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

  ........
    r242423 | tilghman | 2010-01-22 15:44:18 -0600 (Fri, 22 Jan 2010) | 7 lines

    Rebuild from flex, bison sources when necessary.

    (issue #14629)
     Reported by: Marquis
     Patches:
           20100121__issue14629.diff.txt uploaded by tilghman (license 14)
  ........
................

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

15 years agoMerged revisions 242227 via svnmerge from
Olle Johansson [Fri, 22 Jan 2010 09:35:33 +0000 (09:35 +0000)] 
Merged revisions 242227 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r242227 | oej | 2010-01-22 10:28:34 +0100 (Fre, 22 Jan 2010) | 11 lines

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

........
r242226 | oej | 2010-01-22 10:19:30 +0100 (Fre, 22 Jan 2010) | 3 lines

Initialize notify_types to NULL

........

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

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

15 years agoAdd Dialed Number Identifier (DNID) field to cdr.
Alec L Davis [Fri, 22 Jan 2010 01:47:58 +0000 (01:47 +0000)] 
Add Dialed Number Identifier (DNID) field to cdr.

Branch support, retains ABI, if backend CDR collector is adaptive then database
requires 'dnid' field to be added, otherwise no functional changes.

  Reported by: alecdavis
  Tested by: alecdavis
  Patch
 cdr_dnid.diff2.txt uploaded by alecdavis (license 585)

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

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

15 years agoMerged revisions 241938 via svnmerge from
Sean Bright [Thu, 21 Jan 2010 15:31:02 +0000 (15:31 +0000)] 
Merged revisions 241938 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r241938 | seanbright | 2010-01-21 10:27:42 -0500 (Thu, 21 Jan 2010) | 12 lines

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

  ........
    r241932 | seanbright | 2010-01-21 10:25:46 -0500 (Thu, 21 Jan 2010) | 5 lines

    Fix configure check for PTHREAD_ONCE_INIT when manually adding -Wall to CFLAGS.

    (closes issue #16666)
    Reported by: romain_proformatique
  ........
................

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

15 years agoMerged revisions 241766 via svnmerge from
Tilghman Lesher [Thu, 21 Jan 2010 05:55:53 +0000 (05:55 +0000)] 
Merged revisions 241766 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r241766 | tilghman | 2010-01-20 23:54:30 -0600 (Wed, 20 Jan 2010) | 9 lines

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

  ........
    r241765 | tilghman | 2010-01-20 23:53:17 -0600 (Wed, 20 Jan 2010) | 2 lines

    Guard against division by zero.
  ........
................

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

15 years agoMerged revisions 241714 via svnmerge from
David Vossel [Wed, 20 Jan 2010 21:27:56 +0000 (21:27 +0000)] 
Merged revisions 241714 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r241714 | dvossel | 2010-01-20 15:14:47 -0600 (Wed, 20 Jan 2010) | 10 lines

  rtp timestamp to timeval calculation fix

  The rtp timestamp to timeval calculation was only
  accurate for 8kHz audio. This patch corrects this.

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

  SWP-648
........

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

15 years agoMerged revisions 241627 via svnmerge from
David Vossel [Wed, 20 Jan 2010 20:13:37 +0000 (20:13 +0000)] 
Merged revisions 241627 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r241627 | dvossel | 2010-01-20 14:01:07 -0600 (Wed, 20 Jan 2010) | 12 lines

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

  ........
    r241626 | dvossel | 2010-01-20 14:00:04 -0600 (Wed, 20 Jan 2010) | 6 lines

    fixes parsing error in Makefile.

    Some echo lines were missing "; . Thanks to jparker for pointing out
    the problem.
  ........
................

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

15 years agoUpdate CDR variables as pbx starts
Alec L Davis [Wed, 20 Jan 2010 09:37:54 +0000 (09:37 +0000)] 
Update CDR variables as pbx starts

Allows CDR variables added in cdr.c:set_one_cid to become visable during the call,
by executing ast_cdr_update() early in __ast_pbx_run.

Based on cdr_update.diff3.txt

(issue #16638)
Reported by: alecdavis
Patches:
      cdr_update.diff3.txt uploaded by alecdavis (license 585)
Tested by: alecdavis

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

15 years agoMerged revisions 241366 via svnmerge from
Jeff Peeler [Tue, 19 Jan 2010 23:01:02 +0000 (23:01 +0000)] 
Merged revisions 241366 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r241366 | jpeeler | 2010-01-19 16:59:53 -0600 (Tue, 19 Jan 2010) | 13 lines

  Initialize data on the stack so that Park doesn't interpret random arguments.

  passdata was only being set in pbx_substitue_variables when arguments were
  passed.

  (closes issue #16406)
  (closes issue #16586)
  Reported by: DLNoah
  Patches:
        bug16586v2.patch uploaded by jpeeler (license 325)
  Tested by: DLNoah
........

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