Commit Graph

17793 Commits

Author SHA1 Message Date
Russell Bryant
acb28c5edf Merged revisions 209839 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r209839 | russell | 2009-08-01 06:02:07 -0500 (Sat, 01 Aug 2009) | 20 lines
  
  Merged revisions 209838 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r209838 | russell | 2009-08-01 05:59:05 -0500 (Sat, 01 Aug 2009) | 13 lines
    
    Modify how Playtones() is used in Milliwatt() to resolve gain issue.
    
    When Milliwatt() was changed internally to use Playtones() so that the proper
    tone was used, it introduced a drop in gain in the output signal.  So, use
    the playtones API directly and specify a volume argument such that the output
    matches the gain of the original Milliwatt() code.
    
    (closes issue #15386)
    Reported by: rue_mohr
    Patches:
          issue_15386.rev2.diff uploaded by russell (license 2)
    Tested by: rue_mohr
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@209841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-01 11:03:52 +00:00
Russell Bryant
f92b6ba203 Merged revisions 209835 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r209835 | russell | 2009-08-01 05:43:40 -0500 (Sat, 01 Aug 2009) | 6 lines
  
  Fix ast_event_queue_and_cache() to actually do the cache() part.
  
  (closes issue #15624)
  Reported by: ffossard
  Tested by: russell
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@209836 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-01 10:44:37 +00:00
Kevin P. Fleming
13b95231de Merged revisions 209760-209761 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r209760 | kpfleming | 2009-07-31 20:03:07 -0500 (Fri, 31 Jul 2009) | 13 lines
  
  Merged revisions 209759 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r209759 | kpfleming | 2009-07-31 19:52:00 -0500 (Fri, 31 Jul 2009) | 7 lines
    
    Minor changes inspired by testing with latest GCC.
    
    The latest GCC (what will become 4.5.x) has a few new warnings, that in these
    cases found some either downright buggy code, or at least seriously poorly
    designed code that could be improved.
  ........
................
  r209761 | kpfleming | 2009-07-31 20:04:06 -0500 (Fri, 31 Jul 2009) | 1 line
  
  Revert accidental Makefile change.
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@209781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-01 01:25:04 +00:00
Russell Bryant
e36534fd90 Merged revisions 209711 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r209711 | russell | 2009-07-31 16:53:31 -0500 (Fri, 31 Jul 2009) | 2 lines
  
  Fix some places where ast_event_type was used instead of ast_event_ie_type.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@209714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-31 21:58:34 +00:00
Sean Bright
58f7a3e6ed Blocked revisions 209623 via svnmerge
........
  r209623 | seanbright | 2009-07-30 19:37:31 -0400 (Thu, 30 Jul 2009) | 8 lines
  
  Allow passing 'noisy' to configure's --enable-dev-mode argument to turn on verbose builds.
  
  (closes issue #15607)
  Reported by: mvanbaak
  Patches:
        20090730_issue15607.patch uploaded by seanbright (license 71)
  Tested by: seanbright
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@209625 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-30 23:38:49 +00:00
Jeff Peeler
01e458a79b Blocked revisions 209619 via svnmerge
........
  r209619 | jpeeler | 2009-07-30 18:31:41 -0500 (Thu, 30 Jul 2009) | 5 lines
  
  Add missing ifdef-s for service maintenance message functionality
  
  (closes issue #15614)
  Reported by: fabled
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@209621 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-30 23:32:48 +00:00
David Brooks
058028d79b Merged revisions 209554 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r209554 | dbrooks | 2009-07-30 11:07:05 -0500 (Thu, 30 Jul 2009) | 6 lines
  
  Fixes numerous spelling errors. Patch submitted by alecdavis.
  
  (closes issue #15595)
  Reported by: alecdavis
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@209593 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-30 18:46:07 +00:00
Mark Michelson
2eea5e2553 Merged revisions 209516 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r209516 | mmichelson | 2009-07-30 09:38:21 -0500 (Thu, 30 Jul 2009) | 8 lines
  
  Fix a crash that can result if text codecs are allowed but textsupport is disabled.
  
  (closes issue #15596)
  Reported by: fabled
  Patches:
        sip-red.patch uploaded by fabled (license 448)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@209517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-30 14:40:15 +00:00
Tilghman Lesher
8a445eb9f3 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
2009-07-28 00:19:46 +00:00
Kevin P. Fleming
6c92eb90d0 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
2009-07-27 21:44:26 +00:00
Kevin P. Fleming
54ca9d4879 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
2009-07-27 21:22:54 +00:00
Mark Michelson
352c6d8820 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
2009-07-27 20:57:55 +00:00
David Brooks
029963b5c5 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
2009-07-27 20:28:28 +00:00
Mark Michelson
5d701b6c79 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
2009-07-27 20:17:06 +00:00
Mark Michelson
15c964f355 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
2009-07-27 17:57:21 +00:00
Kevin P. Fleming
b4bdbb2949 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
2009-07-27 15:40:10 +00:00
Jeff Peeler
be1c607f5a 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
2009-07-27 01:22:31 +00:00
Michiel van Baak
8995592c46 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
2009-07-26 14:04:26 +00:00
Michiel van Baak
b57c459fe8 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
2009-07-25 12:30:26 +00:00
Michiel van Baak
da12216ca8 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
2009-07-25 12:07:33 +00:00
Jeff Peeler
4a8ebd3dcb 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
2009-07-25 06:25:30 +00:00
Mark Michelson
cbfb4f8a1d 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
2009-07-24 19:40:57 +00:00
Russell Bryant
3ca57ec466 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
2009-07-24 18:52:52 +00:00
Mark Michelson
623e055a28 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
2009-07-24 18:32:25 +00:00
Kevin P. Fleming
72c88bd434 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
2009-07-24 15:05:40 +00:00
Michiel van Baak
6ff2304e03 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
2009-07-24 14:38:36 +00:00
Kevin P. Fleming
51f4a162c7 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
2009-07-23 22:32:17 +00:00
Kevin P. Fleming
f4d55039dc 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
2009-07-23 22:21:57 +00:00
David Brooks
415d2a3153 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
2009-07-23 20:45:41 +00:00
Mark Michelson
4642b45802 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
2009-07-23 19:35:57 +00:00
Jeff Peeler
d49abf44d6 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
2009-07-23 19:24:06 +00:00
Mark Michelson
c8982d075e 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
2009-07-23 16:30:20 +00:00
Jeff Peeler
81bc1e74ba 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
2009-07-23 16:01:03 +00:00
Mark Michelson
b2cd6bc4f3 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
2009-07-23 15:48:10 +00:00
Jeff Peeler
5573649cca 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
2009-07-22 22:47:21 +00:00
Jason Parker
0fcc159e2f 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
2009-07-22 21:45:34 +00:00
Jeff Peeler
dc9966e377 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
2009-07-21 22:53:29 +00:00
Tilghman Lesher
2321ba5580 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
2009-07-21 22:48:53 +00:00
Jeff Peeler
e94bf4e6e8 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
2009-07-21 22:03:30 +00:00
Jeff Peeler
d494d95490 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
2009-07-21 20:29:08 +00:00
Jeff Peeler
1d09cbe4bd 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
2009-07-21 17:12:45 +00:00
Mark Michelson
2c84d8a38a 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
2009-07-21 14:31:32 +00:00
Kevin P. Fleming
cffe0f2476 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
2009-07-21 13:48:38 +00:00
Jeff Peeler
cebf0a71d8 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
2009-07-21 04:45:19 +00:00
Mark Michelson
52bfea4da6 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
2009-07-20 20:02:03 +00:00
Russell Bryant
b9f36fac2e 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
2009-07-20 16:40:10 +00:00
Tilghman Lesher
62ea47ddc8 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
2009-07-18 04:17:53 +00:00
Richard Mudgett
6063455e79 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
2009-07-18 02:09:13 +00:00
Tilghman Lesher
430142e32b 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
2009-07-17 22:30:44 +00:00
Tilghman Lesher
83e2a02a78 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
2009-07-17 22:11:35 +00:00