]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
15 years agoMerged revisions 231692 via svnmerge from
Kevin P. Fleming [Mon, 30 Nov 2009 21:55:11 +0000 (21:55 +0000)] 
Merged revisions 231692 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r231692 | kpfleming | 2009-11-30 15:47:42 -0600 (Mon, 30 Nov 2009) | 22 lines

  Another round of UDPTL stack fixes/improvements:

  1) Allow users of UDPTL stack to associate a character-string tag with a UDPTL
     session, so that log/error/debug messages generated by the UDPTL stack can
     be 'connected' to the endpoint that caused them to be generated.

  2) Improve comments (and process) of calculating the far end's maximum IFP size
     when redundancy mode is in use for error correction.

  3) When an IFP larger than the calculated 'far max IFP' size is presented for
     writing, truncate it rather than putting in the buffer and allowing the buffer
     to overflow; this will cause the ends to retrain to a lower bit rate that
     produces IFPs of an appropriate size if possible, and if not possible, the
     FAX transfer will fail completely. In these cases, it is due to the one endpoint
     supplying a T38FaxMaxDatagram value that is improperly calculated and is
     too low to be of use; we have configuration options available to override
     this behavior.

  4) Eliminate use of T38FaxMaxDatagram value in udptl.conf; it is no longer
     needed.
........

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

15 years agoMerged revisions 231688 via svnmerge from
Matthew Nicholson [Mon, 30 Nov 2009 21:36:53 +0000 (21:36 +0000)] 
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

15 years agoTurn off debug mode in 1.6.1; fix such that debug mode and non-debug mode functions...
Tilghman Lesher [Mon, 30 Nov 2009 20:58:33 +0000 (20:58 +0000)] 
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

15 years agoMerged revisions 231602 via svnmerge from
Joshua Colp [Mon, 30 Nov 2009 20:47:05 +0000 (20:47 +0000)] 
Merged revisions 231602 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r231602 | file | 2009-11-30 16:44:30 -0400 (Mon, 30 Nov 2009) | 5 lines

  When receiving SDP that matches the version of the last one do not treat it as a fatal error.

  (closes issue #16238)
  Reported by: seandarcy
........

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

15 years agoMerged revisions 231556 via svnmerge from
David Vossel [Mon, 30 Nov 2009 18:57:36 +0000 (18:57 +0000)] 
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

15 years agoMerged revisions 231491 via svnmerge from
David Vossel [Mon, 30 Nov 2009 17:33:09 +0000 (17:33 +0000)] 
Merged revisions 231491 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r231491 | dvossel | 2009-11-30 11:28:28 -0600 (Mon, 30 Nov 2009) | 17 lines

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

  ........
    r231441 | dvossel | 2009-11-30 11:14:08 -0600 (Mon, 30 Nov 2009) | 11 lines

    fixes crash caused by RTP comfort noise payload greater than 24 bytes

    AST-2009-010

    (closes issue #16242)
    Reported by: amorsen
    Patches:
          issue16242.diff uploaded by oej (license 306)
    Tested by: amorsen, oej, dvossel
  ........
................

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

15 years agoMerged revisions 231299 via svnmerge from
Tilghman Lesher [Wed, 25 Nov 2009 22:34:38 +0000 (22:34 +0000)] 
Merged revisions 231299 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r231299 | tilghman | 2009-11-25 16:33:02 -0600 (Wed, 25 Nov 2009) | 9 lines

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

  ........
    r231298 | tilghman | 2009-11-25 16:31:57 -0600 (Wed, 25 Nov 2009) | 2 lines

    After a frame duplication failure, unlock the channel before returning.
  ........
................

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

15 years agoMerged revisions 231189 via svnmerge from
Matthew Nicholson [Wed, 25 Nov 2009 15:44:45 +0000 (15:44 +0000)] 
Merged revisions 231189 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r231189 | mnicholson | 2009-11-25 09:42:48 -0600 (Wed, 25 Nov 2009) | 4 lines

  Load pbx_lua with global symbols to allow linking with other lua libraries.

  Found by Maxim Litnitskiy.
........

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

15 years agoMerged revisions 231134 via svnmerge from
Tilghman Lesher [Tue, 24 Nov 2009 20:35:02 +0000 (20:35 +0000)] 
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

15 years agoMerged revisions 231095 via svnmerge from
Jeff Peeler [Tue, 24 Nov 2009 18:54:01 +0000 (18:54 +0000)] 
Merged revisions 231095 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r231095 | jpeeler | 2009-11-24 12:50:36 -0600 (Tue, 24 Nov 2009) | 11 lines

  Fix erroneous hangup extension execution

  ast_spawn_extension behaves differently from 1.4 in that hangups and extensions
  that do not exist do not return an error, whereas in 1.6 it does. This is now
  taken into account so that the AST_FLAG_BRIDGE_HANGUP_RUN flag gets set
  properly.

  (closes issue #16106)
  Reported by: ajohnson
  Tested by: ajohnson
........

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

15 years agoMerged revisions 230881 via svnmerge from
Joshua Colp [Mon, 23 Nov 2009 15:47:54 +0000 (15:47 +0000)] 
Merged revisions 230881 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r230881 | file | 2009-11-23 09:45:45 -0600 (Mon, 23 Nov 2009) | 7 lines

  Change fax detection in chan_sip so it behaves as one would expect.

  Internally the way T.38 is negotiated has changed and the option no longer
  reflects a behavior that is valid. It will now look for a CNG tone on
  received calls and if present send the call to the 'fax' extension. It is
  then up to the application or channel to request the switch over to T.38.
........

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

15 years agoMerged revisions 230877 via svnmerge from
Kevin P. Fleming [Mon, 23 Nov 2009 15:36:47 +0000 (15:36 +0000)] 
Merged revisions 230877 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r230877 | kpfleming | 2009-11-23 09:34:16 -0600 (Mon, 23 Nov 2009) | 9 lines

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

  ........
    r230839 | kpfleming | 2009-11-23 09:09:24 -0600 (Mon, 23 Nov 2009) | 1 line

    Correct fix for issue #16268... the reporter's original patch was very close to correct.
  ........
................

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

15 years agoMerged revisions 230773 via svnmerge from
Kevin P. Fleming [Mon, 23 Nov 2009 14:20:42 +0000 (14:20 +0000)] 
Merged revisions 230773 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r230773 | kpfleming | 2009-11-23 08:15:48 -0600 (Mon, 23 Nov 2009) | 12 lines

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

  ........
    r230772 | kpfleming | 2009-11-23 08:13:56 -0600 (Mon, 23 Nov 2009) | 5 lines

    Ensure that SDP parsing does not ignore the last line of the SDP.

    (closes issue #16268)
    Reported by: sgimeno
  ........
................

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

15 years agoMerged revisions 230726 via svnmerge from
David Vossel [Fri, 20 Nov 2009 22:37:18 +0000 (22:37 +0000)] 
Merged revisions 230726 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r230726 | dvossel | 2009-11-20 16:35:54 -0600 (Fri, 20 Nov 2009) | 7 lines

  fixes iax2 show cache locking error, thanks alecdavis!

  (closes issue #16094)
  Reported by: alecdavis
  Patches:
        bug16094.diff.txt uploaded by alecdavis (license 585)
  Tested by: alecdavis, dvossel
........

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

15 years agoMerged revisions 230628 via svnmerge from
Matthew Nicholson [Fri, 20 Nov 2009 21:08:50 +0000 (21:08 +0000)] 
Merged revisions 230628 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r230628 | mnicholson | 2009-11-20 15:01:10 -0600 (Fri, 20 Nov 2009) | 15 lines

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

  ........
    r230627 | mnicholson | 2009-11-20 14:53:06 -0600 (Fri, 20 Nov 2009) | 8 lines

    Copy the peer CDR's userfield to the bridge CDR if it exists.  This is necessary for the recordagentcalls option in chan_agent to store the recorded file name in the bridge CDR.

    (closes issue #14590)
    Reported by: msetim
    Patches:
          queue_agent_userfield.patch uploaded by Laureano (license 265)
    Tested by: Laureano, mnicholson
  ........
................

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

15 years agoMerged revisions 230583 via svnmerge from
David Vossel [Fri, 20 Nov 2009 17:32:16 +0000 (17:32 +0000)] 
Merged revisions 230583 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r230583 | dvossel | 2009-11-20 11:26:20 -0600 (Fri, 20 Nov 2009) | 6 lines

  audiohook signal trigger on every status change

  (issue #14618)

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

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

15 years agoMerged revisions 230509 via svnmerge from
David Vossel [Thu, 19 Nov 2009 21:31:57 +0000 (21:31 +0000)] 
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

15 years agoMerged revisions 230381 via svnmerge from
Kevin P. Fleming [Mon, 16 Nov 2009 16:41:27 +0000 (16:41 +0000)] 
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

15 years agoMerged revisions 230343 via svnmerge from
Kevin P. Fleming [Mon, 16 Nov 2009 12:53:16 +0000 (12:53 +0000)] 
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

15 years agoMerged revisions 230247 via svnmerge from
Kevin P. Fleming [Sun, 15 Nov 2009 17:24:32 +0000 (17:24 +0000)] 
Merged revisions 230247 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r230247 | kpfleming | 2009-11-15 11:23:02 -0600 (Sun, 15 Nov 2009) | 12 lines

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

  ........
    r230246 | kpfleming | 2009-11-15 11:19:06 -0600 (Sun, 15 Nov 2009) | 6 lines

    Correct mistaken option name in error message.

    The configuration option for allowing hosts to make non-token-based calls
    is 'calltokenoptional', not 'calltokenignore'. (reported on asterisk-users)
  ........
................

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

15 years agoMerged revisions 230145 via svnmerge from
Joshua Colp [Fri, 13 Nov 2009 22:01:24 +0000 (22:01 +0000)] 
Merged revisions 230145 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r230145 | file | 2009-11-13 16:00:44 -0600 (Fri, 13 Nov 2009) | 15 lines

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

  ........
    r230144 | file | 2009-11-13 16:00:19 -0600 (Fri, 13 Nov 2009) | 8 lines

    Respect the maddr parameter in the Via header.

    (closes issue #14446)
    Reported by: frawd
    Patches:
          via_maddr.patch uploaded by frawd (license 610)
    Tested by: frawd
  ........
................

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

15 years agoMerged revisions 230039 via svnmerge from
Joshua Colp [Fri, 13 Nov 2009 19:45:35 +0000 (19:45 +0000)] 
Merged revisions 230039 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r230039 | file | 2009-11-13 13:44:53 -0600 (Fri, 13 Nov 2009) | 16 lines

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

  ........
    r230038 | file | 2009-11-13 13:44:07 -0600 (Fri, 13 Nov 2009) | 9 lines

    Fix a crash caused by two threads thinking they should both free the
    chan_local private structure when only one should.

    (closes issue #15314)
    Reported by: sroberts
    Patches:
          Issue15314_Move_Nulling_owner.patch uploaded by davidw (license 780)
    Tested by: davidw, lottc
  ........
................

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

15 years agoMerged revisions 229966 via svnmerge from
Joshua Colp [Fri, 13 Nov 2009 17:21:26 +0000 (17:21 +0000)] 
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

15 years agoMerged revisions 229912 via svnmerge from
Joshua Colp [Fri, 13 Nov 2009 15:57:13 +0000 (15:57 +0000)] 
Merged revisions 229912 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r229912 | file | 2009-11-13 09:56:16 -0600 (Fri, 13 Nov 2009) | 2 lines

  Fix T.38 negotiation regression introduced with the SDP parser changes.
........

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

15 years agoMerged revisions 229750 via svnmerge from
Jason Parker [Thu, 12 Nov 2009 23:31:12 +0000 (23:31 +0000)] 
Merged revisions 229750 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r229750 | qwell | 2009-11-12 17:30:10 -0600 (Thu, 12 Nov 2009) | 1 line

  Fix mute toggling on OSS channels.
........

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

15 years agoMerged revisions 229670 via svnmerge from
David Vossel [Thu, 12 Nov 2009 16:48:46 +0000 (16:48 +0000)] 
Merged revisions 229670 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r229670 | dvossel | 2009-11-12 10:44:39 -0600 (Thu, 12 Nov 2009) | 12 lines

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

  ........
    r229669 | dvossel | 2009-11-12 10:41:49 -0600 (Thu, 12 Nov 2009) | 6 lines

    fixes merging error, datastore was being freed in the wrong function.

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

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

15 years agoMerged revisions 229568 via svnmerge from
David Ruggles [Wed, 11 Nov 2009 20:48:47 +0000 (20:48 +0000)] 
Merged revisions 229568 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r229568 | diruggles | 2009-11-11 15:47:06 -0500 (Wed, 11 Nov 2009) | 9 lines

  Remove non-functional feature from ExternalIVR documentation

  Remove non-functional socket implementation of ExternalIVR from documentation

  (closes issue #16225)
  Reported by: thedavidfactor
  Patches:
        externalivr.txt.20091111.1542.patch uploaded by thedavidfactor (license 903)
........

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

15 years agoMerged revisions 229499 via svnmerge from
David Brooks [Wed, 11 Nov 2009 19:54:29 +0000 (19:54 +0000)] 
Merged revisions 229499 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r229499 | dbrooks | 2009-11-11 13:48:18 -0600 (Wed, 11 Nov 2009) | 15 lines

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

  ........
    r229498 | dbrooks | 2009-11-11 13:46:19 -0600 (Wed, 11 Nov 2009) | 8 lines

    Solaris doesn't like NULL going to ast_log

    Solaris will crash if NULL is passed to ast_log. This simple patch simply uses S_OR to
    get around this.

    (closes issue #15392)
    Reported by: yrashk
  ........
................

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

15 years agoMerged revisions 229460 via svnmerge from
David Brooks [Wed, 11 Nov 2009 18:26:11 +0000 (18:26 +0000)] 
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

15 years agoMerged revisions 229361 via svnmerge from
Tilghman Lesher [Tue, 10 Nov 2009 22:17:26 +0000 (22:17 +0000)] 
Merged revisions 229361 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r229361 | tilghman | 2009-11-10 16:14:22 -0600 (Tue, 10 Nov 2009) | 19 lines

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

  ........
    r229360 | tilghman | 2009-11-10 16:09:16 -0600 (Tue, 10 Nov 2009) | 12 lines

    If two pattern classes start with the same digit and have the same number of characters, they will compare equal.
    The example given in the issue report is that of [234] and [246], which have
    these characteristics, yet they are clearly not equivalent.  The code still
    uses these two characteristics, yet when the two scores compare equal, an
    additional check will be done to compare all characters within the class to
    verify equality.
    (closes issue #15421)
     Reported by: jsmith
     Patches:
           20091109__issue15421__2.diff.txt uploaded by tilghman (license 14)
     Tested by: jsmith, thedavidfactor
  ........
................

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

15 years agoMerged revisions 229356 via svnmerge from
David Ruggles [Tue, 10 Nov 2009 22:04:04 +0000 (22:04 +0000)] 
Merged revisions 229356 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r229356 | diruggles | 2009-11-10 17:01:50 -0500 (Tue, 10 Nov 2009) | 16 lines

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

  ........
    r229355 | diruggles | 2009-11-10 16:45:15 -0500 (Tue, 10 Nov 2009) | 9 lines

    Fix ExternalIVR Documentation

    Remove documentation for event that doesn't function

    (closes issue #16220)
    Reported by: thedavidfactor
    Patches:
          externalivr.txt.20091110.1622.patch uploaded by thedavidfactor (license 903)
  ........
................

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

15 years agoMerged revisions 229351 via svnmerge from
Tilghman Lesher [Tue, 10 Nov 2009 21:31:35 +0000 (21:31 +0000)] 
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

15 years agoMerged revisions 229282 via svnmerge from
Joshua Colp [Tue, 10 Nov 2009 20:09:02 +0000 (20:09 +0000)] 
Merged revisions 229282 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r229282 | file | 2009-11-10 16:06:13 -0400 (Tue, 10 Nov 2009) | 15 lines

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

  ........
    r229281 | file | 2009-11-10 16:03:14 -0400 (Tue, 10 Nov 2009) | 8 lines

    Remove broken support for direct transcoding between G.726 RFC3551 and G.726 AAL2.

    On some systems the translation core would actually consider g726aal2 -> g726 -> signed linear
    to be a quicker path then g726aal2 -> signed linear which exposed this problem.

    (closes issue #15504)
    Reported by: globalnetinc
  ........
................

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

15 years agoMerged revisions 229168 via svnmerge from
David Vossel [Tue, 10 Nov 2009 17:53:25 +0000 (17:53 +0000)] 
Merged revisions 229168 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r229168 | dvossel | 2009-11-10 11:16:49 -0600 (Tue, 10 Nov 2009) | 15 lines

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

  ........
    r229167 | dvossel | 2009-11-10 11:15:57 -0600 (Tue, 10 Nov 2009) | 9 lines

    don't crash on log message in solaris

    AST-2009-006

    (closes issue #16206)
    Reported by: bklang
    Tested by: bklang
  ........
................

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

15 years agoMerged revisions 229228 via svnmerge from
David Ruggles [Tue, 10 Nov 2009 17:38:55 +0000 (17:38 +0000)] 
Merged revisions 229228 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r229228 | diruggles | 2009-11-10 12:33:47 -0500 (Tue, 10 Nov 2009) | 18 lines

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

  ........
    r229191 | diruggles | 2009-11-10 12:23:59 -0500 (Tue, 10 Nov 2009) | 11 lines

    Document ExternalIVR event tag collision

    ExternalIVR uses the D tag for two different event types. This documents that
    behavior and how to differentiate between the two cases. Also includes a minor
    spelling fix and clarification

    (closes issue #16211)
    Reported by: thedavidfactor
    Patches:
          externalivr.txt.20091109.1507.patch uploaded by thedavidfactor (license 903)
  ........
................

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

15 years agoReverted revision 202008.
Matthew Nicholson [Tue, 10 Nov 2009 15:38:20 +0000 (15:38 +0000)] 
Reverted revision 202008.

(closes issue #16175)
Reported by: paul-tg

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

15 years agoreverting changes made by r229095 as they are not applicable to 1.6.1
David Vossel [Tue, 10 Nov 2009 15:36:10 +0000 (15:36 +0000)] 
reverting changes made by r229095 as they are not applicable to 1.6.1

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

15 years agoMerged revisions 229093 via svnmerge from
David Vossel [Tue, 10 Nov 2009 15:28:57 +0000 (15:28 +0000)] 
Merged revisions 229093 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r229093 | dvossel | 2009-11-10 09:27:45 -0600 (Tue, 10 Nov 2009) | 11 lines

  fixes pgsql double free of threadstorage

  A thread storage variable was being freed incorrectly, which
  resulted in a double free if two queries were made in the same thread.

  (closes issue #16011)
  Reported by: cristiandimache
  Patches:
        issue16011.diff uploaded by dvossel (license 671)
........

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

15 years agoMerged revisions 229050 via svnmerge from
Gavin Henry [Tue, 10 Nov 2009 11:22:37 +0000 (11:22 +0000)] 
Merged revisions 229050 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r229050 | ghenry | 2009-11-10 11:16:10 +0000 (Tue, 10 Nov 2009) | 20 lines

  Schema file additions

  * Added AsteriskDialplan, AsteriskAccount and AsteriskMailbox  objectClasses
    to allow standalone dialplan, account and mailbox entries (STRUCTURAL)
  * Added new Fields:
  - AstAccountLanguage, AstAccountTransport, AstAccountPromiscRedir,
  - AstAccountAccountCode, AstAccountSetVar, AstAccountAllowOverlap,
  - AstAccountVideoSupport, AstAccountIgnoreSDPVersion
  * Removed redundant IPaddr (there's already IPAddress)
  - Gives more configuration Flags for SIP-Users available (tested)
  - Allows to create Asterisk Attributes in defined Asterisk ObjectClasses
    without extensibleObject (which really should be the last resort); gives
    also additional possibilities for LDAP-filter

  (closes issue #15874)
  Reported by: Medozas
  Patches:
        asterisk.ldap-schema.patch uploaded by Medozas (license 41)
  Tested by: Medozas, suretec
........

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

15 years agoMerged revisions 229015 via svnmerge from
Terry Wilson [Mon, 9 Nov 2009 22:52:43 +0000 (22:52 +0000)] 
Merged revisions 229015 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r229015 | twilson | 2009-11-09 16:50:22 -0600 (Mon, 09 Nov 2009) | 8 lines

  Don't crash when bridge->tech_pvt == NULL

  This is a similar solution to what is in place for chan_agent

  (closes issue #16003)
  Reported by: atis
  Tested by: twilson
........

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

15 years agofixes segfault when transferring a queue caller
David Vossel [Mon, 9 Nov 2009 22:18:23 +0000 (22:18 +0000)] 
fixes segfault when transferring a queue caller

In sip_hangup we attempted to lock p->owner after we set it to NULL.
Thanks to fhackenberger for reporting the issue and submitting a patch.

(closes issue 0015848)
Reported by: fhackenberger
Patches:
      digium_bug_0015848 uploaded by fhackenberger (license 592)
Tested by: fhackenberger, lmadsen, TomS, shin-shoryuken, dvossel

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

15 years agoMerged revisions 228897 via svnmerge from
Leif Madsen [Mon, 9 Nov 2009 15:39:37 +0000 (15:39 +0000)] 
Merged revisions 228897 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r228897 | lmadsen | 2009-11-09 09:38:38 -0600 (Mon, 09 Nov 2009) | 14 lines

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

  ........
    r228896 | lmadsen | 2009-11-09 09:37:43 -0600 (Mon, 09 Nov 2009) | 6 lines

    Update WARNING message.
    Update a WARNING message to give a suggested fix when encountered.

    (closes issue #16198)
    Reported by: atis
    Tested by: atis
  ........
................

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

15 years agoMerged revisions 228858 via svnmerge from
Matthew Nicholson [Mon, 9 Nov 2009 14:54:25 +0000 (14:54 +0000)] 
Merged revisions 228858 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r228858 | mnicholson | 2009-11-09 08:37:07 -0600 (Mon, 09 Nov 2009) | 15 lines

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

  ........
    r228827 | mnicholson | 2009-11-09 08:16:03 -0600 (Mon, 09 Nov 2009) | 8 lines

    Perform limited bounds checking when destroying ast_mutex_t structures to make sure we don't try to use negative indices.

    (closes issue #15588)
    Reported by: zerohalo
    Patches:
          20090820__issue15588.diff.txt uploaded by tilghman (license 14)
    Tested by: zerohalo
  ........
................

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

15 years agoMerged revisions 228693 via svnmerge from
David Vossel [Fri, 6 Nov 2009 22:37:35 +0000 (22:37 +0000)] 
Merged revisions 228693 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r228693 | dvossel | 2009-11-06 16:35:44 -0600 (Fri, 06 Nov 2009) | 16 lines

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

  ........
    r228692 | dvossel | 2009-11-06 16:33:27 -0600 (Fri, 06 Nov 2009) | 9 lines

    fixes audiohook write crash occuring in chan_spy whisper mode.

    After writing to the audiohook list in ast_write(), frames
    were being freed incorrectly.  Under certain conditions this
    resulted in a double free crash.

    (closes issue #16133)
    Reported by: wetwired
  ........
................

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

15 years agoMerged revisions 228620 via svnmerge from
Matthew Nicholson [Fri, 6 Nov 2009 20:37:09 +0000 (20:37 +0000)] 
Merged revisions 228620 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r228620 | mnicholson | 2009-11-06 13:47:11 -0600 (Fri, 06 Nov 2009) | 15 lines

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

  ........
    r228378 | mnicholson | 2009-11-06 10:26:59 -0600 (Fri, 06 Nov 2009) | 8 lines

    Properly handle '=' while decoding base64 messages and null terminate strings returned from BASE64_DECODE.

    (closes issue #15271)
    Reported by: chappell
    Patches:
          base64_fix.patch uploaded by chappell (license 8)
    Tested by: kobaz
  ........
................

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

15 years agoMerged revisions 228548 via svnmerge from
Joshua Colp [Fri, 6 Nov 2009 18:41:59 +0000 (18:41 +0000)] 
Merged revisions 228548 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r228548 | file | 2009-11-06 14:37:59 -0400 (Fri, 06 Nov 2009) | 11 lines

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

  ........
    r228547 | file | 2009-11-06 14:32:58 -0400 (Fri, 06 Nov 2009) | 4 lines

    Don't overwrite caller ID name on a trunk with the configured fullname when using users.conf

    (issue ABE-1989)
  ........
................

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

15 years agoMerged revisions 228499 via svnmerge from
Joshua Colp [Fri, 6 Nov 2009 17:53:58 +0000 (17:53 +0000)] 
Merged revisions 228499 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r228499 | file | 2009-11-06 13:52:00 -0400 (Fri, 06 Nov 2009) | 2 lines

  Fix the localchannel.tex file.
........

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

15 years agoMerged revisions 228441 via svnmerge from
David Vossel [Fri, 6 Nov 2009 17:24:46 +0000 (17:24 +0000)] 
Merged revisions 228441 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r228441 | dvossel | 2009-11-06 11:22:31 -0600 (Fri, 06 Nov 2009) | 3 lines

  Fixes merging issue from 1.4, frame data is held in data.ptr in trunk
........

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

15 years agoMerged revisions 228420 via svnmerge from
David Vossel [Fri, 6 Nov 2009 17:10:05 +0000 (17:10 +0000)] 
Merged revisions 228420 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r228420 | dvossel | 2009-11-06 11:09:01 -0600 (Fri, 06 Nov 2009) | 19 lines

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

  ........
    r228418 | dvossel | 2009-11-06 11:07:13 -0600 (Fri, 06 Nov 2009) | 13 lines

    fixes segfault in iLBC

    For reasons not yet known, it appears possible for an ast_frame
    to have a datalen greater than zero while the actual data is NULL
    during Packet Loss Concealment.  Most codecs don't support PLC so
    this doesn't affect them.  This patch catches the malformed frame
    and prevents the crash from occuring.  Additional efforts to determine
    why it is possible for a frame to look like this are still being
    investigated.

    (issue #16979)
  ........
................

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

15 years agoMerged revisions 228410 via svnmerge from
Joshua Colp [Fri, 6 Nov 2009 16:44:23 +0000 (16:44 +0000)] 
Merged revisions 228410 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r228410 | file | 2009-11-06 12:42:23 -0400 (Fri, 06 Nov 2009) | 14 lines

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

  ........
    r228409 | file | 2009-11-06 12:41:20 -0400 (Fri, 06 Nov 2009) | 7 lines

    Fix a bug caused by a partially invalid frame (from the jitterbuffer) passing through the Asterisk core.

    (closes issue #15560)
    Reported by: jvandal
    (closes issue #15709)
    Reported by: covici
  ........
................

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

15 years agoMerged revisions 228339 via svnmerge from
David Vossel [Fri, 6 Nov 2009 15:44:04 +0000 (15:44 +0000)] 
Merged revisions 228339 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r228339 | dvossel | 2009-11-06 09:42:46 -0600 (Fri, 06 Nov 2009) | 12 lines

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

  ........
    r228338 | dvossel | 2009-11-06 09:41:41 -0600 (Fri, 06 Nov 2009) | 5 lines

    fixes crash in astfd.c

    (closes issue #15981)
    Reported by: slavon
  ........
................

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

15 years agoMerged revisions 228268 via svnmerge from
David Vossel [Fri, 6 Nov 2009 15:05:47 +0000 (15:05 +0000)] 
Merged revisions 228268 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r228268 | dvossel | 2009-11-06 09:04:24 -0600 (Fri, 06 Nov 2009) | 9 lines

  fixes memory leak in func_audiohookinherit.c

  (closes issue #15394)
  Reported by: boroda
  Patches:
        bug15394_memoryleak_diff2.txt uploaded by dbrooks (license 790)
  Tested by: dbrooks, boroda
........

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

15 years agoMerged revisions 227238 via svnmerge from
David Vossel [Fri, 6 Nov 2009 14:58:44 +0000 (14:58 +0000)] 
Merged revisions 227238 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r227238 | dvossel | 2009-11-03 11:12:52 -0600 (Tue, 03 Nov 2009) | 5 lines

  user.conf entries in SIP were not having their peer type set.

  (closes issue #16120)
  Reported by: jsmith
........

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

15 years agoMerged revisions 228196 via svnmerge from
Tilghman Lesher [Thu, 5 Nov 2009 22:13:37 +0000 (22:13 +0000)] 
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

15 years agoMerged revisions 228191 via svnmerge from
Tilghman Lesher [Thu, 5 Nov 2009 21:26:13 +0000 (21:26 +0000)] 
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

15 years agoMerged revisions 228189 via svnmerge from
Jeff Peeler [Thu, 5 Nov 2009 21:24:33 +0000 (21:24 +0000)] 
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

15 years agoMerged revisions 228145 via svnmerge from
David Brooks [Thu, 5 Nov 2009 19:41:40 +0000 (19:41 +0000)] 
Merged revisions 228145 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r228145 | dbrooks | 2009-11-05 13:34:50 -0600 (Thu, 05 Nov 2009) | 16 lines

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

  ........
    r228078 | dbrooks | 2009-11-05 12:59:41 -0600 (Thu, 05 Nov 2009) | 9 lines

    chan_misdn Asterisk 1.4.27-rc2 crash

    Crash related to chan_misdn connection. Patch submitted by gknispel_proformatique, tested
    by francesco_r. "I have many crash since i have upgraded to Asterisk 1.4.27-rc2. Attached
    a full bt." This patch zeros out an ast_frame.

    (closes issue #16041)
    Reported by: francesco_r
  ........
................

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

15 years agoMerged revisions 228080 via svnmerge from
Jason Parker [Thu, 5 Nov 2009 19:19:34 +0000 (19:19 +0000)] 
Merged revisions 228080 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r228080 | qwell | 2009-11-05 13:16:29 -0600 (Thu, 05 Nov 2009) | 15 lines

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

  ........
    r228079 | qwell | 2009-11-05 13:14:25 -0600 (Thu, 05 Nov 2009) | 8 lines

    Fix crash on VPB exception when no hardware is present.

    (closes issue #14970)
    Reported by: tzafrir
    Patches:
          vpb_exception.diff uploaded by tzafrir (license 46)
    Tested by: markwaters
  ........
................

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

15 years agoMerged revisions 228015 via svnmerge from
Tilghman Lesher [Thu, 5 Nov 2009 17:10:06 +0000 (17:10 +0000)] 
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

15 years agoMerged revisions 227945 via svnmerge from
Jeff Peeler [Wed, 4 Nov 2009 23:56:19 +0000 (23:56 +0000)] 
Merged revisions 227945 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r227945 | jpeeler | 2009-11-04 17:50:59 -0600 (Wed, 04 Nov 2009) | 21 lines

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

  ........
    r227944 | jpeeler | 2009-11-04 17:47:08 -0600 (Wed, 04 Nov 2009) | 14 lines

    Fix incorrect filename comparsion after monitor file change

    The logic to detect if a requested file is indeed a different file from the
    current file was incorrect. The main issue being confusion of the use of
    filename_base which was previously set without pathing information and then
    compared to another full path. Robust file comparison logic has been added
    to properly check if two files are the same even if symlinks are used.

    (closes issue #15313)
    Reported by: caspy
    Patches:
          20091103__issue15313__1.4.diff.txt uploaded by jpeeler (license 325)
          but mostly tilghman's work
  ........
................

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

15 years agoMerged revisions 227829 via svnmerge from
Matthew Nicholson [Wed, 4 Nov 2009 21:15:46 +0000 (21:15 +0000)] 
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

15 years agoModify the SDP parsing code to parse session and media level items separately.
Matthew Nicholson [Wed, 4 Nov 2009 20:17:24 +0000 (20:17 +0000)] 
Modify the SDP parsing code to parse session and media level items separately.

With the new code, media level proprieties should no longer be confused with session level proprieties. This change also reorganizes some of the SDP parsing code which should make it easier to manage in the future.

(closes issue #14994)
Reported by: frawd

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

15 years agoMerged revisions 227739 via svnmerge from
Joshua Colp [Wed, 4 Nov 2009 19:27:52 +0000 (19:27 +0000)] 
Merged revisions 227739 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r227739 | file | 2009-11-04 15:26:19 -0400 (Wed, 04 Nov 2009) | 12 lines

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

  ........
    r227735 | file | 2009-11-04 15:25:37 -0400 (Wed, 04 Nov 2009) | 5 lines

    Fix a security issue where it may be possible for someone to execute a cross-site
    AJAX request exploit.

    (AST-2009-009)
  ........
................

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

15 years agoMerged revisions 227712 via svnmerge from
Joshua Colp [Wed, 4 Nov 2009 19:23:01 +0000 (19:23 +0000)] 
Merged revisions 227712 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r227712 | file | 2009-11-04 15:20:46 -0400 (Wed, 04 Nov 2009) | 12 lines

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

  ........
    r227700 | file | 2009-11-04 15:17:39 -0400 (Wed, 04 Nov 2009) | 5 lines

    Fix a security issue where sending a REGISTER with a differing username in the From
    URI and Authorization header would reveal whether it was valid or not.

    (AST-2009-008)
  ........
................

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

15 years agoMerged revisions 227372 via svnmerge from
Jason Parker [Tue, 3 Nov 2009 20:01:04 +0000 (20:01 +0000)] 
Merged revisions 227372 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r227372 | qwell | 2009-11-03 13:59:46 -0600 (Tue, 03 Nov 2009) | 9 lines

  Fix some build issues on Solaris.

  (closes issue #14517)
  (SWP-109)
  Reported by: asgaroth
  Patches:
        bug_14517.diff uploaded by snuffy (license 35)
  Tested by: asgaroth, snuffy, dougm, qwell
........

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

15 years agoMerged revisions 227368 via svnmerge from
Leif Madsen [Tue, 3 Nov 2009 19:49:31 +0000 (19:49 +0000)] 
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

15 years agoMerged revisions 227361 via svnmerge from
Leif Madsen [Tue, 3 Nov 2009 19:26:14 +0000 (19:26 +0000)] 
Merged revisions 227361 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r227361 | lmadsen | 2009-11-03 13:25:18 -0600 (Tue, 03 Nov 2009) | 11 lines

  Additional fixes to the extensions.conf.sample file.

  Update the extensions.conf.sample [stdexten] context so that we use the
  variable instead of requiring it to be passed explicitly. Also updated uses of
  the [stdexten] context throughout.

  (closes issue #15858)
  Reported by: pprindeville
  Patches:
        stdexten-context-update.txt uploaded by lmadsen (license 10)
  Tested by: pprindeville
........

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

15 years agoMerged revisions 227275 via svnmerge from
Richard Mudgett [Tue, 3 Nov 2009 18:11:08 +0000 (18:11 +0000)] 
Merged revisions 227275 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r227275 | rmudgett | 2009-11-03 11:55:47 -0600 (Tue, 03 Nov 2009) | 4 lines

  Make sure the outgoing flag is cleared if a new channel fails to get created for outgoing calls.

  This is the relevant portion of asterisk/trunk -r226648
........

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

15 years agoMerged revisions 227167 via svnmerge from
Joshua Colp [Tue, 3 Nov 2009 15:38:57 +0000 (15:38 +0000)] 
Merged revisions 227167 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r227167 | file | 2009-11-03 11:37:08 -0400 (Tue, 03 Nov 2009) | 12 lines

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

  ........
    r227166 | file | 2009-11-03 11:36:16 -0400 (Tue, 03 Nov 2009) | 5 lines

    Fix a bug where an RPID header could be generated with a blank username in the URI.

    (closes issue #15909)
    Reported by: kobaz
  ........
................

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

15 years agoMerged revisions 227162 via svnmerge from
Leif Madsen [Tue, 3 Nov 2009 15:24:51 +0000 (15:24 +0000)] 
Merged revisions 227162 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r227162 | lmadsen | 2009-11-03 09:19:47 -0600 (Tue, 03 Nov 2009) | 7 lines

  Update extensions.conf.sample file to fix incorrect extensions.

  (closes issue #15857)
  Reported by: pprindeville
  Patches:
        stdexten.patch#2 uploaded by pprindeville (license 347)
  Tested by: pprindeville
........

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

15 years agoMerged revisions 227091 via svnmerge from
Olle Johansson [Tue, 3 Nov 2009 13:32:24 +0000 (13:32 +0000)] 
Merged revisions 227091 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r227091 | oej | 2009-11-03 12:11:15 +0100 (Tis, 03 Nov 2009) | 15 lines

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

........
r227088 | oej | 2009-11-03 11:29:59 +0100 (Tis, 03 Nov 2009) | 7 lines

Use proper response code when violating Contact ACL's.

https://reviewboard.asterisk.org/r/415/

Thanks kpfleming for a quick review.
(EDVX-003)

........

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

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

15 years agoSIP channel name uniqueness
David Brooks [Mon, 2 Nov 2009 21:05:58 +0000 (21:05 +0000)] 
SIP channel name uniqueness

SIP channel names were supposed to be unique by way of a name suffix derived from the
pointer to the channel's private data. Uniqueness was preserved on 32-bit systems, but
not on 64-bit systems. This patch, as suggested by kpfleming, replaces this suffix with
a simple incremented unsigned int.

(closes issue #15152)
Reported by: palbrecht

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

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

15 years agoMerged revisions 226890 via svnmerge from
Joshua Colp [Mon, 2 Nov 2009 18:11:19 +0000 (18:11 +0000)] 
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

15 years agoMerged revisions 226812 via svnmerge from
Tilghman Lesher [Mon, 2 Nov 2009 17:17:03 +0000 (17:17 +0000)] 
Merged revisions 226812 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r226812 | tilghman | 2009-11-02 11:15:31 -0600 (Mon, 02 Nov 2009) | 15 lines

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

  ........
    r226811 | tilghman | 2009-11-02 11:14:20 -0600 (Mon, 02 Nov 2009) | 8 lines

    Don't allow two separate instances of safe_asterisk when restarting from the init script.
    (closes issue #14562)
     Reported by: davidw
     Patches:
           Initially 20091022__issue14562.diff.txt uploaded by tilghman (license 14)
           Modified to 20091030__Issue14562_diff.txt uploaded by davidw (license 780)
     Tested by: davidw
  ........
................

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

15 years agoMerged revisions 226532 via svnmerge from
Joshua Colp [Thu, 29 Oct 2009 18:15:41 +0000 (18:15 +0000)] 
Merged revisions 226532 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r226532 | file | 2009-10-29 15:13:42 -0300 (Thu, 29 Oct 2009) | 13 lines

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

  ........
    r226531 | file | 2009-10-29 15:11:26 -0300 (Thu, 29 Oct 2009) | 6 lines

    Add an option to enabling passing music on hold start and stop requests through instead of
    acting on them in chan_local.

    (closes issue #14709)
    Reported by: dimas
  ........
................

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

15 years agoMerged revisions 226384 via svnmerge from
Leif Madsen [Wed, 28 Oct 2009 20:15:51 +0000 (20:15 +0000)] 
Merged revisions 226384 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r226384 | lmadsen | 2009-10-28 15:11:07 -0500 (Wed, 28 Oct 2009) | 17 lines

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

  ........
    r226382 | lmadsen | 2009-10-28 15:06:13 -0500 (Wed, 28 Oct 2009) | 9 lines

    Update documentation in sip.conf.sample.

    Update the documentation in sip.conf.sample in order to make it more clear
    that directmedia/canreinvite do not cause Asterisk to ignore reINVITEs. It
    is only used to stop Asterisk from generating a reINVITE, but does not stop
    it from accepting them if necessary.

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

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

15 years agoMerged revisions 226378 via svnmerge from
Leif Madsen [Wed, 28 Oct 2009 19:51:12 +0000 (19:51 +0000)] 
Merged revisions 226378 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r226378 | lmadsen | 2009-10-28 14:50:00 -0500 (Wed, 28 Oct 2009) | 15 lines

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

  ........
    r226377 | lmadsen | 2009-10-28 14:48:29 -0500 (Wed, 28 Oct 2009) | 7 lines

    Update CALLINGSUBADDR channel variable documentation.

    (closes issue #15734)
    Reported by: alecdavis
    Patches:
          channelvariables.tex.diff.txt uploaded by alecdavis (license 585)
    Tested by: alecdavis
  ........
................

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

15 years agoMerged revisions 226305 via svnmerge from
Tilghman Lesher [Wed, 28 Oct 2009 18:05:54 +0000 (18:05 +0000)] 
Merged revisions 226305 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r226305 | tilghman | 2009-10-28 13:04:05 -0500 (Wed, 28 Oct 2009) | 9 lines

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

  ........
    r226304 | tilghman | 2009-10-28 13:02:25 -0500 (Wed, 28 Oct 2009) | 2 lines

    Fix documentation (pointed out by TheDavidFactor on #-dev)
  ........
................

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

15 years agoMerged revisions 226159 via svnmerge from
Tilghman Lesher [Tue, 27 Oct 2009 20:24:02 +0000 (20:24 +0000)] 
Merged revisions 226159 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r226159 | tilghman | 2009-10-27 15:22:07 -0500 (Tue, 27 Oct 2009) | 14 lines

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

  ........
    r226138 | tilghman | 2009-10-27 15:16:49 -0500 (Tue, 27 Oct 2009) | 7 lines

    Manager output is not always NULL-terminated, so force a NULL at the end of the filestream.
    (closes issue #15495)
     Reported by: pdf
     Patches:
           20090916__issue15495.diff.txt uploaded by tilghman (license 14)
     Tested by: pdf
  ........
................

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

15 years agoMerged revisions 226099 via svnmerge from
Terry Wilson [Tue, 27 Oct 2009 17:04:41 +0000 (17:04 +0000)] 
Merged revisions 226099 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r226099 | twilson | 2009-10-27 11:48:54 -0500 (Tue, 27 Oct 2009) | 2 lines

  Don't prepend the URI prefix to the post directory
........

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

15 years agodetect ARM Linux EABI OSARCH as linux-gnu instead of linux-gnueabi
Tzafrir Cohen [Mon, 26 Oct 2009 23:48:25 +0000 (23:48 +0000)] 
detect ARM Linux EABI OSARCH as linux-gnu instead of linux-gnueabi

* Set OSARCH to linux-gnu even if host_os is linux-gnueabi
* When checking if we are Linux, check OSARCH rather than host_os

The newer ARM ABI ("EABI") shows the OS name 'linux-gnueabi' rather than
'linux-gnu' . This patch sets OSARCH to be 'linux-gnu' even in such a case.

OSARCH is tested for the value of 'linux-gnu' in one or two places in the
tree. This patch also fixes the check libcap to check for $OSARCH rather
than $host_os .

See also: http://wiki.debian.org/ArmEabiPort

Merged revisions 225957 via svnmerge from
http://svn.digium.com/svn/asterisk/branches/1.4

Merged revisions 226018 via svnmerge from
http://svn.digium.com/svn/asterisk/trunk

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

15 years agoMerged revisions 225912 via svnmerge from
Jeff Peeler [Mon, 26 Oct 2009 19:41:30 +0000 (19:41 +0000)] 
Merged revisions 225912 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r225912 | jpeeler | 2009-10-26 14:40:26 -0500 (Mon, 26 Oct 2009) | 12 lines

  ACL check not present for verifying SIP INVITEs

  The ACL check in check_peer_ok was missing and has now been restored. The
  missing check allowed for calls to be made on prohibited networks where an ACL
  was defined in sip.conf and the allowguest option was set to off. See the AST
  security advisory below for more information.

  Merge code associated with AST-2009-007.

  (closes issue #16091)
  Reported by: thom4fun
........

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

15 years agoBackport audio handling loop fixes from trunk version of app_fax.
Kevin P. Fleming [Mon, 26 Oct 2009 15:51:10 +0000 (15:51 +0000)] 
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

15 years agoMerged revisions 225650 via svnmerge from
David Vossel [Fri, 23 Oct 2009 14:50:00 +0000 (14:50 +0000)] 
Merged revisions 225650 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r225650 | dvossel | 2009-10-23 09:41:50 -0500 (Fri, 23 Oct 2009) | 3 lines

  Fixes an iterator memory leak and uninitialized memory
........

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

15 years agoMerged revisions 225582 via svnmerge from
Kevin P. Fleming [Fri, 23 Oct 2009 14:07:20 +0000 (14:07 +0000)] 
Merged revisions 225582 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r225582 | kpfleming | 2009-10-23 09:02:42 -0500 (Fri, 23 Oct 2009) | 17 lines

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

  ........
    r225581 | kpfleming | 2009-10-23 09:00:01 -0500 (Fri, 23 Oct 2009) | 10 lines

    Don't force menuselect.makeopts to be rebuilt on every build.

    For some reason the menuselect.makeopts file was listed as PHONY in the Makefile,
    resulting in 'make' needing to rebuild it for every build. This then resulted in
    the embedded module rules being rebuilt on every build, which can be slow and is
    unnecessary.

    This patch fixes the problem by properly allowing 'make' to know when the
    menuselect.makeopts file needs to be rebuilt (defining the proper dependencies).
  ........
................

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

15 years agoMerged revisions 225445 via svnmerge from
David Vossel [Thu, 22 Oct 2009 22:07:05 +0000 (22:07 +0000)] 
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

15 years agoMerged revisions 225485 via svnmerge from
Leif Madsen [Thu, 22 Oct 2009 21:54:00 +0000 (21:54 +0000)] 
Merged revisions 225485 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r225485 | lmadsen | 2009-10-22 16:52:30 -0500 (Thu, 22 Oct 2009) | 19 lines

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

  ........
    r225484 | lmadsen | 2009-10-22 16:51:52 -0500 (Thu, 22 Oct 2009) | 11 lines

    Clean valgrind output by suppressing false errors.
    Update valgrind.txt documentation and add valgrind.supp file in order to
    allow those who are creating valgrind output to have less false errors in
    the logfile.

    (closes issue #16007)
    Reported by: atis
    Patches:
          valgrind.txt.diff uploaded by atis (license 242)
          asterisk2.supp uploaded by atis (license 242)
    Tested by: atis, amorsen
  ........
................

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

15 years agoMerged revisions 225360 via svnmerge from
Tilghman Lesher [Thu, 22 Oct 2009 17:14:39 +0000 (17:14 +0000)] 
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

15 years agoMerged revisions 225307 via svnmerge from
David Vossel [Wed, 21 Oct 2009 22:02:01 +0000 (22:02 +0000)] 
Merged revisions 225307 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r225307 | dvossel | 2009-10-21 16:58:46 -0500 (Wed, 21 Oct 2009) | 20 lines

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

  ........
    r225243 | dvossel | 2009-10-21 15:58:08 -0500 (Wed, 21 Oct 2009) | 13 lines

    IAX2: VNAK loop caused by signaling frames with no destination call number

    It is possible for the PBX thread to queue up signaling frames before
    a destination call number is received.  This can result in signaling
    frames being sent out with no destination call number. Since recent
    versions of Asterisk require accurate destination callnumbers for all
    Full Frames, this can cause a VNAK loop to occur.  To resolve this
    no signaling frames are sent until a destination callnumber is received,
    and destination call numbers are now only required for iax_pvt matching
    when the frame is an ACK.

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

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

15 years agoMerged revisions 225033 via svnmerge from
David Vossel [Wed, 21 Oct 2009 15:26:37 +0000 (15:26 +0000)] 
Merged revisions 225033 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r225033 | dvossel | 2009-10-21 09:39:10 -0500 (Wed, 21 Oct 2009) | 27 lines

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

  ........
    r225032 | dvossel | 2009-10-21 09:37:04 -0500 (Wed, 21 Oct 2009) | 20 lines

    IAX/SIP shrinkcallerid option

    The shrinking of caller id removes '(', ' ', ')', non-trailing '.',
    and '-' from the string.  This means values such as 555.5555 and
    test-test result in 555555 and testtest.  There are instances,
    such as Skype integration, where a specific value is passed via
    caller id that must be preserved unmodified.  This patch makes
    the shrinking of caller id optional in chan_sip and chan_iax in
    order to support such cases.  By default this option is on to
    preserve previous expected behavior.

    (closes issue #15940)
    Reported by: dimas
    Patches:
          v2-15940.patch uploaded by dimas (license 88)
          15940_shrinkcallerid_trunk.c uploaded by dvossel (license 671)
    Tested by: dvossel

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

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

15 years agoMerged revisions 224932 via svnmerge from
Russell Bryant [Wed, 21 Oct 2009 03:17:44 +0000 (03:17 +0000)] 
Merged revisions 224932 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r224932 | russell | 2009-10-20 22:09:04 -0500 (Tue, 20 Oct 2009) | 12 lines

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

  ........
    r224931 | russell | 2009-10-20 21:59:54 -0500 (Tue, 20 Oct 2009) | 5 lines

    Isolate frames returned from a DSP instance or codec translator.

    The reasoning for these changes are the same as what I wrote in the commit
    message for rev 222878.
  ........
................

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

15 years agoMerged revisions 224856 via svnmerge from
Tilghman Lesher [Tue, 20 Oct 2009 22:11:03 +0000 (22:11 +0000)] 
Merged revisions 224856 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r224856 | tilghman | 2009-10-20 17:09:07 -0500 (Tue, 20 Oct 2009) | 12 lines

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

  ........
    r224855 | tilghman | 2009-10-20 17:07:11 -0500 (Tue, 20 Oct 2009) | 5 lines

    Pay attention to the return value of the manipulate function.
    While this looks like an optimization, it prevents a crash from occurring
    when used with certain audiohook callbacks (diagnosed with SVN trunk,
    backported to 1.4 to keep the source consistent across versions).
  ........
................

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

15 years agoMerged revisions 224774 via svnmerge from
Joshua Colp [Tue, 20 Oct 2009 17:49:15 +0000 (17:49 +0000)] 
Merged revisions 224774 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r224774 | file | 2009-10-20 14:47:34 -0300 (Tue, 20 Oct 2009) | 12 lines

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

  ........
    r224773 | file | 2009-10-20 14:46:37 -0300 (Tue, 20 Oct 2009) | 5 lines

    Add support for relaying early media in the features attended transfer option.

    (closes issue #14828)
    Reported by: licedey
  ........
................

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

15 years agoMerged revisions 224671 via svnmerge from
Kevin P. Fleming [Mon, 19 Oct 2009 23:56:31 +0000 (23:56 +0000)] 
Merged revisions 224671 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r224671 | kpfleming | 2009-10-19 18:47:39 -0500 (Mon, 19 Oct 2009) | 14 lines

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

  ........
    r224670 | kpfleming | 2009-10-19 18:44:07 -0500 (Mon, 19 Oct 2009) | 7 lines

    Correct timestamp calculations when RTP sample rates over 8kHz are used.

    While testing some endpoints that support 16kHz and 32kHz sample rates, some
    log messages were generated due to calc_rxstamp() computing timestamps in a way
    that produced odd results, so this patch sanitizes the result of the
    computations.
  ........
................

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

15 years agoMerged revisions 224567 via svnmerge from
Joshua Colp [Mon, 19 Oct 2009 19:51:12 +0000 (19:51 +0000)] 
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

15 years agogit-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@224450 65c4cc65...
Tilghman Lesher [Mon, 19 Oct 2009 00:13:23 +0000 (00:13 +0000)] 
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@224450 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agofix typo, sorry
Jeff Peeler [Sat, 17 Oct 2009 02:02:32 +0000 (02:02 +0000)] 
fix typo, sorry

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

15 years agoMerged revisions 224331 via svnmerge from
Jeff Peeler [Sat, 17 Oct 2009 01:45:22 +0000 (01:45 +0000)] 
Merged revisions 224331 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r224331 | jpeeler | 2009-10-16 20:36:08 -0500 (Fri, 16 Oct 2009) | 20 lines

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

  ........
    r224330 | jpeeler | 2009-10-16 20:32:47 -0500 (Fri, 16 Oct 2009) | 13 lines

    Fix stale caller id data from being reported in AMI NewChannel event

    The problem here is that chan_dahdi is designed in such a way to set
    certain values in the dahdi_pvt only once. One of those such values
    is the configured caller id data in chan_dahdi.conf. For PRI, the
    configured caller id data could be overwritten during a call. Instead
    of saving the data and restoring, it was decided that for all non-analog
    channels it was simply best to not set the configured caller id in the
    first place and also clear it at the end of the call.

    (closes issue #15883)
    Reported by: jsmith
  ........
................

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

15 years agoMerged revisions 224261 via svnmerge from
Richard Mudgett [Fri, 16 Oct 2009 20:53:05 +0000 (20:53 +0000)] 
Merged revisions 224261 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r224261 | rmudgett | 2009-10-16 15:40:57 -0500 (Fri, 16 Oct 2009) | 25 lines

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

  ........
    r224260 | rmudgett | 2009-10-16 15:25:23 -0500 (Fri, 16 Oct 2009) | 18 lines

    Never released PRI channels when using Busy() or Congestion() dialplan apps.

    When the Busy() or Congestion() application is used towards ISDN (an ISDN
    progress is sent), the responding ISDN Disconnect or Release may contain
    the ISDN cause user busy or one of the congestion causes.  In chan_dahdi.c
    these causes will only set the needbusy or needcongestion flags and not
    activate the softhangup procedure.  Unfortunately only the latter can
    interrupt the endless wait loop of Busy()/Congestion().

    Result: PRI channels staying in state busy for the rest of asterisk life
    or until the other end times out and forces the call to clear.

    (in issue 0014292)
    Reported by: tomaso
    Patches:
          disc_rel_userbusy.patch uploaded by tomaso (license 564)
          (This patch is unrelated to the issue.)
  ........
................

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

15 years agoMerged revisions 224178 via svnmerge from
Jeff Peeler [Thu, 15 Oct 2009 15:58:10 +0000 (15:58 +0000)] 
Merged revisions 224178 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r224178 | jpeeler | 2009-10-15 10:57:14 -0500 (Thu, 15 Oct 2009) | 11 lines

  Readd removed ability to allow listening to one side of the call in app_chanspy

  (Option o)

  (closes issue #15675)
  Reported by: john8675309
  Patches:
        issue15675patchtrunk.txt uploaded by dbrooks (license 790)
  Tested by: jgutierrez on users list:
   http://lists.digium.com/pipermail/asterisk-users/2009-October/239155.html
........

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