Commit Graph

2370 Commits

Author SHA1 Message Date
Kevin P. Fleming
f820a30e22 Merged revisions 221592 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r221592 | kpfleming | 2009-10-01 11:16:09 -0500 (Thu, 01 Oct 2009) | 12 lines
  
  Remove ability to control T.38 FAX error correction from udptl.conf.
  
  chan_sip has had the ability to control T.38 FAX error correction mode on a per-peer
  (or global) basis for a couple of releases now, which is where it should have been
  all along. This patch removes the ability to configure it in udptl.conf, but issues
  a warning if the user tries to do, telling them to look at sip.conf.sample for how
  to configure it now. For any SIP peers that are T.38 enabled in sip.conf, there is
  already a default for FEC error correction even if the user does not specify any mode,
  so this change will not turn off error correction by default, it will have the same
  default value that has been in the udptl.conf sample file.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@221622 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-01 16:25:40 +00:00
Terry Wilson
9a61ba3e28 Merged revisions 221266 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r221266 | twilson | 2009-09-30 12:52:30 -0500 (Wed, 30 Sep 2009) | 32 lines
  
  Merged revisions 221086 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r221086 | twilson | 2009-09-30 09:49:11 -0500 (Wed, 30 Sep 2009) | 25 lines
    
    Change the SSRC by default when our media stream changes
    
    Be default, change SSRC when doing an audio stream changes Asterisk doesn't
    honor marker bit when reinvited to already-bridged RTP streams,resulting in
    far-end stack discarding packets with "old" timestamps that areactually part of
    a new stream.  This patch sends AST_CONTROL_SRCUPDATE whenever there is a
    reinvite, unless the 'constantssrc' is set to true in sip.conf.
    
    The original issue reported to Digium support detailed the following situation:
    ITSP <-> Asterisk 1.4.26.2 <-> SIP-based Application Server Call comes in
    fromITSP, Asterisk dials the app server which sends a re-invite back
    toAsterisk--not to negotiate to send media directly to the ITSP, but to
    indicatethat it's changing the stream it's sending to Asterisk.  The app
    servergenerates a new SSRC, sequence numbers, timestamps, and sets the marker
    bit on the new stream.  Asterisk passes through the teimstamp of the new stream,
    butdoes not reset the SSRC, sequence numbers, or set the marker bit.
    
    When the timestamp on the new stream is older than the timestamp on the
    originalstream, the ITSP (which doesn't know there has been any change) discards
    the newframes because it thinks they are too old.  This patch addresses this by
    changing the SSRC on a stream update unless constantssrc=true is set in
    sip.conf.
    
    Review: https://reviewboard.asterisk.org/r/374/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@221304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-30 19:15:06 +00:00
Tilghman Lesher
cfbfe5a74e Merged revisions 221201 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r221201 | tilghman | 2009-09-30 11:56:42 -0500 (Wed, 30 Sep 2009) | 14 lines
  
  Merged revisions 221200 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r221200 | tilghman | 2009-09-30 11:55:21 -0500 (Wed, 30 Sep 2009) | 7 lines
    
    Avoid a potential NULL dereference.
    (closes issue #15865)
     Reported by: kobaz
     Patches: 
           20090915__issue15865.diff.txt uploaded by tilghman (license 14)
     Tested by: kobaz
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@221204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-30 16:57:56 +00:00
David Vossel
f5edb25e1c Merged revisions 220365 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r220365 | dvossel | 2009-09-24 15:37:20 -0500 (Thu, 24 Sep 2009) | 8 lines
  
  fixes tcptls_session memory leak caused by ref count error
  
  (closes issue #15939)
  Reported by: dvossel
  
  Review: https://reviewboard.asterisk.org/r/375/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@220369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-24 20:38:02 +00:00
Tilghman Lesher
94740de344 Merged revisions 220289 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r220289 | tilghman | 2009-09-24 14:41:02 -0500 (Thu, 24 Sep 2009) | 13 lines
  
  Merged revisions 220288 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r220288 | tilghman | 2009-09-24 14:39:41 -0500 (Thu, 24 Sep 2009) | 6 lines
    
    Implicitly sending a progress signal breaks some applications.
    Call Progress() in your dialplan if you explicitly want progress to be sent.
    (Reverts change 216430, closes issue #15957)
    Reported by: Pavel Troller on the Asterisk-Dev mailing list
    http://lists.digium.com/pipermail/asterisk-dev/2009-September/039897.html
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@220292 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-24 19:42:42 +00:00
Tilghman Lesher
dbecaa986b Merged revisions 219654 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r219654 | tilghman | 2009-09-20 12:55:49 -0500 (Sun, 20 Sep 2009) | 15 lines
  
  Merged revisions 219653 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r219653 | tilghman | 2009-09-20 12:52:05 -0500 (Sun, 20 Sep 2009) | 8 lines
    
    Really stop the stream, when ast_closestream() is called.
    (closes issue #15129)
     Reported by: bmh
     Patches: 
           20090918__issue15129.diff.txt uploaded by tilghman (license 14)
     Review:
           https://reviewboard.asterisk.org/r/372/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@219669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-20 18:21:15 +00:00
Matthew Nicholson
5eb7d1c6b1 Merged revisions 219139 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r219139 | mnicholson | 2009-09-17 10:18:01 -0500 (Thu, 17 Sep 2009) | 17 lines
  
  Merged revisions 219136 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r219136 | mnicholson | 2009-09-17 09:58:39 -0500 (Thu, 17 Sep 2009) | 10 lines
    
    Prevent a potential race condition and crash when hanging up a channel by removing the channel from the channel list before begining channel tear down.
    
    This fix may potentially cause problems with CDR backends that access the channel a CDR is associated with via the channel list.  This fix makes the channel unavabile at the time when the CDR backend is invoked.  This has been documented in include/asterisk/cdr.h.
    
    (closes issue #15316)
    Reported by: vmarrone
    Tested by: mnicholson
    
    Review: https://reviewboard.asterisk.org/r/362/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@219194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-17 15:38:11 +00:00
Tilghman Lesher
eb13d6330b Merged revisions 219061 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r219061 | tilghman | 2009-09-16 18:42:12 -0500 (Wed, 16 Sep 2009) | 15 lines
  
  Merged revisions 219023 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r219023 | tilghman | 2009-09-16 18:21:53 -0500 (Wed, 16 Sep 2009) | 8 lines
    
    Properly deal with quotes in the arguments of '#exec' includes.
    (closes issue #15583)
     Reported by: pkempgen
     Patches: 
           20090726__issue15583.diff.txt uploaded by tilghman (license 14)
           20090726__issue15583-1.4-4.diff.txt uploaded by pkempgen (license 169)
     Tested by: pkempgen
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@219063 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-16 23:52:17 +00:00
David Brooks
53b7849750 Merged revisions 218868 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r218868 | dbrooks | 2009-09-16 13:06:42 -0500 (Wed, 16 Sep 2009) | 20 lines
  
  Merged revisions 218867 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r218867 | dbrooks | 2009-09-16 13:00:45 -0500 (Wed, 16 Sep 2009) | 13 lines
    
    Fixes CID pattern matching behavior to mirror that of extension pattern matching.
    
    Pattern matching for extensions uses a type of scoring system, giving values for
    specificity to each character in the pattern. Unfortunately, this is done character
    by character, in order. This does lead to some less specific patterns being first
    in line for matching, but it will usually get the job done.
    
    This patch merely brings CID matching to the same level as extension matching.
    This patch does not attempt to tackle the problem shared by extension matching.
    
    (closes issue #14708)
    Reported by: klaus3000
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@218938 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-16 19:40:46 +00:00
Joshua Colp
49ba3d9752 Merged revisions 218295 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r218295 | file | 2009-09-14 13:16:39 -0500 (Mon, 14 Sep 2009) | 2 lines
  
  Do not attempt to add a parking extension if an error occurred while reading the configuration.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@218300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-14 18:18:02 +00:00
Tilghman Lesher
d392fb412c Merged revisions 218050 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r218050 | tilghman | 2009-09-11 00:58:11 -0500 (Fri, 11 Sep 2009) | 3 lines
  
  Check the origination priority for more matches, not the current priority.
  Found by Pavel Troller on the -dev list.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@218055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-11 06:00:28 +00:00
Olle Johansson
9e57fd58e2 Merged revisions 216438 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r216438 | oej | 2009-09-04 16:02:34 +0200 (Fre, 04 Sep 2009) | 35 lines

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

........
r216430 | oej | 2009-09-04 15:45:48 +0200 (Fre, 04 Sep 2009) | 27 lines

Make apps send PROGRESS control frame for early media and fix too early media issue in SIP

The issue at hand is that some legacy (dying) PBX systems send empty media frames on PRI
links *before* any call progress. The SIP channel receives these frames and by default
signals 183 Session progress and starts sending media. This will cause phones to 
play silence and ignore the later 180 ringing message. A bad user experience.

The fix is twofold:
- We discovered that asterisk apps that support early media ("noanswer") did not send
  any PROGRESS frame to indicate early media. Fixed.
- We introduce a setting in chan_sip so that users can disable any relay of media frames
  before the outbound channel actually indicates any sort of call progress.
  In 1.4, 1.6.0 and 1.6.1, this will be disabled for backward compatibility. In later versions
  of Asterisk, this will be enabled. We don't assume that it will change your Asterisk
  phone experience - only for the better.

We encourage third-party application developers to make sure that if they have applications
that wants to send early media, add a PROGRESS control frame transmission to make sure that
all channel drivers actually will start sending early media. This has not been the default
in Asterisk previous to this patch, so if you got inspiration from our code, you need to
update accordingly. Sorry for the trouble and thanks for your support.

This code has been running for a few months in a large scale installation (over 250
servers with PRI and/or BRI links to old PBX systems). 
That's no proof that this is an excellent patch, but, well, it's tested :-)


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@216647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-07 10:52:05 +00:00
Tilghman Lesher
9c7b554a2b Merged revisions 216547 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r216547 | tilghman | 2009-09-04 12:31:44 -0500 (Fri, 04 Sep 2009) | 3 lines
  
  Enable turning off the application delimiter warning with the 'dontwarn' option.
  Suggested on the -dev list, and implemented in an alternate way by me.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@216550 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-04 17:34:31 +00:00
Michiel van Baak
c099071716 Merged revisions 216506 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r216506 | mvanbaak | 2009-09-04 17:05:05 +0200 (Fri, 04 Sep 2009) | 9 lines
  
  Merged revisions 216435 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r216435 | mvanbaak | 2009-09-04 15:56:10 +0200 (Fri, 04 Sep 2009) | 2 lines
    
    make asterisk compile under devmode with DEBUG_THREADS enabled on OpenBSD
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@216509 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-04 15:11:55 +00:00
Michiel van Baak
1f52ecb3ed Merged revisions 216222 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r216222 | mvanbaak | 2009-09-04 08:08:33 +0200 (Fri, 04 Sep 2009) | 3 lines
  
  make sure 'start' is always initialized.
  Makes asterisk compile with --enable-dev-mode
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@216225 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-04 06:14:38 +00:00
David Vossel
574c8c2144 Merged revisions 215955 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r215955 | dvossel | 2009-09-03 11:31:54 -0500 (Thu, 03 Sep 2009) | 6 lines
  
  Merge code associated with AST-2009-006
  
  (closes issue #12912)
  Reported by: rathaus
  Tested by: tilghman, russell, dvossel, dbrooks
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@216007 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-03 18:42:41 +00:00
Olle Johansson
c73b17515c Fix bad reports in "sip show channelstats".
Not directly mergeable in svn trunk, needs more tests, therefore committed directly to 1.6.2.
(closes issue #15819)
Reported by: klaus3000
Patches: 
      asterisk-1.6.2-beta4-sipshowchannelstats-patch-0.2.txt uploaded by klaus3000 (license 65)
Tested by: klaus3000, oej



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@215887 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-03 12:24:30 +00:00
Michiel van Baak
a2d71f3a34 Merged revisions 215622 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r215622 | mvanbaak | 2009-09-02 22:21:51 +0200 (Wed, 02 Sep 2009) | 4 lines
  
  - lock channel before looking for a channel variable
  - Init the parkings list member of struct parkinglot.
  Thanks Sean for the explanation why this should be here.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@215647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-02 20:55:02 +00:00
Tilghman Lesher
42a5345e8f Merged revisions 215567 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r215567 | tilghman | 2009-09-02 13:37:25 -0500 (Wed, 02 Sep 2009) | 9 lines
  
  Close up to the soft open file limit (same on Linux, but varies drastically on OS X).
  Also, a Makefile fix for Darwin (OS X).
  (closes issue #14542)
   Reported by: jtodd
   Patches: 
         20090901__issue14542.diff.txt uploaded by tilghman (license 14)
   Tested by: jtodd, tilghman
   Change-type: bugfix
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@215570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-02 18:52:58 +00:00
Kevin P. Fleming
263958f5b4 Merged revisions 215161 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r215161 | kpfleming | 2009-09-01 14:50:48 -0500 (Tue, 01 Sep 2009) | 3 lines
  
  Ensure that frame dumps of AST_CONTROL_T38_PARAMETERS frames are properly
  decoded.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@215165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-01 20:00:25 +00:00
Tilghman Lesher
99581db532 Merged revisions 214702 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r214702 | tilghman | 2009-08-28 15:14:39 -0500 (Fri, 28 Aug 2009) | 15 lines
  
  Merged revisions 214701 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r214701 | tilghman | 2009-08-28 15:13:32 -0500 (Fri, 28 Aug 2009) | 8 lines
    
    Modify comment to be a bit more accurate.
    We have kept this comment around long enough, that it's pretty clear that we're
    keeping the code, because changing the code would require a pretty fundamental
    architectural shift.  We've also taken criticism in some quarters, because it
    was believed that it was referring to the code being nasty.  No, the code isn't
    nasty, just the operation itself is rather odd.  Fixed for eternity (probably
    not).
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@214707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-28 20:17:51 +00:00
Tilghman Lesher
d0ee8a5b71 Merged revisions 214514 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r214514 | tilghman | 2009-08-27 16:26:37 -0500 (Thu, 27 Aug 2009) | 7 lines
  
  Ensure that we check for the special value CONFIG_STATUS_FILEINVALID.
  (closes issue #15786)
   Reported by: a_villacis
   Patches: 
         asterisk-1.6.2.0-beta4-manager-fix-crash-on-include-nonexistent-file.patch uploaded by a villacis (license 660)
         (Plus a few of my own, to catch the remaining places within manager.c where it could have been a problem)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@214515 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-27 21:27:35 +00:00
David Vossel
112fb69d3b Merged revisions 214195 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r214195 | dvossel | 2009-08-26 11:38:53 -0500 (Wed, 26 Aug 2009) | 25 lines
  
  Merged revisions 214194 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r214194 | dvossel | 2009-08-26 11:36:42 -0500 (Wed, 26 Aug 2009) | 19 lines
    
    ast_write() ignores ast_audiohook_write() results
    
    In ast_write(), if a channel has a list of audiohooks, those
    lists are written to and the resulting frame is what ast_write()
    should continue with.  The problem was the returned audiohook frame
    was not being handled at all, and the original frame passed
    into it did not contain the mixed audio, so essentially audio
    was being lost.  One result of this was chan_spy's whisper
    mode no longer worked.  To complicate the issue, frames
    passed into ast_write may either be a single frame, or a list
    of frames.  So, as the list of frames is processed in the
    audiohook_write, the returned frames had to be added to a new
    list.
    
    (closes issue #15660)
    Reported by: corruptor
    Tested by: dvossel
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@214196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-26 16:39:40 +00:00
Tilghman Lesher
9ed28f265e Merged revisions 214071 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r214071 | tilghman | 2009-08-25 14:32:48 -0500 (Tue, 25 Aug 2009) | 17 lines
  
  Merged revisions 214068-214069 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r214068 | tilghman | 2009-08-25 14:26:50 -0500 (Tue, 25 Aug 2009) | 6 lines
    
    Fix pronunciation of German dates.
    (closes issue #15273)
     Reported by: Benjamin Kluck
     Patches: 
           say_c.patch uploaded by Benjamin Kluck (license 803)
  ........
    r214069 | tilghman | 2009-08-25 14:28:42 -0500 (Tue, 25 Aug 2009) | 2 lines
    
    I should always compile before committing...
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@214074 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-25 19:42:49 +00:00
Tilghman Lesher
69a31d3172 Merged revisions 213971 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r213971 | tilghman | 2009-08-25 01:35:37 -0500 (Tue, 25 Aug 2009) | 14 lines
  
  Merged revisions 213970 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r213970 | tilghman | 2009-08-25 01:34:44 -0500 (Tue, 25 Aug 2009) | 7 lines
    
    Improve error message by informing user exactly which function is missing a parethesis.
    (closes issue #15242)
     Reported by: Nick_Lewis
     Patches: 
           pbx.c-funcparenthesis.patch2 uploaded by dbrooks (license 790)
           pbx.c-funcparenthesis-1.4.diff uploaded by loloski (license 68)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@213974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-25 06:36:58 +00:00
Terry Wilson
799d82c73e Merged revisions 213450 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r213450 | twilson | 2009-08-20 22:48:54 -0500 (Thu, 20 Aug 2009) | 2 lines
  
  Make LOAD_ORDER actually work
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@213453 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-21 03:53:19 +00:00
Matthew Nicholson
f5488f80ac Merged revisions 213327 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r213327 | mnicholson | 2009-08-20 15:29:32 -0500 (Thu, 20 Aug 2009) | 7 lines
  
  Fix a crash by checking the proper pointer for validity before deferencing it.
  
  (closes issue #15751)
  Reported by: atis
  Patches:
        ast_bridge_call_peer_cdr.patch uploaded by atis (license 242)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@213350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-20 20:37:53 +00:00
Jason Parker
8212d18e31 Merged revisions 213179 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r213179 | qwell | 2009-08-19 17:38:46 -0500 (Wed, 19 Aug 2009) | 5 lines
  
  Fix compile when certain G711 menuselect options are enabled.
  
  (closes issue #15697)
  Reported by: slavon
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@213182 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-19 22:41:30 +00:00
Russell Bryant
81ecc23e9a Merged revisions 213046 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r213046 | russell | 2009-08-19 10:32:18 -0500 (Wed, 19 Aug 2009) | 4 lines
  
  Don't blow up on a NULL cdr.
  
  Reported in #asterisk-dev.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@213047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-19 15:35:25 +00:00
Sean Bright
ddd683d4d0 Merged revisions 212764 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r212764 | seanbright | 2009-08-18 12:38:36 -0400 (Tue, 18 Aug 2009) | 18 lines
  
  Merged revisions 212763 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r212763 | seanbright | 2009-08-18 12:36:00 -0400 (Tue, 18 Aug 2009) | 11 lines
    
    Delay the creation of temporary files until we have a valid manager command to handle.
    
    Without this patch, asterisk creates a temporary file before determining if the
    specified command is valid.  If invalid, we weren't properly cleaning up the file.
    
    (closes issue #15730)
    Reported by: zmehmood
    Patches:
          M15730.diff uploaded by junky (license 177)
    Tested by: zmehmood
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@212767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-18 16:41:17 +00:00
Sean Bright
d65804d5e8 Merged revisions 212574 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r212574 | seanbright | 2009-08-17 14:18:16 -0400 (Mon, 17 Aug 2009) | 8 lines
  
  Correct the return value check for ast_safe_system.
  
  The logic here was reversed as ast_safe_system returns -1 on error and not on
  success.  Fix suggested by reporter.
  
  (closes issue #15667)
  Reported by: loic
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@212580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-17 18:21:40 +00:00
Tilghman Lesher
9e94589304 AST-2009-005
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@211580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-10 19:36:38 +00:00
Tilghman Lesher
b99a9c5f27 Merged revisions 211275 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r211275 | tilghman | 2009-08-09 10:42:02 -0500 (Sun, 09 Aug 2009) | 9 lines
  
  Merged revisions 211274 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r211274 | tilghman | 2009-08-09 10:41:01 -0500 (Sun, 09 Aug 2009) | 2 lines
    
    Small oops.  Clear the flags which have been checked.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@211278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-09 15:43:36 +00:00
Kevin P. Fleming
8173bca622 Merged revisions 210992 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r210992 | kpfleming | 2009-08-07 08:08:00 -0500 (Fri, 07 Aug 2009) | 13 lines
  
  Workaround broken T.38 endpoints that offer tiny MaxDatagram sizes.
  
  Some T.38 endpoints treat T38FaxMaxDatagram as the maximum IFP size that should
  be sent to them, rather than the maximum packet payload size. If such an
  endpoint also requests UDPRedundancy as the error correction mode, we'll end
  up calculating a tiny maximum IFP size, so small as to be unusable. This patch
  sets a lower bound on what we'll consider the remote's maximum IFP size to be,
  assuming that endpoints that do this really can accept larger packets than
  they've offered to accept.
  
  (closes issue #15649)
  Reported by: dazza76
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@210995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-07 13:10:11 +00:00
Tilghman Lesher
d3adf93f36 Merged revisions 210914 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r210914 | tilghman | 2009-08-06 16:46:01 -0500 (Thu, 06 Aug 2009) | 14 lines
  
  Merged revisions 210913 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r210913 | tilghman | 2009-08-06 16:45:01 -0500 (Thu, 06 Aug 2009) | 7 lines
    
    Because channel information can be accessed outside of the channel thread, we must lock the channel prior to modifying it.
    (closes issue #15397)
     Reported by: caspy
     Patches: 
           20090714__issue15397.diff.txt uploaded by tilghman (license 14)
     Tested by: caspy
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@210917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-06 21:47:55 +00:00
Tilghman Lesher
fe6107aba0 Merged revisions 210908 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r210908 | tilghman | 2009-08-06 16:29:26 -0500 (Thu, 06 Aug 2009) | 9 lines
  
  Allow Gosub to recognize quote delimiters without consuming them.
  (closes issue #15557)
   Reported by: rain
   Patches: 
         20090723__issue15557.diff.txt uploaded by tilghman (license 14)
   Tested by: rain
   
  Review: https://reviewboard.asterisk.org/r/316/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@210911 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-06 21:34:48 +00:00
Kevin P. Fleming
bbf4a08fe7 Merged revisions 210190 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r210190 | kpfleming | 2009-08-03 15:48:48 -0500 (Mon, 03 Aug 2009) | 11 lines
  
  Rename 'canreinvite' option to 'directmedia', with backwards compatibility.
  
  It is clear from multiple mailing list, forum, wiki and other sorts of posts
  that users don't really understand the effects that the 'canreinvite' config
  option actually has, and that in some cases they think that setting it to 'no'
  will actually cause various other features (T.38, MOH, etc.) to not work properly,
  when in fact this is not the case. This patch changes the proper name of the
  option to what it should have been from the beginning ('directmedia'), but
  preserves backwards compatibility for existing configurations.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@210191 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-03 20:58:48 +00:00
Russell Bryant
30387c4401 Merged revisions 209887 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r209887 | russell | 2009-08-01 06:29:25 -0500 (Sat, 01 Aug 2009) | 12 lines
  
  Merged revisions 209879 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r209879 | russell | 2009-08-01 06:27:25 -0500 (Sat, 01 Aug 2009) | 5 lines
    
    Resolve a valgrind warning about a read from uninitialized memory.
    
    (issue #15396)
    Reported by: aragon
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@209906 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-01 11:33:48 +00:00
Russell Bryant
cd457fe71a 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.2@209837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-01 10:45:42 +00:00
Kevin P. Fleming
0cad342de7 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.2@209816 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-01 01:34:45 +00:00
Russell Bryant
df5380ac36 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.2@209715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-31 22:01:27 +00:00
Mark Michelson
aa536b984a 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.2@209238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-27 20:58:20 +00:00
David Brooks
4921462e88 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.2@209234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-27 20:33:56 +00:00
Mark Michelson
12a938f833 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.2@209135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-27 17:57:40 +00:00
Jeff Peeler
2d99be05a5 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.2@208927 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-27 01:23:06 +00:00
Michiel van Baak
27447a42bd Merged revisions 208813 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  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.2@208816 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-25 12:08:58 +00:00
Jeff Peeler
b42e55db37 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.2@208755 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-25 06:26:39 +00:00
Russell Bryant
2d1f3b23c8 Merged revisions 208706 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r208706 | russell | 2009-07-24 15:54:37 -0500 (Fri, 24 Jul 2009) | 6 lines
  
  Note that "reload" needs to be added back.
  
  I keep getting annoyed at having to type "module reload" to reload everything,
  so I'm adding a note that we need to add "reload" back.  "module reload" doesn't
  really make sense as the command to reload everything, including the core.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@208707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-24 20:55:06 +00:00
Russell Bryant
ff823a971e Merged revisions 208693 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r208693 | russell | 2009-07-24 15:25:23 -0500 (Fri, 24 Jul 2009) | 2 lines
  
  Don't log a warning for something that does not affect operation.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@208695 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-24 20:25:58 +00:00
Kevin P. Fleming
b7e75a4a56 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.2@208551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-24 15:06:52 +00:00