Commit Graph

17361 Commits

Author SHA1 Message Date
Tilghman Lesher
f007f4a439 Merged revisions 211584 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r211584 | tilghman | 2009-08-10 14:49:41 -0500 (Mon, 10 Aug 2009) | 9 lines
  
  Merged revisions 211583 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r211583 | tilghman | 2009-08-10 14:48:48 -0500 (Mon, 10 Aug 2009) | 1 line
    
    Conversion specifiers, not format specifiers
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@211587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-10 19:51:37 +00:00
Tilghman Lesher
2662264c44 AST-2009-005
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@211551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-10 19:25:03 +00:00
Michiel van Baak
bcea4ddd2a Blocked revisions 211475 via svnmerge
........
  r211475 | mvanbaak | 2009-08-10 20:01:47 +0200 (Mon, 10 Aug 2009) | 8 lines
  
  add manager events when a skinny device registers/unregisters
  like we have in chan_sip
  
  (closes issue #15499)
  Reported by: arifzaman
  Patches:
        2009072600-skinnymanagerevents.diff.txt uploaded by mvanbaak (license 7)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@211476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-10 18:03:05 +00:00
Jeff Peeler
63d699b5cf Blocked revisions 211435 via svnmerge
........
  r211435 | jpeeler | 2009-08-10 12:17:06 -0500 (Mon, 10 Aug 2009) | 3 lines
  
  Fix PRI/BRI channels when in alarm condition to only be marked for hangup if 
  T309 is not enabled.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@211438 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-10 17:17:54 +00:00
Joshua Colp
b858b0e86d Merged revisions 211347 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r211347 | file | 2009-08-10 11:07:44 -0300 (Mon, 10 Aug 2009) | 5 lines
  
  Fix retrieval of the port used for the video stream when adding SDP to a SIP message.
  
  (closes issue #15121)
  Reported by: jsmith
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@211348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-10 14:10:06 +00:00
Tilghman Lesher
8d78c46202 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.0@211276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-09 15:43:17 +00:00
Tilghman Lesher
57083cbd78 Merged revisions 211232 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r211232 | tilghman | 2009-08-09 02:11:22 -0500 (Sun, 09 Aug 2009) | 4 lines
  
  Check for NULL frame, before dereferencing pointer.
  (closes issue #15617)
   Reported by: rain
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@211233 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-09 07:12:08 +00:00
Russell Bryant
eba3c1483a Merged revisions 211113 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r211113 | russell | 2009-08-07 15:12:21 -0500 (Fri, 07 Aug 2009) | 11 lines
  
  Recorded merge of revisions 211112 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r211112 | russell | 2009-08-07 15:11:31 -0500 (Fri, 07 Aug 2009) | 4 lines
    
    Resolve a deadlock involving app_chanspy and masquerades.
    
    (ABE-1936)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@211114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-07 20:14:52 +00:00
Tilghman Lesher
4c7692bd15 Merged revisions 211040 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r211040 | tilghman | 2009-08-07 13:17:41 -0500 (Fri, 07 Aug 2009) | 21 lines
  
  Merged revisions 211038 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r211038 | tilghman | 2009-08-07 13:16:28 -0500 (Fri, 07 Aug 2009) | 14 lines
    
    QUEUE_MEMBER_LIST _really_ wants the interface name, not the membername.
    
    This is a partial revert of revision 82590, which was an attempted cleanup,
    but in reality, it broke QUEUE_MEMBER_LIST, which has always been intended
    as a method by which component interfaces could be queried from the queue.
    Membername isn't useful here, because that field cannot be used to obtain
    further information about the member.  See the documentation on
    QUEUE_MEMBER_LIST, RemoveQueueMember, QUEUE_MEMBER_PENALTY, and the various
    AMI commands which take a member argument for further justification.
    (closes issue #15664)
     Reported by: rain
     Patches: 
           app_queue-queue_member_list.diff uploaded by rain (license 327)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@211044 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-07 18:18:29 +00:00
Kevin P. Fleming
7e73b0b9da 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.0@210993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-07 13:08:57 +00:00
Tilghman Lesher
40625abe32 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.0@210915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-06 21:46:41 +00:00
Tilghman Lesher
7c02c0102a 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.0@210909 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-06 21:32:23 +00:00
Joshua Colp
26fb148799 Merged revisions 210817 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r210817 | file | 2009-08-06 14:47:04 -0300 (Thu, 06 Aug 2009) | 11 lines
  
  Accept additional T.38 reinvites after an initial one has been handled.
  
  Discussion of this subject has yielded that it is not actually acceptable to change
  T.38 parameters after the initial reinvite but declining is harsh and can cause the
  fax to fail when it may be possible to allow it to continue. This patch changes things
  so that additional T.38 reinvites are accepted but parameter changes ignored. This gives
  the fax a fighting chance.
  
  (closes issue #15610)
  Reported by: huangtx2009
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@210818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-06 17:47:56 +00:00
Richard Mudgett
0de3f2833b Merged revisions 210640 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r210640 | rmudgett | 2009-08-05 14:40:03 -0500 (Wed, 05 Aug 2009) | 21 lines
  
  Merged revisions 210575 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r210575 | rmudgett | 2009-08-05 14:18:56 -0500 (Wed, 05 Aug 2009) | 14 lines
    
    Dialplan starts execution before the channel setup is complete.
    
    *  Issue 15655: For the case where dialing is complete for an incoming
    call, dahdi_new() was asked to start the PBX and then the code set more
    channel variables.  If the dialplan hungup before these channel variables
    got set, asterisk would likely crash.
    *  Fixed potential for overlap incoming call to erroneously set channel
    variables as global dialplan variables if the ast_channel structure failed
    to get allocated.
    *  Added missing set of CALLINGSUBADDR in the dialing is complete case.
    
    (closes issue #15655)
    Reported by: alecdavis
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@210647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-05 20:07:09 +00:00
Leif Madsen
1d0b0cc1f0 Merged revisions 210564 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r210564 | lmadsen | 2009-08-05 13:49:58 -0500 (Wed, 05 Aug 2009) | 19 lines
  
  Merged revisions 210563 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r210563 | lmadsen | 2009-08-05 13:46:21 -0500 (Wed, 05 Aug 2009) | 11 lines
    
    Update imapstorage.txt documentation.
    Updated the imapstorage.txt documentation to reflect that issues with
    c-client versions older than 2007 seem to cause crashing issues that
    are not seen with more recent versions. Documentation has been updated
    to reflect this.
    
    (closes issue #14496)
    Reported by: vbcrlfuser
    Patches:
          __20090727-imap-documentation-patch.txt uploaded by lmadsen (license 10)
    Tested by: lmadsen, mmichelson, dbrooks
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@210568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-05 18:57:47 +00:00
Michiel van Baak
2287e785a9 Blocked revisions 210478 via svnmerge
........
  r210478 | mvanbaak | 2009-08-05 10:03:36 +0200 (Wed, 05 Aug 2009) | 2 lines
  
  ignore the .i files when compiling in 'DONT_OPTIMIZE' in the addons/mp3 directory
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@210479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-05 08:04:54 +00:00
Jeff Peeler
6f6fc6eb88 Blocked revisions 210302 via svnmerge
........
  r210302 | jpeeler | 2009-08-04 10:35:49 -0500 (Tue, 04 Aug 2009) | 5 lines
  
  Fix broken call pickup
  
  The find_channel_by_group callback was only looking at the channel that was
  attempting to make the pickup instead of the other channels in the container.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@210309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-04 15:37:45 +00:00
Kevin P. Fleming
072db1b190 Merged revisions 210238 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r210238 | kpfleming | 2009-08-04 09:53:00 -0500 (Tue, 04 Aug 2009) | 16 lines
  
  Merged revisions 210237 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r210237 | kpfleming | 2009-08-04 09:51:39 -0500 (Tue, 04 Aug 2009) | 10 lines
    
    Eliminate spurious compiler warnings from system headers on *BSD platforms.
    
    Ensure that system headers located in /usr/local/include are actually treated
    as system headers by the compiler, and not as local headers which are subject
    to warnings from the -Wundef compiler option and others.
    
    (closes issue #15606)
    Reported by: mvanbaak
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@210239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-04 14:54:00 +00:00
Russell Bryant
1dee52d439 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.0@209896 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-01 11:31:25 +00:00
Russell Bryant
02b8c6f51e 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.0@209840 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-01 11:03:17 +00:00
Kevin P. Fleming
db0581c7f0 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.0@209762 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-01 01:13:03 +00:00
Russell Bryant
671e057fd7 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.0@209712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-31 21:56:41 +00:00
Sean Bright
976b69918b 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.0@209624 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-30 23:38:47 +00:00
Jeff Peeler
4393369218 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.0@209620 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-30 23:32:28 +00:00
David Brooks
40c0cfaff8 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.0@209587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-30 16:37:50 +00:00
David Brooks
fef52dce32 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.0@209555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-30 16:16:31 +00:00
Kevin P. Fleming
d060351d79 Correct error in backport of latest app_fax fixes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@209394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-28 12:01:36 +00:00
Tilghman Lesher
e106e7a1cf 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.0@209325 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-28 00:19:38 +00:00
Kevin P. Fleming
d7f3974c8d 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.0@209280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-27 21:44:08 +00:00
Kevin P. Fleming
dcefa607e5 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.0@209259 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-27 21:22:22 +00:00
Mark Michelson
af177fd104 Blocked revisions 209235 via svnmerge
........
  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.0@209236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-27 20:57:19 +00:00
David Brooks
6d177693e0 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.0@209221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-27 20:23:33 +00:00
Mark Michelson
7f81823913 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.0@209198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-27 20:16:28 +00:00
Mark Michelson
881cdb00e5 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.0@209133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-27 17:52:36 +00:00
David Brooks
7351db2bd1 Just replacing typos "recieved" with "received".
From issue #15360, forgot to apply to trunk and other branches.



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@209061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-27 16:06:10 +00:00
Kevin P. Fleming
a1cb9549be 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.0@209057 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-27 15:39:44 +00:00
Jeff Peeler
ab117ba86d 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.0@208925 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-27 01:21:54 +00:00
Michiel van Baak
420cfcc16a Blocked revisions 208886 via svnmerge
........
  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.0@208887 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-26 14:01:55 +00:00
Michiel van Baak
aa3928f100 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.0@208851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-25 12:29:44 +00:00
Michiel van Baak
ed6555a37c 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.0@208814 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-25 12:06:45 +00:00
Jeff Peeler
bf0a2c9fa5 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.0@208752 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-25 06:24:47 +00:00
Mark Michelson
a564e9b944 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.0@208655 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-24 19:33:54 +00:00
Russell Bryant
765d10231b 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.0@208594 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-24 18:49:43 +00:00
Mark Michelson
6aa63436ab 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.0@208589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-24 18:31:35 +00:00
Kevin P. Fleming
f43a65fd21 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.0@208549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-24 15:04:31 +00:00
Michiel van Baak
84671eef56 Blocked revisions 208542 via svnmerge
........
  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.0@208543 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-24 14:36:32 +00:00
Kevin P. Fleming
560384cf09 Use correct formatting for T.38 change note in UPGRADE.txt
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@208502 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-23 22:32:02 +00:00
Kevin P. Fleming
791d4f0478 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.0@208468 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-23 22:14:29 +00:00
Mark Michelson
db6c757a3d 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.0@208389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-23 19:35:27 +00:00
Jeff Peeler
8d49fb4502 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.0@208384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-23 19:23:33 +00:00