]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
16 years agoMerged revisions 209317 via svnmerge from
Tilghman Lesher [Tue, 28 Jul 2009 00:19:46 +0000 (00:19 +0000)] 
Merged revisions 209317 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r209317 | tilghman | 2009-07-27 19:14:12 -0500 (Mon, 27 Jul 2009) | 9 lines

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

  ........
    r209315 | tilghman | 2009-07-27 19:12:03 -0500 (Mon, 27 Jul 2009) | 2 lines

    Publish French extra sounds
  ........
................

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

16 years agoMerged revisions 209279 via svnmerge from
Kevin P. Fleming [Mon, 27 Jul 2009 21:44:26 +0000 (21:44 +0000)] 
Merged revisions 209279 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r209279 | kpfleming | 2009-07-27 16:43:36 -0500 (Mon, 27 Jul 2009) | 7 lines

  Cleanup T.38 negotiation changes.

  Convert LOG_NOTICE messages about T.38 negotiation in debug level 1 messages,
  clean up some looping logic, and correct an improper use of ast_free() for
  freeing an ast_frame.
........

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

16 years agoMerged revisions 209256 via svnmerge from
Kevin P. Fleming [Mon, 27 Jul 2009 21:22:54 +0000 (21:22 +0000)] 
Merged revisions 209256 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r209256 | kpfleming | 2009-07-27 16:21:43 -0500 (Mon, 27 Jul 2009) | 10 lines

  Make T.38 switchover in ReceiveFAX synchronous.

  In receive mode, if the channel that ReceiveFAX is running on supports T.38,
  we should *always* attempt to switch T.38, rather than listening for an incoming
  CNG tone and only triggering on that. The channel may be using a low-bitrate
  codec that distorts the CNG tone, the sending FAX endpoint may not send CNG
  at all, or there could be a variety of other reasons that we don't detect it,
  but in all those cases if T.38 is available we certainly want to use it.
........

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

16 years agoMerged revisions 209235 via svnmerge from
Mark Michelson [Mon, 27 Jul 2009 20:57:55 +0000 (20:57 +0000)] 
Merged revisions 209235 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r209235 | mmichelson | 2009-07-27 15:54:54 -0500 (Mon, 27 Jul 2009) | 5 lines

  Gracefully handle malformed RTP text packets.

  AST-2009-004
........

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

16 years agoMerged revisions 209098 via svnmerge from
David Brooks [Mon, 27 Jul 2009 20:28:28 +0000 (20:28 +0000)] 
Merged revisions 209098 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r209098 | dbrooks | 2009-07-27 11:33:50 -0500 (Mon, 27 Jul 2009) | 6 lines

  Fixing typos. Replaces "recieved" with "received" and "initilize" with "initialize"

  (closes issue #15571)
  Reported by: alecdavis
........

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

16 years agoMerged revisions 209197 via svnmerge from
Mark Michelson [Mon, 27 Jul 2009 20:17:06 +0000 (20:17 +0000)] 
Merged revisions 209197 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r209197 | mmichelson | 2009-07-27 15:11:42 -0500 (Mon, 27 Jul 2009) | 9 lines

  Honor channel's music class when using realtime music on hold.

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

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

16 years agoMerged revisions 209132 via svnmerge from
Mark Michelson [Mon, 27 Jul 2009 17:57:21 +0000 (17:57 +0000)] 
Merged revisions 209132 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r209132 | mmichelson | 2009-07-27 12:50:04 -0500 (Mon, 27 Jul 2009) | 24 lines

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

  ........
    r209131 | mmichelson | 2009-07-27 12:44:06 -0500 (Mon, 27 Jul 2009) | 18 lines

    Allow for UDPTL to use only even-numbered ports if desired.

    There are some VoIP providers out there that will not accept SDP
    offers with odd numbered UDPTL ports. While it is my personal opinion
    that these VoIP providers are misinterpreting RFC 2327, it really is
    not a big deal to play along with their silly little games. Of course,
    since restricting UDPTL ports to only even numbers reduces the range
    of available ports by half, so the option to use only even port numbers
    is off by default. A user can enable the behavior by setting
    use_even_ports=yes in udptl.conf.

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

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

16 years agoMerged revisions 209056 via svnmerge from
Kevin P. Fleming [Mon, 27 Jul 2009 15:40:10 +0000 (15:40 +0000)] 
Merged revisions 209056 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r209056 | kpfleming | 2009-07-27 10:38:59 -0500 (Mon, 27 Jul 2009) | 10 lines

  Restore explicit export of ASTCFLAGS/ASTLDFLAGS and underscore-variants to sub-makes.

  During the recent Makefile improvements I made, it seemed the 'make' was
  automatically carrying down the ASTCFLAGS/ASTLDFLAGS settings to sub-makes,
  so I removed the explict export of them. However, there are some circumstances
  where make does this, and some where it does not, so I've brought them back
  to ensure they are always exported. I also removed an extraneous double setting
  of _ASTLDFLAGS on *BSD platforms.
........

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

16 years agoMerged revisions 208924 via svnmerge from
Jeff Peeler [Mon, 27 Jul 2009 01:22:31 +0000 (01:22 +0000)] 
Merged revisions 208924 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r208924 | jpeeler | 2009-07-26 20:20:37 -0500 (Sun, 26 Jul 2009) | 9 lines

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

  ........
    r208923 | jpeeler | 2009-07-26 20:18:31 -0500 (Sun, 26 Jul 2009) | 2 lines

    Fix logic errors from 208746
  ........
................

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

16 years agoMerged revisions 208886 via svnmerge from
Michiel van Baak [Sun, 26 Jul 2009 14:04:26 +0000 (14:04 +0000)] 
Merged revisions 208886 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r208886 | mvanbaak | 2009-07-26 16:00:52 +0200 (Sun, 26 Jul 2009) | 2 lines

  add OpenBSD to the install_prereq script
........

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

16 years agoBlocked revisions 208848 via svnmerge
Michiel van Baak [Sat, 25 Jul 2009 12:30:26 +0000 (12:30 +0000)] 
Blocked revisions 208848 via svnmerge

........
  r208848 | mvanbaak | 2009-07-25 14:28:38 +0200 (Sat, 25 Jul 2009) | 2 lines

  libxml2-dev is needed as well by default.
........

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

16 years agoBlocked revisions 208813 via svnmerge
Michiel van Baak [Sat, 25 Jul 2009 12:07:33 +0000 (12:07 +0000)] 
Blocked revisions 208813 via svnmerge

........
  r208813 | mvanbaak | 2009-07-25 14:03:25 +0200 (Sat, 25 Jul 2009) | 10 lines

  add default alias reload to run module reload.

  Requiring 'module reload' to reload everything, including
  core etc makes russell very unhappy.

  The default configuration already loads the 'friendly' aliases template.
  Added 'reload=module reload' to that template.

  Also removed the comment in main/cli.c that reload should come back.
........

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

16 years agoMerged revisions 208749 via svnmerge from
Jeff Peeler [Sat, 25 Jul 2009 06:25:30 +0000 (06:25 +0000)] 
Merged revisions 208749 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r208749 | jpeeler | 2009-07-25 01:23:18 -0500 (Sat, 25 Jul 2009) | 13 lines

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

  ........
    r208746 | jpeeler | 2009-07-25 01:19:50 -0500 (Sat, 25 Jul 2009) | 7 lines

    Fix compiling under dev-mode with gcc 4.4.0.

    Mostly trivial changes, but I did not know of any other way to fix the
    "dereferencing type-punned pointer will break strict-aliasing rules" error
    without creating a tmp variable in chan_skinny.
  ........
................

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

16 years agoBlocked revisions 208622 via svnmerge
Mark Michelson [Fri, 24 Jul 2009 19:40:57 +0000 (19:40 +0000)] 
Blocked revisions 208622 via svnmerge

........
  r208622 | mmichelson | 2009-07-24 14:24:28 -0500 (Fri, 24 Jul 2009) | 16 lines

  Don't impose an arbitrary limit on member lines in queues.conf

  I know what some of you are thinking: "UGH! Mark, why are you using
  ast_strdup and ast_free for the string when you can just use ast_strdupa
  and let the memory free itself?! Have the bats been chewing on your brain
  again?"

  Based on past experiences, I don't like using ast_strdupa inside a loop.
  It's a good way to potentially exhaust stack space. Also, since this only
  happens when reloading queues, I don't think that heap allocations and
  frees are going to be a huge problem.

  (closes issue #15559)
  Reported by: amorsen
........

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

16 years agoMerged revisions 208593 via svnmerge from
Russell Bryant [Fri, 24 Jul 2009 18:52:52 +0000 (18:52 +0000)] 
Merged revisions 208593 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r208593 | russell | 2009-07-24 13:42:32 -0500 (Fri, 24 Jul 2009) | 14 lines

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

  ........
    r208592 | russell | 2009-07-24 13:38:24 -0500 (Fri, 24 Jul 2009) | 7 lines

    Do not log an ERROR if autoservice_stop() returns -1.

    This does not indicate an error.  A return of -1 just means that the channel
    has been hung up.

    (reported in #asterisk-dev)
  ........
................

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

16 years agoMerged revisions 208588 via svnmerge from
Mark Michelson [Fri, 24 Jul 2009 18:32:25 +0000 (18:32 +0000)] 
Merged revisions 208588 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r208588 | mmichelson | 2009-07-24 13:31:04 -0500 (Fri, 24 Jul 2009) | 16 lines

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

  ........
    r208587 | mmichelson | 2009-07-24 13:26:50 -0500 (Fri, 24 Jul 2009) | 10 lines

    Only send a BYE when hanging up a channel that is up.

    For cases where Asterisk sends an INVITE and receives a non 2XX final
    response, Asterisk would follow the INVITE transaction by immediately
    sending a BYE, which was unnecessary.

    (closes issue #14575)
    Reported by: chris-mac
  ........
................

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

16 years agoMerged revisions 208548 via svnmerge from
Kevin P. Fleming [Fri, 24 Jul 2009 15:05:40 +0000 (15:05 +0000)] 
Merged revisions 208548 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r208548 | kpfleming | 2009-07-24 10:02:53 -0500 (Fri, 24 Jul 2009) | 8 lines

  Resolve a T.38 negotiation issue left over from the udptl-updates merge.

  The udptl-updates branch that was merged yesterday failed to properly send back
  T.38 SDP responses with the correct error correction mode, if the incoming SDP
  from the other end caused us to change error correction modes. This patch
  corrects that situation.
........

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

16 years agoMerged revisions 208542 via svnmerge from
Michiel van Baak [Fri, 24 Jul 2009 14:38:36 +0000 (14:38 +0000)] 
Merged revisions 208542 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r208542 | mvanbaak | 2009-07-24 16:35:49 +0200 (Fri, 24 Jul 2009) | 13 lines

  use aptitude for debian based systems

  The function to check wether we need to install packages was using
  dpkg-query which was gives wrong output on Debian 5

  Also, the apt-get has been replaced with aptitude because aptitude
  is now the preferred way to handle packages on Debian

  (closes issue #15570)
  Reported by: mvanbaak
  Patches:
        2009072400_installprereq-aptitude.diff uploaded by mvanbaak (license 7)
........

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

16 years agoUse correct formatting for T.38 change note in UPGRADE.txt
Kevin P. Fleming [Thu, 23 Jul 2009 22:32:17 +0000 (22:32 +0000)] 
Use correct formatting for T.38 change note in UPGRADE.txt

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

16 years agoMerged revisions 208464 via svnmerge from
Kevin P. Fleming [Thu, 23 Jul 2009 22:21:57 +0000 (22:21 +0000)] 
Merged revisions 208464 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r208464 | kpfleming | 2009-07-23 16:57:24 -0500 (Thu, 23 Jul 2009) | 46 lines

  Rework of T.38 negotiation and UDPTL API to address interoperability problems

  Over the past couple of months, a number of issues with Asterisk
  negotiating (and successfully completing) T.38 sessions with various
  endpoints have been found. This patch attempts to address many of
  them, primarily focused around ensuring that the endpoints'
  MaxDatagram size is honored, and in addition by ensuring that T.38
  session parameter negotiation is performed correctly according to the
  ITU T.38 Recommendation.

  The major changes here are:

  1) T.38 applications in Asterisk (app_fax) only generate/receive IFP
  packets, they do not ever work with UDPTL packets. As a result of
  this, they cannot be allowed to generate packets that would overflow
  the other endpoints' MaxDatagram size after the UDPTL stack adds any
  error correction information. With this patch, the application is told
  the maximum *IFP* size it can generate, based on a calculation using
  the far end MaxDatagram size and the active error correction mode on
  the T.38 session. The same is true for sending *our* MaxDatagram size
  to the remote endpoint; it is computed from the value that the
  application says it can accept (for a single IFP packet) combined with
  the active error correction mode.

  2) All treatment of T.38 session parameters as 'capabilities' in
  chan_sip has been removed; these parameters are not at all like
  audio/video stream capabilities. There are strict rules to follow for
  computing an answer to a T.38 offer, and chan_sip now follows those
  rules, using the desired parameters from the application (or channel)
  that wants to accept the T.38 negotiation.

  3) chan_sip now stores and forwards ast_control_t38_parameters
  structures for tracking 'our' and 'their' T.38 session parameters;
  this greatly simplifies negotiation, especially for pass-through
  calls.

  4) Since T.38 negotiation without specifying parameters or receiving
  the final negotiated parameters is not very worthwhile, the
  AST_CONTROL_T38 control frame has been removed. A note has been added
  to UPGRADE.txt about this removal, since any out-of-tree applications
  that use it will no longer function properly until they are upgraded
  to use AST_CONTROL_T38_PARAMETERS.

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

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

16 years agoJust replacing typos "recieved" with "received".
David Brooks [Thu, 23 Jul 2009 20:45:41 +0000 (20:45 +0000)] 
Just replacing typos "recieved" with "received".

(closes issue #15360)
Reported by: okrief

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

16 years agoMerged revisions 208388 via svnmerge from
Mark Michelson [Thu, 23 Jul 2009 19:35:57 +0000 (19:35 +0000)] 
Merged revisions 208388 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r208388 | mmichelson | 2009-07-23 14:34:49 -0500 (Thu, 23 Jul 2009) | 24 lines

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

  ........
    r208386 | mmichelson | 2009-07-23 14:24:21 -0500 (Thu, 23 Jul 2009) | 17 lines

    Fix a problem where a 491 response could be sent out of dialog.

    This generalizes the fix for issue 13849. The initial fix corrected the
    problem that Asterisk would reply with a 491 if a reinvite were received
    from an endpoint and we had not yet received an ACK from that endpoint
    for the initial INVITE it had sent us. This expansion also allows Asterisk
    to appropriately handle an INVITE with authorization credentials if Asterisk
    had not received an ACK from the previous transaction in which Asterisk had
    responded to an unauthorized INVITE with a 407.

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

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

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

16 years agoMerged revisions 208383 via svnmerge from
Jeff Peeler [Thu, 23 Jul 2009 19:24:06 +0000 (19:24 +0000)] 
Merged revisions 208383 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r208383 | jpeeler | 2009-07-23 14:21:50 -0500 (Thu, 23 Jul 2009) | 12 lines

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

  ........
    r208380 | jpeeler | 2009-07-23 14:19:53 -0500 (Thu, 23 Jul 2009) | 6 lines

    Only set the priindication setting when not performing a reload

    (closes issue #14696)
    Reported by: fdecher
  ........
................

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

16 years agoMerged revisions 208314 via svnmerge from
Mark Michelson [Thu, 23 Jul 2009 16:30:20 +0000 (16:30 +0000)] 
Merged revisions 208314 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r208314 | mmichelson | 2009-07-23 11:29:37 -0500 (Thu, 23 Jul 2009) | 9 lines

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

  ........
    r208312 | mmichelson | 2009-07-23 11:29:18 -0500 (Thu, 23 Jul 2009) | 3 lines

    Remove inaccurate XXX comment.
  ........
................

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

16 years agoBlocked revisions 208267 via svnmerge
Jeff Peeler [Thu, 23 Jul 2009 16:01:03 +0000 (16:01 +0000)] 
Blocked revisions 208267 via svnmerge

........
  r208267 | jpeeler | 2009-07-23 10:59:44 -0500 (Thu, 23 Jul 2009) | 13 lines

  Fix sending of interface identifier unconditionally in sig_pri

  The wrong logic was being used in chan_dahdi to convert a sig_pri_chan
  to the proper libpri channel number. The most significant bit must only
  be set only when trunk groups are being used.

  (closes issue #15452)
  Reported by: alecdavis
  Patches:
        bug15452.patch uploaded by jpeeler (license 325)
  Tested by: alecdavis
........

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

16 years agoMerged revisions 208263 via svnmerge from
Mark Michelson [Thu, 23 Jul 2009 15:48:10 +0000 (15:48 +0000)] 
Merged revisions 208263 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r208263 | mmichelson | 2009-07-23 10:46:34 -0500 (Thu, 23 Jul 2009) | 15 lines

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

  ........
    r208262 | mmichelson | 2009-07-23 10:43:07 -0500 (Thu, 23 Jul 2009) | 8 lines

    Properly handle 183 responses which do not contain an SDP.

    (closes issue #15442)
    Reported by: ffloimair
    Patches:
          15442.patch uploaded by mmichelson (license 60)
    Tested by: tkarl, ffloimair
  ........
................

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

16 years agoBlocked revisions 208155 via svnmerge
Jeff Peeler [Wed, 22 Jul 2009 22:47:21 +0000 (22:47 +0000)] 
Blocked revisions 208155 via svnmerge

........
  r208155 | jpeeler | 2009-07-22 17:42:33 -0500 (Wed, 22 Jul 2009) | 5 lines

  Reset the fax buffers back to default settings regardless of signaling in use -
  Pointed out by Matt F.
  Also in the case of not using a signaling module, set the law back to the
  default as well.
........

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

16 years agoMerged revisions 208113 via svnmerge from
Jason Parker [Wed, 22 Jul 2009 21:45:34 +0000 (21:45 +0000)] 
Merged revisions 208113 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r208113 | qwell | 2009-07-22 16:43:57 -0500 (Wed, 22 Jul 2009) | 9 lines

  Restore an int declaration on PPC platforms.

  This x is one crafty little bugger...
  It was used for 2 different things (one of which was only done on PPC) in 1.4.
  One of the uses were removed in trunk, and with it went the declaration.

  (closes issue #14038)
  Reported by: ffloimair
........

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

16 years agoBlocked revisions 207950 via svnmerge
Jeff Peeler [Tue, 21 Jul 2009 22:53:29 +0000 (22:53 +0000)] 
Blocked revisions 207950 via svnmerge

........
  r207950 | jpeeler | 2009-07-21 17:51:47 -0500 (Tue, 21 Jul 2009) | 7 lines

  Do not dial digits when none were specified for sig_pri based calls

  (closes issue #15524)
  Reported by: elguero
  Patches:
        pri-sig-no-dest-set.patch uploaded by elguero (license 37)
........

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

16 years agoMerged revisions 207946 via svnmerge from
Tilghman Lesher [Tue, 21 Jul 2009 22:48:53 +0000 (22:48 +0000)] 
Merged revisions 207946 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r207946 | tilghman | 2009-07-21 17:45:32 -0500 (Tue, 21 Jul 2009) | 15 lines

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

  ........
    r207945 | tilghman | 2009-07-21 17:38:54 -0500 (Tue, 21 Jul 2009) | 8 lines

    Force an error if a blank is passed to QUOTE (because the documentation states the argument is not optional).
    This change makes URIENCODE and QUOTE behave similarly, since the documentation
    states that the argument is not optional, for both.
    (closes issue #15439)
     Reported by: pkempgen
     Patches:
           20090706__issue15439.diff.txt uploaded by tilghman (license 14)
  ........
................

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

16 years agoBlocked revisions 207902 via svnmerge
Jeff Peeler [Tue, 21 Jul 2009 22:03:30 +0000 (22:03 +0000)] 
Blocked revisions 207902 via svnmerge

........
  r207902 | jpeeler | 2009-07-21 17:02:25 -0500 (Tue, 21 Jul 2009) | 2 lines

  Fix my_is_off_hook to check rxbits only for FXS signaling
........

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

16 years agoMerged revisions 207854 via svnmerge from
Jeff Peeler [Tue, 21 Jul 2009 20:29:08 +0000 (20:29 +0000)] 
Merged revisions 207854 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r207854 | jpeeler | 2009-07-21 15:26:02 -0500 (Tue, 21 Jul 2009) | 16 lines

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

  ........
    r207827 | jpeeler | 2009-07-21 15:16:55 -0500 (Tue, 21 Jul 2009) | 9 lines

    Wait for wink before dialing when using E&M wink signaling

    There was already code for other signaling types in dahdi_handle_event to
    handle dialing if a dial operation dial string was present. Simply add
    SIG_EMWINK to the list.

    (closes issue #14434)
    Reported by: araasch
  ........
................

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

16 years agoRevert r207637, this approach could potentially block for an unacceptable
Jeff Peeler [Tue, 21 Jul 2009 17:12:45 +0000 (17:12 +0000)] 
Revert r207637, this approach could potentially block for an unacceptable
amount of time.

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

16 years agoMerged revisions 207723 via svnmerge from
Mark Michelson [Tue, 21 Jul 2009 14:31:32 +0000 (14:31 +0000)] 
Merged revisions 207723 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r207723 | mmichelson | 2009-07-21 09:29:40 -0500 (Tue, 21 Jul 2009) | 11 lines

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

  ........
    r207714 | mmichelson | 2009-07-21 09:26:00 -0500 (Tue, 21 Jul 2009) | 5 lines

    Document default timeout for AMI originations.

    AST-224
  ........
................

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

16 years agoMerged revisions 207680 via svnmerge from
Kevin P. Fleming [Tue, 21 Jul 2009 13:48:38 +0000 (13:48 +0000)] 
Merged revisions 207680 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r207680 | kpfleming | 2009-07-21 08:28:04 -0500 (Tue, 21 Jul 2009) | 18 lines

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

  ........
    r207647 | kpfleming | 2009-07-21 08:04:44 -0500 (Tue, 21 Jul 2009) | 12 lines

    Ensure that user-provided CFLAGS and LDFLAGS are honored.

    This commit changes the build system so that user-provided flags (in ASTCFLAGS
    and ASTLDFLAGS) are supplied to the compiler/linker *after* all flags provided
    by the build system itself, so that the user can effectively override the
    build system's flags if desired. In addition, ASTCFLAGS and ASTLDFLAGS can now
    be provided *either* in the environment before running 'make', or as variable
    assignments on the 'make' command line. As a result, the use of COPTS and LDOPTS
    is no longer necessary, so they are no longer documented, but are still supported
    so as not to break existing build systems that supply them when building Asterisk.
  ........
................

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

16 years agoWait for wink before dialing when using E&M wink signaling
Jeff Peeler [Tue, 21 Jul 2009 04:45:19 +0000 (04:45 +0000)] 
Wait for wink before dialing when using E&M wink signaling

This patch adds a new dahdi_wait function to specifically wait for the wink
event. If the wink is not eventually received the channel is hung up.

(closes issue #14434)
Reported by: araasch
Patches:
      emwinkmod uploaded by araasch (license 693)

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

16 years agoMerged revisions 207424 via svnmerge from
Mark Michelson [Mon, 20 Jul 2009 20:02:03 +0000 (20:02 +0000)] 
Merged revisions 207424 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r207424 | mmichelson | 2009-07-20 14:48:12 -0500 (Mon, 20 Jul 2009) | 39 lines

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

  ........
    r207423 | mmichelson | 2009-07-20 14:39:59 -0500 (Mon, 20 Jul 2009) | 33 lines

    Answer video SDP offers properly when videosupport is not enabled.

    Copied from Review board:

    In issue 12434, the reporter describes a situation in which audio and video
    is offered on the call, but because videosupport is disabled in sip.conf,
    Asterisk gives no response at all to the video offer. According to RFC 3264,
    all media offers should have a corresponding answer. For offers we do not
    intend to actually reply to with meaningful values, we should still reply
    with the port for the media stream set to 0.

    In this patch, we take note of what types of media have been offered and
    save the information on the sip_pvt. The SDP in the response will take into
    account whether media was offered. If we are not otherwise going to answer
    a media offer, we will insert an appropriate m= line with the port set to 0.

    It is important to note that this patch is pretty much a bandage being
    applied to a broken bone. The patch *only* helps for situations where video
    is offered but videosupport is disabled and when udptl_pt is disabled but
    T.38 is offered. Asterisk is not guaranteed to respond to every media offer.
    Notable cases are when multiple streams of the same type are offered.
    The 2 media stream limit is still present with this patch, too.

    In trunk and the 1.6.X branches, things will be a bit different since Asterisk
    also supports text in SDPs as well.

    (closes issue #12434)
    Reported by: mnnojd

    Review: https://reviewboard.asterisk.org/r/311
    Review: https://reviewboard.asterisk.org/r/313
  ........
................

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

16 years agoMerged revisions 207361 via svnmerge from
Russell Bryant [Mon, 20 Jul 2009 16:40:10 +0000 (16:40 +0000)] 
Merged revisions 207361 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r207361 | russell | 2009-07-20 11:36:15 -0500 (Mon, 20 Jul 2009) | 16 lines

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

  ........
    r207360 | russell | 2009-07-20 11:26:24 -0500 (Mon, 20 Jul 2009) | 9 lines

    Only do the chan->fdno check in ast_read() in a developer build.

    I changed this check to only happen in a dev-mode build.  I also added a
    comment explaining what is going on.  I also made it so that detection of
    this situation does not affect ast_read() operation.

    (closes issue #14723)
    Reported by: seadweller
  ........
................

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

16 years agoRecorded merge of revisions 207317 via svnmerge from
Tilghman Lesher [Sat, 18 Jul 2009 04:17:53 +0000 (04:17 +0000)] 
Recorded merge of revisions 207317 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r207317 | tilghman | 2009-07-17 23:16:44 -0500 (Fri, 17 Jul 2009) | 3 lines

  Flag field in wrong position.
  Reported by "Hoggins!" on asterisk-dev list.
........

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

16 years agoMerged revisions 145293,158010 from
Richard Mudgett [Sat, 18 Jul 2009 02:09:13 +0000 (02:09 +0000)] 
Merged revisions 145293,158010 from
https://origsvn.digium.com/svn/asterisk/branches/1.4
to make merging easier.  These changes are already on trunk.

................
  r145293 | rmudgett | 2008-09-30 18:55:24 -0500 (Tue, 30 Sep 2008) | 54 lines

  channels/chan_misdn.c
  channels/misdn/isdn_lib.c
  *  Miscellaneous other fixes from trunk to make merging easier later.

  ........
  r145200 | rmudgett | 2008-09-30 16:00:54 -0500 (Tue, 30 Sep 2008) | 7 lines

  *  Miscellaneous formatting changes to make v1.4 and trunk
  more merge compatible in the mISDN area.

  channels/chan_misdn.c
  *  Eliminated redundant code in cb_events() EVENT_SETUP

  ........
  r144257 | crichter | 2008-09-24 03:42:55 -0500 (Wed, 24 Sep 2008) | 9 lines

  improved helptext of misdn_set_opt.
  ........
  r142181 | rmudgett | 2008-09-09 12:30:52 -0500 (Tue, 09 Sep 2008) | 1 line

  Cleaned up comment

  ........
  r138738 | rmudgett | 2008-08-18 16:07:28 -0500 (Mon, 18 Aug 2008) | 30 lines

  channels/chan_misdn.c
  *  Made bearer2str() use allowed_bearers_array[]
  *  Made use the causes.h defines instead of hardcoded numbers.
  *  Made use Asterisk presentation indicator values if either of the
  mISDN presentation or screen options are negative.
  *  Updated the misdn_set_opt application option descriptions.
  *  Renamed the awkward Caller ID presentation misdn_set_opt
  application option value not_screened to restricted.
  Deprecated the not_screened option value.

  channels/misdn/isdn_lib.c
  *  Made use the causes.h defines instead of hardcoded numbers.
  *  Fixed some spelling errors and typos.
  *  Added all defined facility code strings to fac2str().

  channels/misdn/isdn_lib.h
  *  Added doxygen comments to struct misdn_bchannel.

  channels/misdn/isdn_lib_intern.h
  *  Added doxygen comments to struct misdn_stack.

  channels/misdn_config.c
  configs/misdn.conf.sample
  *  Updated the mISDN presentation and screen parameter descriptions.

  doc/misdn.txt (doc/tex/misdn.tex)
  *  Updated the misdn_set_opt application option descriptions.
  *  Fixed some spelling errors and typos.
................
  r158010 | rmudgett | 2008-11-19 19:46:09 -0600 (Wed, 19 Nov 2008) | 9 lines

  Merged revision 157977 from
  https://origsvn.digium.com/svn/asterisk/team/group/issue8824

  ........
  Fixes JIRA ABE-1726

  The dial extension could be empty if you are using MISDN_KEYPAD
  to control ISDN provider features.
................

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

16 years agoMerged revisions 207255 via svnmerge from
Tilghman Lesher [Fri, 17 Jul 2009 22:30:44 +0000 (22:30 +0000)] 
Merged revisions 207255 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r207255 | tilghman | 2009-07-17 17:29:50 -0500 (Fri, 17 Jul 2009) | 2 lines

  Add flag here, too (as requested by jsmith)
........

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

16 years agoRecorded merge of revisions 207224 via svnmerge from
Tilghman Lesher [Fri, 17 Jul 2009 22:11:35 +0000 (22:11 +0000)] 
Recorded merge of revisions 207224 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r207224 | tilghman | 2009-07-17 17:04:43 -0500 (Fri, 17 Jul 2009) | 2 lines

  Document the "flag" field in the voicemessages table.
........

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

16 years agoMerged revisions 207156 via svnmerge from
Jeff Peeler [Fri, 17 Jul 2009 19:39:24 +0000 (19:39 +0000)] 
Merged revisions 207156 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r207156 | jpeeler | 2009-07-17 14:37:38 -0500 (Fri, 17 Jul 2009) | 14 lines

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

  ........
    r207155 | jpeeler | 2009-07-17 14:36:19 -0500 (Fri, 17 Jul 2009) | 7 lines

    Fix format specifier to print out an unsigned long long.

    Yep, it's even ifdefed out code. But it made it to the RR list...

    (closes issue #14726)
    Reported by: lmadsen
  ........
................

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

16 years agoMerged revisions 207095 via svnmerge from
Jeff Peeler [Fri, 17 Jul 2009 19:18:14 +0000 (19:18 +0000)] 
Merged revisions 207095 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r207095 | jpeeler | 2009-07-17 14:16:35 -0500 (Fri, 17 Jul 2009) | 2 lines

  Update some missing allowed options for overlapdial
........

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

16 years agoMerged revisions 207029 via svnmerge from
David Vossel [Fri, 17 Jul 2009 17:53:03 +0000 (17:53 +0000)] 
Merged revisions 207029 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r207029 | dvossel | 2009-07-17 12:51:44 -0500 (Fri, 17 Jul 2009) | 6 lines

  sip option flags handled incorrectly

  (closes issue #15376)
  Reported by: Takehiko Ooshima
  Tested by: dvossel, Takehiko_Ooshima
........

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

16 years agoBlocked revisions 206998 via svnmerge
Jeff Peeler [Fri, 17 Jul 2009 17:04:00 +0000 (17:04 +0000)] 
Blocked revisions 206998 via svnmerge

........
  r206998 | jpeeler | 2009-07-17 12:02:44 -0500 (Fri, 17 Jul 2009) | 14 lines

  Fix segfault in sig_analog when using callwaiting, respect callwaiting options

  Sig_analog handles allocating the sub channel for callwaiting, so no longer try
  to do it in chan_dahdi. Modified analog_alloc_sub to only mark the sub as
  allocated upon success of the alloc_sub callback, which was responsible for the
  segfault. Also, the callwaiting and callwaitingcallerid options were being
  unconditionally set to true. Now, the options are properly set from
  chan_dahdi.conf.

  (closes issue #15508)
  Reported by: elguero
  Tested by: elguero
........

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

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

................
  r206939 | dvossel | 2009-07-17 11:13:22 -0500 (Fri, 17 Jul 2009) | 20 lines

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

  ........
    r206938 | dvossel | 2009-07-17 11:05:06 -0500 (Fri, 17 Jul 2009) | 14 lines

    SIP incorrect From: header information when callpres is prohib

    Some ITSP make use of the "Anonymous" display name to detect a
    requirement to withhold caller id across the PSTN. This does
    not work if the display name is "Unknown".

    (closes issue #14465)
    Reported by: Nick_Lewis
    Patches:
          chan_sip.c-callerpres.patch uploaded by Nick (license 657)
          chan_sip.c-callerpres_trunk.patch uploaded by dvossel (license 671)
    Tested by: Nick_Lewis, dvossel
  ........
................

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

16 years agoMerged revisions 206877 via svnmerge from
David Vossel [Thu, 16 Jul 2009 21:46:26 +0000 (21:46 +0000)] 
Merged revisions 206877 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r206877 | dvossel | 2009-07-16 16:45:14 -0500 (Thu, 16 Jul 2009) | 6 lines

  TIMEOUT(absolute) returned negative value.

  (closes issue #15513)
  Reported by: ys
........

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

16 years agoMerged revisions 206873 via svnmerge from
David Vossel [Thu, 16 Jul 2009 21:35:11 +0000 (21:35 +0000)] 
Merged revisions 206873 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r206873 | dvossel | 2009-07-16 16:33:51 -0500 (Thu, 16 Jul 2009) | 12 lines

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

  ........
    r206872 | dvossel | 2009-07-16 16:33:19 -0500 (Thu, 16 Jul 2009) | 6 lines

    error in iax.conf related IP-based access control

    (closes issue #15518)
    Reported by: pkempgen
  ........
................

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

16 years agoMerged revisions 206868 via svnmerge from
David Vossel [Thu, 16 Jul 2009 21:27:17 +0000 (21:27 +0000)] 
Merged revisions 206868 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r206868 | dvossel | 2009-07-16 16:25:22 -0500 (Thu, 16 Jul 2009) | 14 lines

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

  ........
    r206867 | dvossel | 2009-07-16 16:24:16 -0500 (Thu, 16 Jul 2009) | 8 lines

    avoid segfault caused by user error

    If the CALLERPRES() dialplan function is set to nothing,
    a segfault occurs.  This is user error to begin with, but
    I'd rather see a cli warning message than have Asterisk
    crash on me.
  ........
................

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

16 years agoMerged revisions 206808 via svnmerge from
Tilghman Lesher [Thu, 16 Jul 2009 16:53:02 +0000 (16:53 +0000)] 
Merged revisions 206808 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r206808 | tilghman | 2009-07-16 11:51:05 -0500 (Thu, 16 Jul 2009) | 13 lines

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

  ........
    r206807 | tilghman | 2009-07-16 11:27:35 -0500 (Thu, 16 Jul 2009) | 6 lines

    Fix a memory leak.
    (closes issue #15517)
     Reported by: adomjan
     Patches:
           func_realtime.c-ast_variable_destroy.diff uploaded by adomjan (license 487)
  ........
................

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

16 years agoMerged revisions 206768 via svnmerge from
David Vossel [Wed, 15 Jul 2009 22:06:07 +0000 (22:06 +0000)] 
Merged revisions 206768 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r206768 | dvossel | 2009-07-15 17:04:13 -0500 (Wed, 15 Jul 2009) | 8 lines

  Session timer were not activated if Supported header field in INVITE had both "timer" and other options.

  (closes issue #15403)
  Reported by: makoto
  Patches:
        sip-session-timer.patch uploaded by makoto (license
........

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

16 years agoBlocked revisions 206767 via svnmerge
Jeff Peeler [Wed, 15 Jul 2009 22:05:13 +0000 (22:05 +0000)] 
Blocked revisions 206767 via svnmerge

........
  r206767 | jpeeler | 2009-07-15 17:02:55 -0500 (Wed, 15 Jul 2009) | 10 lines

  The dialing flag was mistakingly removed from sig_pri.

  This readds the proper setting of the flag and is really a continuation of
  r205731. The flag was being set properly in sig_analog, but use of the
  newly added set_dialing callback allowed for some simplification in
  chan_dahdi.

  (closes issue #15486)
  Reported by: rmudgett
........

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

16 years agoMerged revisions 206707 via svnmerge from
Richard Mudgett [Wed, 15 Jul 2009 21:40:29 +0000 (21:40 +0000)] 
Merged revisions 206707 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r206707 | rmudgett | 2009-07-15 16:14:41 -0500 (Wed, 15 Jul 2009) | 33 lines

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

  ................
    r206706 | rmudgett | 2009-07-15 15:44:55 -0500 (Wed, 15 Jul 2009) | 26 lines

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

    ..........
      Fixed chan_misdn crash because mISDNuser library is not thread safe.

      With Asterisk the mISDNuser library is driven by two threads concurrently:
      1. channels/misdn/isdn_lib.c::manager_event_handler()
      2. channels/misdn/isdn_lib.c::misdn_lib_isdn_event_catcher()

      Calls into the library are done concurrently and recursively from
      isdn_lib.c.

      Both threads can fiddle with the master/child layer3_proc_t lists.  One
      thread may traverse the list when the other interrupts it and then removes
      the list element which the first thread was currently handling.  This is
      exactly what caused the crash.  About 60 calls were needed to a Gigaset
      CX475 before it occurred once.

      This patch adds locking when calling into the mISDNuser library.
      This also fixes some cb_log calls with wrong port parameter.

      JIRA ABE-1913
          Patches: misdn-locking.patch (Modified with mostly cosmetic changes)
    ..........
  ................
................

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

16 years agoMerged revisions 206702 via svnmerge from
David Vossel [Wed, 15 Jul 2009 20:21:05 +0000 (20:21 +0000)] 
Merged revisions 206702 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r206702 | dvossel | 2009-07-15 15:20:01 -0500 (Wed, 15 Jul 2009) | 10 lines

  callerid(num) is wrong when username is missing

  A domain only sip uri <sip:123.123.123.123> would return
  123.123.123.123 as callid num.  Now, if the username is
  missing from a uri, the callerid num field is left empty.

  (closes issue #15476)
  Reported by: viraptor
........

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

16 years agoMerged revisions 206636 via svnmerge from
Sean Bright [Wed, 15 Jul 2009 16:03:42 +0000 (16:03 +0000)] 
Merged revisions 206636 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r206636 | seanbright | 2009-07-15 12:00:24 -0400 (Wed, 15 Jul 2009) | 9 lines

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

  ........
    r206635 | seanbright | 2009-07-15 11:57:51 -0400 (Wed, 15 Jul 2009) | 1 line

    Only print debug info in codec_dahdi if we are asking for it.
  ........
................

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

16 years agoBlocked revisions 206566 via svnmerge
Jeff Peeler [Tue, 14 Jul 2009 20:36:59 +0000 (20:36 +0000)] 
Blocked revisions 206566 via svnmerge

........
  r206566 | jpeeler | 2009-07-14 15:01:10 -0500 (Tue, 14 Jul 2009) | 8 lines

  Restore some missing functionality to sig_analog.

  The main purpose of this commit is to restore missing functionality present in
  the ss_thread before all the sig related work was done. Two of the biggest
  missing things were distinctive ring detection and cid handling for V23.
  fxsoffhookstate and associated mwi variables have been moved inside sig_analog
  as they were not being set properly as well.
........

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

16 years agoRecorded merge of revisions 206567 via svnmerge from
Tilghman Lesher [Tue, 14 Jul 2009 20:25:34 +0000 (20:25 +0000)] 
Recorded merge of revisions 206567 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r206567 | tilghman | 2009-07-14 15:14:45 -0500 (Tue, 14 Jul 2009) | 6 lines

  Document all meetme realtime fields, and in the process, make some field lengths more consistent.
  (closes issue #15493)
   Reported by: lasko
   Patches:
         meetme.diff uploaded by lasko (license 833)
........

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

16 years agoMerged revisions 206489 via svnmerge from
Richard Mudgett [Tue, 14 Jul 2009 18:32:20 +0000 (18:32 +0000)] 
Merged revisions 206489 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r206489 | rmudgett | 2009-07-14 12:01:48 -0500 (Tue, 14 Jul 2009) | 35 lines

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

  ........
    r206487 | rmudgett | 2009-07-14 11:44:47 -0500 (Tue, 14 Jul 2009) | 28 lines

    Fixes several call transfer issues with chan_misdn.

    *  issue #14355 - Crash if attempt to transfer a call to an application.
    Masquerade the other pair of the four asterisk channels involved in the
    two calls.  The held call already must be a bridged call (not an
    applicaton) or it would have been rejected.

    *  issue #14692 - Held calls are not automatically cleared after transfer.
    Allow the core to initate disconnect of held calls to the ISDN port.  This
    also fixes a similar case where the party on hold hangs up before being
    transferred or taken off hold.

    *  JIRA ABE-1903 - Orphaned held calls left in music-on-hold.
    Do not simply block passing the hangup event on held calls to asterisk
    core.

    *  Fixed to allow held calls to be transferred to ringing calls.
    Previously, held calls could only be transferred to connected calls.
    *  Eliminated unused call states to simplify hangup code.
    *  Eliminated most uses of "holded" because it is not a word.

    (closes issue #14355)
    (closes issue #14692)
    Reported by: sodom
    Patches:
          misdn_xfer_v14_r205839.patch uploaded by rmudgett (license 664)
    Tested by: rmudgett
  ........
................

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

16 years agoMerged revisions 206386 via svnmerge from
Russell Bryant [Tue, 14 Jul 2009 14:56:30 +0000 (14:56 +0000)] 
Merged revisions 206386 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r206386 | russell | 2009-07-14 09:51:44 -0500 (Tue, 14 Jul 2009) | 20 lines

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

  ................
    r206385 | russell | 2009-07-14 09:48:00 -0500 (Tue, 14 Jul 2009) | 13 lines

    Merged revisions 206384 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.2

    ........
      r206384 | russell | 2009-07-14 09:45:47 -0500 (Tue, 14 Jul 2009) | 6 lines

      Ensure apathetic replies are sent out on the proper socket.

      chan_iax2 supports multiple address bindings.  The send_apathetic_reply()
      function did not attempt to send its response on the same socket that the
      incoming message came in on.
    ........
  ................
................

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

16 years agoMerged revisions 206341 via svnmerge from
Richard Mudgett [Tue, 14 Jul 2009 01:35:44 +0000 (01:35 +0000)] 
Merged revisions 206341 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r206341 | rmudgett | 2009-07-13 19:48:59 -0500 (Mon, 13 Jul 2009) | 11 lines

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

  ........
    r206284 | rmudgett | 2009-07-13 19:17:28 -0500 (Mon, 13 Jul 2009) | 4 lines

    Fix some memory leaks in chan_misdn.

    JIRA ABE-1911
  ........
................

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

16 years agoMerged revisions 206280 via svnmerge from
David Vossel [Mon, 13 Jul 2009 23:33:18 +0000 (23:33 +0000)] 
Merged revisions 206280 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r206280 | dvossel | 2009-07-13 18:26:51 -0500 (Mon, 13 Jul 2009) | 9 lines

  dns lookup of peername rather than peer's host in transmit_register()

  (closes issue #15052)
  Reported by: fsantulli
  Patches:
        chan_sip_bug_15052_[20090626204511].patch uploaded by fsantulli (license 818)
  Tested by: fsantulli
........

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

16 years agoMerged revisions 206185 via svnmerge from
Tilghman Lesher [Mon, 13 Jul 2009 16:24:46 +0000 (16:24 +0000)] 
Merged revisions 206185 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r206185 | tilghman | 2009-07-13 11:23:07 -0500 (Mon, 13 Jul 2009) | 2 lines

  Remove reference to non-existent help file
........

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

16 years agoMerged revisions 205985 via svnmerge from
David Vossel [Fri, 10 Jul 2009 21:52:29 +0000 (21:52 +0000)] 
Merged revisions 205985 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r205985 | dvossel | 2009-07-10 16:42:10 -0500 (Fri, 10 Jul 2009) | 16 lines

  SIP register not using peer's outbound proxy

  If callbackextension is defined for a peer it successfully causes
  a registration to occur, but the registration ignores the
  outboundproxy settings for the peer.  This patch allows the
  peer to be passed to obproxy_get() in transmit_register().

  (closes issue #14344)
  Reported by: Nick_Lewis
  Patches:
        callbackextension_peer_trunk.diff uploaded by dvossel (license 671)
  Tested by: dvossel

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

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

16 years agoMerged revisions 205939 via svnmerge from
Kevin P. Fleming [Fri, 10 Jul 2009 18:45:03 +0000 (18:45 +0000)] 
Merged revisions 205939 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r205939 | kpfleming | 2009-07-10 13:44:09 -0500 (Fri, 10 Jul 2009) | 1 line

  Update comments about the level of T.38 support in Asterisk.
........

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

16 years agoMerged revisions 205878 via svnmerge from
Mark Michelson [Fri, 10 Jul 2009 17:50:15 +0000 (17:50 +0000)] 
Merged revisions 205878 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r205878 | mmichelson | 2009-07-10 12:39:57 -0500 (Fri, 10 Jul 2009) | 30 lines

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

  ................
    r205877 | mmichelson | 2009-07-10 12:39:13 -0500 (Fri, 10 Jul 2009) | 23 lines

    Merged revisions 205776 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/trunk

    ................
      r205776 | mmichelson | 2009-07-10 10:56:45 -0500 (Fri, 10 Jul 2009) | 16 lines

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

      ........
        r205775 | mmichelson | 2009-07-10 10:51:36 -0500 (Fri, 10 Jul 2009) | 10 lines

        Ensure that outbound NOTIFY requests are properly routed through stateful proxies.

        With this change, we make note of Record-Route headers present in any SUBSCRIBE
        request that we receive so that our outbound NOTIFY requests will have the proper
        Route headers in them.

        (closes issue #14725)
        Reported by: ibc
      ........
    ................
  ................
................

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

16 years agoMerged revisions 205840 via svnmerge from
David Vossel [Fri, 10 Jul 2009 16:48:06 +0000 (16:48 +0000)] 
Merged revisions 205840 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r205840 | dvossel | 2009-07-10 11:42:04 -0500 (Fri, 10 Jul 2009) | 37 lines

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

  ........
    r205804 | dvossel | 2009-07-10 11:23:59 -0500 (Fri, 10 Jul 2009) | 31 lines

    SIP registration auth loop caused by stale nonce

    If an endpoint sends two registration requests in a very short
    period of time with the same nonce, both receive 401 responses
    from Asterisk, each with a different nonce (the second 401
    containing the current nonce and the first one being stale).
    If the endpoint responds to the first 401, it does not match
    the current nonce so Asterisk sends a third 401 with a newly
    generated nonce (which updates the current nonce)... Now if
    the endpoint responds to the second 401, it does not match the
    current nonce either and Asterisk sends a fourth 401 with a
    newly generated nonce... This loop goes on and on.

    There appears to be a simple fix for this.  If the nonce from
    the request does not match our nonce, but is a good response
    to a previous nonce, instead of sending a 401 with a newly
    generated nonce, use the current one instead.  This breaks
    the loop as the nonce is not updated until a response is
    received. Additional logic has been added to make sure no
    nonce can be responded to twice though.

    (closes issue #15102)
    Reported by: Jamuel
    Patches:
          patch-bug_0015102 uploaded by Jamuel (license 809)
          nonce_sip.diff uploaded by dvossel (license 671)
    Tested by: Jamuel

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

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

16 years agoMerged revisions 205776 via svnmerge from
Mark Michelson [Fri, 10 Jul 2009 15:57:44 +0000 (15:57 +0000)] 
Merged revisions 205776 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r205776 | mmichelson | 2009-07-10 10:56:45 -0500 (Fri, 10 Jul 2009) | 16 lines

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

  ........
    r205775 | mmichelson | 2009-07-10 10:51:36 -0500 (Fri, 10 Jul 2009) | 10 lines

    Ensure that outbound NOTIFY requests are properly routed through stateful proxies.

    With this change, we make note of Record-Route headers present in any SUBSCRIBE
    request that we receive so that our outbound NOTIFY requests will have the proper
    Route headers in them.

    (closes issue #14725)
    Reported by: ibc
  ........
................

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

16 years agoMerged revisions 205770 via svnmerge from
Kevin P. Fleming [Fri, 10 Jul 2009 15:36:20 +0000 (15:36 +0000)] 
Merged revisions 205770 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r205770 | kpfleming | 2009-07-10 10:28:11 -0500 (Fri, 10 Jul 2009) | 12 lines

  Fix some remaining T.38 negotiation problems in app_fax.

  Revision 205696 did not quite fix all the issues with the T.38 negotiation
  changes and app_fax; this patch corrects them, along with a couple of other
  minor issues.

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

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

16 years agoMerged revisions 205728 via svn merge from
Richard Mudgett [Thu, 9 Jul 2009 23:51:50 +0000 (23:51 +0000)] 
Merged revisions 205728 via svn merge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r205728 | rmudgett | 2009-07-09 18:37:53 -0500 (Thu, 09 Jul 2009) | 21 lines

  No audio on calls from Asterisk to various ISDN devices until DTMF sent by caller.

  Add missing clearing of the dialing flag when the ISDN call is CONNECTED.
  (i.e. When libpri generates the event PRI_EVENT_ANSWER.)

  (closes issue #15420)
  Reported by: scottbmilne
  Patches:
        bug15420-1.4.25.1-diff2.txt uploaded by alecdavis (license 585)
  Tested by: scottbmilne, alecdavis

  (closes issue #15416)
  Reported by: avinoash

  (closes issue #15389)
  Reported by: alecdavis

  This patch should also fix the following issue:
  (issue #15205)
  Reported by: vinsik
........

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

16 years agoMerged revisions 205696 via svnmerge from
Kevin P. Fleming [Thu, 9 Jul 2009 21:27:18 +0000 (21:27 +0000)] 
Merged revisions 205696 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r205696 | kpfleming | 2009-07-09 16:20:23 -0500 (Thu, 09 Jul 2009) | 16 lines

  Repair ability of SendFAX/ReceiveFAX to respond to T.38 switchover.

  Recent changes in T.38 negotiation in Asterisk caused these applications to
  not respond when the other endpoint initiated a switchover to T.38; this
  resulted in the T.38 switchover failing, and the FAX attempt to be made
  using an audio connection, instead of T.38 (which would usually cause the
  FAX to fail completely).

  This patch corrects this problem, and the applications will now correctly
  respond to the T.38 switchover request. In addition, the response will include
  the appopriate T.38 session parameters based on what the other end offered
  and what our end is capable of.

  (closes issue #14849)
  Reported by: afosorio
........

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

16 years agoMerged revisions 205600 via svnmerge from
David Vossel [Thu, 9 Jul 2009 16:20:27 +0000 (16:20 +0000)] 
Merged revisions 205600 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r205600 | dvossel | 2009-07-09 11:19:09 -0500 (Thu, 09 Jul 2009) | 9 lines

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

  ........
    r205599 | dvossel | 2009-07-09 11:18:09 -0500 (Thu, 09 Jul 2009) | 2 lines

    Changing ast_samp2tv to not use floating point.
  ........
................

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

16 years agoMerged revisions 205479 via svnmerge from
David Vossel [Thu, 9 Jul 2009 15:47:25 +0000 (15:47 +0000)] 
Merged revisions 205479 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r205479 | dvossel | 2009-07-08 18:19:09 -0500 (Wed, 08 Jul 2009) | 16 lines

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

  ........
    r205471 | dvossel | 2009-07-08 18:15:54 -0500 (Wed, 08 Jul 2009) | 10 lines

    Fixes 8khz assumptions

    Many calculations assume 8khz is the codec rate. This
    is not always the case.  This patch only addresses chan_iax.c
    and res_rtp_asterisk.c, but I am sure there are other areas
    that make this assumption as well.

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

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

16 years agoBlocked revisions 205562 via svnmerge
Michiel van Baak [Thu, 9 Jul 2009 14:12:47 +0000 (14:12 +0000)] 
Blocked revisions 205562 via svnmerge

........
  r205562 | mvanbaak | 2009-07-09 16:10:01 +0200 (Thu, 09 Jul 2009) | 2 lines

  make this compile again under devmode
........

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

16 years agoMerged revisions 205532 via svnmerge from
Michiel van Baak [Thu, 9 Jul 2009 08:33:36 +0000 (08:33 +0000)] 
Merged revisions 205532 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r205532 | mvanbaak | 2009-07-09 10:31:24 +0200 (Thu, 09 Jul 2009) | 5 lines

  pthread_self returns a pthread_t which is not an unsigned int on all
  pthread implementations. Casting it to an unsigned int fixes compiler warnings.

  Tested on OpenBSD and Linux both 32 and 64 bit
........

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

16 years agoMerged revisions 205412 via svnmerge from
David Vossel [Wed, 8 Jul 2009 22:16:18 +0000 (22:16 +0000)] 
Merged revisions 205412 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r205412 | dvossel | 2009-07-08 17:15:06 -0500 (Wed, 08 Jul 2009) | 12 lines

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

  ........
    r205409 | dvossel | 2009-07-08 16:35:12 -0500 (Wed, 08 Jul 2009) | 6 lines

    moving ast_devstate_to_extenstate to pbx.c from devicestate.c

    ast_devstate_to_extenstate belongs in pbx.c.  This change
    fixes a compile time error with chan_vpb as well.
  ........
................

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

16 years agoMerged revisions 205350 via svnmerge from
Mark Michelson [Wed, 8 Jul 2009 19:27:49 +0000 (19:27 +0000)] 
Merged revisions 205350 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r205350 | mmichelson | 2009-07-08 14:26:55 -0500 (Wed, 08 Jul 2009) | 20 lines

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

  ........
    r205349 | mmichelson | 2009-07-08 14:26:13 -0500 (Wed, 08 Jul 2009) | 14 lines

    Prevent phantom calls to queue members.

    If a caller were to hang up while a periodic announcement or position
    were being said, the return value for those functions would incorrectly
    indicate that the caller was still in the queue. With these changes,
    the problem does not occur.

    (closes issue #14631)
    Reported by: latinsud
    Patches:
          queue_announce_ghost_call2.diff uploaded by latinsud (license 745)
       (with small modification from me)
  ........
................

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

16 years agoMerged revisions 205291 via svnmerge from
Jason Parker [Wed, 8 Jul 2009 18:21:10 +0000 (18:21 +0000)] 
Merged revisions 205291 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r205291 | qwell | 2009-07-08 13:19:46 -0500 (Wed, 08 Jul 2009) | 9 lines

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

  ........
    r205288 | qwell | 2009-07-08 13:19:03 -0500 (Wed, 08 Jul 2009) | 1 line

    Update config.guess and config.sub from the savannah.gnu.org git repo.
  ........
................

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

16 years agoMerged revisions 205254 via svnmerge from
David Brooks [Wed, 8 Jul 2009 18:07:53 +0000 (18:07 +0000)] 
Merged revisions 205254 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r205254 | dbrooks | 2009-07-08 12:26:26 -0500 (Wed, 08 Jul 2009) | 8 lines

  Fixes Park() argument handling

  Park() was not respecting the arguments passed to it. Any extension/context/priority
  given to it was being ignored. This patch remedies this.

  (closes issue #15380)
  Reported by: DLNoah
........

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

16 years agooops, fixing build
Tilghman Lesher [Wed, 8 Jul 2009 16:59:49 +0000 (16:59 +0000)] 
oops, fixing build

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

16 years agoMerged revisions 205216 via svnmerge from
David Vossel [Wed, 8 Jul 2009 16:56:13 +0000 (16:56 +0000)] 
Merged revisions 205216 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r205216 | dvossel | 2009-07-08 11:54:24 -0500 (Wed, 08 Jul 2009) | 17 lines

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

  ........
    r205215 | dvossel | 2009-07-08 11:53:40 -0500 (Wed, 08 Jul 2009) | 10 lines

    ast_samp2tv needs floating point for 16khz audio

    In ast_samp2tv(), (1000000 / _rate) = 62.5 when _rate is 16000.
    The .5 is currently stripped off because we don't calculate
    using floating points.  This causes madness with 16khz audio.

    (issue ABE-1899)

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

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

16 years agoMerged revisions 205196 via svnmerge from
Tilghman Lesher [Wed, 8 Jul 2009 16:29:21 +0000 (16:29 +0000)] 
Merged revisions 205196 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r205196 | tilghman | 2009-07-08 11:27:50 -0500 (Wed, 08 Jul 2009) | 9 lines

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

  ........
    r205188 | tilghman | 2009-07-08 11:26:15 -0500 (Wed, 08 Jul 2009) | 2 lines

    Add redirection warnings for the invalid language codes previously removed.
  ........
................

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

16 years agoMerged revisions 205151 via svnmerge from
Russell Bryant [Wed, 8 Jul 2009 15:57:27 +0000 (15:57 +0000)] 
Merged revisions 205151 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r205151 | russell | 2009-07-08 10:56:28 -0500 (Wed, 08 Jul 2009) | 2 lines

  Use tabs instead of spaces for indentation.
........

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

16 years agoMerged revisions 205120 via svnmerge from
Russell Bryant [Wed, 8 Jul 2009 15:29:10 +0000 (15:29 +0000)] 
Merged revisions 205120 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r205120 | russell | 2009-07-08 10:17:19 -0500 (Wed, 08 Jul 2009) | 16 lines

  Move OpenSSL initialization to a single place, make library usage thread-safe.

  While doing some reading about OpenSSL, I noticed a couple of things that
  needed to be improved with our usage of OpenSSL.

  1) We had initialization of the library done in multiple modules.  This has now
     been moved to a core function that gets executed during Asterisk startup.
     We already link OpenSSL into the core for TCP/TLS functionality, so this
     was the most logical place to do it.

  2) OpenSSL is not thread-safe by default.  However, making it thread safe is
     very easy.  We just have to provide a couple of callbacks.  One callback
     returns a thread ID.  The other handles locking.  For more information,
     start with the "Is OpenSSL thread-safe?" question on the FAQ page of
     openssl.org.
........

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

16 years agoMerged revisions 202753 via svnmerge from
Ryan Brindley [Mon, 6 Jul 2009 14:24:54 +0000 (14:24 +0000)] 
Merged revisions 202753 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r202753 | rbrindley | 2009-06-23 16:25:17 -0500 (Tue, 23 Jun 2009) | 9 lines

  If we delete the info, lets also delete the lines

  (closes issue 0014509)
  Reported by: timeshell
  Patches:
        20090504__bug14509.diff.txt uploaded by tilghman (license 14)
  Tested by: awk, timeshell
........

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

16 years agoMerged revisions 204948 via svnmerge from
Kevin P. Fleming [Mon, 6 Jul 2009 13:40:59 +0000 (13:40 +0000)] 
Merged revisions 204948 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r204948 | kpfleming | 2009-07-06 08:38:29 -0500 (Mon, 06 Jul 2009) | 7 lines

  Improve handling of AST_CONTROL_T38 and AST_CONTROL_T38_PARAMETERS for non-T.38-capable channels.

  This change allows applications that request T.38 negotiation on a channel that
  does not support it to get the proper indication that it is not supported, rather
  than thinking that negotiation was started when it was not.
........

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

16 years agoMerged revisions 204835 via svnmerge from
Richard Mudgett [Thu, 2 Jul 2009 22:05:07 +0000 (22:05 +0000)] 
Merged revisions 204835 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r204835 | rmudgett | 2009-07-02 17:01:28 -0500 (Thu, 02 Jul 2009) | 17 lines

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

  ........
    r204834 | rmudgett | 2009-07-02 16:59:43 -0500 (Thu, 02 Jul 2009) | 10 lines

    Removed confusing warning message "Got Busy in Connected State"

    If an incoming mISDN call is answered with the Answer application and a
    subsequent Dial gets a busy endpoint then it is valid for that already
    connected channel to get the busy indication.  Asterisk will play the busy
    tones until the dialplan plays something else or hangs up the call.

    (closes issue #11974)
    Reported by: fvdb
  ........
................

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

16 years agoMerged revisions 204710 via svnmerge from
David Vossel [Thu, 2 Jul 2009 16:28:29 +0000 (16:28 +0000)] 
Merged revisions 204710 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r204710 | dvossel | 2009-07-02 11:03:44 -0500 (Thu, 02 Jul 2009) | 21 lines

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

  ........
    r204681 | dvossel | 2009-07-02 10:05:57 -0500 (Thu, 02 Jul 2009) | 14 lines

    Improved mapping of extension states from combined device states.

    This fixes a few issues with incorrect extension states and adds
    a cli command, core show device2extenstate, to display all possible
    state mappings.

    (closes issue #15413)
    Reported by: legart
    Patches:
          exten_helper.diff uploaded by dvossel (license 671)
    Tested by: dvossel, legart, amilcar

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

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

16 years agoMerged revisions 204563 via svnmerge from
Tilghman Lesher [Tue, 30 Jun 2009 21:30:32 +0000 (21:30 +0000)] 
Merged revisions 204563 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r204563 | tilghman | 2009-06-30 15:41:04 -0500 (Tue, 30 Jun 2009) | 13 lines

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

  ........
    r204556 | tilghman | 2009-06-30 15:23:51 -0500 (Tue, 30 Jun 2009) | 6 lines

    More incorrect language codes, plus ensuring that regionalizations use the specified language, and not English for grammar.
    (closes issue #15022)
     Reported by: greenfieldtech
     Patches:
           20090519__issue15022.diff.txt uploaded by tilghman (license 14)
  ........
................

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

16 years agoMerged revisions 204475 via svnmerge from
Jason Parker [Tue, 30 Jun 2009 18:52:44 +0000 (18:52 +0000)] 
Merged revisions 204475 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r204475 | qwell | 2009-06-30 13:48:35 -0500 (Tue, 30 Jun 2009) | 9 lines

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

  ........
    r204474 | qwell | 2009-06-30 13:47:06 -0500 (Tue, 30 Jun 2009) | 1 line

    Fix ast_say_counted_noun to correctly handle Polish.  Fix a comment typo in passing.
  ........
................

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

16 years agoRecorded merge of revisions 204470 via svnmerge from
Tilghman Lesher [Tue, 30 Jun 2009 18:44:26 +0000 (18:44 +0000)] 
Recorded merge of revisions 204470 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r204470 | tilghman | 2009-06-30 13:36:24 -0500 (Tue, 30 Jun 2009) | 18 lines

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

  ........
    r204469 | tilghman | 2009-06-30 13:23:35 -0500 (Tue, 30 Jun 2009) | 11 lines

    "tw" is the language specification for Twi (from Ghana) not Taiwanese.
    (closes issue #15346)
     Reported by: volivier
     Patches:
           20090617__issue15346__1.4.diff.txt uploaded by tilghman (license 14)
           20090617__issue15346__trunk.diff.txt uploaded by tilghman (license 14)
           20090617__issue15346__1.6.0.diff.txt uploaded by tilghman (license 14)
           20090617__issue15346__1.6.1.diff.txt uploaded by tilghman (license 14)
           20090617__issue15346__1.6.2.diff.txt uploaded by tilghman (license 14)
     Tested by: volivier
  ........
................

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

16 years agoMerged revisions 204301 via svnmerge from
Mark Michelson [Mon, 29 Jun 2009 22:53:22 +0000 (22:53 +0000)] 
Merged revisions 204301 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r204301 | mmichelson | 2009-06-29 17:50:35 -0500 (Mon, 29 Jun 2009) | 15 lines

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

  ........
    r204300 | mmichelson | 2009-06-29 17:45:34 -0500 (Mon, 29 Jun 2009) | 9 lines

    Add error message so that it is clear why a SIP peer was not processed when
    a DNS lookup fails on a host or outboundproxy.

    (closes issue #13432)
    Reported by: p_lindheimer
    Patches:
          outboundproxy.patch uploaded by p (license 558)
  ........
................

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

16 years agoMerged revisions 204247 via svnmerge from
Mark Michelson [Mon, 29 Jun 2009 21:53:23 +0000 (21:53 +0000)] 
Merged revisions 204247 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r204247 | mmichelson | 2009-06-29 16:48:54 -0500 (Mon, 29 Jun 2009) | 32 lines

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

  ........
    r204243 | mmichelson | 2009-06-29 16:23:43 -0500 (Mon, 29 Jun 2009) | 22 lines

    Fix a problem where chan_sip would ignore "old" but valid responses.

    chan_sip has had a problem for quite a long time that would manifest when
    Asterisk would send multiple SIP responses on the same dialog before receiving
    a response. The problem occurred because chan_sip only kept track of the highest
    outgoing sequence number used on the dialog. If Asterisk sent two requests out,
    and a response arrived for the first request sent, then Asterisk would ignore
    the response. The result was that Asterisk would continue retransmitting the
    requests and ignoring the responses until the maximum number of retransmissions
    had been reached.

    The fix here is to rearrange the code a bit so that instead of simply comparing
    the sequence number of the response to our latest outgoing sequence number, we
    walk our list of outstanding packets and determine if there is a match. If there is,
    we continue. If not, then we ignore the response.

    In doing this, I found a few completely useless variables that I have now removed.

    (closes issue #11231)
    Reported by: flefoll

    Review: https://reviewboard.asterisk.org/r/298
  ........
    r204246 | mmichelson | 2009-06-29 16:37:05 -0500 (Mon, 29 Jun 2009) | 3 lines

    Fix build oops.
  ........
................

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

16 years agoBlocked revisions 204013 via svnmerge
Mark Michelson [Mon, 29 Jun 2009 15:07:04 +0000 (15:07 +0000)] 
Blocked revisions 204013 via svnmerge

................
  r204013 | mmichelson | 2009-06-29 10:04:39 -0500 (Mon, 29 Jun 2009) | 11 lines

  Blocked revisions 204012 via svnmerge

  ........
    r204012 | mmichelson | 2009-06-29 10:04:17 -0500 (Mon, 29 Jun 2009) | 6 lines

    Place unlock of mutex in an else block so that it does not get unlocked twice.

    (closes issue #15400)
    Reported by: aragon
  ........
................

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

16 years agoMerged revisions 203909 via svnmerge from
Richard Mudgett [Sat, 27 Jun 2009 01:18:48 +0000 (01:18 +0000)] 
Merged revisions 203909 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r203909 | rmudgett | 2009-06-26 20:07:52 -0500 (Fri, 26 Jun 2009) | 23 lines

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

  ........
    r203908 | rmudgett | 2009-06-26 19:55:12 -0500 (Fri, 26 Jun 2009) | 16 lines

    The ISDN CPE side should not exclusively pick B channels normally.

    Before this patch, Asterisk unconditionally picked B channels exclusively
    on the CPE side and normally allowed alternative B channels on the network
    side.  Now Asterisk does the opposite.

    Reasons for the CPE side to normally not pick B channels exclusively:
    *  For CPE point-to-multipoint mode (i.e. phone side), the CPE side does
    not have enough information to exclusively pick B channels.  (There may be
    other devices on the line.)
    *  Q.931 gives preference to the network side picking B channels.
    *  Some telcos require the CPE side to not pick B channels exclusively.

    (closes issue #14383)
    Reported by: mbrancaleoni
  ........
................

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

16 years agoMerged revisions 203853 via svnmerge from
Jeff Peeler [Fri, 26 Jun 2009 22:13:37 +0000 (22:13 +0000)] 
Merged revisions 203853 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r203853 | jpeeler | 2009-06-26 17:11:31 -0500 (Fri, 26 Jun 2009) | 12 lines

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

  ........
    r203848 | jpeeler | 2009-06-26 17:09:19 -0500 (Fri, 26 Jun 2009) | 5 lines

    Make sure to recreate the dahdi pseudo channel after dahdi restart

    (closes issue #14477)
    Reported by: timking
  ........
................

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

16 years agoMerged revisions 203802 via svnmerge from
Russell Bryant [Fri, 26 Jun 2009 21:26:50 +0000 (21:26 +0000)] 
Merged revisions 203802 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r203802 | russell | 2009-06-26 16:21:48 -0500 (Fri, 26 Jun 2009) | 22 lines

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

  ........
    r203785 | russell | 2009-06-26 16:16:39 -0500 (Fri, 26 Jun 2009) | 15 lines

    Don't fast forward past the end of a message.

    This is nice change for users of the voicemail application.  If someone gets a
    little carried away with fast forwarding through a message, they can easily
    get to the end and accidentally exit the voicemail application by hitting the
    fast forward key during the following prompt.

    This adds some safety by not allowing a fast forward past the end of a message.

    (closes issue #14554)
    Reported by: lacoursj
    Patches:
          21761.patch uploaded by lacoursj (license 707)
    Tested by: lacoursj
  ........
................

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

16 years agoMerged revisions 203779 via svnmerge from
Russell Bryant [Fri, 26 Jun 2009 20:48:29 +0000 (20:48 +0000)] 
Merged revisions 203779 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r203779 | russell | 2009-06-26 15:45:00 -0500 (Fri, 26 Jun 2009) | 5 lines

  Ensure the TCP read buffer is fully initialized before handling each packet.

  (closes issue #14452)
  Reported by: umberto71
........

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

16 years agoMerged revisions 203721 via svnmerge from
David Brooks [Fri, 26 Jun 2009 20:18:11 +0000 (20:18 +0000)] 
Merged revisions 203721 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r203721 | dbrooks | 2009-06-26 15:13:51 -0500 (Fri, 26 Jun 2009) | 16 lines

  Fixing voicemail's error in checking max silence vs min message length

  Max silence was represented in milliseconds, yet vmminsecs (minmessage) was represented
  as seconds.

  Also, the inequality was reversed. The warning, if triggered, was "Max silence should
  be less than minmessage or you may get empty messages", which should have been logged
  if max silence was greater than minmessage, but the check was for less than.

  Also, conforming if statement to coding guidelines.

  closes issue #15331)
  Reported by: markd

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

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

16 years agoreverse whitespace change 203713 that was based on looking at sig_analog (which has...
Jeff Peeler [Fri, 26 Jun 2009 19:56:00 +0000 (19:56 +0000)] 
reverse whitespace change 203713 that was based on looking at sig_analog (which has about a 1000 line indentation change that is not worth doing here)

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