]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
16 years agoMerged revisions 206280 via svnmerge from
David Vossel [Mon, 13 Jul 2009 23:33:18 +0000 (23:33 +0000)] 
Merged revisions 206280 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r206280 | dvossel | 2009-07-13 18:26:51 -0500 (Mon, 13 Jul 2009) | 9 lines

  dns lookup of peername rather than peer's host in transmit_register()

  (closes issue #15052)
  Reported by: fsantulli
  Patches:
        chan_sip_bug_15052_[20090626204511].patch uploaded by fsantulli (license 818)
  Tested by: fsantulli
........

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

16 years agoMerged revisions 206185 via svnmerge from
Tilghman Lesher [Mon, 13 Jul 2009 16:24:46 +0000 (16:24 +0000)] 
Merged revisions 206185 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r206185 | tilghman | 2009-07-13 11:23:07 -0500 (Mon, 13 Jul 2009) | 2 lines

  Remove reference to non-existent help file
........

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

16 years agoMerged revisions 205985 via svnmerge from
David Vossel [Fri, 10 Jul 2009 21:52:29 +0000 (21:52 +0000)] 
Merged revisions 205985 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r205985 | dvossel | 2009-07-10 16:42:10 -0500 (Fri, 10 Jul 2009) | 16 lines

  SIP register not using peer's outbound proxy

  If callbackextension is defined for a peer it successfully causes
  a registration to occur, but the registration ignores the
  outboundproxy settings for the peer.  This patch allows the
  peer to be passed to obproxy_get() in transmit_register().

  (closes issue #14344)
  Reported by: Nick_Lewis
  Patches:
        callbackextension_peer_trunk.diff uploaded by dvossel (license 671)
  Tested by: dvossel

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

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

16 years agoMerged revisions 205939 via svnmerge from
Kevin P. Fleming [Fri, 10 Jul 2009 18:45:03 +0000 (18:45 +0000)] 
Merged revisions 205939 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r205939 | kpfleming | 2009-07-10 13:44:09 -0500 (Fri, 10 Jul 2009) | 1 line

  Update comments about the level of T.38 support in Asterisk.
........

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

16 years agoMerged revisions 205878 via svnmerge from
Mark Michelson [Fri, 10 Jul 2009 17:50:15 +0000 (17:50 +0000)] 
Merged revisions 205878 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r205878 | mmichelson | 2009-07-10 12:39:57 -0500 (Fri, 10 Jul 2009) | 30 lines

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

  ................
    r205877 | mmichelson | 2009-07-10 12:39:13 -0500 (Fri, 10 Jul 2009) | 23 lines

    Merged revisions 205776 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/trunk

    ................
      r205776 | mmichelson | 2009-07-10 10:56:45 -0500 (Fri, 10 Jul 2009) | 16 lines

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

      ........
        r205775 | mmichelson | 2009-07-10 10:51:36 -0500 (Fri, 10 Jul 2009) | 10 lines

        Ensure that outbound NOTIFY requests are properly routed through stateful proxies.

        With this change, we make note of Record-Route headers present in any SUBSCRIBE
        request that we receive so that our outbound NOTIFY requests will have the proper
        Route headers in them.

        (closes issue #14725)
        Reported by: ibc
      ........
    ................
  ................
................

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

16 years agoMerged revisions 205840 via svnmerge from
David Vossel [Fri, 10 Jul 2009 16:48:06 +0000 (16:48 +0000)] 
Merged revisions 205840 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r205840 | dvossel | 2009-07-10 11:42:04 -0500 (Fri, 10 Jul 2009) | 37 lines

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

  ........
    r205804 | dvossel | 2009-07-10 11:23:59 -0500 (Fri, 10 Jul 2009) | 31 lines

    SIP registration auth loop caused by stale nonce

    If an endpoint sends two registration requests in a very short
    period of time with the same nonce, both receive 401 responses
    from Asterisk, each with a different nonce (the second 401
    containing the current nonce and the first one being stale).
    If the endpoint responds to the first 401, it does not match
    the current nonce so Asterisk sends a third 401 with a newly
    generated nonce (which updates the current nonce)... Now if
    the endpoint responds to the second 401, it does not match the
    current nonce either and Asterisk sends a fourth 401 with a
    newly generated nonce... This loop goes on and on.

    There appears to be a simple fix for this.  If the nonce from
    the request does not match our nonce, but is a good response
    to a previous nonce, instead of sending a 401 with a newly
    generated nonce, use the current one instead.  This breaks
    the loop as the nonce is not updated until a response is
    received. Additional logic has been added to make sure no
    nonce can be responded to twice though.

    (closes issue #15102)
    Reported by: Jamuel
    Patches:
          patch-bug_0015102 uploaded by Jamuel (license 809)
          nonce_sip.diff uploaded by dvossel (license 671)
    Tested by: Jamuel

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

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

16 years agoMerged revisions 205776 via svnmerge from
Mark Michelson [Fri, 10 Jul 2009 15:57:44 +0000 (15:57 +0000)] 
Merged revisions 205776 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r205776 | mmichelson | 2009-07-10 10:56:45 -0500 (Fri, 10 Jul 2009) | 16 lines

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

  ........
    r205775 | mmichelson | 2009-07-10 10:51:36 -0500 (Fri, 10 Jul 2009) | 10 lines

    Ensure that outbound NOTIFY requests are properly routed through stateful proxies.

    With this change, we make note of Record-Route headers present in any SUBSCRIBE
    request that we receive so that our outbound NOTIFY requests will have the proper
    Route headers in them.

    (closes issue #14725)
    Reported by: ibc
  ........
................

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

16 years agoMerged revisions 205770 via svnmerge from
Kevin P. Fleming [Fri, 10 Jul 2009 15:36:20 +0000 (15:36 +0000)] 
Merged revisions 205770 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r205770 | kpfleming | 2009-07-10 10:28:11 -0500 (Fri, 10 Jul 2009) | 12 lines

  Fix some remaining T.38 negotiation problems in app_fax.

  Revision 205696 did not quite fix all the issues with the T.38 negotiation
  changes and app_fax; this patch corrects them, along with a couple of other
  minor issues.

  (closes issue #15480)
  Reported by: dimas
  Patches:
        test2-15480.patch uploaded by dimas (license 88)
........

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

16 years agoMerged revisions 205728 via svn merge from
Richard Mudgett [Thu, 9 Jul 2009 23:51:50 +0000 (23:51 +0000)] 
Merged revisions 205728 via svn merge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r205728 | rmudgett | 2009-07-09 18:37:53 -0500 (Thu, 09 Jul 2009) | 21 lines

  No audio on calls from Asterisk to various ISDN devices until DTMF sent by caller.

  Add missing clearing of the dialing flag when the ISDN call is CONNECTED.
  (i.e. When libpri generates the event PRI_EVENT_ANSWER.)

  (closes issue #15420)
  Reported by: scottbmilne
  Patches:
        bug15420-1.4.25.1-diff2.txt uploaded by alecdavis (license 585)
  Tested by: scottbmilne, alecdavis

  (closes issue #15416)
  Reported by: avinoash

  (closes issue #15389)
  Reported by: alecdavis

  This patch should also fix the following issue:
  (issue #15205)
  Reported by: vinsik
........

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

16 years agoMerged revisions 205696 via svnmerge from
Kevin P. Fleming [Thu, 9 Jul 2009 21:27:18 +0000 (21:27 +0000)] 
Merged revisions 205696 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r205696 | kpfleming | 2009-07-09 16:20:23 -0500 (Thu, 09 Jul 2009) | 16 lines

  Repair ability of SendFAX/ReceiveFAX to respond to T.38 switchover.

  Recent changes in T.38 negotiation in Asterisk caused these applications to
  not respond when the other endpoint initiated a switchover to T.38; this
  resulted in the T.38 switchover failing, and the FAX attempt to be made
  using an audio connection, instead of T.38 (which would usually cause the
  FAX to fail completely).

  This patch corrects this problem, and the applications will now correctly
  respond to the T.38 switchover request. In addition, the response will include
  the appopriate T.38 session parameters based on what the other end offered
  and what our end is capable of.

  (closes issue #14849)
  Reported by: afosorio
........

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

16 years agoMerged revisions 205600 via svnmerge from
David Vossel [Thu, 9 Jul 2009 16:20:27 +0000 (16:20 +0000)] 
Merged revisions 205600 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r205600 | dvossel | 2009-07-09 11:19:09 -0500 (Thu, 09 Jul 2009) | 9 lines

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

  ........
    r205599 | dvossel | 2009-07-09 11:18:09 -0500 (Thu, 09 Jul 2009) | 2 lines

    Changing ast_samp2tv to not use floating point.
  ........
................

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

16 years agoMerged revisions 205479 via svnmerge from
David Vossel [Thu, 9 Jul 2009 15:47:25 +0000 (15:47 +0000)] 
Merged revisions 205479 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r205479 | dvossel | 2009-07-08 18:19:09 -0500 (Wed, 08 Jul 2009) | 16 lines

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

  ........
    r205471 | dvossel | 2009-07-08 18:15:54 -0500 (Wed, 08 Jul 2009) | 10 lines

    Fixes 8khz assumptions

    Many calculations assume 8khz is the codec rate. This
    is not always the case.  This patch only addresses chan_iax.c
    and res_rtp_asterisk.c, but I am sure there are other areas
    that make this assumption as well.

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

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

16 years agoBlocked revisions 205562 via svnmerge
Michiel van Baak [Thu, 9 Jul 2009 14:12:47 +0000 (14:12 +0000)] 
Blocked revisions 205562 via svnmerge

........
  r205562 | mvanbaak | 2009-07-09 16:10:01 +0200 (Thu, 09 Jul 2009) | 2 lines

  make this compile again under devmode
........

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

16 years agoMerged revisions 205532 via svnmerge from
Michiel van Baak [Thu, 9 Jul 2009 08:33:36 +0000 (08:33 +0000)] 
Merged revisions 205532 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r205532 | mvanbaak | 2009-07-09 10:31:24 +0200 (Thu, 09 Jul 2009) | 5 lines

  pthread_self returns a pthread_t which is not an unsigned int on all
  pthread implementations. Casting it to an unsigned int fixes compiler warnings.

  Tested on OpenBSD and Linux both 32 and 64 bit
........

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

16 years agoMerged revisions 205412 via svnmerge from
David Vossel [Wed, 8 Jul 2009 22:16:18 +0000 (22:16 +0000)] 
Merged revisions 205412 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r205412 | dvossel | 2009-07-08 17:15:06 -0500 (Wed, 08 Jul 2009) | 12 lines

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

  ........
    r205409 | dvossel | 2009-07-08 16:35:12 -0500 (Wed, 08 Jul 2009) | 6 lines

    moving ast_devstate_to_extenstate to pbx.c from devicestate.c

    ast_devstate_to_extenstate belongs in pbx.c.  This change
    fixes a compile time error with chan_vpb as well.
  ........
................

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

16 years agoMerged revisions 205350 via svnmerge from
Mark Michelson [Wed, 8 Jul 2009 19:27:49 +0000 (19:27 +0000)] 
Merged revisions 205350 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r205350 | mmichelson | 2009-07-08 14:26:55 -0500 (Wed, 08 Jul 2009) | 20 lines

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

  ........
    r205349 | mmichelson | 2009-07-08 14:26:13 -0500 (Wed, 08 Jul 2009) | 14 lines

    Prevent phantom calls to queue members.

    If a caller were to hang up while a periodic announcement or position
    were being said, the return value for those functions would incorrectly
    indicate that the caller was still in the queue. With these changes,
    the problem does not occur.

    (closes issue #14631)
    Reported by: latinsud
    Patches:
          queue_announce_ghost_call2.diff uploaded by latinsud (license 745)
       (with small modification from me)
  ........
................

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

16 years agoMerged revisions 205291 via svnmerge from
Jason Parker [Wed, 8 Jul 2009 18:21:10 +0000 (18:21 +0000)] 
Merged revisions 205291 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r205291 | qwell | 2009-07-08 13:19:46 -0500 (Wed, 08 Jul 2009) | 9 lines

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

  ........
    r205288 | qwell | 2009-07-08 13:19:03 -0500 (Wed, 08 Jul 2009) | 1 line

    Update config.guess and config.sub from the savannah.gnu.org git repo.
  ........
................

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

16 years agoMerged revisions 205254 via svnmerge from
David Brooks [Wed, 8 Jul 2009 18:07:53 +0000 (18:07 +0000)] 
Merged revisions 205254 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r205254 | dbrooks | 2009-07-08 12:26:26 -0500 (Wed, 08 Jul 2009) | 8 lines

  Fixes Park() argument handling

  Park() was not respecting the arguments passed to it. Any extension/context/priority
  given to it was being ignored. This patch remedies this.

  (closes issue #15380)
  Reported by: DLNoah
........

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

16 years agooops, fixing build
Tilghman Lesher [Wed, 8 Jul 2009 16:59:49 +0000 (16:59 +0000)] 
oops, fixing build

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

16 years agoMerged revisions 205216 via svnmerge from
David Vossel [Wed, 8 Jul 2009 16:56:13 +0000 (16:56 +0000)] 
Merged revisions 205216 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r205216 | dvossel | 2009-07-08 11:54:24 -0500 (Wed, 08 Jul 2009) | 17 lines

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

  ........
    r205215 | dvossel | 2009-07-08 11:53:40 -0500 (Wed, 08 Jul 2009) | 10 lines

    ast_samp2tv needs floating point for 16khz audio

    In ast_samp2tv(), (1000000 / _rate) = 62.5 when _rate is 16000.
    The .5 is currently stripped off because we don't calculate
    using floating points.  This causes madness with 16khz audio.

    (issue ABE-1899)

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

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

16 years agoMerged revisions 205196 via svnmerge from
Tilghman Lesher [Wed, 8 Jul 2009 16:29:21 +0000 (16:29 +0000)] 
Merged revisions 205196 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r205196 | tilghman | 2009-07-08 11:27:50 -0500 (Wed, 08 Jul 2009) | 9 lines

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

  ........
    r205188 | tilghman | 2009-07-08 11:26:15 -0500 (Wed, 08 Jul 2009) | 2 lines

    Add redirection warnings for the invalid language codes previously removed.
  ........
................

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

16 years agoMerged revisions 205151 via svnmerge from
Russell Bryant [Wed, 8 Jul 2009 15:57:27 +0000 (15:57 +0000)] 
Merged revisions 205151 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r205151 | russell | 2009-07-08 10:56:28 -0500 (Wed, 08 Jul 2009) | 2 lines

  Use tabs instead of spaces for indentation.
........

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

16 years agoMerged revisions 205120 via svnmerge from
Russell Bryant [Wed, 8 Jul 2009 15:29:10 +0000 (15:29 +0000)] 
Merged revisions 205120 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r205120 | russell | 2009-07-08 10:17:19 -0500 (Wed, 08 Jul 2009) | 16 lines

  Move OpenSSL initialization to a single place, make library usage thread-safe.

  While doing some reading about OpenSSL, I noticed a couple of things that
  needed to be improved with our usage of OpenSSL.

  1) We had initialization of the library done in multiple modules.  This has now
     been moved to a core function that gets executed during Asterisk startup.
     We already link OpenSSL into the core for TCP/TLS functionality, so this
     was the most logical place to do it.

  2) OpenSSL is not thread-safe by default.  However, making it thread safe is
     very easy.  We just have to provide a couple of callbacks.  One callback
     returns a thread ID.  The other handles locking.  For more information,
     start with the "Is OpenSSL thread-safe?" question on the FAQ page of
     openssl.org.
........

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

16 years agoMerged revisions 202753 via svnmerge from
Ryan Brindley [Mon, 6 Jul 2009 14:24:54 +0000 (14:24 +0000)] 
Merged revisions 202753 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r202753 | rbrindley | 2009-06-23 16:25:17 -0500 (Tue, 23 Jun 2009) | 9 lines

  If we delete the info, lets also delete the lines

  (closes issue 0014509)
  Reported by: timeshell
  Patches:
        20090504__bug14509.diff.txt uploaded by tilghman (license 14)
  Tested by: awk, timeshell
........

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

16 years agoMerged revisions 204948 via svnmerge from
Kevin P. Fleming [Mon, 6 Jul 2009 13:40:59 +0000 (13:40 +0000)] 
Merged revisions 204948 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r204948 | kpfleming | 2009-07-06 08:38:29 -0500 (Mon, 06 Jul 2009) | 7 lines

  Improve handling of AST_CONTROL_T38 and AST_CONTROL_T38_PARAMETERS for non-T.38-capable channels.

  This change allows applications that request T.38 negotiation on a channel that
  does not support it to get the proper indication that it is not supported, rather
  than thinking that negotiation was started when it was not.
........

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

16 years agoMerged revisions 204835 via svnmerge from
Richard Mudgett [Thu, 2 Jul 2009 22:05:07 +0000 (22:05 +0000)] 
Merged revisions 204835 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r204835 | rmudgett | 2009-07-02 17:01:28 -0500 (Thu, 02 Jul 2009) | 17 lines

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

  ........
    r204834 | rmudgett | 2009-07-02 16:59:43 -0500 (Thu, 02 Jul 2009) | 10 lines

    Removed confusing warning message "Got Busy in Connected State"

    If an incoming mISDN call is answered with the Answer application and a
    subsequent Dial gets a busy endpoint then it is valid for that already
    connected channel to get the busy indication.  Asterisk will play the busy
    tones until the dialplan plays something else or hangs up the call.

    (closes issue #11974)
    Reported by: fvdb
  ........
................

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

16 years agoMerged revisions 204710 via svnmerge from
David Vossel [Thu, 2 Jul 2009 16:28:29 +0000 (16:28 +0000)] 
Merged revisions 204710 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r204710 | dvossel | 2009-07-02 11:03:44 -0500 (Thu, 02 Jul 2009) | 21 lines

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

  ........
    r204681 | dvossel | 2009-07-02 10:05:57 -0500 (Thu, 02 Jul 2009) | 14 lines

    Improved mapping of extension states from combined device states.

    This fixes a few issues with incorrect extension states and adds
    a cli command, core show device2extenstate, to display all possible
    state mappings.

    (closes issue #15413)
    Reported by: legart
    Patches:
          exten_helper.diff uploaded by dvossel (license 671)
    Tested by: dvossel, legart, amilcar

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

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

16 years agoMerged revisions 204563 via svnmerge from
Tilghman Lesher [Tue, 30 Jun 2009 21:30:32 +0000 (21:30 +0000)] 
Merged revisions 204563 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r204563 | tilghman | 2009-06-30 15:41:04 -0500 (Tue, 30 Jun 2009) | 13 lines

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

  ........
    r204556 | tilghman | 2009-06-30 15:23:51 -0500 (Tue, 30 Jun 2009) | 6 lines

    More incorrect language codes, plus ensuring that regionalizations use the specified language, and not English for grammar.
    (closes issue #15022)
     Reported by: greenfieldtech
     Patches:
           20090519__issue15022.diff.txt uploaded by tilghman (license 14)
  ........
................

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

16 years agoMerged revisions 204475 via svnmerge from
Jason Parker [Tue, 30 Jun 2009 18:52:44 +0000 (18:52 +0000)] 
Merged revisions 204475 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r204475 | qwell | 2009-06-30 13:48:35 -0500 (Tue, 30 Jun 2009) | 9 lines

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

  ........
    r204474 | qwell | 2009-06-30 13:47:06 -0500 (Tue, 30 Jun 2009) | 1 line

    Fix ast_say_counted_noun to correctly handle Polish.  Fix a comment typo in passing.
  ........
................

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

16 years agoRecorded merge of revisions 204470 via svnmerge from
Tilghman Lesher [Tue, 30 Jun 2009 18:44:26 +0000 (18:44 +0000)] 
Recorded merge of revisions 204470 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r204470 | tilghman | 2009-06-30 13:36:24 -0500 (Tue, 30 Jun 2009) | 18 lines

  Recorded merge of revisions 204469 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r204469 | tilghman | 2009-06-30 13:23:35 -0500 (Tue, 30 Jun 2009) | 11 lines

    "tw" is the language specification for Twi (from Ghana) not Taiwanese.
    (closes issue #15346)
     Reported by: volivier
     Patches:
           20090617__issue15346__1.4.diff.txt uploaded by tilghman (license 14)
           20090617__issue15346__trunk.diff.txt uploaded by tilghman (license 14)
           20090617__issue15346__1.6.0.diff.txt uploaded by tilghman (license 14)
           20090617__issue15346__1.6.1.diff.txt uploaded by tilghman (license 14)
           20090617__issue15346__1.6.2.diff.txt uploaded by tilghman (license 14)
     Tested by: volivier
  ........
................

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

16 years agoMerged revisions 204301 via svnmerge from
Mark Michelson [Mon, 29 Jun 2009 22:53:22 +0000 (22:53 +0000)] 
Merged revisions 204301 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r204301 | mmichelson | 2009-06-29 17:50:35 -0500 (Mon, 29 Jun 2009) | 15 lines

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

  ........
    r204300 | mmichelson | 2009-06-29 17:45:34 -0500 (Mon, 29 Jun 2009) | 9 lines

    Add error message so that it is clear why a SIP peer was not processed when
    a DNS lookup fails on a host or outboundproxy.

    (closes issue #13432)
    Reported by: p_lindheimer
    Patches:
          outboundproxy.patch uploaded by p (license 558)
  ........
................

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

16 years agoMerged revisions 204247 via svnmerge from
Mark Michelson [Mon, 29 Jun 2009 21:53:23 +0000 (21:53 +0000)] 
Merged revisions 204247 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r204247 | mmichelson | 2009-06-29 16:48:54 -0500 (Mon, 29 Jun 2009) | 32 lines

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

  ........
    r204243 | mmichelson | 2009-06-29 16:23:43 -0500 (Mon, 29 Jun 2009) | 22 lines

    Fix a problem where chan_sip would ignore "old" but valid responses.

    chan_sip has had a problem for quite a long time that would manifest when
    Asterisk would send multiple SIP responses on the same dialog before receiving
    a response. The problem occurred because chan_sip only kept track of the highest
    outgoing sequence number used on the dialog. If Asterisk sent two requests out,
    and a response arrived for the first request sent, then Asterisk would ignore
    the response. The result was that Asterisk would continue retransmitting the
    requests and ignoring the responses until the maximum number of retransmissions
    had been reached.

    The fix here is to rearrange the code a bit so that instead of simply comparing
    the sequence number of the response to our latest outgoing sequence number, we
    walk our list of outstanding packets and determine if there is a match. If there is,
    we continue. If not, then we ignore the response.

    In doing this, I found a few completely useless variables that I have now removed.

    (closes issue #11231)
    Reported by: flefoll

    Review: https://reviewboard.asterisk.org/r/298
  ........
    r204246 | mmichelson | 2009-06-29 16:37:05 -0500 (Mon, 29 Jun 2009) | 3 lines

    Fix build oops.
  ........
................

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

16 years agoBlocked revisions 204013 via svnmerge
Mark Michelson [Mon, 29 Jun 2009 15:07:04 +0000 (15:07 +0000)] 
Blocked revisions 204013 via svnmerge

................
  r204013 | mmichelson | 2009-06-29 10:04:39 -0500 (Mon, 29 Jun 2009) | 11 lines

  Blocked revisions 204012 via svnmerge

  ........
    r204012 | mmichelson | 2009-06-29 10:04:17 -0500 (Mon, 29 Jun 2009) | 6 lines

    Place unlock of mutex in an else block so that it does not get unlocked twice.

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

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

16 years agoMerged revisions 203909 via svnmerge from
Richard Mudgett [Sat, 27 Jun 2009 01:18:48 +0000 (01:18 +0000)] 
Merged revisions 203909 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r203909 | rmudgett | 2009-06-26 20:07:52 -0500 (Fri, 26 Jun 2009) | 23 lines

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

  ........
    r203908 | rmudgett | 2009-06-26 19:55:12 -0500 (Fri, 26 Jun 2009) | 16 lines

    The ISDN CPE side should not exclusively pick B channels normally.

    Before this patch, Asterisk unconditionally picked B channels exclusively
    on the CPE side and normally allowed alternative B channels on the network
    side.  Now Asterisk does the opposite.

    Reasons for the CPE side to normally not pick B channels exclusively:
    *  For CPE point-to-multipoint mode (i.e. phone side), the CPE side does
    not have enough information to exclusively pick B channels.  (There may be
    other devices on the line.)
    *  Q.931 gives preference to the network side picking B channels.
    *  Some telcos require the CPE side to not pick B channels exclusively.

    (closes issue #14383)
    Reported by: mbrancaleoni
  ........
................

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

16 years agoMerged revisions 203853 via svnmerge from
Jeff Peeler [Fri, 26 Jun 2009 22:13:37 +0000 (22:13 +0000)] 
Merged revisions 203853 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r203853 | jpeeler | 2009-06-26 17:11:31 -0500 (Fri, 26 Jun 2009) | 12 lines

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

  ........
    r203848 | jpeeler | 2009-06-26 17:09:19 -0500 (Fri, 26 Jun 2009) | 5 lines

    Make sure to recreate the dahdi pseudo channel after dahdi restart

    (closes issue #14477)
    Reported by: timking
  ........
................

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

16 years agoMerged revisions 203802 via svnmerge from
Russell Bryant [Fri, 26 Jun 2009 21:26:50 +0000 (21:26 +0000)] 
Merged revisions 203802 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r203802 | russell | 2009-06-26 16:21:48 -0500 (Fri, 26 Jun 2009) | 22 lines

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

  ........
    r203785 | russell | 2009-06-26 16:16:39 -0500 (Fri, 26 Jun 2009) | 15 lines

    Don't fast forward past the end of a message.

    This is nice change for users of the voicemail application.  If someone gets a
    little carried away with fast forwarding through a message, they can easily
    get to the end and accidentally exit the voicemail application by hitting the
    fast forward key during the following prompt.

    This adds some safety by not allowing a fast forward past the end of a message.

    (closes issue #14554)
    Reported by: lacoursj
    Patches:
          21761.patch uploaded by lacoursj (license 707)
    Tested by: lacoursj
  ........
................

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

16 years agoMerged revisions 203779 via svnmerge from
Russell Bryant [Fri, 26 Jun 2009 20:48:29 +0000 (20:48 +0000)] 
Merged revisions 203779 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r203779 | russell | 2009-06-26 15:45:00 -0500 (Fri, 26 Jun 2009) | 5 lines

  Ensure the TCP read buffer is fully initialized before handling each packet.

  (closes issue #14452)
  Reported by: umberto71
........

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

16 years agoMerged revisions 203721 via svnmerge from
David Brooks [Fri, 26 Jun 2009 20:18:11 +0000 (20:18 +0000)] 
Merged revisions 203721 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r203721 | dbrooks | 2009-06-26 15:13:51 -0500 (Fri, 26 Jun 2009) | 16 lines

  Fixing voicemail's error in checking max silence vs min message length

  Max silence was represented in milliseconds, yet vmminsecs (minmessage) was represented
  as seconds.

  Also, the inequality was reversed. The warning, if triggered, was "Max silence should
  be less than minmessage or you may get empty messages", which should have been logged
  if max silence was greater than minmessage, but the check was for less than.

  Also, conforming if statement to coding guidelines.

  closes issue #15331)
  Reported by: markd

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

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

16 years agoreverse whitespace change 203713 that was based on looking at sig_analog (which has...
Jeff Peeler [Fri, 26 Jun 2009 19:56:00 +0000 (19:56 +0000)] 
reverse whitespace change 203713 that was based on looking at sig_analog (which has about a 1000 line indentation change that is not worth doing here)

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

16 years agoMerged revisions 203710 via svnmerge from
David Vossel [Fri, 26 Jun 2009 19:48:49 +0000 (19:48 +0000)] 
Merged revisions 203710 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r203710 | dvossel | 2009-06-26 14:47:11 -0500 (Fri, 26 Jun 2009) | 7 lines

  moving debug message from level 0 to 1.

  (closes issue #15404)
  Reported by: leobrown
  Patches:
        iax_codec_debug.patch uploaded by leobrown (license 541)
........

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

16 years agowhitespace fix
Jeff Peeler [Fri, 26 Jun 2009 19:48:25 +0000 (19:48 +0000)] 
whitespace fix

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

16 years agoMerged revisions 203702 via svnmerge from
Russell Bryant [Fri, 26 Jun 2009 19:37:43 +0000 (19:37 +0000)] 
Merged revisions 203702 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r203702 | russell | 2009-06-26 14:31:14 -0500 (Fri, 26 Jun 2009) | 5 lines

  Make invalid hints report Unavailable instead of Idle.

  (closes issue #14413)
  Reported by: pj
........

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

16 years agoMerged revisions 203699 via svnmerge from
Joshua Colp [Fri, 26 Jun 2009 19:31:36 +0000 (19:31 +0000)] 
Merged revisions 203699 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r203699 | file | 2009-06-26 16:27:24 -0300 (Fri, 26 Jun 2009) | 2 lines

  Improve T.38 negotiation by exchanging session parameters between application and channel.
........

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

16 years agoMerged revisions 203672 via svnmerge from
Jeff Peeler [Fri, 26 Jun 2009 19:28:24 +0000 (19:28 +0000)] 
Merged revisions 203672 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r203672 | jpeeler | 2009-06-26 14:03:25 -0500 (Fri, 26 Jun 2009) | 16 lines

  Check if polarityonanswerdelay has elapsed before setting a channel as answered
  after a polarity reversal.

  Previously on a polarity switch event chan_dahdi would set the channel
  immediately as answered. This would cause problems if a polarity reversal
  occurred when the line was picked up as the dial would not have yet occurred.
  Now if the polarity reversal occurs before delay has elapsed after coming off
  hook or an answer, it is ignored. Also, some refactoring was done in
  _handle_event.

  (closes issue #13917)
  Reported by: alecdavis
  Patches:
        chan_dahdi.bug13917.feb09.diff2.txt uploaded by alecdavis (license 585)
  Tested by: alecdavis
........

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

16 years agoMerged revisions 203444 via svnmerge from
David Vossel [Thu, 25 Jun 2009 21:46:46 +0000 (21:46 +0000)] 
Merged revisions 203444 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r203444 | dvossel | 2009-06-25 16:45:32 -0500 (Thu, 25 Jun 2009) | 4 lines

  fixes a few redundant conditions

  (issue #15269)
........

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

16 years agoBlocked revisions 203402 via svnmerge
Jeff Peeler [Thu, 25 Jun 2009 21:23:13 +0000 (21:23 +0000)] 
Blocked revisions 203402 via svnmerge

........
  r203402 | jpeeler | 2009-06-25 16:22:12 -0500 (Thu, 25 Jun 2009) | 2 lines

  Remove some unnecessary code and update sample config file with respect to GR-303.
........

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

16 years agoMerged revisions 203381 via svnmerge from
Terry Wilson [Thu, 25 Jun 2009 21:19:57 +0000 (21:19 +0000)] 
Merged revisions 203381 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r203381 | twilson | 2009-06-25 16:15:11 -0500 (Thu, 25 Jun 2009) | 11 lines

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

  ........
    r203380 | twilson | 2009-06-25 16:13:10 -0500 (Thu, 25 Jun 2009) | 4 lines

    I didn't see that Mark already fixed the underlying issue!

    Yay for removing useless code.
  ........
................

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

16 years agoMerged revisions 203376 via svnmerge from
Russell Bryant [Thu, 25 Jun 2009 21:07:14 +0000 (21:07 +0000)] 
Merged revisions 203376 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r203376 | russell | 2009-06-25 16:04:55 -0500 (Thu, 25 Jun 2009) | 16 lines

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

  ........
    r203375 | russell | 2009-06-25 16:02:18 -0500 (Thu, 25 Jun 2009) | 9 lines

    Fix a case where CDR answer time could be before the start time involving parking.

    (closes issue #13794)
    Reported by: davidw
    Patches:
          13794.patch uploaded by murf (license 17)
          13794.patch.160 uploaded by murf (license 17)
    Tested by: murf, dbrooks
  ........
................

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

16 years agoBlocked revisions 203338 via svnmerge
Terry Wilson [Thu, 25 Jun 2009 20:30:32 +0000 (20:30 +0000)] 
Blocked revisions 203338 via svnmerge

................
  r203338 | twilson | 2009-06-25 15:25:39 -0500 (Thu, 25 Jun 2009) | 9 lines

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

  ........
    r203311 | twilson | 2009-06-25 15:09:15 -0500 (Thu, 25 Jun 2009) | 2 lines

    Don't try to free NULL
  ........
................

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

16 years agoBlocked revisions 203304 via svnmerge
Jeff Peeler [Thu, 25 Jun 2009 19:55:48 +0000 (19:55 +0000)] 
Blocked revisions 203304 via svnmerge

........
  r203304 | jpeeler | 2009-06-25 14:54:12 -0500 (Thu, 25 Jun 2009) | 6 lines

  New signaling module to handle PRI/BRI operations in chan_dahdi

  This merge splits the PRI/BRI signaling logic out of chan_dahdi.c into
  sig_pri.c. Functionality in theory should not change (mostly). A few trivial
  changes were made in sig_analog with verbose messages and commenting.
........

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

16 years agoMerged revisions 203258 via svnmerge from
Jason Parker [Thu, 25 Jun 2009 19:27:05 +0000 (19:27 +0000)] 
Merged revisions 203258 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r203258 | qwell | 2009-06-25 14:22:46 -0500 (Thu, 25 Jun 2009) | 10 lines

  Unmute when we get a dtmfup (we muted on dtmfdown) event.

  This would occasionally cause one-way audio when using hardware DTMF detection.

  (closes issue #14761)
  Reported by: tzafrir
  Patches:
        v1-14761.patch uploaded by dimas (license 88)
  Tested by: tzafrir, dimas
........

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

16 years agoMerged revisions 203231 via svnmerge from
Mark Michelson [Thu, 25 Jun 2009 18:55:07 +0000 (18:55 +0000)] 
Merged revisions 203231 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r203231 | mmichelson | 2009-06-25 13:53:12 -0500 (Thu, 25 Jun 2009) | 8 lines

  Blocked revisions 203230 via svnmerge

  ........
    r203230 | mmichelson | 2009-06-25 13:52:22 -0500 (Thu, 25 Jun 2009) | 3 lines

    Prevent false positives when freeing a NULL pointer with MALLOC_DEBUG enabled.
  ........
................

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

16 years agoMerged revisions 203116 via svnmerge from
Russell Bryant [Thu, 25 Jun 2009 16:07:10 +0000 (16:07 +0000)] 
Merged revisions 203116 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r203116 | russell | 2009-06-25 11:04:10 -0500 (Thu, 25 Jun 2009) | 18 lines

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

  ........
    r203115 | russell | 2009-06-25 11:02:16 -0500 (Thu, 25 Jun 2009) | 11 lines

    Resolve a crash related to a T.38 reinvite race condition.

    This change resolves a crash observed locally during some T.38 testing.
    A call was set up using a call file, and when the T.38 reinvite came in,
    the channel state was still AST_STATE_DOWN.  The reason is explained by
    a comment in the code that previously lived in the handling of
    AST_STATE_RINGING.  This change modifies the logic to handle the same
    race condition for any channel state that is not UP.

    (closes ABE-1895)
  ........
................

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

16 years agoMerged revisions 203037 via svnmerge from
Richard Mudgett [Wed, 24 Jun 2009 21:22:11 +0000 (21:22 +0000)] 
Merged revisions 203037 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r203037 | rmudgett | 2009-06-24 16:08:55 -0500 (Wed, 24 Jun 2009) | 15 lines

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

  ........
    r203036 | rmudgett | 2009-06-24 16:01:43 -0500 (Wed, 24 Jun 2009) | 8 lines

    Improved chan_dahdi.conf pritimer error checking.

    Valid format is: pritimer=timer_name,timer_value

    *  Fixed segfault if the ',' is missing.
    *  Completely check the range returned by pri_timer2idx() to prevent
    possible access outside array bounds.
  ........
................

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

16 years agoMerged revisions 202967 via svnmerge from
Mark Michelson [Wed, 24 Jun 2009 18:30:09 +0000 (18:30 +0000)] 
Merged revisions 202967 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r202967 | mmichelson | 2009-06-24 13:29:10 -0500 (Wed, 24 Jun 2009) | 9 lines

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

  ........
    r202966 | mmichelson | 2009-06-24 13:28:47 -0500 (Wed, 24 Jun 2009) | 3 lines

    Use the handy UNLINK macro instead of hand-coding the same thing in-line.
  ........
................

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

16 years agoMerged revisions 202925 via svnmerge from
Joshua Colp [Wed, 24 Jun 2009 18:10:17 +0000 (18:10 +0000)] 
Merged revisions 202925 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r202925 | file | 2009-06-24 15:08:17 -0300 (Wed, 24 Jun 2009) | 2 lines

  Ensure the default settings are applied for T.38 when we set it up for a peer.
........

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

16 years agoMerged revisions 202761 via svnmerge from
Matthew Fredrickson [Tue, 23 Jun 2009 22:11:23 +0000 (22:11 +0000)] 
Merged revisions 202761 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r202761 | mattf | 2009-06-23 17:08:43 -0500 (Tue, 23 Jun 2009) | 1 line

I could have sworn I committed this patch ages ago, but... bug fix with setting NAI properly on linksets in certain situations.
........

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

16 years agoMerged revisions 202672 via svnmerge from
David Vossel [Tue, 23 Jun 2009 16:34:45 +0000 (16:34 +0000)] 
Merged revisions 202672 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r202672 | dvossel | 2009-06-23 11:31:30 -0500 (Tue, 23 Jun 2009) | 18 lines

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

  ........
    r202671 | dvossel | 2009-06-23 11:28:46 -0500 (Tue, 23 Jun 2009) | 12 lines

    MWI NOTIFY contains a wrong URI if Asterisk listens to non-standard port and transport

    (closes issue #14659)
    Reported by: klaus3000
    Patches:
          patch_chan_sip_fixMWIuri_1.4.txt uploaded by klaus3000 (license 65)
          mwi_port-transport_trunk.diff uploaded by dvossel (license 671)
    Tested by: dvossel, klaus3000

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

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

16 years agoBlocked revisions 202603 via svnmerge
Mark Michelson [Tue, 23 Jun 2009 15:25:37 +0000 (15:25 +0000)] 
Blocked revisions 202603 via svnmerge

................
  r202603 | mmichelson | 2009-06-23 10:23:00 -0500 (Tue, 23 Jun 2009) | 8 lines

  Blocked revisions 202601 via svnmerge

  ........
    r202601 | mmichelson | 2009-06-23 10:22:35 -0500 (Tue, 23 Jun 2009) | 3 lines

    Fix more memory leaks that may result if rtp is not successfully allocated.
  ........
................

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

16 years agoBlocked revisions 202574 via svnmerge
Mark Michelson [Tue, 23 Jun 2009 15:17:45 +0000 (15:17 +0000)] 
Blocked revisions 202574 via svnmerge

................
  r202574 | mmichelson | 2009-06-23 10:11:47 -0500 (Tue, 23 Jun 2009) | 8 lines

  Blocked revisions 202572 via svnmerge

  ........
    r202572 | mmichelson | 2009-06-23 10:08:27 -0500 (Tue, 23 Jun 2009) | 3 lines

    Fix potential memory leak in chan_sip when video rtp is not allocated properly.
  ........
................

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

16 years agoMerged revisions 202497 via svnmerge from
Russell Bryant [Mon, 22 Jun 2009 20:18:02 +0000 (20:18 +0000)] 
Merged revisions 202497 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r202497 | russell | 2009-06-22 15:11:04 -0500 (Mon, 22 Jun 2009) | 11 lines

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

  ........
    r202496 | russell | 2009-06-22 15:08:53 -0500 (Mon, 22 Jun 2009) | 4 lines

    Report CallerID change during a masquerade.

    Reported by: markster
  ........
................

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

16 years agoMerged revisions 202417 via svnmerge from
Sean Bright [Mon, 22 Jun 2009 16:31:02 +0000 (16:31 +0000)] 
Merged revisions 202417 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r202417 | seanbright | 2009-06-22 12:09:50 -0400 (Mon, 22 Jun 2009) | 4 lines

  Fix lock usage in cdr_sqlite3_custom to avoid potential crashes during reload.

  Pointed out by Russell while working on the CEL branch.
........

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

16 years agoMerged revisions 202415 via svnmerge from
Russell Bryant [Mon, 22 Jun 2009 16:14:10 +0000 (16:14 +0000)] 
Merged revisions 202415 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r202415 | russell | 2009-06-22 11:05:08 -0500 (Mon, 22 Jun 2009) | 9 lines

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

  ........
    r202414 | russell | 2009-06-22 11:00:00 -0500 (Mon, 22 Jun 2009) | 2 lines

    Make Polycom subscription type override check more explicit.
  ........
................

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

16 years agoMerged revisions 202410 via svnmerge from
David Vossel [Mon, 22 Jun 2009 15:41:56 +0000 (15:41 +0000)] 
Merged revisions 202410 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r202410 | dvossel | 2009-06-22 10:33:35 -0500 (Mon, 22 Jun 2009) | 5 lines

  attempting to load running modules

  Modules placed in the priority heap for loading were not properly removed from the linked list.  This resulted in some modules attempting to load twice.
........

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

16 years agoMerged revisions 202343 via svnmerge from
Mark Michelson [Mon, 22 Jun 2009 15:10:52 +0000 (15:10 +0000)] 
Merged revisions 202343 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r202343 | mmichelson | 2009-06-22 09:58:24 -0500 (Mon, 22 Jun 2009) | 36 lines

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

  ........
    r202341 | mmichelson | 2009-06-22 09:42:55 -0500 (Mon, 22 Jun 2009) | 26 lines

    Fix a situation in which Asterisk would not stop retransmitting 487s.

    If a CANCEL were received by Asterisk, we would send a 487 in response
    to the original INVITE and a 200 OK for the CANCEL. If there were a network
    hiccup which caused the 200 OK and the 487 to be lost, then the UA communicating
    with Asterisk may try to retransmit its CANCEL. Asterisk's response to this used
    to be to try sending another 487 to the canceled INVITE and another 200 OK to the
    CANCEL.

    The problem here is that the originally-sent 487 was sent "reliably" meaning that
    it will be retransmitted until it is received properly. So when we receive the second
    CANCEL it is likely that the first batch of 487s we sent is still going strong and
    reaches the UA. The result was that the second set of 487s would be retransmitted
    constantly until the maximum number of retries had been reached.

    The fix for this is that if we receive a second CANCEL for an INVITE, then we cancel
    the retransmission of the first set of 487s and start a second set. This causes the
    dialog to be terminated reasonably.

    (closes issue #14584)
    Reported by: klaus3000
    Patches:
          14584_v2.patch uploaded by mmichelson (license 60)
    Tested by: klaus3000
  ........
    r202342 | mmichelson | 2009-06-22 09:44:58 -0500 (Mon, 22 Jun 2009) | 3 lines

    Remove an extra debug line left from previous commit.
  ........
................

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

16 years agoMerged revisions 202337 via svnmerge from
Mark Michelson [Mon, 22 Jun 2009 14:36:00 +0000 (14:36 +0000)] 
Merged revisions 202337 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r202337 | mmichelson | 2009-06-22 09:35:09 -0500 (Mon, 22 Jun 2009) | 31 lines

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

  ........
    r202336 | mmichelson | 2009-06-22 09:34:05 -0500 (Mon, 22 Jun 2009) | 25 lines

    Fix a possible infinite loop in SDP parsing during glare situation.

    There was a while loop in get_ip_and_port_from_sdp which was controlled
    by a call to get_sdp_iterate. The loop would exit either if what we were
    searching for was found or if the return was NULL. The problem is that
    get_sdp_iterate never returns NULL. This means that if what we were searching
    for was not present, the loop would run infinitely. This modification of the
    loop fixes the problem.

    (closes issue #15213)
    Reported by: schmidts

    (closes issue #15349)
    Reported by: samy

    (closes issue #14464)
    Reported by: pj

    (closes issue #15345)
    Reported by: aragon
    Patches:
          sip_inf_loop.patch uploaded by mmichelson (license 60)
    Tested by: aragon
  ........
................

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

16 years agoMerged revisions 202262 via svnmerge from
Russell Bryant [Sun, 21 Jun 2009 16:15:49 +0000 (16:15 +0000)] 
Merged revisions 202262 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r202262 | russell | 2009-06-21 11:11:48 -0500 (Sun, 21 Jun 2009) | 2 lines

  Fix possibility of crashiness during reload in custom fields handling.
........

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

16 years agoMerged revisions 202258 via svnmerge from
Russell Bryant [Sun, 21 Jun 2009 16:04:22 +0000 (16:04 +0000)] 
Merged revisions 202258 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r202258 | russell | 2009-06-21 11:00:23 -0500 (Sun, 21 Jun 2009) | 2 lines

  Standardize return values of load_config() so reload() doesn't report an error on success.
........

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

16 years agoMerged revisions 202183 via svnmerge from
Sean Bright [Sat, 20 Jun 2009 19:14:22 +0000 (19:14 +0000)] 
Merged revisions 202183 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r202183 | seanbright | 2009-06-20 15:09:47 -0400 (Sat, 20 Jun 2009) | 5 lines

  Fix version detection for API changes in spandsp.

  (closes issue #15355)
  Reported by: deuffy
........

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

16 years agoAdded deadlock protection to try_suggested_sip_codec in chan_sip.c.
Matthew Nicholson [Fri, 19 Jun 2009 21:08:11 +0000 (21:08 +0000)] 
Added deadlock protection to try_suggested_sip_codec in chan_sip.c.

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

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

16 years agoMerged revisions 201994 via svnmerge from
David Vossel [Fri, 19 Jun 2009 20:26:57 +0000 (20:26 +0000)] 
Merged revisions 201994 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r201994 | dvossel | 2009-06-19 15:24:37 -0500 (Fri, 19 Jun 2009) | 14 lines

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

  ........
    r201993 | dvossel | 2009-06-19 15:22:02 -0500 (Fri, 19 Jun 2009) | 8 lines

    timestamp was being converted to host order as a short rather than a long

    (closes issue #15361)
    Reported by: ffloimair
    Patches:
          ts_issue.diff uploaded by dvossel (license 671)
  ........
................

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

16 years agoBlocked revisions 201717 via svnmerge
Matthew Nicholson [Fri, 19 Jun 2009 17:41:27 +0000 (17:41 +0000)] 
Blocked revisions 201717 via svnmerge

........
  r201717 | mnicholson | 2009-06-18 12:41:09 -0500 (Thu, 18 Jun 2009) | 4 lines

  Added deadlock protection to try_suggested_sip_codec in chan_sip.c.

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

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

16 years agoMerged revisions 201904 via svnmerge from
Tilghman Lesher [Fri, 19 Jun 2009 15:48:37 +0000 (15:48 +0000)] 
Merged revisions 201904 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r201904 | tilghman | 2009-06-19 10:47:55 -0500 (Fri, 19 Jun 2009) | 4 lines

  Fix 2 typos and add support for wide character types.
  Reported by Benny Amorsen via the asterisk-users mailing list.
  http://lists.digium.com/pipermail/asterisk-users/2009-June/233622.html
........

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

16 years agoIf the "h" extension fails, give it another chance in main/pbx.c.
Tilghman Lesher [Fri, 19 Jun 2009 00:35:18 +0000 (00:35 +0000)] 
If the "h" extension fails, give it another chance in main/pbx.c.
If the "h" extension fails, give it another chance in main/pbx.c, when it
returns from the bridge code.  Fixes an issue where the "h" extension may
occasionally not fire, when a Dial is executed from a Macro.
Debugged in #asterisk with user tompaw.

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

16 years agoMerged revisions 201783 via svnmerge from
Tilghman Lesher [Thu, 18 Jun 2009 20:54:10 +0000 (20:54 +0000)] 
Merged revisions 201783 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r201783 | tilghman | 2009-06-18 15:52:36 -0500 (Thu, 18 Jun 2009) | 6 lines

  One of the changes in 1.6.1 was to allow app_directory to use functionality
  within app_voicemail for directory functions.  It is therefore no longer
  necessary for app_directory to be linked against the ODBC libraries (and it
  never was necessary for app_directory to be linked against IMAP, though it
  was).
........

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

16 years agoMerged revisions 201678 via svnmerge from
David Vossel [Thu, 18 Jun 2009 16:51:54 +0000 (16:51 +0000)] 
Merged revisions 201678 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r201678 | dvossel | 2009-06-18 11:37:42 -0500 (Thu, 18 Jun 2009) | 11 lines

  fixes some memory leaks and redundant conditions

  (closes issue #15269)
  Reported by: contactmayankjain
  Patches:
        patch.txt uploaded by contactmayankjain (license 740)
        memory_leak_stuff.trunk.diff uploaded by dvossel (license 671)
  Tested by: contactmayankjain, dvossel
........

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

16 years agoMerged revisions 201610 via svnmerge from
Russell Bryant [Thu, 18 Jun 2009 15:36:11 +0000 (15:36 +0000)] 
Merged revisions 201610 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r201610 | russell | 2009-06-18 10:27:10 -0500 (Thu, 18 Jun 2009) | 36 lines

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

  ........
    r201600 | russell | 2009-06-18 10:24:31 -0500 (Thu, 18 Jun 2009) | 29 lines

    Fix memory corruption and leakage related reloads of non files mode MoH classes.

    For Music on Hold classes that are not files mode, meaning that we are executing
    an application that will feed us audio data, we use a thread to monitor the
    external application and read audio from it.  This thread also makes use of the
    MoH class object.  In the MoH class destructor, we used pthread_cancel() to ask
    the thread to exit.  Unfortunately, the code did not wait to ensure that the
    thread actually went away.  What needed to be done is a pthread_join() to ensure
    that the thread fully cleans up before we proceed.  By adding this one line, we
    resolve two significant problems:

      1) Since the thread was never joined, it never fully goes away.  So, on every
         reload of non-files mode MoH, an unused thread was sticking around.

      2) There was a race condition here where the application monitoring thread
         could still try to access the MoH class, even though the thread executing
         the MoH reload has already destroyed it.

    (issue #15109)
    Reported by: jvandal

    (issue #15123)
    Reported by: axisinternet

    (issue #15195)
    Reported by: amorsen

    (issue AST-208)
  ........
................

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

16 years agoMerged revisions 201570 via svnmerge from
David Vossel [Thu, 18 Jun 2009 15:24:40 +0000 (15:24 +0000)] 
Merged revisions 201570 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r201570 | dvossel | 2009-06-18 10:16:05 -0500 (Thu, 18 Jun 2009) | 11 lines

  parsing extension correctly from sip register lines

  If a transport type was specified, but no extension, parsing of the extension would return whatever was after the transport rather than defaulting to 's'.

  (closes issue #15111)
  Reported by: ffs
  Patches:
        chan_sip.c_register-parser.patch uploaded by ffs (license 730)
  Tested by: ffs, dvossel
........

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

16 years agoMerged revisions 201531 via svnmerge from
Tilghman Lesher [Wed, 17 Jun 2009 21:32:30 +0000 (21:32 +0000)] 
Merged revisions 201531 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r201531 | tilghman | 2009-06-17 16:31:39 -0500 (Wed, 17 Jun 2009) | 7 lines

  Initialize additional variables, to prevent a possible crash.
  (closes issue #15186)
   Reported by: ajohnson
   Patches:
         20090528__issue15186.diff.txt uploaded by tilghman (license 14)
   Tested by: ajohnson
........

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

16 years agoMerged revisions 201462 via svnmerge from
Mark Michelson [Wed, 17 Jun 2009 20:11:29 +0000 (20:11 +0000)] 
Merged revisions 201462 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r201462 | mmichelson | 2009-06-17 15:10:01 -0500 (Wed, 17 Jun 2009) | 12 lines

  Fix problem with no audio due to ignoring the SDP.

  A recent change to our SDP version comparison made audio not function
  on some calls. This was because of a test wherein we were trying to
  see if an unsigned value was less than 0. This is a dumb comparison
  and arguably the compiler should have warned about it. Alas, though,
  it slipped past. Now it's fixed by changing the variable to be a
  signed type.

  Found by several developers. Tested by mnicholson and dbrooks.
........

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

16 years agoMerged revisions 201458 via svnmerge from
Mark Michelson [Wed, 17 Jun 2009 20:05:39 +0000 (20:05 +0000)] 
Merged revisions 201458 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r201458 | mmichelson | 2009-06-17 15:04:12 -0500 (Wed, 17 Jun 2009) | 15 lines

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

  ........
    r201450 | mmichelson | 2009-06-17 14:59:31 -0500 (Wed, 17 Jun 2009) | 9 lines

    Change the datastore traversal in ast_do_masquerade to use a safe list traversal.

    It is possible for datastore fixup functions to remove the datastore from the list
    and free it. In particular, the queue_transfer_fixup in app_queue does this. While
    I don't yet know of this causing any crashes, it certainly could.

    Found while discussing a separate issue with Brian Degenhardt.
  ........
................

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

16 years agoMerged revisions 201453 via svnmerge from
David Vossel [Wed, 17 Jun 2009 20:01:40 +0000 (20:01 +0000)] 
Merged revisions 201453 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r201453 | dvossel | 2009-06-17 15:00:51 -0500 (Wed, 17 Jun 2009) | 3 lines

  ast_channel_datastore_alloc is no longer used. updating datastores.txt to reflect that.
........

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

16 years agoMerged revisions 201445 via svnmerge from
David Vossel [Wed, 17 Jun 2009 19:54:01 +0000 (19:54 +0000)] 
Merged revisions 201445 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r201445 | dvossel | 2009-06-17 14:45:35 -0500 (Wed, 17 Jun 2009) | 25 lines

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

  ........
    r201423 | dvossel | 2009-06-17 14:28:12 -0500 (Wed, 17 Jun 2009) | 19 lines

    StopMixMonitor race condition (not giving up file immediately)

    StopMixMonitor only indicates to the MixMonitor thread to stop
    writing to the file.  It does not guarantee that the recording's
    file handle is available to the dialplan immediately after execution.
    This results in a race condition.  To resolve this, the filestream
    pointer is placed in a datastore on the channel. When StopMixMonitor
    is called, the datastore is retrieved from the channel and the
    filestream is closed immediately before returning to the dialplan.
    Documentation indicating the use of StopMixMonitor to free files
    has been updated as well.

    (closes issue #15259)
    Reported by: travisghansen
    Tested by: dvossel

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

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

16 years agoMerged revisions 201381 via svnmerge from
David Brooks [Wed, 17 Jun 2009 19:39:29 +0000 (19:39 +0000)] 
Merged revisions 201381 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r201381 | dbrooks | 2009-06-17 14:15:07 -0500 (Wed, 17 Jun 2009) | 16 lines

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

  ........
    r201380 | dbrooks | 2009-06-17 13:45:50 -0500 (Wed, 17 Jun 2009) | 9 lines

    Checks for NULL sip_pvt pointer in chan_sip.c->acf_channel_read()

    Zombie channels could be passed, and chan_sip.c wasn't checking for it.
    Could crash Asterisk. Now checking for NULL pointer.

    (closes issue #15330)
    Reported by: okrief
    Tested by: dbrooks
  ........
................

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

16 years agoMerged revisions 201344 via svnmerge from
David Vossel [Wed, 17 Jun 2009 15:32:43 +0000 (15:32 +0000)] 
Merged revisions 201344 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r201344 | dvossel | 2009-06-17 10:20:26 -0500 (Wed, 17 Jun 2009) | 16 lines

  SIP registry ref count error

  During a sip reload, the list of sip_registry objects are
  supposed to be traversed, unlinked, and destroyed, but
  destruction never takes place due to a ref counting error.
  This causes a memory leak when registry items are removed
  from sip.conf and reloaded.  While the registries are removed
  from the global list, they are not removed from the scheduler.
  Because of this, SIP register attempts continue to be sent
  out for the item even though it may no longer be in the .conf.

  (closes issue #15295)
  Reported by: amorsen

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

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

16 years agoMerged revisions 201262 via svnmerge from
Kevin P. Fleming [Wed, 17 Jun 2009 12:05:38 +0000 (12:05 +0000)] 
Merged revisions 201262 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r201262 | kpfleming | 2009-06-17 07:04:17 -0500 (Wed, 17 Jun 2009) | 15 lines

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

  ........
    r201261 | kpfleming | 2009-06-17 07:03:25 -0500 (Wed, 17 Jun 2009) | 9 lines

    Correct AST_LIST_APPEND_LIST behavior when list to be appended is empty.

    When the list to be appended is empty, and the list to be appended to is *not*,
    AST_LIST_APPEND_LIST would actually cause the target list to become broken,
    and no longer have a pointer to its last entry. This patch fixes the problem.

    (reported by Stanislaw Pitucha on the asterisk-dev mailing list)
  ........
................

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

16 years agoMerged revisions 201223 via svnmerge from
David Vossel [Tue, 16 Jun 2009 22:31:05 +0000 (22:31 +0000)] 
Merged revisions 201223 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r201223 | dvossel | 2009-06-16 17:29:30 -0500 (Tue, 16 Jun 2009) | 2 lines

  fix issue with build_contact introduced by the "SIP trasnport type issues" commit
........

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

16 years agoMerged revisions 201056 via svnmerge from
Kevin P. Fleming [Tue, 16 Jun 2009 19:42:08 +0000 (19:42 +0000)] 
Merged revisions 201056 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r201056 | kpfleming | 2009-06-16 13:54:30 -0500 (Tue, 16 Jun 2009) | 18 lines

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

  ........
    r200991 | kpfleming | 2009-06-16 12:05:38 -0500 (Tue, 16 Jun 2009) | 11 lines

    Improve support for media paths that can generate multiple frames at once.

    There are various media paths in Asterisk (codec translators and UDPTL, primarily)
    that can generate more than one frame to be generated when the application calling
    them expects only a single frame. This patch addresses a number of those cases,
    at least the primary ones to solve the known problems. In addition it removes the
    broken TRACE_FRAMES support, fixes a number of bugs in various frame-related API
    functions, and cleans up various code paths affected by these changes.

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

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

16 years agoMerged revisions 201090 via svnmerge from
Kevin P. Fleming [Tue, 16 Jun 2009 19:28:00 +0000 (19:28 +0000)] 
Merged revisions 201090 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r201090 | kpfleming | 2009-06-16 14:27:12 -0500 (Tue, 16 Jun 2009) | 5 lines

  Another minor fix to compiler attribute checking.

  Defaulting to 'static' for the function scope was bad... so remove it.
........

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

16 years agoMerged revisions 200985 via svnmerge from
Kevin P. Fleming [Tue, 16 Jun 2009 16:35:45 +0000 (16:35 +0000)] 
Merged revisions 200985 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r200985 | kpfleming | 2009-06-16 11:32:36 -0500 (Tue, 16 Jun 2009) | 7 lines

  Fix problems with new compiler attribute checking in configure script.

  The last changes to ast_gcc_attribute.m4 caused some problems checking for
  various attributes, because the scope of the symbol the attribute is applied
  to can be important; this patch allows the scope to be specified for the check.
........

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

16 years agoMerged revisions 200946 via svnmerge from
David Vossel [Tue, 16 Jun 2009 16:34:20 +0000 (16:34 +0000)] 
Merged revisions 200946 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r200946 | dvossel | 2009-06-16 11:03:30 -0500 (Tue, 16 Jun 2009) | 32 lines

  SIP transport type issues

  What this patch addresses:
  1. ast_sip_ouraddrfor() by default binds to the UDP address/port
  reguardless if the sip->pvt is of type UDP or not.  Now when no
  remapping is required, ast_sip_ouraddrfor() checks the sip_pvt's
  transport type, attempting to set the address and port to the
  correct TCP/TLS bindings if necessary.
  2.  It is not necessary to send the port number in the Contact
  header unless the port is non-standard for the transport type.
  This patch fixes this and removes the todo note.
  3.  In sip_alloc(), the default dialog built always uses transport
  type UDP.  Now sip_alloc() looks at the sip_request (if present)
  and determines what transport type to use by default.
  4.  When changing the transport type of a sip_socket, the file
  descriptor must be set to -1 and in some cases the tcptls_session's
  ref count must be decremented and set to NULL.  I've encountered
  several issues associated with this process and have created a function,
  set_socket_transport(), to handle the setting of the socket type.

  (closes issue #13865)
  Reported by: st
  Patches:
        dont_add_port_if_tls.patch uploaded by Kristijan (license 753)
        13865.patch uploaded by mmichelson (license 60)
        tls_port_v5.patch uploaded by vrban (license 756)
        transport_issues.diff uploaded by dvossel (license 671)
  Tested by: mmichelson, Kristijan, vrban, jmacz, dvossel

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

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

16 years agoMerged revisions 200943 via svnmerge from
Michiel van Baak [Tue, 16 Jun 2009 16:04:13 +0000 (16:04 +0000)] 
Merged revisions 200943 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r200943 | mvanbaak | 2009-06-16 17:51:36 +0200 (Tue, 16 Jun 2009) | 9 lines

  add FILE_STORAGE to Voicemail Build Options

  Voicemail can only use one storage module at the moment.
  Because it's unclear that selecting one of the storage modules
  in menuselect will disable filesystem storage we now have
  a FILE_STORAGE option that conflicts with the other modules.

  (closes issue #15333)
........

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

16 years agoMerged revisions 200764 via svnmerge from
Kevin P. Fleming [Tue, 16 Jun 2009 01:32:13 +0000 (01:32 +0000)] 
Merged revisions 200764 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r200764 | kpfleming | 2009-06-15 20:28:08 -0500 (Mon, 15 Jun 2009) | 11 lines

  Ensure that configure-script testing for compiler attributes actually works.

  The configure script tests for compiler attributes didn't actually enable
  enough warnings or provide a proper test harness to determine whether the
  compiler supports the attribute in question or not; this caused gcc 4.1 to
  report that it supports 'weakref', but it doesn't actually support it in the
  way that is needed for our optional API mechanism. The new configure script
  test will properly distinguish between full support and partial support
  for this attribute, among others.
........

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

16 years agoMerged revisions 200726 via svnmerge from
Kevin P. Fleming [Tue, 16 Jun 2009 01:07:27 +0000 (01:07 +0000)] 
Merged revisions 200726 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r200726 | kpfleming | 2009-06-15 20:03:22 -0500 (Mon, 15 Jun 2009) | 6 lines

  Document the new automatic 'ignoresdpversion' behavior.

  Asterisk will now automatically ignore incorrect incoming SDP version numbers
  when necessary to complete a T.38 re-INVITE operation.
........

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

16 years agoMerged revisions 165180,200689 via svnmerge from
Kevin P. Fleming [Mon, 15 Jun 2009 21:20:40 +0000 (21:20 +0000)] 
Merged revisions 165180,200689 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r165180 | mnicholson | 2008-12-17 12:49:12 -0600 (Wed, 17 Dec 2008) | 14 lines

  This patch adds a new 'ignoresdpversion' option to sip.conf.  When this is
  enabled (either globally or for a specific peer), chan_sip will treat any SDP
  data it receives as new data and update the media stream accordingly.  By
  default, Asterisk will only modify the media stream if the SDP session version
  received is different from the current SDP session version.  This option is
  required to interoperate with devices that have non-standard SDP session
  version implementations (observed by toc on the bug tracker with Microsoft OCS
  which always uses 0 as the session version).

  http://reviewboard.digium.com/r/94/
  (closes issue #13958)
  Reported by: toc
  Tested by: toc
........
  r200689 | kpfleming | 2009-06-15 15:42:38 -0500 (Mon, 15 Jun 2009) | 12 lines

  Accept T.38 re-INVITE responses with invalid SDP versions.

  This commit changes the 'incoming SDP version' check logic a bit more; when
  'ignoresdpversion' is *not* set for a peer, if we initiate a re-INVITE to
  switch to T.38, we'll always accept the peer's SDP response, even if they
  don't properly increment the SDP version number as they should. If this situation
  occurs, a warning message will be generated suggesting that the peer's
  configuration be changed to include the 'ignoresdpversion' configuration option
  (although ideally they'd fix their SIP implementation to be RFC compliant).

  AST-221
........

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

16 years agoMerged revisions 200514 via svnmerge from
Mark Michelson [Mon, 15 Jun 2009 15:23:04 +0000 (15:23 +0000)] 
Merged revisions 200514 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r200514 | mmichelson | 2009-06-15 10:22:11 -0500 (Mon, 15 Jun 2009) | 11 lines

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

  ........
    r200513 | mmichelson | 2009-06-15 10:21:46 -0500 (Mon, 15 Jun 2009) | 5 lines

    Add INFO to our allowed methods so that endpoints know they may send it to us.

    AST-223
  ........
................

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

16 years agoMerged revisions 200361 via svnmerge from
Mark Michelson [Fri, 12 Jun 2009 19:08:34 +0000 (19:08 +0000)] 
Merged revisions 200361 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r200361 | mmichelson | 2009-06-12 14:07:51 -0500 (Fri, 12 Jun 2009) | 16 lines

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

  ........
    r200360 | mmichelson | 2009-06-12 14:06:41 -0500 (Fri, 12 Jun 2009) | 10 lines

    Suppress a warning message and give a better return code when generating
    inband ringing after a call is answered.

    (closes issue #15158)
    Reported by: madkins
    Patches:
          15158.patch uploaded by mmichelson (license 60)
    Tested by: madkins
  ........
................

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

16 years agoMerged revisions 199781 via svnmerge from
Sean Bright [Thu, 11 Jun 2009 22:44:12 +0000 (22:44 +0000)] 
Merged revisions 199781 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r199781 | seanbright | 2009-06-09 14:08:53 -0400 (Tue, 09 Jun 2009) | 2 lines

  Fix all of the parallel build warnings issued when running make -j#.
........

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

16 years agoDon't access rtp->rtcp->* if rtp->rtcp is null
Terry Wilson [Thu, 11 Jun 2009 21:25:14 +0000 (21:25 +0000)] 
Don't access rtp->rtcp->* if rtp->rtcp is null

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

16 years agoMerged revisions 200146 via svnmerge from
Mark Michelson [Thu, 11 Jun 2009 21:18:37 +0000 (21:18 +0000)] 
Merged revisions 200146 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r200146 | mmichelson | 2009-06-11 16:17:14 -0500 (Thu, 11 Jun 2009) | 5 lines

  Fix a crash due to a potentially NULL p->options.

  Thanks to mnicholson for pointing it out.
........

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