]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
15 years agoMerged revisions 221971 via svnmerge from
Tilghman Lesher [Fri, 2 Oct 2009 17:01:42 +0000 (17:01 +0000)] 
Merged revisions 221971 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r221971 | tilghman | 2009-10-02 11:59:57 -0500 (Fri, 02 Oct 2009) | 9 lines

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

  ........
    r221970 | tilghman | 2009-10-02 11:58:03 -0500 (Fri, 02 Oct 2009) | 2 lines

    Ensure the result of the hash function is positive.  Negative array offsets suck.
  ........
................

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

15 years agoHash needs to return a positive integer
Tilghman Lesher [Fri, 2 Oct 2009 16:53:52 +0000 (16:53 +0000)] 
Hash needs to return a positive integer

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

15 years agoRevert XML docs that ended up in the 1.6.0 and 1.6.1 branches during a merge.
Sean Bright [Fri, 2 Oct 2009 13:04:26 +0000 (13:04 +0000)] 
Revert XML docs that ended up in the 1.6.0 and 1.6.1 branches during a merge.

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

15 years agoMerged revisions 221920 via svnmerge from
Tilghman Lesher [Fri, 2 Oct 2009 03:06:32 +0000 (03:06 +0000)] 
Merged revisions 221920 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r221920 | tilghman | 2009-10-01 22:04:34 -0500 (Thu, 01 Oct 2009) | 4 lines

  Initialize a variable that we check immediately upon startup.
  (closes issue #15973)
   Reported by: atis
........

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

15 years agoMerged revisions 221844 via svnmerge from
Richard Mudgett [Fri, 2 Oct 2009 01:26:47 +0000 (01:26 +0000)] 
Merged revisions 221844 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r221844 | rmudgett | 2009-10-01 20:09:31 -0500 (Thu, 01 Oct 2009) | 33 lines

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

  ........
    r221769 | rmudgett | 2009-10-01 18:18:28 -0500 (Thu, 01 Oct 2009) | 26 lines

    Occasionally losing use of B channels in chan_misdn.

    I have not been able to reproduce the problem of losing channels.
    However, I have seen in the code a reentrancy problem that might give
    these symptoms.

    The reentrancy patch does several things:
    1) Guards B channel and B channel structure allocation.
    2) Makes the B channel structure find routines more precise in locating records.
    3) Never leave a B channel allocated if we received cause 44.

    The last item may cause temporary outgoing call problems, but they should
    clear when the line becomes idle.

    (closes issue #15490)
    Reported by: slutec18
    Patches:
          issue15490_channel_alloc_reentrancy.patch uploaded by rmudgett (license 664)
    Tested by: rmudgett, slutec18

    (closes issue #15458)
    Reported by: FabienToune
    Patches:
          issue15458_channel_alloc_reentrancy.patch uploaded by rmudgett (license 664)
    Tested by: FabienToune, rmudgett, slutec18
  ........
................

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

15 years agoMerged revisions 221777 via svnmerge from
Tilghman Lesher [Fri, 2 Oct 2009 00:06:46 +0000 (00:06 +0000)] 
Merged revisions 221777 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r221777 | tilghman | 2009-10-01 18:59:15 -0500 (Thu, 01 Oct 2009) | 9 lines

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

  ........
    r221776 | tilghman | 2009-10-01 18:53:12 -0500 (Thu, 01 Oct 2009) | 2 lines

    Fix a bunch of off-by-one errors
  ........
................

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

15 years agoMerged revisions 221705 via svnmerge from
Tilghman Lesher [Thu, 1 Oct 2009 20:38:59 +0000 (20:38 +0000)] 
Merged revisions 221705 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r221705 | tilghman | 2009-10-01 15:09:46 -0500 (Thu, 01 Oct 2009) | 2 lines

  Revision 220906 (a merge from 1.4) was not merged correctly, causing a problem with non-dynamic peers.
........

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

15 years agoMerged revisions 221697 via svnmerge from
David Vossel [Thu, 1 Oct 2009 19:52:24 +0000 (19:52 +0000)] 
Merged revisions 221697 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r221697 | dvossel | 2009-10-01 14:33:33 -0500 (Thu, 01 Oct 2009) | 9 lines

  outbound tls connections were not defaulting to port 5061

  (closes issue #15854)
  Reported by: dvossel
  Patches:
        sip_port_config_trunk.diff uploaded by dvossel (license 671)
  Tested by: dvossel
........

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

15 years agoMerged revisions 221554,221589 via svnmerge from
Matthew Nicholson [Thu, 1 Oct 2009 17:01:03 +0000 (17:01 +0000)] 
Merged revisions 221554,221589 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r221554 | oej | 2009-10-01 02:00:04 -0500 (Thu, 01 Oct 2009) | 3 lines

  Simplify code for porturi, use TRUE/FALSE constructs when it's just TRUE or FALSE.
................
  r221589 | mnicholson | 2009-10-01 10:26:20 -0500 (Thu, 01 Oct 2009) | 9 lines

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

  ........
    r221588 | mnicholson | 2009-10-01 10:24:00 -0500 (Thu, 01 Oct 2009) | 2 lines

    Use unsigned ints for portinuri flags.
  ........
................

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

15 years agoMerged revisions 221592 via svnmerge from
Kevin P. Fleming [Thu, 1 Oct 2009 16:19:43 +0000 (16:19 +0000)] 
Merged revisions 221592 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r221592 | kpfleming | 2009-10-01 11:16:09 -0500 (Thu, 01 Oct 2009) | 12 lines

  Remove ability to control T.38 FAX error correction from udptl.conf.

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

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

15 years agoMerged revisions 221484 via svnmerge from
Matthew Nicholson [Wed, 30 Sep 2009 23:10:05 +0000 (23:10 +0000)] 
Merged revisions 221484 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r221484 | mnicholson | 2009-09-30 18:04:03 -0500 (Wed, 30 Sep 2009) | 2 lines

  Cleaned up merge from r221432
........

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

15 years agoMerged revisions 221432 via svnmerge from
Matthew Nicholson [Wed, 30 Sep 2009 22:36:54 +0000 (22:36 +0000)] 
Merged revisions 221432 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r221432 | mnicholson | 2009-09-30 15:40:20 -0500 (Wed, 30 Sep 2009) | 17 lines

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

  ........
    r221360 | mnicholson | 2009-09-30 14:36:06 -0500 (Wed, 30 Sep 2009) | 10 lines

    Fix SRV lookup and Request-URI generation in chan_sip.

    This patch adds a new field "portinuri" to the sip dialog struct and the sip peer struct.  That field is used during RURI generation to determine if the port should be included in the RURI.  It is also used in some places to determine if an SRV lookup should occur.

    (closes issue #14418)
    Reported by: klaus3000
    Tested by: klaus3000, mnicholson

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

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

15 years agoMerged revisions 221436 via svnmerge from
Matthias Nick [Wed, 30 Sep 2009 21:41:06 +0000 (21:41 +0000)] 
Merged revisions 221436 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r221436 | mnick | 2009-09-30 16:15:01 -0500 (Wed, 30 Sep 2009) | 2 lines

  Prevents from division by zero
........

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

15 years agoMerged revisions 221368 via svnmerge from
Matthias Nick [Wed, 30 Sep 2009 20:10:02 +0000 (20:10 +0000)] 
Merged revisions 221368 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r221368 | mnick | 2009-09-30 14:42:36 -0500 (Wed, 30 Sep 2009) | 23 lines

  Merged revisions 221153,221157,221303 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r221153 | mnick | 2009-09-30 10:37:39 -0500 (Wed, 30 Sep 2009) | 2 lines

    check bounds - prevents for buffer overflow
  ........
    r221157 | mnick | 2009-09-30 10:41:46 -0500 (Wed, 30 Sep 2009) | 8 lines

    added a new dialplan function 'CSV_QUOTE' and changed the cdr_custom.sample.conf

    (closes issue #15471)
    Reported by: dkerr
    Patches:
          csv_quote_14.txt uploaded by mnick (license )
    Tested by: mnick
  ........
    r221303 | mnick | 2009-09-30 14:02:00 -0500 (Wed, 30 Sep 2009) | 2 lines

    changed the prototype definition of csv_quote
  ........
................

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

15 years agoMerged revisions 221266 via svnmerge from
Terry Wilson [Wed, 30 Sep 2009 18:58:49 +0000 (18:58 +0000)] 
Merged revisions 221266 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r221266 | twilson | 2009-09-30 12:52:30 -0500 (Wed, 30 Sep 2009) | 32 lines

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

  ........
    r221086 | twilson | 2009-09-30 09:49:11 -0500 (Wed, 30 Sep 2009) | 25 lines

    Change the SSRC by default when our media stream changes

    Be default, change SSRC when doing an audio stream changes Asterisk doesn't
    honor marker bit when reinvited to already-bridged RTP streams,resulting in
    far-end stack discarding packets with "old" timestamps that areactually part of
    a new stream.  This patch sends AST_CONTROL_SRCUPDATE whenever there is a
    reinvite, unless the 'constantssrc' is set to true in sip.conf.

    The original issue reported to Digium support detailed the following situation:
    ITSP <-> Asterisk 1.4.26.2 <-> SIP-based Application Server Call comes in
    fromITSP, Asterisk dials the app server which sends a re-invite back
    toAsterisk--not to negotiate to send media directly to the ITSP, but to
    indicatethat it's changing the stream it's sending to Asterisk.  The app
    servergenerates a new SSRC, sequence numbers, timestamps, and sets the marker
    bit on the new stream.  Asterisk passes through the teimstamp of the new stream,
    butdoes not reset the SSRC, sequence numbers, or set the marker bit.

    When the timestamp on the new stream is older than the timestamp on the
    originalstream, the ITSP (which doesn't know there has been any change) discards
    the newframes because it thinks they are too old.  This patch addresses this by
    changing the SSRC on a stream update unless constantssrc=true is set in
    sip.conf.

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

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

15 years agoMerged revisions 221201 via svnmerge from
Tilghman Lesher [Wed, 30 Sep 2009 16:57:50 +0000 (16:57 +0000)] 
Merged revisions 221201 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r221201 | tilghman | 2009-09-30 11:56:42 -0500 (Wed, 30 Sep 2009) | 14 lines

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

  ........
    r221200 | tilghman | 2009-09-30 11:55:21 -0500 (Wed, 30 Sep 2009) | 7 lines

    Avoid a potential NULL dereference.
    (closes issue #15865)
     Reported by: kobaz
     Patches:
           20090915__issue15865.diff.txt uploaded by tilghman (license 14)
     Tested by: kobaz
  ........
................

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

15 years agoMerged revisions 221085 via svnmerge from
Sean Bright [Wed, 30 Sep 2009 14:55:14 +0000 (14:55 +0000)] 
Merged revisions 221085 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r221085 | seanbright | 2009-09-30 10:47:58 -0400 (Wed, 30 Sep 2009) | 9 lines

  Clarify documentation for VoiceMailMain()'s a() option.

  We require box numbers, not names as the documentation implies.
  (issue #14740)
  Reported by: pj
  Patches:
        __20090729-app_voicemail-documentation.patch uploaded by lmadsen (license 10)
  Tested by: seanbright, lmadsen
........

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

15 years agoRecorded merge of revisions 221044 via svnmerge from
Tilghman Lesher [Wed, 30 Sep 2009 04:41:52 +0000 (04:41 +0000)] 
Recorded merge of revisions 221044 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r221044 | tilghman | 2009-09-29 23:32:36 -0500 (Tue, 29 Sep 2009) | 8 lines

  Allow locks to be inherited through a masquerade without causing starvation.
  (closes issue #14859)
   Reported by: atis
   Patches:
         20090821__issue14859.diff.txt uploaded by tilghman (license 14)
         20090925__issue14859__1.6.1.diff.txt uploaded by tilghman (license 14)
   Tested by: atis, tilghman
........

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

15 years agoMerged revisions 220906 via svnmerge from
Tilghman Lesher [Tue, 29 Sep 2009 22:07:59 +0000 (22:07 +0000)] 
Merged revisions 220906 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r220906 | tilghman | 2009-09-29 14:57:37 -0500 (Tue, 29 Sep 2009) | 16 lines

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

  ........
    r220873 | tilghman | 2009-09-29 12:59:26 -0500 (Tue, 29 Sep 2009) | 9 lines

    Reduce CPU usage related to building a peer merely for devicestates.
    This fixes a 100% CPU problem in the SIP driver, found by profiling
    the driver while the problem was occurring.
    (closes issue #14309)
     Reported by: pkempgen
     Patches:
           20090924__issue14309.diff.txt uploaded by tilghman (license 14)
     Tested by: pkempgen, vrban
  ........
................

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

15 years agoAvoid a deadlock in chanspy, just in case the spyee is masqueraded and chanspy_ds_cha...
Matthew Nicholson [Tue, 29 Sep 2009 20:25:14 +0000 (20:25 +0000)] 
Avoid a deadlock in chanspy, just in case the spyee is masqueraded and chanspy_ds_chan_fixup() is called with the channel locked.

(closes issue #15965)
Reported by: atis
Patches:
      chanspy-deadlock-fix1.diff uploaded by mnicholson (license 96)
Tested by: atis

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

15 years agoMerged revisions 220833 via svnmerge from
Jeff Peeler [Tue, 29 Sep 2009 17:05:40 +0000 (17:05 +0000)] 
Merged revisions 220833 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r220833 | jpeeler | 2009-09-29 11:58:29 -0500 (Tue, 29 Sep 2009) | 12 lines

  Make deletion of temporary greetings work properly with IMAP_STORAGE

  When imapgreetings was set to yes, the message was being deleted but wasn't
  actually being expunged. When imapgreetings was set to no, the file based
  message was not being deleted at all. All good now!

  (closes issue #14949)
  Reported by: noahisaac
  Patches:
        vm_tempgreeting_removal.patch uploaded by noahisaac (license 748),
        modified by me
........

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

15 years agoMerged revisions 220721 via svnmerge from
Sean Bright [Mon, 28 Sep 2009 19:13:55 +0000 (19:13 +0000)] 
Merged revisions 220721 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r220721 | seanbright | 2009-09-28 15:11:20 -0400 (Mon, 28 Sep 2009) | 10 lines

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

  ........
    r220717 | seanbright | 2009-09-28 15:09:25 -0400 (Mon, 28 Sep 2009) | 3 lines

    When selecting DONT_OPTIMIZE in menuselect, explicitly pass -O0 to the compiler
    so we override any default optimization levels for a particular install.
  ........
................

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

15 years agoBlocked revisions 220718 via svnmerge
Jeff Peeler [Mon, 28 Sep 2009 19:11:06 +0000 (19:11 +0000)] 
Blocked revisions 220718 via svnmerge

........
  r220718 | jpeeler | 2009-09-28 14:10:10 -0500 (Mon, 28 Sep 2009) | 10 lines

  Fix building of registration entry in build_peer when using callbackextension

  Check for remotesecret option was unintentionally always true, which therefore
  caused the secret option to never be used. Thanks to dvossel for pointing out
  the exact fix.

  (closes issue #15943)
  Reported by: tpsast
........

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

15 years agoBlocked revisions 220629 via svnmerge
Michiel van Baak [Sun, 27 Sep 2009 20:43:02 +0000 (20:43 +0000)] 
Blocked revisions 220629 via svnmerge

........
  r220629 | mvanbaak | 2009-09-27 22:40:16 +0200 (Sun, 27 Sep 2009) | 3 lines

  add name argument for the CALLERID dialplan function to the xml documentation.
  Pointed out to me on IRC by snuff-home. Thanks
........

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

15 years agoMerged revisions 220586 via svnmerge from
Tilghman Lesher [Sat, 26 Sep 2009 15:12:49 +0000 (15:12 +0000)] 
Merged revisions 220586 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r220586 | tilghman | 2009-09-26 10:10:28 -0500 (Sat, 26 Sep 2009) | 2 lines

  Allow AES to compile, when OpenSSL is not present.
........

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

15 years agoMerged revisions 220365 via svnmerge from
David Vossel [Thu, 24 Sep 2009 20:38:31 +0000 (20:38 +0000)] 
Merged revisions 220365 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r220365 | dvossel | 2009-09-24 15:37:20 -0500 (Thu, 24 Sep 2009) | 8 lines

  fixes tcptls_session memory leak caused by ref count error

  (closes issue #15939)
  Reported by: dvossel

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

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

15 years agoMerged revisions 220289 via svnmerge from
Tilghman Lesher [Thu, 24 Sep 2009 19:42:33 +0000 (19:42 +0000)] 
Merged revisions 220289 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r220289 | tilghman | 2009-09-24 14:41:02 -0500 (Thu, 24 Sep 2009) | 13 lines

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

  ........
    r220288 | tilghman | 2009-09-24 14:39:41 -0500 (Thu, 24 Sep 2009) | 6 lines

    Implicitly sending a progress signal breaks some applications.
    Call Progress() in your dialplan if you explicitly want progress to be sent.
    (Reverts change 216430, closes issue #15957)
    Reported by: Pavel Troller on the Asterisk-Dev mailing list
    http://lists.digium.com/pipermail/asterisk-dev/2009-September/039897.html
  ........
................

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

15 years agoMerged revisions 220217 via svnmerge from
Sean Bright [Thu, 24 Sep 2009 18:22:09 +0000 (18:22 +0000)] 
Merged revisions 220217 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r220217 | seanbright | 2009-09-24 14:19:41 -0400 (Thu, 24 Sep 2009) | 9 lines

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

  ........
    r220213 | seanbright | 2009-09-24 14:18:18 -0400 (Thu, 24 Sep 2009) | 1 line

    Resolve parallel build warnings.

    Reported by Klaus Darilion on the asterisk-dev mailing list.
  ........
................

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

15 years agoMerged revisions 220100 via svnmerge from
Sean Bright [Thu, 24 Sep 2009 14:49:35 +0000 (14:49 +0000)] 
Merged revisions 220100 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r220100 | seanbright | 2009-09-24 10:44:08 -0400 (Thu, 24 Sep 2009) | 9 lines

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

  ........
    r220099 | seanbright | 2009-09-24 10:41:57 -0400 (Thu, 24 Sep 2009) | 2 lines

    Remove the remaining bashisms in the Makefile/mkpkgconfig
  ........
................

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

15 years agoMerged revisions 220028 via svnmerge from
Michiel van Baak [Thu, 24 Sep 2009 08:40:12 +0000 (08:40 +0000)] 
Merged revisions 220028 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r220028 | mvanbaak | 2009-09-24 10:36:18 +0200 (Thu, 24 Sep 2009) | 14 lines

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

  ........
    r220027 | mvanbaak | 2009-09-24 10:33:50 +0200 (Thu, 24 Sep 2009) | 7 lines

    mkpkgconfig does not need bash so make it use /bin/sh
    This fixes building on all systems that don't have bash
    at /bin/bash

    Reported by _ys on #asterisk-dev
    Tested by _ys on #asterisk-dev
  ........
................

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

15 years agoMerged revisions 219987 via svnmerge from
Tilghman Lesher [Thu, 24 Sep 2009 07:44:46 +0000 (07:44 +0000)] 
Merged revisions 219987 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r219987 | tilghman | 2009-09-24 02:39:44 -0500 (Thu, 24 Sep 2009) | 8 lines

  Fix two possible crashes, one only in 1.6.1 and one in 1.6.1 forward.
  (closes issue #15739)
   Reported by: DLNoah, jeffg
   Patches:
         20090914__issue15739.diff.txt uploaded by tilghman (license 14)
         20090922__issue15739.diff.txt uploaded by tilghman (license 14)
   Tested by: DLNoah, jeffg
........

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

15 years agoBlocked revisions 219895 via svnmerge
Leif Madsen [Wed, 23 Sep 2009 17:48:06 +0000 (17:48 +0000)] 
Blocked revisions 219895 via svnmerge

........
  r219895 | lmadsen | 2009-09-23 12:46:46 -0500 (Wed, 23 Sep 2009) | 13 lines

  Add Mantis work flow documention.

  This commit adds the doxygen changes that I've made to describe the Mantis
  work flow documentation for the open source issue tracker. This should make
  it easier to determine the flow of issues through the issue tracker, and what
  those statuses mean.

  (closes issue #15902)
  Reported by: lmadsen
  Patches:
        mantisworkflow.h uploaded by lmadsen (license 10)

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

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

15 years agoMerged revisions 219818 via svnmerge from
Tilghman Lesher [Tue, 22 Sep 2009 21:47:41 +0000 (21:47 +0000)] 
Merged revisions 219818 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r219818 | tilghman | 2009-09-22 16:43:22 -0500 (Tue, 22 Sep 2009) | 17 lines

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

  ........
    r219816 | tilghman | 2009-09-22 16:37:03 -0500 (Tue, 22 Sep 2009) | 10 lines

    When IMAP variables were changed during a reload, Voicemail did not use the new values.
    This change introduces a configuration version variable, which ensures that
    connections with the old values are not reused but are allowed to expire
    normally.
    (closes issue #15934)
     Reported by: viniciusfontes
     Patches:
           20090922__issue15934.diff.txt uploaded by tilghman (license 14)
     Tested by: viniciusfontes
  ........
................

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

15 years agoMerged revisions 219721 via svnmerge from
David Vossel [Mon, 21 Sep 2009 17:02:20 +0000 (17:02 +0000)] 
Merged revisions 219721 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r219721 | dvossel | 2009-09-21 11:59:05 -0500 (Mon, 21 Sep 2009) | 9 lines

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

  ........
    r219720 | dvossel | 2009-09-21 11:55:53 -0500 (Mon, 21 Sep 2009) | 3 lines

    Reverting merge 219520. This change was not necessary.
  ........
................

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

15 years agoMerged revisions 219654 via svnmerge from
Tilghman Lesher [Sun, 20 Sep 2009 18:21:05 +0000 (18:21 +0000)] 
Merged revisions 219654 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r219654 | tilghman | 2009-09-20 12:55:49 -0500 (Sun, 20 Sep 2009) | 15 lines

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

  ........
    r219653 | tilghman | 2009-09-20 12:52:05 -0500 (Sun, 20 Sep 2009) | 8 lines

    Really stop the stream, when ast_closestream() is called.
    (closes issue #15129)
     Reported by: bmh
     Patches:
           20090918__issue15129.diff.txt uploaded by tilghman (license 14)
     Review:
           https://reviewboard.asterisk.org/r/372/
  ........
................

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

15 years agoMerged revisions 219587 via svnmerge from
Russell Bryant [Sat, 19 Sep 2009 03:10:20 +0000 (03:10 +0000)] 
Merged revisions 219587 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r219587 | russell | 2009-09-18 21:59:52 -0500 (Fri, 18 Sep 2009) | 13 lines

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

  ........
    r219586 | russell | 2009-09-18 21:51:13 -0500 (Fri, 18 Sep 2009) | 6 lines

    Make sure the iax_pvt exists before dereferencing it.

    This fixes the latest crash posted on issue 15609.

    (issue #15609)
  ........
................

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

15 years agoMerged revisions 219520 via svnmerge from
David Vossel [Fri, 18 Sep 2009 23:22:11 +0000 (23:22 +0000)] 
Merged revisions 219520 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r219520 | dvossel | 2009-09-18 18:20:58 -0500 (Fri, 18 Sep 2009) | 15 lines

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

  ........
    r219519 | dvossel | 2009-09-18 18:19:50 -0500 (Fri, 18 Sep 2009) | 9 lines

    iax2 frame double free

    The iax frame's retrans sched id was written over right
    before iax2_frame_free was called.  In iax2_frame_free that
    retrans id is used to delete the sched item.  By writing over
    the retrans field before the sched item could be deleted, it was
    possible for a retransmit to occur on a freed frame.
  ........
................

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

15 years agoMerged revisions 219451 via svnmerge from
David Vossel [Fri, 18 Sep 2009 16:22:00 +0000 (16:22 +0000)] 
Merged revisions 219451 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r219451 | dvossel | 2009-09-18 11:20:41 -0500 (Fri, 18 Sep 2009) | 20 lines

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

  ........
    r219450 | dvossel | 2009-09-18 11:19:15 -0500 (Fri, 18 Sep 2009) | 14 lines

    via-header branches not updated correctly on INVITE

    INVITE requests must always contain a new unique branch id. When
    a new branch id is created for an INVITE, the dialog's invite_branch
    variable must be updated so CANCEL requests use the correct branch id.

    (closes issue #15262)
    Reported by: maniax
    Patches:
          asterisk-1.6.1.0-sip-branch.patch uploaded by tweety (license 608)
          invite_new_branch_trunk.diff uploaded by dvossel (license 671)
    Tested by: maniax, dvossel
  ........
................

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

15 years agoMerged revisions 219412 via svnmerge from
Tilghman Lesher [Fri, 18 Sep 2009 13:57:13 +0000 (13:57 +0000)] 
Merged revisions 219412 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r219412 | tilghman | 2009-09-18 08:54:51 -0500 (Fri, 18 Sep 2009) | 6 lines

  Missing value setting line for maxsecs/maxmessage
  (closes issue #15696)
   Reported by: fhackenberger
   Patches:
         maxsecs.patch uploaded by fhackenberger (license 592)
........

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

15 years agoBlocked revisions 219371 via svnmerge
David Vossel [Thu, 17 Sep 2009 22:39:24 +0000 (22:39 +0000)] 
Blocked revisions 219371 via svnmerge

........
  r219371 | dvossel | 2009-09-17 17:37:28 -0500 (Thu, 17 Sep 2009) | 9 lines

  fixes deadlock when performing directed pickup w Invite/replaces

  (closes issue #15340)
  Reported by: lmsteffan
  Patches:
        deadlock.patch uploaded by lmsteffan (license 779)
  Tested by: lmsteffan
........

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

15 years agoMerged revisions 219324 via svnmerge from
Joshua Colp [Thu, 17 Sep 2009 22:36:49 +0000 (22:36 +0000)] 
Merged revisions 219324 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r219324 | mmichelson | 2009-09-17 17:22:01 -0500 (Thu, 17 Sep 2009) | 12 lines

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

  ........
    r219320 | mmichelson | 2009-09-17 17:20:50 -0500 (Thu, 17 Sep 2009) | 6 lines

    Send a 100 Trying response when we detect a spiral.

    This was problematic during spiral tests at SIPit...
    along with some other things as well.
  ........
................

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

15 years agoMerged revisions 219304 via svnmerge from
David Vossel [Thu, 17 Sep 2009 22:04:56 +0000 (22:04 +0000)] 
Merged revisions 219304 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r219304 | dvossel | 2009-09-17 16:59:21 -0500 (Thu, 17 Sep 2009) | 27 lines

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

  ........
    r219303 | dvossel | 2009-09-17 16:29:37 -0500 (Thu, 17 Sep 2009) | 21 lines

    INVITE w/Replaces deadlock fix

    This patch cleans up the locking logic in chan_sip.c's
    handle_invite_replaces() function as well as making use
    of ast_do_masquerade() rather than forcing the masquerade
    on an ast_read().  The code had several redundant unlocks
    that would result in 'freed more times than we've locked!'
    errors. I cleaned these up as well as moving all the unlock
    logic to the end of the function.  This patch should also
    resolve the issue people were having with the replacecall
    channel never being unlocked with one legged calls.

    (closes issue #15151)
    Reported by: irroot
    Patches:
          invite_w_replaces_1.4.diff uploaded by dvossel (license 671)
    Tested by: irroot, dvossel

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

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

15 years agoMerged revisions 219264 via svnmerge from
Joshua Colp [Thu, 17 Sep 2009 19:58:35 +0000 (19:58 +0000)] 
Merged revisions 219264 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r219264 | file | 2009-09-17 14:57:39 -0500 (Thu, 17 Sep 2009) | 2 lines

  Ensure no spaces exist before "refresher=" when doing the comparison.
........

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

15 years agoMerged revisions 219139 via svnmerge from
Matthew Nicholson [Thu, 17 Sep 2009 15:44:14 +0000 (15:44 +0000)] 
Merged revisions 219139 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r219139 | mnicholson | 2009-09-17 10:18:01 -0500 (Thu, 17 Sep 2009) | 17 lines

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

  ........
    r219136 | mnicholson | 2009-09-17 09:58:39 -0500 (Thu, 17 Sep 2009) | 10 lines

    Prevent a potential race condition and crash when hanging up a channel by removing the channel from the channel list before begining channel tear down.

    This fix may potentially cause problems with CDR backends that access the channel a CDR is associated with via the channel list.  This fix makes the channel unavabile at the time when the CDR backend is invoked.  This has been documented in include/asterisk/cdr.h.

    (closes issue #15316)
    Reported by: vmarrone
    Tested by: mnicholson

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

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

15 years agoMerged revisions 219061 via svnmerge from
Tilghman Lesher [Wed, 16 Sep 2009 23:52:09 +0000 (23:52 +0000)] 
Merged revisions 219061 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r219061 | tilghman | 2009-09-16 18:42:12 -0500 (Wed, 16 Sep 2009) | 15 lines

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

  ........
    r219023 | tilghman | 2009-09-16 18:21:53 -0500 (Wed, 16 Sep 2009) | 8 lines

    Properly deal with quotes in the arguments of '#exec' includes.
    (closes issue #15583)
     Reported by: pkempgen
     Patches:
           20090726__issue15583.diff.txt uploaded by tilghman (license 14)
           20090726__issue15583-1.4-4.diff.txt uploaded by pkempgen (license 169)
     Tested by: pkempgen
  ........
................

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

15 years agoMerged revisions 218933 via svnmerge from
Mark Michelson [Wed, 16 Sep 2009 19:27:32 +0000 (19:27 +0000)] 
Merged revisions 218933 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r218933 | mmichelson | 2009-09-16 14:25:36 -0500 (Wed, 16 Sep 2009) | 12 lines

  Reverse order of args to fread.

  This way, we don't always write a null byte into
  byte 1 of the buffer

  (closes issue #15905)
  Reported by: ebroad
  Patches:
        freadfix.patch uploaded by ebroad (license 878)
  Tested by: ebroad
........

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

15 years agoMerged revisions 218918 via svnmerge from
Joshua Colp [Wed, 16 Sep 2009 19:24:31 +0000 (19:24 +0000)] 
Merged revisions 218918 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r218918 | file | 2009-09-16 13:31:47 -0500 (Wed, 16 Sep 2009) | 5 lines

  On TCP and TLS connections do not attempt to stop retransmission of the packet internally.

  This was preventing responses from being properly processed because the packet was not being found
  causing handle_response to return prematurely.
........

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

15 years agoMerged revisions 218868 via svnmerge from
David Brooks [Wed, 16 Sep 2009 18:23:15 +0000 (18:23 +0000)] 
Merged revisions 218868 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r218868 | dbrooks | 2009-09-16 13:06:42 -0500 (Wed, 16 Sep 2009) | 20 lines

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

  ........
    r218867 | dbrooks | 2009-09-16 13:00:45 -0500 (Wed, 16 Sep 2009) | 13 lines

    Fixes CID pattern matching behavior to mirror that of extension pattern matching.

    Pattern matching for extensions uses a type of scoring system, giving values for
    specificity to each character in the pattern. Unfortunately, this is done character
    by character, in order. This does lead to some less specific patterns being first
    in line for matching, but it will usually get the job done.

    This patch merely brings CID matching to the same level as extension matching.
    This patch does not attempt to tackle the problem shared by extension matching.

    (closes issue #14708)
    Reported by: klaus3000
  ........
................

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

15 years agoMerged revisions 218799 via svnmerge from
Russell Bryant [Wed, 16 Sep 2009 13:37:32 +0000 (13:37 +0000)] 
Merged revisions 218799 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r218799 | russell | 2009-09-16 08:34:41 -0500 (Wed, 16 Sep 2009) | 16 lines

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

  ........
    r218798 | russell | 2009-09-16 08:33:43 -0500 (Wed, 16 Sep 2009) | 9 lines

    Remove the IAXy firmware from Asterisk.

    The firmware can now be found on downloads.digium.com, where the rest of our
    binary downloads live.  This was the last part of our Asterisk tarballs that
    was considered non-free by Debian.  :-)

    (closes issue #15838)
    Reported by: paravoid
  ........
................

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

15 years agoMerged revisions 218731 via svnmerge from
Tilghman Lesher [Tue, 15 Sep 2009 22:46:52 +0000 (22:46 +0000)] 
Merged revisions 218731 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r218731 | tilghman | 2009-09-15 17:33:10 -0500 (Tue, 15 Sep 2009) | 13 lines

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

  ........
    r218730 | tilghman | 2009-09-15 17:27:41 -0500 (Tue, 15 Sep 2009) | 6 lines

    If the user enters the same password as before, don't signal an error when the change does nothing.
    (closes issue #15492)
     Reported by: cbbs70a
     Patches:
           20090713__issue15492.diff.txt uploaded by tilghman (license 14)
  ........
................

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

15 years agoMerged revisions 139281,175058,175089 via svnmerge from
Tilghman Lesher [Tue, 15 Sep 2009 21:53:03 +0000 (21:53 +0000)] 
Merged revisions 139281,175058,175089 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
(closes issue #13985)

................
  r139281 | phsultan | 2008-08-21 04:55:31 -0500 (Thu, 21 Aug 2008) | 5 lines

  Fix two memory leaks in chan_gtalk, thanks Eliel!
  (closes issue #13310)
  Reported by: eliel
  Patches:
        chan_gtalk.c.patch uploaded by eliel (license 64)
................
  r175058 | phsultan | 2009-02-12 04:31:36 -0600 (Thu, 12 Feb 2009) | 20 lines

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

  ........
  r175029 | phsultan | 2009-02-12 11:16:21 +0100 (Thu, 12 Feb 2009) | 12 lines

  Set the initiator attribute to lowercase in our replies when receiving calls.

  This attribute contains a JID that identifies the initiator of the GoogleTalk
  voice session. The GoogleTalk client discards Asterisk's replies if the
  initiator attribute contains uppercase characters.

  (closes issue #13984)
  Reported by: jcovert
  Patches:
        chan_gtalk.2.patch uploaded by jcovert (license 551)
  Tested by: jcovert

  ........
................
  r175089 | phsultan | 2009-02-12 08:25:03 -0600 (Thu, 12 Feb 2009) | 6 lines

  Issue a warning message if our candidate's IP is the loopback address.

  (closes issue #13985)
  Reported by: jcovert
  Tested by: phsultan
................

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

15 years agoMerged revisions 218687 via svnmerge from
David Vossel [Tue, 15 Sep 2009 19:27:21 +0000 (19:27 +0000)] 
Merged revisions 218687 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r218687 | dvossel | 2009-09-15 14:22:37 -0500 (Tue, 15 Sep 2009) | 2 lines

  upward bound checking for port string to int conversion
........

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

15 years agoMerged revisions 218586 via svnmerge from
Matthew Nicholson [Tue, 15 Sep 2009 16:18:33 +0000 (16:18 +0000)] 
Merged revisions 218586 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r218586 | mnicholson | 2009-09-15 11:15:02 -0500 (Tue, 15 Sep 2009) | 15 lines

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

  ........
    r218578 | mnicholson | 2009-09-15 11:03:54 -0500 (Tue, 15 Sep 2009) | 8 lines

    Send request contact header field with response to registrer queries instead of the address of record.

    (closes issue #14438)
    Reported by: ravindrad
    Patches:
          regquerypatch uploaded by ravindrad (license 684)
    Tested by: ravindrad
  ........
................

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

15 years agoMerged revisions 218579 via svnmerge from
Tilghman Lesher [Tue, 15 Sep 2009 16:05:35 +0000 (16:05 +0000)] 
Merged revisions 218579 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r218579 | tilghman | 2009-09-15 11:04:41 -0500 (Tue, 15 Sep 2009) | 16 lines

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

  ........
    r218577 | tilghman | 2009-09-15 11:01:17 -0500 (Tue, 15 Sep 2009) | 9 lines

    Ensure FollowMe sets language in channels it creates.
    Also, not in the original bug report, but related fields are accountcode and
    musicclass, and the inheritance of datastores.
    (closes issue #15372)
     Reported by: Romik
     Patches:
           20090828__issue15372.diff.txt uploaded by tilghman (license 14)
     Tested by: cervajs
  ........
................

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

15 years agoMerged revisions 218566 via svnmerge from
Mark Michelson [Tue, 15 Sep 2009 15:42:29 +0000 (15:42 +0000)] 
Merged revisions 218566 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r218566 | mmichelson | 2009-09-15 10:40:14 -0500 (Tue, 15 Sep 2009) | 4 lines

  Use a better method of ensuring null-termination of the buffer
  while reading the SDP when using TCP.
........

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

15 years agoMerged revisions 218430 via svnmerge from
Jeff Peeler [Tue, 15 Sep 2009 15:41:09 +0000 (15:41 +0000)] 
Merged revisions 218430 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r218430 | jpeeler | 2009-09-14 17:38:25 -0500 (Mon, 14 Sep 2009) | 18 lines

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

  ........
    r218401 | jpeeler | 2009-09-14 16:47:11 -0500 (Mon, 14 Sep 2009) | 11 lines

    Fix handling of DAHDI_EVENT_REMOVED event to prevent crash in do_monitor.

    After talking to rmudgett about some of his recent iflist locking changes, it
    was determined that the only place that would destroy a channel without being
    explicitly to do so was in handle_init_event. The loop to walk the interface
    list has been modified to wait to destroy the channel until the dahdi_pvt of
    the channel to be destroyed is no longer needed.

    (closes issue #15378)
    Reported by: samy
  ........
................

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

15 years agoMerged revisions 218499,218504 via svnmerge from
Mark Michelson [Tue, 15 Sep 2009 15:12:35 +0000 (15:12 +0000)] 
Merged revisions 218499,218504 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r218499 | mmichelson | 2009-09-15 09:59:50 -0500 (Tue, 15 Sep 2009) | 3 lines

  Fix off-by-one error when reading SDP sent over TCP.
........
  r218504 | mmichelson | 2009-09-15 10:05:53 -0500 (Tue, 15 Sep 2009) | 3 lines

  Ensure that SDP read from TCP socket is null-terminated.
........

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

15 years agoMerged revisions 218500 via svnmerge from
Kevin P. Fleming [Tue, 15 Sep 2009 15:04:53 +0000 (15:04 +0000)] 
Merged revisions 218500 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r218500 | kpfleming | 2009-09-15 11:02:21 -0400 (Tue, 15 Sep 2009) | 9 lines

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

  ........
    r218497 | kpfleming | 2009-09-15 10:55:58 -0400 (Tue, 15 Sep 2009) | 1 line

    Use proper hostname for downloading sound files.
  ........
................

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

15 years agoMerged revisions 218361 via svnmerge from
Tilghman Lesher [Mon, 14 Sep 2009 19:49:17 +0000 (19:49 +0000)] 
Merged revisions 218361 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r218361 | tilghman | 2009-09-14 14:29:48 -0500 (Mon, 14 Sep 2009) | 11 lines

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

  ........
    r218331 | tilghman | 2009-09-14 14:16:35 -0500 (Mon, 14 Sep 2009) | 4 lines

    Don't say "Please try again" if we don't give the user another chance to try again.
    (issue #15055, SWP-129)
     Reported by: jthurman
  ........
................

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

15 years agoMerged revisions 218295 via svnmerge from
Joshua Colp [Mon, 14 Sep 2009 18:17:36 +0000 (18:17 +0000)] 
Merged revisions 218295 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r218295 | file | 2009-09-14 13:16:39 -0500 (Mon, 14 Sep 2009) | 2 lines

  Do not attempt to add a parking extension if an error occurred while reading the configuration.
........

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

15 years agoMerged revisions 218224 via svnmerge from
Matthew Nicholson [Mon, 14 Sep 2009 15:17:50 +0000 (15:17 +0000)] 
Merged revisions 218224 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r218224 | mnicholson | 2009-09-14 09:57:23 -0500 (Mon, 14 Sep 2009) | 14 lines

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

  ........
    r218223 | mnicholson | 2009-09-14 09:53:57 -0500 (Mon, 14 Sep 2009) | 8 lines

    Ensure we don't pickup ourselves when doing pickup by exten.

    (closes issue #15100)
    Reported by: lmsteffan
    Patches:
          (modified) pickup.patch uploaded by lmsteffan (license 779)
  ........
................

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

15 years agogcc 4.4: Remove a nop memset size 0 that annoys gcc
Tzafrir Cohen [Sun, 13 Sep 2009 21:48:02 +0000 (21:48 +0000)] 
gcc 4.4: Remove a nop memset size 0 that annoys gcc

This memset doesn't write beyond the end of the buffer.
(tmpbuf has size of 4).

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

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

15 years agoUse the ip for the new 'rtp set debug ip <foo>'.
Michiel van Baak [Sat, 12 Sep 2009 13:15:39 +0000 (13:15 +0000)] 
Use the ip for the new 'rtp set debug ip <foo>'.

Since 1.6.X still has the deprecated 'rtp debug ip <foo>'
this patch is different from the fix that went into trunk

(closes issue 0015711)
Reported by: davidw
Patches:
      2009082800-rtpdebug.diff.txt uploaded by mvanbaak (license 7)
Tested by: davidw

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

15 years agoBlocked revisions 218107 via svnmerge
Michiel van Baak [Sat, 12 Sep 2009 13:13:43 +0000 (13:13 +0000)] 
Blocked revisions 218107 via svnmerge

........
  r218107 | mvanbaak | 2009-09-12 15:08:16 +0200 (Sat, 12 Sep 2009) | 8 lines

  use the actual given ip address for 'rtp set debug ip <foo>' instead of the word 'ip'

  (closes issue #15711)
  Reported by: davidw
  Patches:
        2009082800-rtpdebug.diff.txt uploaded by mvanbaak (license 7)
  Tested by: davidw
........

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

15 years agoMerged revisions 218050 via svnmerge from
Tilghman Lesher [Fri, 11 Sep 2009 05:59:49 +0000 (05:59 +0000)] 
Merged revisions 218050 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r218050 | tilghman | 2009-09-11 00:58:11 -0500 (Fri, 11 Sep 2009) | 3 lines

  Check the origination priority for more matches, not the current priority.
  Found by Pavel Troller on the -dev list.
........

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

15 years agoMerged revisions 217990 via svnmerge from
Tilghman Lesher [Fri, 11 Sep 2009 05:59:17 +0000 (05:59 +0000)] 
Merged revisions 217990 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r217990 | tilghman | 2009-09-10 18:54:51 -0500 (Thu, 10 Sep 2009) | 10 lines

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

  ........
    r217989 | tilghman | 2009-09-10 18:52:22 -0500 (Thu, 10 Sep 2009) | 3 lines

    Don't ring another channel, if there's not enough time for a queue member to answer.
    (Fixes AST-228)
  ........
................

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

15 years agoMerged revisions 217916 via svnmerge from
Tilghman Lesher [Thu, 10 Sep 2009 23:18:45 +0000 (23:18 +0000)] 
Merged revisions 217916 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r217916 | tilghman | 2009-09-10 18:12:16 -0500 (Thu, 10 Sep 2009) | 2 lines

  Make calltoken support work with realtime users and peers.
........

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

15 years agoMerged revisions 217807 via svnmerge from
David Vossel [Thu, 10 Sep 2009 21:23:19 +0000 (21:23 +0000)] 
Merged revisions 217807 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r217807 | dvossel | 2009-09-10 16:07:47 -0500 (Thu, 10 Sep 2009) | 28 lines

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

  ........
    r217806 | dvossel | 2009-09-10 16:06:07 -0500 (Thu, 10 Sep 2009) | 22 lines

    IAX2 encryption regression

    The IAX2 Call Token security patch inadvertently broke the use of
    encryption due to the reorganization of code in the socket_process()
    function.  When encryption is used, an incoming full frame must first
    be decrypted before the information elements can be parsed.  The
    security release mistakenly moved IE parsing before decryption in
    order to process the new Call Token IE.  To resolve this, decryption
    of full frames is once again done before looking into the frame.  This
    involves searching for an existing callno, checking the pvt to see if
    encryption is turned on, and decrypting the packet before the internal
    fields of the full frame are accessed.

    (closes issue #15834)
    Reported by: karesmakro
    Patches:
          iax2_encryption_fix_1.4.diff uploaded by dvossel (license 671)
    Tested by: dvossel, karesmakro

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

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

15 years agoMerged revisions 217730 via svnmerge from
Matthias Nick [Thu, 10 Sep 2009 19:55:54 +0000 (19:55 +0000)] 
Merged revisions 217730 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r217730 | mnick | 2009-09-10 14:39:41 -0500 (Thu, 10 Sep 2009) | 17 lines

  Sets the correct musicclass after an announcement

  (closes issue #15279)
  Reported by: mbeckwell
  Patches:
        patch.txt uploaded by mnick (license )
  Tested by: mnick

  (closes issue #15832)
  Reported by: mbeckwell
  Patches:
        patch.txt uploaded by mnick (license 874)
  Tested by: mnick
........

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

15 years agoBlocked revisions 216805 via svnmerge
Olle Johansson [Thu, 10 Sep 2009 18:47:18 +0000 (18:47 +0000)] 
Blocked revisions 216805 via svnmerge

........
r216805 | oej | 2009-09-07 18:08:08 +0200 (MÃ¥n, 07 Sep 2009) | 2 lines

Since it's possible to have more than 999 calls, I'm changing the call counter roof to something higher.

........

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

15 years agoMerged revisions 217638 via svnmerge from
Tilghman Lesher [Thu, 10 Sep 2009 18:18:39 +0000 (18:18 +0000)] 
Merged revisions 217638 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r217638 | tilghman | 2009-09-10 13:17:14 -0500 (Thu, 10 Sep 2009) | 4 lines

  Verify support for wide ODBC character types before using them.
  (closes issue #15870)
   Reported by: nic_bellamy
........

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

15 years agoMerged revisions 217593 via svnmerge from
Olle Johansson [Thu, 10 Sep 2009 12:11:07 +0000 (12:11 +0000)] 
Merged revisions 217593 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r217593 | oej | 2009-09-10 14:06:55 +0200 (Tor, 10 Sep 2009) | 8 lines

Include ActionID in all events that are responsed to AMI Action SIPShowRegistry

(closes issue #15868)
Reported by: nic_bellamy
Patches:
      manager_SIPshowregistry_actionid.patch uploaded by nic bellamy (license 299)

........

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

15 years agogcc 4.4 fix: union instead of cast
Tzafrir Cohen [Wed, 9 Sep 2009 20:30:29 +0000 (20:30 +0000)] 
gcc 4.4 fix: union instead of cast

gcc 4.4 has more strict rules for aliasing. It doesn't like a
struct sockaddr_in pointer pointing to a struct sockaddr. So we make it
a union.

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

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

15 years agoMerged revisions 217368 via svnmerge from
Olle Johansson [Wed, 9 Sep 2009 11:02:28 +0000 (11:02 +0000)] 
Merged revisions 217368 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r217368 | oej | 2009-09-09 12:39:43 +0200 (Ons, 09 Sep 2009) | 2 lines

Not having any TLS session to write to is a serious XMIT_ERROR.

........

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

15 years agoMerged revisions 217286 via svnmerge from
Sean Bright [Tue, 8 Sep 2009 22:20:06 +0000 (22:20 +0000)] 
Merged revisions 217286 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r217286 | seanbright | 2009-09-08 18:17:08 -0400 (Tue, 08 Sep 2009) | 4 lines

  Fix compilation of app_meetme.

  Reported by ebroad in #asterisk-bugs
........

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

15 years agoMerged revisions 217199 via svnmerge from
Tilghman Lesher [Tue, 8 Sep 2009 20:32:02 +0000 (20:32 +0000)] 
Merged revisions 217199 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r217199 | tilghman | 2009-09-08 15:28:41 -0500 (Tue, 08 Sep 2009) | 14 lines

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

  ........
    r217156 | tilghman | 2009-09-08 15:01:45 -0500 (Tue, 08 Sep 2009) | 7 lines

    When MOH is playing on the channel, announcements sent through the conference are not heard.
    (closes issue #14588)
     Reported by: voipas
     Patches:
           20090716__issue14588__2.diff.txt uploaded by tilghman (license 14)
     Tested by: lmadsen, twisted, tilghman
  ........
................

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

15 years agoMerged revisions 217074 via svnmerge from
Kevin P. Fleming [Tue, 8 Sep 2009 16:39:24 +0000 (16:39 +0000)] 
Merged revisions 217074 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r217074 | kpfleming | 2009-09-08 11:37:28 -0500 (Tue, 08 Sep 2009) | 9 lines

  Ensure that the default autoconf CFLAGS are not used.

  A recent change to the configure script that allows the user to specify
  CFLAGS and/or LDFLAGS to the script had the unfortunate side effect of
  letting autoconf's default CFLAGS (-g -O2) feed in to the rest of the build
  system, thereby overriding the DONT_OPTIMIZE setting in menuselect. That
  problem is now corrected.
........

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

15 years agoMerged revisions 217033 via svnmerge from
Tilghman Lesher [Tue, 8 Sep 2009 15:36:01 +0000 (15:36 +0000)] 
Merged revisions 217033 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r217033 | tilghman | 2009-09-08 10:30:18 -0500 (Tue, 08 Sep 2009) | 4 lines

  Remove what appears to be an unnecessary define.
  (closes issue #15851)
   Reported by: tzafrir
........

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

15 years agoMerged revisions 216993 via svnmerge from
David Vossel [Tue, 8 Sep 2009 14:27:49 +0000 (14:27 +0000)] 
Merged revisions 216993 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r216993 | dvossel | 2009-09-08 09:26:30 -0500 (Tue, 08 Sep 2009) | 14 lines

  caller id number empty

  parse_uri was not being given the correct scheme's, as
  a result, uri parsing did not parse the username correctly.
  One of the side effects of this is an empty caller id.

  (closes issue #15839)
  Reported by: ebroad
  Patches:
        blank_cidv2.patch uploaded by ebroad (license 878)
        parse_uri_fix.diff uploaded by dvossel (license 671)
  Tested by: ebroad, dvossel
........

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

15 years agoMerged revisions 216842 via svnmerge from
Olle Johansson [Mon, 7 Sep 2009 16:41:04 +0000 (16:41 +0000)] 
Merged revisions 216842 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r216842 | oej | 2009-09-07 18:35:12 +0200 (MÃ¥n, 07 Sep 2009) | 2 lines

Make sure we reset global_exclude_static at channel reload

........

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

15 years agoMerged revisions 216695 via svnmerge from
Olle Johansson [Mon, 7 Sep 2009 13:10:39 +0000 (13:10 +0000)] 
Merged revisions 216695 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r216695 | oej | 2009-09-07 15:06:19 +0200 (MÃ¥n, 07 Sep 2009) | 8 lines

If there is no session timer setting in the INVITE, set it to default value (not unset minimum = -1)

Patch by oej

closes issue #15621
Reported by: fnordian
Tested by: atis

........

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

15 years agoMake code and documentation agree with each other
Olle Johansson [Mon, 7 Sep 2009 12:01:31 +0000 (12:01 +0000)] 
Make code and documentation agree with each other

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

15 years agoTurning off premature media by default
Olle Johansson [Mon, 7 Sep 2009 11:55:00 +0000 (11:55 +0000)] 
Turning off premature media by default

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

15 years agoMerged revisions 216438 via svnmerge from
Olle Johansson [Mon, 7 Sep 2009 10:45:24 +0000 (10:45 +0000)] 
Merged revisions 216438 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

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

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

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

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

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

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

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

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

........

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

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

15 years agoMerged revisions 216594 via svnmerge from
David Vossel [Fri, 4 Sep 2009 19:51:22 +0000 (19:51 +0000)] 
Merged revisions 216594 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r216594 | dvossel | 2009-09-04 14:32:07 -0500 (Fri, 04 Sep 2009) | 7 lines

  sip peer matching by address only with TCP/TLS

  This patch removes the contact header matching logic and
  adds logic to match all tcp/tls connections by ip only

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

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

15 years agoMerged revisions 216593 via svnmerge from
Sean Bright [Fri, 4 Sep 2009 19:32:48 +0000 (19:32 +0000)] 
Merged revisions 216593 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r216593 | seanbright | 2009-09-04 15:29:02 -0400 (Fri, 04 Sep 2009) | 1 line

  Use ast_free() instead of free().
........

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

15 years agoMerged revisions 216551 via svnmerge from
Tilghman Lesher [Fri, 4 Sep 2009 17:53:09 +0000 (17:53 +0000)] 
Merged revisions 216551 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r216551 | tilghman | 2009-09-04 12:50:21 -0500 (Fri, 04 Sep 2009) | 2 lines

  Fix trunk breakage.
........

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

15 years agoMerged revisions 216547 via svnmerge from
Tilghman Lesher [Fri, 4 Sep 2009 17:33:47 +0000 (17:33 +0000)] 
Merged revisions 216547 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r216547 | tilghman | 2009-09-04 12:31:44 -0500 (Fri, 04 Sep 2009) | 3 lines

  Enable turning off the application delimiter warning with the 'dontwarn' option.
  Suggested on the -dev list, and implemented in an alternate way by me.
........

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

15 years agoMerged revisions 216506 via svnmerge from
Michiel van Baak [Fri, 4 Sep 2009 15:09:35 +0000 (15:09 +0000)] 
Merged revisions 216506 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r216506 | mvanbaak | 2009-09-04 17:05:05 +0200 (Fri, 04 Sep 2009) | 9 lines

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

  ........
    r216435 | mvanbaak | 2009-09-04 15:56:10 +0200 (Fri, 04 Sep 2009) | 2 lines

    make asterisk compile under devmode with DEBUG_THREADS enabled on OpenBSD
  ........
................

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

15 years agoMerged revisions 216437 via svnmerge from
Michiel van Baak [Fri, 4 Sep 2009 14:12:11 +0000 (14:12 +0000)] 
Merged revisions 216437 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r216437 | mvanbaak | 2009-09-04 16:00:38 +0200 (Fri, 04 Sep 2009) | 2 lines

  make sure canlog is set so we can compile with DEBUG_THREADS enabled on OpenBSD
........

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

15 years agoMerged revisions 216368 via svnmerge from
Russell Bryant [Fri, 4 Sep 2009 13:56:09 +0000 (13:56 +0000)] 
Merged revisions 216368 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r216368 | russell | 2009-09-04 08:14:25 -0500 (Fri, 04 Sep 2009) | 12 lines

  Do not treat every SIP peer as if they were configured with insecure=port.

  There was a problem in the function responsible for doing peer matching by
  IP address and port number such that during the second pass for checking for
  a peer configured with insecure=port, it would end up treating every peer as
  if it had been configured that way.  These changes fix the logic in the peer
  IP and port comparison callback to handle insecure=port checking properly.

  This problem was introduced when SIP peers were converted to astobj2.  Many
  thanks to dvossel for noticing this while working on another peer matching
  issue.
........

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

15 years agoMerged revisions 216264 via svnmerge from
Russell Bryant [Fri, 4 Sep 2009 10:50:15 +0000 (10:50 +0000)] 
Merged revisions 216264 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r216264 | russell | 2009-09-04 05:48:44 -0500 (Fri, 04 Sep 2009) | 16 lines

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

  ................
    r216263 | russell | 2009-09-04 05:48:00 -0500 (Fri, 04 Sep 2009) | 9 lines

    Merged revisions 216262 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.2

    ........
      r216262 | russell | 2009-09-04 05:47:37 -0500 (Fri, 04 Sep 2009) | 2 lines

      Add a plain text version of the IAX2 security document.
    ........
  ................
................

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

15 years agoMerged revisions 216222 via svnmerge from
Michiel van Baak [Fri, 4 Sep 2009 06:13:19 +0000 (06:13 +0000)] 
Merged revisions 216222 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r216222 | mvanbaak | 2009-09-04 08:08:33 +0200 (Fri, 04 Sep 2009) | 3 lines

  make sure 'start' is always initialized.
  Makes asterisk compile with --enable-dev-mode
........

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

15 years agotweak
Russell Bryant [Thu, 3 Sep 2009 19:42:59 +0000 (19:42 +0000)] 
tweak

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

15 years agoMerged revisions 216092 via svnmerge from
Russell Bryant [Thu, 3 Sep 2009 19:42:00 +0000 (19:42 +0000)] 
Merged revisions 216092 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r216092 | russell | 2009-09-03 14:38:35 -0500 (Thu, 03 Sep 2009) | 16 lines

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

  ................
    r216085 | russell | 2009-09-03 14:36:46 -0500 (Thu, 03 Sep 2009) | 9 lines

    Merged revisions 216080 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.2

    ........
      r216080 | russell | 2009-09-03 14:35:23 -0500 (Thu, 03 Sep 2009) | 2 lines

      Add a note about IAX2 to UPGRADE.txt.
    ........
  ................
................

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

15 years agoMerged revisions 216009 via svnmerge from
Russell Bryant [Thu, 3 Sep 2009 18:51:33 +0000 (18:51 +0000)] 
Merged revisions 216009 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r216009 | russell | 2009-09-03 13:45:54 -0500 (Thu, 03 Sep 2009) | 16 lines

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

  ................
    r216008 | russell | 2009-09-03 13:44:58 -0500 (Thu, 03 Sep 2009) | 9 lines

    Merged revisions 216005 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.2

    ........
      r216005 | russell | 2009-09-03 13:42:24 -0500 (Thu, 03 Sep 2009) | 2 lines

      Add IAX2 security document related to AST-2009-006.
    ........
  ................
................

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

15 years agoMerged revisions 215955 via svnmerge from
David Vossel [Thu, 3 Sep 2009 18:41:27 +0000 (18:41 +0000)] 
Merged revisions 215955 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r215955 | dvossel | 2009-09-03 11:31:54 -0500 (Thu, 03 Sep 2009) | 6 lines

  Merge code associated with AST-2009-006

  (closes issue #12912)
  Reported by: rathaus
  Tested by: tilghman, russell, dvossel, dbrooks
........

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

15 years agoMerged revisions 215891 via svnmerge from
Olle Johansson [Thu, 3 Sep 2009 14:48:51 +0000 (14:48 +0000)] 
Merged revisions 215891 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r215891 | oej | 2009-09-03 15:02:41 +0200 (Tor, 03 Sep 2009) | 10 lines

Add known internal IP address when autodomain=yes

(closes issue #14573)
Reported by: pj
Patches:
      sip-internip-autodomain1.diff uploaded by mnicholson (license 96)
modified by oej
Tested by: pj

........

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

15 years agoMerged revisions 215838 via svnmerge from
Michiel van Baak [Thu, 3 Sep 2009 06:00:16 +0000 (06:00 +0000)] 
Merged revisions 215838 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r215838 | mvanbaak | 2009-09-03 07:57:23 +0200 (Thu, 03 Sep 2009) | 5 lines

  Document that SIPshowpeer and SKINNYshowline now include
  the configured parkinglot in their response.

  Prodded by snuff-work on #asterisk-dev IRC channel
........

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

15 years agoMerged revisions 215758 via svnmerge from
Terry Wilson [Thu, 3 Sep 2009 00:23:13 +0000 (00:23 +0000)] 
Merged revisions 215758 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r215758 | twilson | 2009-09-02 18:31:04 -0500 (Wed, 02 Sep 2009) | 25 lines

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

  ........
    r215682 | twilson | 2009-09-02 16:41:22 -0500 (Wed, 02 Sep 2009) | 18 lines

    Re-send non-100 provisional responses to prevent cancellation

    From section 13.3.1.1 of RFC 3261:

       If the UAS desires an extended period of time to answer the INVITE,
       it will need to ask for an "extension" in order to prevent proxies
       from canceling the transaction. A proxy has the option of canceling
       a transaction when there is a gap of 3 minutes between responses in a
       transaction. To prevent cancellation, the UAS MUST send a non-100
       provisional response at every minute, to handle the possibility of
       lost provisional responses.

    (closes issue #11157)
    Reported by: rjain
    Tested by: twilson

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

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