Commit Graph

3450 Commits

Author SHA1 Message Date
Mark Michelson
f608016788 Merged revisions 247169 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r247169 | mmichelson | 2010-02-17 10:24:54 -0600 (Wed, 17 Feb 2010) | 9 lines
  
  Merged revisions 247168 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r247168 | mmichelson | 2010-02-17 10:24:17 -0600 (Wed, 17 Feb 2010) | 3 lines
    
    Make sure that when autofill is disabled that callers not in the front of the queue cannot place calls.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@247171 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-17 16:25:51 +00:00
David Vossel
5413868305 Merged revisions 246116 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r246116 | dvossel | 2010-02-10 11:49:34 -0600 (Wed, 10 Feb 2010) | 14 lines
  
  Merged revisions 246115 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r246115 | dvossel | 2010-02-10 11:44:20 -0600 (Wed, 10 Feb 2010) | 8 lines
    
    fixes random deadlock in app_queue with use_weight during reload
    
    (closes issue #16677)
    Reported by: tim_ringenbach
    Patches:
          app_queue_use_weight_deadlock.diff uploaded by tim ringenbach (license 540)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@246119 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-10 17:52:45 +00:00
Tilghman Lesher
072c9320a4 Merged revisions 245729 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r245729 | tilghman | 2010-02-09 12:06:30 -0600 (Tue, 09 Feb 2010) | 8 lines
  
  Ensure frames are only freed once.
  
  (closes issue #16361)
   Reported by: vlad
   Patches: 
         20100208__issue16361.diff.txt uploaded by tilghman (license 14)
   Tested by: kenny, bloodoff, misaksen
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@245731 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-09 18:09:25 +00:00
Kevin P. Fleming
b2f9762fbe Merged revisions 245680 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r245680 | kpfleming | 2010-02-09 10:24:52 -0600 (Tue, 09 Feb 2010) | 8 lines
  
  Don't offer MMR or JBIG transcoding during T.38 negotiation.
  
  After further discussion with Steve Underwood, we should not (yet) be offering
  to receive MMR or JBIG transcoded streams from T.38 endpoints. A future spandsp
  release will support those features, and then they can be enabled during
  negotiation
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@245682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-09 16:26:15 +00:00
Tilghman Lesher
51889e1ff7 Merged revisions 244393 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r244393 | tilghman | 2010-02-02 14:32:29 -0600 (Tue, 02 Feb 2010) | 18 lines
  
  Properly respect GOSUB_RESULT as to what to do with the master channel.
  
  Previously, we would parse GOSUB_RESULT, but not actually do anything with it.
  
  (closes issue #16686)
   Reported by: bklang
   Patches: 
         app_dial-respect-gosub_result.patch uploaded by bklang (license 919)
         (with modifications)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@244394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-02 20:35:35 +00:00
Tilghman Lesher
5cc28284e4 Merged revisions 244243 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r244243 | tilghman | 2010-02-01 17:16:12 -0600 (Mon, 01 Feb 2010) | 18 lines
  
  Merged revisions 244242 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r244242 | tilghman | 2010-02-01 17:13:44 -0600 (Mon, 01 Feb 2010) | 11 lines
    
    Backup and restore original textfile, for prosthesis (gerund of prepend).
    
    Also, fix menuselect such that changing voicemail build options correctly
    causes rebuild.
    
    (closes issue #16415)
     Reported by: tomo1657
     Patches: 
           prepention.patch uploaded by tomo1657 (license 484)
           (with modifications by me to backport to 1.4)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@244307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-01 23:31:04 +00:00
Jeff Peeler
557610a4c5 Merged revisions 243693 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r243693 | jpeeler | 2010-01-27 14:37:33 -0600 (Wed, 27 Jan 2010) | 12 lines
  
  Merged revisions 243691 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r243691 | jpeeler | 2010-01-27 14:35:56 -0600 (Wed, 27 Jan 2010) | 5 lines
    
    Revert 243570, I should have looked at this closer. Will reopen the issue, but
    am leaving the review closed as the change was pointless.
    
    (issue #16488)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@243695 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-27 20:38:46 +00:00
Jeff Peeler
0de316923d Merged revisions 243571 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r243571 | jpeeler | 2010-01-27 12:49:52 -0600 (Wed, 27 Jan 2010) | 16 lines
  
  Merged revisions 243570 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r243570 | jpeeler | 2010-01-27 12:47:34 -0600 (Wed, 27 Jan 2010) | 9 lines
    
    Extend announcement URL used with Queue from 80 chars to PATH_MAX.
    
    (closes issue #16488)
    Reported by: syspert
    Patches: 
          soundfilelen.pacth-2 uploaded by syspert (license 938)
    
    Review: https://reviewboard.asterisk.org/r/475/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@243574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-27 18:56:22 +00:00
David Vossel
1cd2a5b0e6 Merged revisions 240842 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r240842 | dvossel | 2010-01-18 09:52:55 -0600 (Mon, 18 Jan 2010) | 2 lines
  
  fixes spelling error.  s/memeber/member
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@240844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-18 15:53:55 +00:00
Tilghman Lesher
e0abd47c70 Merged revisions 240415 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r240415 | tilghman | 2010-01-15 14:54:24 -0600 (Fri, 15 Jan 2010) | 22 lines
  
  Merged revisions 240414 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r240414 | tilghman | 2010-01-15 14:52:27 -0600 (Fri, 15 Jan 2010) | 15 lines
    
    Disallow leaving more than maxmsg voicemails.
    This is a possibility because our previous method assumed that no messages are
    left in parallel, which is not a safe assumption.  Due to the vmu structure
    duplication, it was necessary to track in-process messages via a separate
    structure.  If at some point, we switch vmu to an ao2-reference-counted
    structure, which would eliminate the prior noted duplication of structures,
    then we could incorporate this new in-process structure directly into vmu.
    (closes issue #16271)
     Reported by: sohosys
     Patches: 
           20100108__issue16271.diff.txt uploaded by tilghman (license 14)
           20100108__issue16271__trunk.diff.txt uploaded by tilghman (license 14)
           20100108__issue16271__1.6.0.diff.txt uploaded by tilghman (license 14)
     Tested by: jsutton
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@240417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-15 20:57:07 +00:00
David Vossel
db7380ffcd Merged revisions 239712 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r239712 | dvossel | 2010-01-13 10:31:14 -0600 (Wed, 13 Jan 2010) | 24 lines
  
  add silence gen to wait apps
  
  asterisk.conf's 'transmit_silence' option existed before
  this patch, but was limited to only generating silence
  while recording and sending DTMF.  Now enabling the
  transmit_silence option generates silence during wait
  times as well.
  
  To achieve this, ast_safe_sleep has been modified to
  generate silence anytime no other generators are present
  and transmit_silence is enabled.  Wait apps not using
  ast_safe_sleep now generate silence when transmit_silence
  is enabled as well.
  
  (closes issue #16524)
  Reported by: kobaz
  
  (closes issue #16523)
  Reported by: kobaz
  Tested by: dvossel
  
  Review: https://reviewboard.asterisk.org/r/456/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@239714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-13 16:38:31 +00:00
David Vossel
5b81279939 Merged revisions 238361 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r238361 | dvossel | 2010-01-07 12:58:23 -0600 (Thu, 07 Jan 2010) | 8 lines
  
  cli 'queue show' formatting fix.  queue name was truncated over 12 characters
  
  (closes issue #16078)
  Reported by: RoadKill
  Patches:
        quequename_limit.patch uploaded by ppyy (license 906)
  Tested by: dvossel
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@238363 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-07 19:00:16 +00:00
Jeff Peeler
5a2396e446 Merged revisions 238181 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r238181 | jpeeler | 2010-01-06 14:37:18 -0600 (Wed, 06 Jan 2010) | 8 lines
  
  Fix misreverting from 177158.
  
  (closes issue #15725)
  Reported by: shanermn
  Patches: 
        v1-15725.patch uploaded by dimas (license 88)
  Tested by: shanermn
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@238183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-06 20:39:26 +00:00
Russell Bryant
2ee78bf6e6 Merged revisions 238010 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r238010 | russell | 2010-01-06 09:19:10 -0600 (Wed, 06 Jan 2010) | 14 lines
  
  Merged revisions 238009 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r238009 | russell | 2010-01-06 09:18:22 -0600 (Wed, 06 Jan 2010) | 7 lines
    
    Resolve a crash due to an ast_frame not being fully initialized.
    
    (closes issue #16531)
    Reported by: john8675309
    
    (closes SWP-615)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@238012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-06 15:21:29 +00:00
David Vossel
119687d05e Merged revisions 237920 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r237920 | dvossel | 2010-01-05 17:08:50 -0600 (Tue, 05 Jan 2010) | 16 lines
  
  fixes holdtime playback issue in app_queue
  
  When reporting hold time, the number of seconds should be mod 60.
  Otherwise audio playback could be something like "2 minutes 123 seconds"
  rather than "2 minutes 3 seconds".
  
  Also, the "minute" sound file is missing, so for the moment until
  that file can be created the "minutes" file is used instead.
  
  (closes issue #16168)
  Reported by: nickilo
  Patches:
        patch-unified-trunk-rev-222176 uploaded by nickilo (license )
  Tested by: nickilo, wonderg
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@237922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-05 23:09:55 +00:00
David Vossel
28800a8ed1 Merged revisions 237327 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r237327 | dvossel | 2010-01-04 10:39:11 -0600 (Mon, 04 Jan 2010) | 10 lines
  
  app_queue segfaults if realtime field uniqueid is NULL
  
  (closes issue #16385)
  Reported by: haakon
  Patches:
        app_queue.c.patch uploaded by haakon (license 880)
        app_queue.c.patch_v2 uploaded by dvossel (license 671)
  Tested by: haakon
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@237329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-04 16:51:19 +00:00
Tilghman Lesher
f275a4d50e Merged revisions 236667 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r236667 | tilghman | 2009-12-28 11:37:46 -0600 (Mon, 28 Dec 2009) | 4 lines
  
  Use recommended option, not deprecated option.
  (closes issue #16515)
   Reported by: ManChicken
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@236669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-28 17:40:11 +00:00
Sean Bright
61b2770f70 Merged revisions 236510 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r236510 | seanbright | 2009-12-28 07:44:58 -0500 (Mon, 28 Dec 2009) | 19 lines
  
  Merged revisions 236509 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r236509 | seanbright | 2009-12-28 07:43:36 -0500 (Mon, 28 Dec 2009) | 12 lines
    
    Avoid a crash with large numbers of MeetMe conferences.
    
    Similar to changes made to Queue(), when we have large numbers of conferences in
    meetme.conf (1000s) and we use alloca()/strdupa(), we can blow out the stack and
    crash, so instead just use a single fixed buffer.
    
    (closes issue #16509)
    Reported by: Kashif Raza
    Patches:
          20091223_16509.patch uploaded by seanbright (license 71)
    Tested by: seanbright
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@236512 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-28 13:15:28 +00:00
Tilghman Lesher
e64b7c04f4 Merged revisions 236300 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r236300 | tilghman | 2009-12-23 12:25:27 -0600 (Wed, 23 Dec 2009) | 7 lines
  
  AGI may be invoked from outside the dialplan
  (closes issue #16510)
   Reported by: atis
   Patches: 
         20091223__issue16510.diff.txt uploaded by tilghman (license 14)
   Tested by: atis
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@236302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-23 18:26:57 +00:00
Kevin P. Fleming
74437adc73 Merged revisions 235010 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r235010 | kpfleming | 2009-12-15 08:35:46 -0600 (Tue, 15 Dec 2009) | 5 lines
  
  spandsp does in fact support V.17 modulation at 14.4 kilobits per second,
  so we should generate T38MaxBitRate of 14400 (even though that doesn't really
  affect the FAX transmission much at all)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@235012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-15 14:36:45 +00:00
Alec L Davis
91ce233c22 Merged revisions 234893 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r234893 | alecdavis | 2009-12-15 15:29:50 +1300 (Tue, 15 Dec 2009) | 9 lines
  
  fixes escape to extensions 'o' and 'a', for digits '0' and '*'
  
  (closes issue #16437)
  Reported by: alecdavis
  Tested by: alecdavis
  Patch
  	extension_o_a_fix.diff.txt uploaded by alecdavis (license 585)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@234895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-15 02:42:33 +00:00
Alec L Davis
cb12ed99ca Merged revisions 234855 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r234855 | alecdavis | 2009-12-15 13:54:44 +1300 (Tue, 15 Dec 2009) | 9 lines
  
  ast_stream_and_wait(chan,dir-usingkeypad) didn't capture the dialled DTMF.
  
    (closes issue #16409)
    Reported by: alecdavis
    Tested by: alecdavis
    Patch
  	bug_16409.diff.txt uploaded by alecdavis (license 585)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@234862 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-15 01:18:42 +00:00
Jeff Peeler
71a0a1ee90 Merged revisions 234380 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r234380 | jpeeler | 2009-12-11 17:17:09 -0600 (Fri, 11 Dec 2009) | 18 lines
  
  Merged revisions 234379 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r234379 | jpeeler | 2009-12-11 16:37:21 -0600 (Fri, 11 Dec 2009) | 11 lines
    
    Fix talking detection status after conference user is muted.
    
    This patch ensures that when a conference user is muted that the accompanying
    AMI Meetme talking off event is sent. Also, the meetme list output is updated
    to show the muted user as unmonitored.
    
    (closes issue #16247)
    Reported by: dimas
    Patches: 
          v3-16247.patch uploaded by dimas (license 88)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@234426 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-11 23:27:44 +00:00
TransNexus OSP Development
b4e2771bb2 Fixed compile error with OSP Toolkit 3.6.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@233688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-08 07:40:01 +00:00
David Vossel
be35aaf361 Merged revisions 233121 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r233121 | dvossel | 2009-12-04 11:22:31 -0600 (Fri, 04 Dec 2009) | 12 lines
  
  Merged revisions 233116 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r233116 | dvossel | 2009-12-04 11:21:34 -0600 (Fri, 04 Dec 2009) | 6 lines
    
    document and rename strip_control() in app_voicemail
    
    (closes issue #16291)
    Reported by: wdoekes
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@233166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-04 17:37:15 +00:00
Tilghman Lesher
1ee9a6caa8 Merged revisions 232854 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r232854 | tilghman | 2009-12-03 14:47:07 -0600 (Thu, 03 Dec 2009) | 15 lines
  
  Merged revisions 232820 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r232820 | tilghman | 2009-12-03 14:10:19 -0600 (Thu, 03 Dec 2009) | 8 lines
    
    Deprecate "cz" in favor of "cs".
    Also, change the use of language codes so that language registers as a prefix,
    rather than an exact match.
    (closes issue #16272)
     Reported by: patrol-cz
     Patches: 
           20091203__issue16272.diff.txt uploaded by tilghman (license 14)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@232865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-03 21:03:39 +00:00
David Ruggles
570306ae70 Merged revisions 232587 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r232587 | diruggles | 2009-12-02 17:17:22 -0500 (Wed, 02 Dec 2009) | 12 lines
  
  Prevent double closing of FDs by EIVR
  
  This caused a problem when asterisk was under heavy load and running both AGI and EIVR applications.
  EIVR would close an FD at which point it would be considered freed and be used by a new AGI instance
  the second close would then close the FD now in use by AGI.
  
  (closes issue #16305)
  Reported by: diLLec
  Tested by: thedavidfactor, diLLec
  
  Review: https://reviewboard.asterisk.org/r/436/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@232812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-03 15:03:20 +00:00
Joshua Colp
c971bf6a67 Merged revisions 232356 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r232356 | file | 2009-12-02 13:06:54 -0400 (Wed, 02 Dec 2009) | 12 lines
  
  Merged revisions 232355 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r232355 | file | 2009-12-02 13:04:52 -0400 (Wed, 02 Dec 2009) | 5 lines
    
    Fix a bug where if you hung up very quickly after calling AMD it would overwrite the AMDSTATUS of HANGUP with TOOLONG.
    
    (closes issue #16239)
    Reported by: CGMChris
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@232358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-02 17:10:13 +00:00
Matthew Nicholson
c72b7f39bd Merged revisions 231688 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r231688 | mnicholson | 2009-11-30 15:31:55 -0600 (Mon, 30 Nov 2009) | 15 lines
  
  Merged revisions 231614 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r231614 | mnicholson | 2009-11-30 15:11:44 -0600 (Mon, 30 Nov 2009) | 8 lines
    
    Remove duplicate entries from voicemail format lists. This prevents app_voicemail from entering an infinite loop when the same format is specified twice in the format list.
    
    (closes issue #15625)
    Reported by: Shagg63
    Tested by: mnicholson
    
    Review: https://reviewboard.asterisk.org/r/429/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@231690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-30 21:36:53 +00:00
Tilghman Lesher
03f3ad606e Turn off debug mode in 1.6.1; fix such that debug mode and non-debug mode functions return the same types.
(Fixes an issue brought up in chat by twilson)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@231608 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-30 20:58:33 +00:00
David Vossel
c2f8646c75 Merged revisions 231556 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r231556 | dvossel | 2009-11-30 12:55:07 -0600 (Mon, 30 Nov 2009) | 11 lines
  
  app_queue crashes randomly, often during call-transfers
  
  This patch adds a ref to the queue_ent object's parent call_queue
  in queue_exec() so the call_queue won't be destroyed
  while the the queue_ent still holds a pointer to it.
  
  (closes issue 0015686)
  Tested by: dvossel, aragon
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@231559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-30 18:57:36 +00:00
Tilghman Lesher
74279848a0 Merged revisions 231134 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r231134 | tilghman | 2009-11-24 14:31:28 -0600 (Tue, 24 Nov 2009) | 7 lines
  
  Found a few places where queue refcounts were counted incorrectly.  Also add debug statements.
  (closes issue #15982, closes issue #15984)
   Reported by: atis
   Patches: 
         20091111__issue15982.diff.txt uploaded by tilghman (license 14)
   Tested by: atis
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@231135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-24 20:35:02 +00:00
David Vossel
2807fc286f Merged revisions 230509 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r230509 | dvossel | 2009-11-19 15:26:21 -0600 (Thu, 19 Nov 2009) | 17 lines
  
  Merged revisions 230508 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r230508 | dvossel | 2009-11-19 15:22:46 -0600 (Thu, 19 Nov 2009) | 10 lines
    
    fixes MixMonitor thread not exiting when StopMixMonitor is used
    
    (closes issue #16152)
    Reported by: AlexMS
    Patches:
          stopmixmonitor_1.4.diff uploaded by dvossel (license 671)
    Tested by: dvossel, AlexMS
    
    Review: https://reviewboard.asterisk.org/r/424/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@230511 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-19 21:31:57 +00:00
Kevin P. Fleming
6eb7108d12 Merged revisions 230381 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r230381 | kpfleming | 2009-11-16 10:40:25 -0600 (Mon, 16 Nov 2009) | 1 line
  
  Fix another buglet in T.38 session teardown at the end of FAX sessions.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@230383 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-16 16:41:27 +00:00
Kevin P. Fleming
838832ee6f Merged revisions 230343 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r230343 | kpfleming | 2009-11-16 06:51:59 -0600 (Mon, 16 Nov 2009) | 2 lines
  
  Ensure that only one end of a T.38 session initiates teardown at completion.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@230345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-16 12:53:16 +00:00
Joshua Colp
7b8f311cd2 Merged revisions 229966 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r229966 | file | 2009-11-13 11:20:26 -0600 (Fri, 13 Nov 2009) | 13 lines
  
  Merged revisions 229965 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r229965 | file | 2009-11-13 11:19:59 -0600 (Fri, 13 Nov 2009) | 6 lines
    
    Document a limitation in the AVAILSTATUS variable from ChanIsAvail and provide
    a workaround for it that does not change existing behavior.
    
    (closes issue #14426)
    Reported by: macli
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@229968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-13 17:21:26 +00:00
David Brooks
3056c041aa Merged revisions 229460 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r229460 | dbrooks | 2009-11-11 12:13:56 -0600 (Wed, 11 Nov 2009) | 7 lines
  
  Flags not initialized in app_softhangup.c, causing undefined behavior
  
  Trivial patch [kobaz] to initialize an ast_flags = {0}
  
  (closes issue #16129)
  Reported by: kobaz
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@229491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-11 18:26:11 +00:00
Tilghman Lesher
870710a7c4 Merged revisions 229351 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r229351 | tilghman | 2009-11-10 15:22:50 -0600 (Tue, 10 Nov 2009) | 7 lines
  
  When GOSUB is invoked within an AGI, it may not exit correctly.
  (closes issue #16216)
   Reported by: atis
   Patches: 
         20091110__atis_work.diff.txt uploaded by tilghman (license 14)
   Tested by: atis
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@229353 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-10 21:31:35 +00:00
Tilghman Lesher
b84af6760a Merged revisions 228196 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r228196 | tilghman | 2009-11-05 16:12:45 -0600 (Thu, 05 Nov 2009) | 2 lines
  
  Yet another error message in the dialplan (thanks, rmudgett/russellb)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@228197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-05 22:13:37 +00:00
Tilghman Lesher
0eebf090b4 Merged revisions 228191 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r228191 | tilghman | 2009-11-05 15:24:21 -0600 (Thu, 05 Nov 2009) | 7 lines
  
  MEETME_INFO should not return a literal error message to the dialplan.
  (closes issue #15450)
   Reported by: JimVanM
   Patches: 
         meetmeinfopatch.diff.txt uploaded by dbrooks (license 790)
   Tested by: JimVanM
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@228193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-05 21:26:13 +00:00
Jeff Peeler
6d7de1cd98 Merged revisions 228189 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r228189 | jpeeler | 2009-11-05 15:23:06 -0600 (Thu, 05 Nov 2009) | 11 lines
  
  Fix the fix for chanspy option o 
  
  In 224178, I assumed the uploaded patch was correct as it had received positive
  feedback. The flags were being checked in the incorrect location. Upon testing
  the fix this time it was also found that the flags from the dialplan weren't
  being copied to the chanspy_translation_helper.
  
  (closes issue #16167)
  Reported by: marhbere
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@228192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-05 21:24:33 +00:00
Tilghman Lesher
5a06e9be0b Merged revisions 228015 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r228015 | tilghman | 2009-11-05 11:08:02 -0600 (Thu, 05 Nov 2009) | 4 lines
  
  Don't crash if no arguments are passed.
  (closes issue #16119)
   Reported by: thedavidfactor
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@228016 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-05 17:10:06 +00:00
Matthew Nicholson
b464edd1c7 Merged revisions 227829 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r227829 | mnicholson | 2009-11-04 15:03:33 -0600 (Wed, 04 Nov 2009) | 17 lines
  
  Merged revisions 227827 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r227827 | mnicholson | 2009-11-04 14:52:27 -0600 (Wed, 04 Nov 2009) | 10 lines
    
    This patch modifies the Dial application to monitor the calling channel for hangups while playing back announcements.
    
    (closes issue #16005)
    Reported by: falves11
    Patches:
          dial-announce-hangup-fix1.diff uploaded by mnicholson (license 96)
    Tested by: mnicholson, falves11
    
    Review: https://reviewboard.asterisk.org/r/407/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@227832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-04 21:15:46 +00:00
Leif Madsen
026420be6d Merged revisions 227368 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r227368 | lmadsen | 2009-11-03 13:48:53 -0600 (Tue, 03 Nov 2009) | 8 lines
  
  Change warning message to debug message.
  
  app_controlplayback outputs a warning, when in fact it is normal.
  
  (closes issue #16071)
  Reported by: atis
  Patches:
        controlplayback_warning.patch uploaded by atis (license 242)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@227370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-03 19:49:31 +00:00
Joshua Colp
c968818ffb Merged revisions 226890 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r226890 | file | 2009-11-02 14:08:54 -0400 (Mon, 02 Nov 2009) | 18 lines
  
  Merged revisions 226889 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r226889 | file | 2009-11-02 14:08:11 -0400 (Mon, 02 Nov 2009) | 11 lines
    
    Fix a bug where the recorded privacy introduction file would not get removed if the caller hung up
    while the called party had not yet answered.
    
    This was fixed by introducing an argument to the 'n' option which, when enabled, removes the introduction
    file under all scenarios. This was done to preserve the behavior that has existed for quite some time.
    
    (closes issue #14674)
    Reported by: ulogic
    Patches:
          bug14674.patch uploaded by jpeeler (license 325)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@226892 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-02 18:11:19 +00:00
Kevin P. Fleming
e236b8ad49 Backport audio handling loop fixes from trunk version of app_fax.
This backport resolves some issues handling audio frames during FAX processing,
and ensures that the FAX application doesn't accidentally get notified of a T.38
switchover at the end of a successful FAX.

(issue #16127)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@225870 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-26 15:51:10 +00:00
David Vossel
4672e2805b Merged revisions 225445 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r225445 | dvossel | 2009-10-22 14:55:51 -0500 (Thu, 22 Oct 2009) | 50 lines
  
  SIP TCP/TLS: move client connection setup/write into tcp helper thread, various related locking/memory fixes.
  
          What this patch fixes
  1.Moves sip TCP/TLS connection setup into the TCP helper thread:
    Connection setup takes awhile and before this it was being
    done while holding the monitor lock.
  2.Moves TCP/TLS writing to the TCP helper thread:  Through the
    use of a packet queue and an alert pipe, the TCP helper thread
    can now be woken up to write data as well as read data.
  3.Locking error: sip_xmit returned an XMIT_ERROR without giving
    up the tcptls_session lock.  This lock has been completely removed
    from sip_xmit and placed in the new sip_tcptls_write() function.
  4.Memory leak:  When creating a tcptls_client the tls_cfg was alloced
    but never freed unless the tcptls_session failed to start.  Now the
    session_args for a sip client are an ao2 object which frees the
    tls_cfg on destruction.
  5.Pointer to stack variable: During sip_prepare_socket the creation
    of a client's ast_tcptls_session_args was done on the stack and
    stored as a pointer in the newly created tcptls_session.  Depending
    on the events that followed, there was a slight possibility that
    pointer could have been accessed after the stack returned.  Given
    the new changes, it is always accessed after the stack returns
    which is why I found it.
  
  Notable code changes
  1.I broke tcptls.c's ast_tcptls_client_start() function into two
    functions.  One for creating and allocating the new tcptls_session,
    and a separate one for starting and handling the new connection.
    This allowed me to create the tcptls_session, launch the helper
    thread, and then establish the connection within the helper thread.
  2.Writes to a tcptls_session are now done within the helper thread.
    This is done by using an alert pipe to wake up the thread if new
    data needs to be sent.  The thread's sip_threadinfo object contains
    the alert pipe as well as the packet queue.
  3.Since the threadinfo object contains the alert pipe, it must now be
    accessed outside of the helper thread for every write (queuing of a
    packet).  For easy lookup, I moved the threadinfo objects from a
    linked list to an ao2_container.
  
  (closes issue #13136)
  Reported by: pabelanger
  Tested by: dvossel, whys
  
  (closes issue #15894)
  Reported by: dvossel
  Tested by: dvossel
  
  Review: https://reviewboard.asterisk.org/r/380/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@225490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-22 22:07:05 +00:00
Tilghman Lesher
ae34805b65 Merged revisions 225360 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r225360 | tilghman | 2009-10-22 12:11:23 -0500 (Thu, 22 Oct 2009) | 11 lines
  
  Merged revisions 225105 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r225105 | tilghman | 2009-10-21 11:02:12 -0500 (Wed, 21 Oct 2009) | 4 lines
    
    Fix documentation for ast_softhangup() and correct the misuse thereof.
    (closes issue #16103)
     Reported by: majorbloodnok
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@225362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-22 17:14:39 +00:00
Joshua Colp
eb20b22f65 Merged revisions 224567 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r224567 | file | 2009-10-19 16:49:09 -0300 (Mon, 19 Oct 2009) | 12 lines
  
  Merged revisions 224565 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r224565 | file | 2009-10-19 16:47:50 -0300 (Mon, 19 Oct 2009) | 5 lines
    
    Do not attempt early media bridging (ie: direct RTP setup) if options are enabled that should prevent it.
    
    (closes issue #14763)
    Reported by: cupotka
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@224570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-19 19:51:12 +00:00
Tilghman Lesher
53ab988b4d git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@224450 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2009-10-19 00:13:23 +00:00