]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
16 years agoMerged revisions 179361 via svnmerge from
Tilghman Lesher [Mon, 2 Mar 2009 17:19:41 +0000 (17:19 +0000)] 
Merged revisions 179361 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r179361 | tilghman | 2009-03-02 11:18:48 -0600 (Mon, 02 Mar 2009) | 2 lines

  Backport 1.6.0 fix to trunk (failsafe if db is not loaded)
........

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

16 years agoBlocked revisions 179323 via svnmerge
Joshua Colp [Mon, 2 Mar 2009 14:29:23 +0000 (14:29 +0000)] 
Blocked revisions 179323 via svnmerge

........
  r179323 | file | 2009-03-02 10:28:09 -0400 (Mon, 02 Mar 2009) | 5 lines

  Do not try to remove a registration scheduled item if the scheduler context has already been destroyed.

  (closes issue #14580)
  Reported by: alecdavis
........

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

16 years agoMerged revisions 179291 via svnmerge from
Joshua Colp [Mon, 2 Mar 2009 14:14:51 +0000 (14:14 +0000)] 
Merged revisions 179291 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r179291 | file | 2009-03-02 10:13:45 -0400 (Mon, 02 Mar 2009) | 7 lines

  Fix issue where changing the volume of both directions of audio did not work.

  (closes issue #14574)
  Reported by: KNK
  Patches:
        audiohook_volume_fix.diff uploaded by KNK (license 545)
........

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

16 years agoMerged revisions 179254 via svnmerge from
Mark Michelson [Sun, 1 Mar 2009 23:28:19 +0000 (23:28 +0000)] 
Merged revisions 179254 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r179254 | mmichelson | 2009-03-01 17:25:23 -0600 (Sun, 01 Mar 2009) | 5 lines

  Swap reversed timevals.

  This was pointed out by ScribbleJ in #asterisk-dev. Thanks very much, ScribbleJ!
........

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

16 years agoMerged revisions 179219 via svnmerge from
Mark Michelson [Sun, 1 Mar 2009 21:57:18 +0000 (21:57 +0000)] 
Merged revisions 179219 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r179219 | mmichelson | 2009-03-01 15:45:08 -0600 (Sun, 01 Mar 2009) | 18 lines

  Properly free memory and remove scheduler entries when a transmission failure occurs.

  Previously, only the "data" field of the sip_pkt created during __sip_reliable_xmit
  was freed when XMIT_ERROR was returned by __sip_xmit. When retrans_pkt was called,
  this inevitably resulted in the reading and writing of freed memory.

  XMIT_ERROR is a condition meaning that we don't want to attempt resending the packet
  at all. The proper action to take is to remove the scheduler entry we just created,
  free the packet's data as well as the packet itself, and unlink it from the list of
  packets on the sip_pvt structure.

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

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

16 years agoMerged revisions 179164 via svnmerge from
Russell Bryant [Fri, 27 Feb 2009 21:48:00 +0000 (21:48 +0000)] 
Merged revisions 179164 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r179164 | russell | 2009-02-27 15:47:18 -0600 (Fri, 27 Feb 2009) | 2 lines

Mark res_ais as experimental, as the binary event format is subject to change.

........

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

16 years agoMerged revisions 179161 via svnmerge from
Tilghman Lesher [Fri, 27 Feb 2009 21:34:10 +0000 (21:34 +0000)] 
Merged revisions 179161 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r179161 | tilghman | 2009-02-27 15:32:13 -0600 (Fri, 27 Feb 2009) | 3 lines

  If config file is blank, don't load module.
  (Closes issue #14563)
........

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

16 years agoMerged revisions 179154 via svnmerge from
Russell Bryant [Fri, 27 Feb 2009 21:25:10 +0000 (21:25 +0000)] 
Merged revisions 179154 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r179154 | russell | 2009-02-27 15:23:12 -0600 (Fri, 27 Feb 2009) | 2 lines

Add a note about the ordering of entries in sip.conf in 1.6.1.

........

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

16 years agoBlocked revisions 179122 via svnmerge
Michiel van Baak [Fri, 27 Feb 2009 20:38:41 +0000 (20:38 +0000)] 
Blocked revisions 179122 via svnmerge

........
  r179122 | mvanbaak | 2009-02-27 21:34:00 +0100 (Fri, 27 Feb 2009) | 16 lines

  Add reload support to chan_skinny.

  Special thanks goes to DEA who had to redo this patch twice
  because we first put unload/load support in and later redid the way
  we configure devices and lines.

  (closes issue #10297)
  Reported by: DEA
  Patches:
        skinny-reload-trunkv2.diff uploaded by wedhorn (license 30)
        skinny-reload-trunk-v4.txt uploaded by DEA (license 3)
     With mods by me based on feedback from wedhorn and Russell and seanbright
  Tested by: DEA, mvanbaak, pj

  Review: http://reviewboard.digium.com/r/130/
........

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

16 years agoMerged revisions 179057 via svnmerge from
Jason Parker [Fri, 27 Feb 2009 19:06:18 +0000 (19:06 +0000)] 
Merged revisions 179057 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r179057 | qwell | 2009-02-27 13:04:57 -0600 (Fri, 27 Feb 2009) | 8 lines

  Update documentation for DIALEDTIME and ANSWEREDTIME variables.

  (closes issue #14566)
  Reported by: klaus3000
  Patches:
        ANSWEREDTIME-1.4-patch.txt uploaded by klaus3000 (license 65)
        ANSWEREDTIME-trunk-patch.txt uploaded by klaus3000 (license 65)
........

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

16 years agoBlocked revisions 179021 via svnmerge
Russell Bryant [Fri, 27 Feb 2009 15:52:44 +0000 (15:52 +0000)] 
Blocked revisions 179021 via svnmerge

........
r179021 | russell | 2009-02-27 09:51:56 -0600 (Fri, 27 Feb 2009) | 7 lines

Fix downloading SIREN7 and SIREN14 sound packages.

In passing, also fix downloading SLIN16 extra sound packages.

(closes issue #14565)
Reported by: jtodd

........

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

16 years agoMerged revisions 178986 via svnmerge from
Steve Murphy [Fri, 27 Feb 2009 03:56:58 +0000 (03:56 +0000)] 
Merged revisions 178986 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r178986 | murf | 2009-02-26 20:45:58 -0700 (Thu, 26 Feb 2009) | 26 lines

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

  In this case, it's just a matter of reducing the default timeouts from 2000
  to 1000 msec, as the max def feature digit timeout is no longer halved.

  ........
    r178956 | murf | 2009-02-26 14:27:32 -0700 (Thu, 26 Feb 2009) | 18 lines

    This change moves the default feature digit timeout to 1000 ms from the previous default of 500.

    As per bug 14515, a dev discussion arrived at a "mediated concensus"
    of a default feature digit timeout of 1.0 sec. Some voted for 1300;
    ctooley thought 1500 for distracted phone users in phone booths;
    kpfleming put his foot down at 1.0 sec.

    Users who found the previous default max delay of 250 msec perfect,
    are welcome to override the new default. Notice that I said that
    250 msec was the default; wait a minute, you might say, the config
    file said it was 500 msec!; well, because of the bug fix for 14515,
    we found that 500 msec was actually enforcing a max of 250. The bug
    fix would restore 500 msec, but we felt even that was a bit tight
    for most users... 2000 msec was pushed earlier by mmichelson, so
    that reduces to 1000 msec after the bug fix. Enjoy!
  ........
................

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

16 years agoBlocked revisions 178919 via svnmerge
Tilghman Lesher [Thu, 26 Feb 2009 18:44:55 +0000 (18:44 +0000)] 
Blocked revisions 178919 via svnmerge

........
  r178919 | tilghman | 2009-02-26 12:41:28 -0600 (Thu, 26 Feb 2009) | 8 lines

  Sound confirmation of call pickup success.
  (closes issue #13826)
   Reported by: azielke
   Patches:
         pickupsound2-trunk.patch uploaded by azielke (license 548)
         __20081124_bug_13826_updated.patch uploaded by lmadsen (license 10)
   Tested by: lmadsen
........

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

16 years agoMerged revisions 178871 via svnmerge from
David Vossel [Thu, 26 Feb 2009 17:50:51 +0000 (17:50 +0000)] 
Merged revisions 178871 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r178871 | dvossel | 2009-02-26 11:46:12 -0600 (Thu, 26 Feb 2009) | 6 lines

  IAX2 prune realtime, minor tweak to last fix

  A return statement was missing which caused unexpected cli output.

  issue #14479
........

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

16 years agoBlocked revisions 178870 via svnmerge
Steve Murphy [Thu, 26 Feb 2009 17:48:08 +0000 (17:48 +0000)] 
Blocked revisions 178870 via svnmerge

........
  r178870 | murf | 2009-02-26 10:45:22 -0700 (Thu, 26 Feb 2009) | 1 line

  These small fixes prevent compiler warnings with ubuntu 8.10's gcc-4.3.2, which tend to break my dev-mode build. Not a problem in 1.6.x.
........

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

16 years agoMerged revisions 178828 via svnmerge from
Steve Murphy [Thu, 26 Feb 2009 17:38:16 +0000 (17:38 +0000)] 
Merged revisions 178828 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r178828 | murf | 2009-02-26 10:22:11 -0700 (Thu, 26 Feb 2009) | 34 lines

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

  ........
    r178804 | murf | 2009-02-26 10:09:03 -0700 (Thu, 26 Feb 2009) | 28 lines

    This patch prevents the feature detection timeout from being cut in half.

    Because the ast_channel_bridge() call will return 0 and pass
    a frame pointer for both DTMF_BEGIN and DTMF_END, the feature_timer
    field in hte config struct is getting decremented twice, which
    effectively cuts the digittimeout in half. I added conditions
    to the if statement to only let DTMF_END frames to flow thru,
    which solved the problem. Also, when the frame pointer is null,
    let control flow thru-- this usually happens on timeouts. I added
    a comment to the code to explain what's going on and why.

    Many thanks to sodom for reporting this problem. Personnally, it always seemed
    like something was wrong with the featuredigittimeout, but I never
    could quite decide what... and was too busy to investigate.
    This bug forced the issue, and now we know.

    Sodom had other issues in 14515, but I couldn't reproduce them. If
    he still has problems, and wants to get them solved, he is welcome
    to reopen 14515.

    (closes issue #14515)
    Reported by: sodom
    Patches:
          14515.patch uploaded by murf (license 17)
    Tested by: murf, sodom
  ........
................

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

16 years agoMerged revisions 178801 via svnmerge from
Joshua Colp [Thu, 26 Feb 2009 16:44:54 +0000 (16:44 +0000)] 
Merged revisions 178801 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r178801 | file | 2009-02-26 12:42:36 -0400 (Thu, 26 Feb 2009) | 5 lines

  Fix an issue where the timer for file playback would not be stopped if DAHDI was not installed.

  (closes issue #14541)
  Reported by: grant
........

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

16 years agoMerged revisions 178767 via svnmerge from
David Vossel [Thu, 26 Feb 2009 16:07:08 +0000 (16:07 +0000)] 
Merged revisions 178767 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r178767 | dvossel | 2009-02-26 09:50:22 -0600 (Thu, 26 Feb 2009) | 8 lines

  IAX2 prune realtime fix

  Iax2 prune realtime had issues.  If "iax2 prune realtime all" was called, it would appear like the command was successful, but in reality nothing happened.  This is because the reload that was supposed to take place checks the config files, sees no changes, and does nothing.  If there had been a change in the the config file, the realtime users would have been marked for deletion and everything would have been fine.  Now prune_users() and prune_peers() are called instead of reload_config() to prune all users/peers that are realtime.  These functions remove all users/peers with the rtfriend and delme flags set. iax2_prune_realtime() also lacked the code to properly delete a single friend.  For example. if iax2 prune realtime <friend> was called, only the peer instance would be removed. The user would still remain.

  (closes issue #14479)
  Reported by: mousepad99
  Review: http://reviewboard.digium.com/r/176/
........

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

16 years agoBlocked revisions 178764 via svnmerge
Joshua Colp [Thu, 26 Feb 2009 15:43:01 +0000 (15:43 +0000)] 
Blocked revisions 178764 via svnmerge

........
  r178764 | file | 2009-02-26 11:40:10 -0400 (Thu, 26 Feb 2009) | 5 lines

  Ensure there is a valid tone part before trying to play tones.

  (closes issue #14558)
  Reported by: alecdavis
........

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

16 years agoBlocked revisions 178607 via svnmerge
Tilghman Lesher [Wed, 25 Feb 2009 19:50:16 +0000 (19:50 +0000)] 
Blocked revisions 178607 via svnmerge

........
  r178607 | tilghman | 2009-02-25 13:49:46 -0600 (Wed, 25 Feb 2009) | 2 lines

  Picky, picky buildbots
........

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

16 years agoBlocked revisions 178605 via svnmerge
Tilghman Lesher [Wed, 25 Feb 2009 19:41:09 +0000 (19:41 +0000)] 
Blocked revisions 178605 via svnmerge

........
  r178605 | tilghman | 2009-02-25 13:24:44 -0600 (Wed, 25 Feb 2009) | 9 lines

  Use notification when timezone files change and re-scan then.
  (closes issue #14300)
   Reported by: jamessan
   Patches:
         20090127__bug14300.diff.txt uploaded by tilghman (license 14)
         20090224__bug14300.diff uploaded by jamessan (license 246)
   Tested by: jamessan
   Review: http://reviewboard.digium.com/r/136/
........

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

16 years agoBlocked revisions 178573 via svnmerge
Tilghman Lesher [Wed, 25 Feb 2009 19:05:09 +0000 (19:05 +0000)] 
Blocked revisions 178573 via svnmerge

........
  r178573 | tilghman | 2009-02-25 13:03:35 -0600 (Wed, 25 Feb 2009) | 2 lines

  Oops, wrong direction of command
........

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

16 years agoMerged revisions 178509 via svnmerge from
Russell Bryant [Wed, 25 Feb 2009 12:46:51 +0000 (12:46 +0000)] 
Merged revisions 178509 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r178509 | russell | 2009-02-25 06:45:30 -0600 (Wed, 25 Feb 2009) | 10 lines

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

........
r178508 | russell | 2009-02-25 06:43:36 -0600 (Wed, 25 Feb 2009) | 2 lines

Update the copyright year for the main page of the doxygen documentation.

........

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

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

16 years agoMerged revisions 178446 via svnmerge from
Tilghman Lesher [Tue, 24 Feb 2009 23:28:48 +0000 (23:28 +0000)] 
Merged revisions 178446 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r178446 | tilghman | 2009-02-24 17:27:23 -0600 (Tue, 24 Feb 2009) | 12 lines

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

  ........
    r178445 | tilghman | 2009-02-24 17:25:24 -0600 (Tue, 24 Feb 2009) | 5 lines

    Add section about the #exec command in configuration files.
    (closes issue #14540)
     Reported by: jtodd
     Patch by: jtodd, with additional notes by tilghman (license 14)
  ........
................

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

16 years agoMerged revisions 178381 via svnmerge from
Tilghman Lesher [Tue, 24 Feb 2009 20:54:06 +0000 (20:54 +0000)] 
Merged revisions 178381 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r178381 | tilghman | 2009-02-24 14:52:44 -0600 (Tue, 24 Feb 2009) | 2 lines

  Apparently, a void cast doesn't override warn_unused_result.
........

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

16 years agorevert accidental Makefile change.
Russell Bryant [Tue, 24 Feb 2009 20:44:50 +0000 (20:44 +0000)] 
revert accidental Makefile change.

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

16 years agoMerged revisions 178374 via svnmerge from
Russell Bryant [Tue, 24 Feb 2009 20:44:34 +0000 (20:44 +0000)] 
Merged revisions 178374 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r178374 | russell | 2009-02-24 14:39:57 -0600 (Tue, 24 Feb 2009) | 14 lines

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

........
r178373 | russell | 2009-02-24 14:36:19 -0600 (Tue, 24 Feb 2009) | 6 lines

Only set dtmfcount on BEGIN, and ensure it gets reset to 0 properly.

(issue #14460)
Reported by: moliveras
Tested by: russell

........

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

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

16 years agoMerged revisions 178375 via svnmerge from
Tilghman Lesher [Tue, 24 Feb 2009 20:41:26 +0000 (20:41 +0000)] 
Merged revisions 178375 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r178375 | tilghman | 2009-02-24 14:40:02 -0600 (Tue, 24 Feb 2009) | 2 lines

  The 3 possible errors with pipe(2) are all impossible in this situation.
........

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

16 years agoMerged revisions 178342 via svnmerge from
Tilghman Lesher [Tue, 24 Feb 2009 20:08:19 +0000 (20:08 +0000)] 
Merged revisions 178342 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r178342 | tilghman | 2009-02-24 14:06:48 -0600 (Tue, 24 Feb 2009) | 2 lines

  Use a SIGPIPE to kill the process, instead of depending upon the astcanary process being inherited by init.
........

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

16 years agoMerged revisions 178303 via svnmerge from
Tilghman Lesher [Tue, 24 Feb 2009 17:53:58 +0000 (17:53 +0000)] 
Merged revisions 178303 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r178303 | tilghman | 2009-02-24 11:51:36 -0600 (Tue, 24 Feb 2009) | 7 lines

  Cause astcanary to exit if Asterisk exits abnormally and doesn't kill astcanary.
  Also, add some documentation supporting the use of astcanary.
  (closes issue #14538)
   Reported by: KNK
   Patches:
         asterisk-1.6.x-astcanary.diff uploaded by KNK (license 545)
........

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

16 years agoBlocked revisions 178300 via svnmerge
David Vossel [Tue, 24 Feb 2009 17:44:39 +0000 (17:44 +0000)] 
Blocked revisions 178300 via svnmerge

........
  r178300 | dvossel | 2009-02-24 11:42:37 -0600 (Tue, 24 Feb 2009) | 14 lines

  Allows manager command to see if IAX link is trunked and encrypted. Displays what kind of encryption is enabled as well.

  Manager command "iaxpeers" now shows if a link is trunked and encrypted.  Instead of encryption saying simply "yes" or "no", it now displays what type of encryption is enabled and if keyrotation is on or not.

  (closes issue #14427)
  Reported by: snuffy
  Patches:
   iax_show_trunks.diff uploaded by snuffy (license 35)
   2009022200_iax2_show_trunkencryption.diff.txt uploaded by mvanbaak (license 7)
  Tested by: mvanbaak, dvossel, snuffy
........

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

16 years agoMerged revisions 178213 via svnmerge from
Joshua Colp [Tue, 24 Feb 2009 15:22:25 +0000 (15:22 +0000)] 
Merged revisions 178213 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r178213 | file | 2009-02-24 11:18:38 -0400 (Tue, 24 Feb 2009) | 16 lines

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

  ........
    r178205 | file | 2009-02-24 11:16:07 -0400 (Tue, 24 Feb 2009) | 9 lines

    Skip check for extension when subscribing for MWI.

    Since the remote side is not actually subscribing to a specific extension when
    subscribing for MWI just skip the check to see if the extension exists. They can't use it
    to specify the mailbox either since we require configuration of that in sip.conf

    (closes issue #14531)
    Reported by: festr
  ........
................

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

16 years agoMerged revisions 178142 via svnmerge from
Russell Bryant [Mon, 23 Feb 2009 23:22:52 +0000 (23:22 +0000)] 
Merged revisions 178142 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r178142 | russell | 2009-02-23 17:11:37 -0600 (Mon, 23 Feb 2009) | 22 lines

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

........
r178141 | russell | 2009-02-23 17:09:01 -0600 (Mon, 23 Feb 2009) | 14 lines

Fix infinite DTMF when a BEGIN is received without an END.

This commit is related to rev 175124 of 1.4 where a previous attempt was made
to fix this problem.  The problem with the previous patch was that the inserted
code needed to go _before_ setting the lastrxts to the current timestamp.
Because those were the same, the dtmfcount variable was never decremented, and
so the END was never sent.

In passing, I removed the dtmfsamples variable which was completed unused.  I
also removed a redundant setting of the lastrxts variable.

(closes issue #14460)
Reported by: moliveras

........

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

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

16 years agoBlocked revisions 178107 via svnmerge
Tilghman Lesher [Mon, 23 Feb 2009 21:03:01 +0000 (21:03 +0000)] 
Blocked revisions 178107 via svnmerge

........
  r178107 | tilghman | 2009-02-23 15:02:18 -0600 (Mon, 23 Feb 2009) | 7 lines

  Permit emailsubject and emailbody to be set per mailbox.
  (closes issue #14372)
   Reported by: fhackenberger
   Patches:
         voicemail_individual_subject_and_body_1.6.1 uploaded by fhackenberger (license 592)
         with additional fixes by Corydon76 (license 14)
........

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

16 years agoBlocked revisions 178030 via svnmerge
David Vossel [Mon, 23 Feb 2009 20:50:24 +0000 (20:50 +0000)] 
Blocked revisions 178030 via svnmerge

........
  r178030 | dvossel | 2009-02-23 11:59:55 -0600 (Mon, 23 Feb 2009) | 7 lines

  Changes the way keyrotation is enabled by default

  Key rotation was enabled by default by setting the global encryption method to IAX_ENCRYPT_KEYROTATE.  the problem with this is that if encryption is not enabled, and the encryption method is set to anything except 0, the peer appears to have encryption enabled when issuing a "iax2 show peers".  Rather than have the key rotation bit always set by default, it is now only set when an encryption method is enabled.

  (closes issue #14523)
  Reported by: mvanbaak
........

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

16 years agoBlocked revisions 178061 via svnmerge
Michiel van Baak [Mon, 23 Feb 2009 18:27:37 +0000 (18:27 +0000)] 
Blocked revisions 178061 via svnmerge

........
  r178061 | mvanbaak | 2009-02-23 19:23:38 +0100 (Mon, 23 Feb 2009) | 3 lines

  update the new manager commands in chan_skinny to match
  chan_sip's headers. requested by oej.
........

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

16 years agoBlocked revisions 178027 via svnmerge
Michiel van Baak [Mon, 23 Feb 2009 17:50:43 +0000 (17:50 +0000)] 
Blocked revisions 178027 via svnmerge

........
  r178027 | mvanbaak | 2009-02-23 18:48:32 +0100 (Mon, 23 Feb 2009) | 2 lines

  list the addition of the SKINNY manager actions in the CHANGES file.
........

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

16 years agoBlocked revisions 178022 via svnmerge
Russell Bryant [Mon, 23 Feb 2009 17:30:18 +0000 (17:30 +0000)] 
Blocked revisions 178022 via svnmerge

........
r178022 | russell | 2009-02-23 11:29:16 -0600 (Mon, 23 Feb 2009) | 6 lines

Fix a regression in scheduler entry ordering, and add a regression test for it.

(closes issue #14522)
Reported by: pj
Tested by: russell

........

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

16 years agoBlocked revisions 177988 via svnmerge
Michiel van Baak [Sun, 22 Feb 2009 23:08:30 +0000 (23:08 +0000)] 
Blocked revisions 177988 via svnmerge

........
  r177988 | mvanbaak | 2009-02-23 00:04:37 +0100 (Mon, 23 Feb 2009) | 13 lines

  Add a couple of manager commands to chan_skinny

  Added:
  SKINNYdevices
  SKINNYshowdevice
  SKINNYlines
  SKINNYshowline

  (closes issue #14521)
  Reported by: mvanbaak

  Review: http://reviewboard.digium.com/r/170/
........

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

16 years agoMerged revisions 177944 via svnmerge from
Tilghman Lesher [Sat, 21 Feb 2009 16:04:09 +0000 (16:04 +0000)] 
Merged revisions 177944 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r177944 | tilghman | 2009-02-21 09:59:49 -0600 (Sat, 21 Feb 2009) | 2 lines

  On update, test against the existence of sipregs.
........

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

16 years agoBlocked revisions 177913 via svnmerge
Michiel van Baak [Sat, 21 Feb 2009 14:41:09 +0000 (14:41 +0000)] 
Blocked revisions 177913 via svnmerge

........
  r177913 | mvanbaak | 2009-02-21 15:37:04 +0100 (Sat, 21 Feb 2009) | 7 lines

  add extra check for sysinfo/sysctl

  (closes issue #14513)
  Reported by: snuffy
  Patches:
        bug14513_fixsysinfo.diff uploaded by snuffy (license 35)
........

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

16 years agoBlocked revisions 177855 via svnmerge
Russell Bryant [Sat, 21 Feb 2009 13:21:36 +0000 (13:21 +0000)] 
Blocked revisions 177855 via svnmerge

........
r177855 | russell | 2009-02-21 07:17:47 -0600 (Sat, 21 Feb 2009) | 5 lines

Fix build issues on Solaris and OpenBSD.

(closes issue #14512)
Reported by: snuffy

........

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

16 years agoBlocked revisions 177852 via svnmerge
Michiel van Baak [Sat, 21 Feb 2009 13:19:34 +0000 (13:19 +0000)] 
Blocked revisions 177852 via svnmerge

........
  r177852 | mvanbaak | 2009-02-21 14:13:35 +0100 (Sat, 21 Feb 2009) | 18 lines

  set ASTVARRUNDIR=$(localstatedir)/run/asterisk as default path

  When running asterisk as non-root and without this patch the pidfile wants
  to go into /var/run/asterisk.pid. This directory is not writable for
  the non-root user and changing permissions is not an option.
  Putting it in /var/run/asterisk/asterisk.pid makes it possible
  to set permissions on the /var/run/asterisk dir so everything
  works as it should be.

  Patched committed is based on pabelanger's patch.

  (closes issue #13153)
  Reported by: pabelanger
  Patches:
        2009012900_bug13153-nonrootscripts.diff.txt uploaded by mvanbaak (license 7)

  Review: http://reviewboard.digium.com/r/139/
........

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

16 years agoMerged revisions 177849 via svnmerge from
Michiel van Baak [Sat, 21 Feb 2009 12:51:33 +0000 (12:51 +0000)] 
Merged revisions 177849 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r177849 | mvanbaak | 2009-02-21 13:22:32 +0100 (Sat, 21 Feb 2009) | 2 lines

  make chan_sip.c compile on OpenBSD again.
........

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

16 years agoMerged revisions 177787 via svnmerge from
Tilghman Lesher [Fri, 20 Feb 2009 23:05:11 +0000 (23:05 +0000)] 
Merged revisions 177787 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r177787 | tilghman | 2009-02-20 17:02:35 -0600 (Fri, 20 Feb 2009) | 16 lines

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

  ........
    r177786 | tilghman | 2009-02-20 16:59:52 -0600 (Fri, 20 Feb 2009) | 9 lines

    Don't print the CR-NL combination when we aren't outputting to the manager.

    An embedded CR-NL in a CLI command screws up several AMI parsers that don't
    expect to see that combination in the middle of output.

    (Closes issue #14305)
    Reported by: martins
    Patch by: tilghman
  ........
................

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

16 years agoMerged revisions 177699 via svnmerge from
Dwayne M. Hubbard [Fri, 20 Feb 2009 22:27:17 +0000 (22:27 +0000)] 
Merged revisions 177699 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r177699 | dhubbard | 2009-02-20 14:29:00 -0600 (Fri, 20 Feb 2009) | 9 lines

  Make app_fax compatible with spandsp-0.0.6pre4

  Prior to spandsp-0.0.6pre4 the t30_stats_t structure used a pages_transferred
  integer to indicate the number of pages transferred (so far) during the fax
  session.  The spandsp-0.0.6pre4 release removed the pages_transferred integer
  and replaced it with two different integers - pages_tx and pages_rx.  This
  revision uses the new integers for spandsp-0.0.6pre4 while maintaining backwards
  compatibility for previous spandsp releases.
........

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

16 years agoOops, last merge broke 1.6.1 branch
Tilghman Lesher [Fri, 20 Feb 2009 22:15:38 +0000 (22:15 +0000)] 
Oops, last merge broke 1.6.1 branch

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

16 years agoMerged revisions 177664 via svnmerge from
Tilghman Lesher [Fri, 20 Feb 2009 21:35:18 +0000 (21:35 +0000)] 
Merged revisions 177664 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r177664 | tilghman | 2009-02-20 11:29:51 -0600 (Fri, 20 Feb 2009) | 8 lines

  Allow semicolons to be escaped, when passing arguments to the System command.
  (closes issue #14231)
   Reported by: jcovert
   Patches:
         20090113__bug14231__2.diff.txt uploaded by Corydon76 (license 14)
         corrected_20090113__bug14231__2.diff.txt uploaded by jcovert (license 551)
   Tested by: jcovert
........

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

16 years agoMerged revisions 177732 via svnmerge from
Tilghman Lesher [Fri, 20 Feb 2009 21:34:28 +0000 (21:34 +0000)] 
Merged revisions 177732 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r177732 | tilghman | 2009-02-20 15:25:37 -0600 (Fri, 20 Feb 2009) | 10 lines

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

  ........
    r177701 | tilghman | 2009-02-20 15:15:01 -0600 (Fri, 20 Feb 2009) | 3 lines

    This exception does not appear to still be true for Solaris 10, and OpenSolaris definitely needs it to be removed.
    Fixed for snuff-home on -dev channel.
  ........
................

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

16 years agoFixes issue with undefined audio codecs in chan_iax2
David Vossel [Fri, 20 Feb 2009 20:34:11 +0000 (20:34 +0000)] 
Fixes issue with undefined audio codecs in chan_iax2

During iax2 call negotiation, supported codecs are passed in an Information Element containing a 2 byte field where each bit correlates to a specific codec.  In 1.6 only audio codec bits 0-12 are defined, leaving bits 13-14 undefined.  By default all bits are enabled unless specified otherwise.  Since its a 2 byte field and 13-14 are not defined, these bits are never turned off.  In trunk, bits 13-14 are defined, which means 1.6 is advertising support for codecs it does not have when talking to trunk.  I fixed this by adding #define for undefined audio codec bits.  These bits are then removed from iax2's full bandwidth capabilities.

(closes issue #14283)
Reported by: jcovert

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

16 years agoMerged revisions 177661 via svnmerge from
Tilghman Lesher [Fri, 20 Feb 2009 17:28:28 +0000 (17:28 +0000)] 
Merged revisions 177661 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r177661 | tilghman | 2009-02-20 11:22:19 -0600 (Fri, 20 Feb 2009) | 2 lines

  Oops, merge broke trunk
........

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

16 years agoMerged revisions 177624 via svnmerge from
Jeff Peeler [Fri, 20 Feb 2009 00:38:19 +0000 (00:38 +0000)] 
Merged revisions 177624 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r177624 | jpeeler | 2009-02-19 18:35:53 -0600 (Thu, 19 Feb 2009) | 7 lines

  Set sip_request ast_str data to NULL so ast_str_copy allocates space properly
  in copy_request

  (issue #14478)
  Reported by: erik_dedecker
........

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

16 years agoMerged revisions 177595 via svnmerge from
Steve Murphy [Fri, 20 Feb 2009 00:26:06 +0000 (00:26 +0000)] 
Merged revisions 177595 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r177595 | murf | 2009-02-19 16:56:50 -0700 (Thu, 19 Feb 2009) | 32 lines

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

Trunk was already pretty 8-bit clean; but I'm still
removing the --full from the flex command so everything
is uniform.

........
  r177540 | murf | 2009-02-19 15:51:37 -0700 (Thu, 19 Feb 2009) | 21 lines

  This patch fixes a problem with 8-bit input to the ast_expr2 scanner.

  The real culprit was the --full argument to flex
  in the Makefile! This causes a 7-bit scanner to be
  generated.

  I reviewed the rules and found one rule where I needed
  to specifically include 8-bit chars for a token.

  I tested against the text supplied by ibercom, and
  all looks very well.

  This has been there a surprisingly long time!

  (closes issue #14498)
  Reported by: ibercom
  Patches:
        14498.patch uploaded by murf (license 17)
  Tested by: murf
........

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

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

16 years agoMerged revisions 177537 via svnmerge from
Tilghman Lesher [Thu, 19 Feb 2009 22:35:48 +0000 (22:35 +0000)] 
Merged revisions 177537 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r177537 | tilghman | 2009-02-19 16:33:00 -0600 (Thu, 19 Feb 2009) | 14 lines

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

  ........
    r177536 | tilghman | 2009-02-19 16:26:01 -0600 (Thu, 19 Feb 2009) | 7 lines

    Fix up potential crashes, by reducing the sharing between interactive and non-interactive threads.
    (closes issue #14253)
     Reported by: Skavin
     Patches:
           20090219__bug14253.diff.txt uploaded by Corydon76 (license 14)
     Tested by: Skavin
  ........
................

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

16 years agoMerged revisions 177387 via svnmerge from
Jeff Peeler [Thu, 19 Feb 2009 16:46:09 +0000 (16:46 +0000)] 
Merged revisions 177387 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r177387 | jpeeler | 2009-02-19 10:45:02 -0600 (Thu, 19 Feb 2009) | 3 lines

  Fix another merge error from 176708
........

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

16 years agoMerged revisions 177384 via svnmerge from
Joshua Colp [Thu, 19 Feb 2009 16:40:16 +0000 (16:40 +0000)] 
Merged revisions 177384 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r177384 | file | 2009-02-19 12:38:41 -0400 (Thu, 19 Feb 2009) | 10 lines

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

  ........
    r177383 | file | 2009-02-19 12:37:25 -0400 (Thu, 19 Feb 2009) | 3 lines

    If we are able to create a speech structure unset the ERROR variable in case it was previously set.
    (issue #LUMENVOX-13)
  ........
................

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

16 years agoMerged revisions 177356 via svnmerge from
Jeff Peeler [Thu, 19 Feb 2009 15:57:44 +0000 (15:57 +0000)] 
Merged revisions 177356 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r177356 | jpeeler | 2009-02-19 09:56:31 -0600 (Thu, 19 Feb 2009) | 4 lines

  Fix mismerge from revision 176708 pointed out by Kaloyan Kovachev on the
  asterisk-dev mailing list. Thanks!
........

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

16 years agoMerged revisions 177286 via svnmerge from
Steve Murphy [Thu, 19 Feb 2009 00:17:44 +0000 (00:17 +0000)] 
Merged revisions 177286 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r177286 | murf | 2009-02-18 16:50:57 -0700 (Wed, 18 Feb 2009) | 39 lines

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

  ........
    r177225 | murf | 2009-02-18 15:43:14 -0700 (Wed, 18 Feb 2009) | 34 lines

    This patch fixes a regression of sorts that was introduced in
    rev 24425.

    It basically fixes AST-190/ABE-1782.

    What was wrong: the user has 6000 extensions in one context; and
    then 6000 contexts, one per extension. The parser could only handle
    about 4893 of the 6000 extens in the single context.

    This was due to the regression I mentioned. To get rid of
    shift/reduce conflicts, Luigi set up right-recursive lists
    for globals, context elements, switch lists, and statements.
    Right recursive lists got rid of the warnings, but instead, they
    use up a tremendous amount of stack space when the lists are long.

    I saw this a few years back, and resolved not to fix it until
    someone complained. That day has arrived!

    After the changes were made, I ran the regression test suite,
    and there were no problems.

    I took the test case the user provided, and added 100,000
    extensions to the single context, that already had 6,000 extens
    in it. (I'll see your 6, and raise you 100!) It takes a few minutes
    to read it all in, check it and generate code for it, but no
    problems.

    So, I think I can say that fundamentally, there are no longer
    any limits on the number of items you can place in contexts,
    statement blocks, switches, or globals, beyond your virt mem
    constraints.
  ........
................

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

16 years agoBlocked revisions 177287 via svnmerge
Tilghman Lesher [Wed, 18 Feb 2009 23:52:28 +0000 (23:52 +0000)] 
Blocked revisions 177287 via svnmerge

........
  r177287 | tilghman | 2009-02-18 17:51:35 -0600 (Wed, 18 Feb 2009) | 2 lines

  Handle negative length and eliminate a condition that is always true.
........

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

16 years agoMerged revisions 177229 via svnmerge from
Kevin P. Fleming [Wed, 18 Feb 2009 23:15:06 +0000 (23:15 +0000)] 
Merged revisions 177229 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r177229 | kpfleming | 2009-02-18 17:09:58 -0600 (Wed, 18 Feb 2009) | 3 lines

  fix two very minor bugs: if anyone ever uses SLINEAR16 as a format in RTP, ensure that the samples are byte-swapped to network order if needed. also, when a smoother is operating on a format that has a sample rate other than 8000 samples per second, use the proper sample rate for computing delivery timestamps.
........

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

16 years agoMerged revisions 177226 via svnmerge from
David Vossel [Wed, 18 Feb 2009 23:03:10 +0000 (23:03 +0000)] 
Merged revisions 177226 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r177226 | dvossel | 2009-02-18 16:51:38 -0600 (Wed, 18 Feb 2009) | 9 lines

  Locking issue in action_bridge and bridge_exec

  action_bridge() and bridge_exec() both search for the channels to bridge to, and then immediately drop the lock.  Instead, they should hold the lock until the masquerade is complete.  This will guarantee the channel remains and prevent any other weirdness from occurring.  In action_bridge() some more weirdness comes into play.  Both channels are needlessly locked at the same time and perform the exact same logic.  It makes sense from a coding organizational standpoint, but could cause a theoretical deadlock so I split the code up.  There is an issue associated with this, but since its a rather complicated thing to reproduce I'm not certain this alone will close it.

  issue# 14296
  Review: http://reviewboard.digium.com/r/167/
........

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

16 years agoMerged revisions 177162 via svnmerge from
Jeff Peeler [Wed, 18 Feb 2009 20:16:31 +0000 (20:16 +0000)] 
Merged revisions 177162 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r177162 | jpeeler | 2009-02-18 14:11:57 -0600 (Wed, 18 Feb 2009) | 14 lines

  Modify h323 to build against PTLib as well as the older PWLib

  Several changes in PTLib have occurred requiring build time detection. Changes
  accounted for include the library name change, config option change, install
  location change, and a boolean type change which is handled by ast_ptlib.h.
  Also, the sed check has been modified to properly work with autoconf >= 2.62.

  (closes issue #14224)
  Reported by: bergolth
  Patches:
        asterisk-autoconf-sed.patch uploaded by bergolth (license 661)
        asterisk-pwlib-v3.patch uploaded by bergolth (license 661)
  Tested by: jpeeler
........

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

16 years agoMerged revisions 177101 via svnmerge from
Russell Bryant [Wed, 18 Feb 2009 19:30:18 +0000 (19:30 +0000)] 
Merged revisions 177101 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r177101 | russell | 2009-02-18 13:12:49 -0600 (Wed, 18 Feb 2009) | 8 lines

Re-add 'o' option to MeetMe, reverting rev 62297.

Enabling this option by default proved to be a bad idea, as the talker detection
is not very reliable.  So, make it optional again, and off by default.

(issue #13801)
Reported by: justdave

........

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

16 years agoMerged revisions 177098 via svnmerge from
Tilghman Lesher [Wed, 18 Feb 2009 19:09:24 +0000 (19:09 +0000)] 
Merged revisions 177098 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r177098 | tilghman | 2009-02-18 13:05:15 -0600 (Wed, 18 Feb 2009) | 9 lines

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

  ........
    r177096 | tilghman | 2009-02-18 12:30:38 -0600 (Wed, 18 Feb 2009) | 2 lines

    Document the return value of the update method (as requested on -dev list)
  ........
................

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

16 years agoMerged revisions 177035 via svnmerge from
Doug Bailey [Wed, 18 Feb 2009 17:26:25 +0000 (17:26 +0000)] 
Merged revisions 177035 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r177035 | dbailey | 2009-02-18 11:24:07 -0600 (Wed, 18 Feb 2009) | 2 lines

  Fixed error where a check for an zero length, terminated string was needed.
........

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

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

........
  r177005 | file | 2009-02-18 13:11:52 -0400 (Wed, 18 Feb 2009) | 6 lines

  Fix ordering of output for a ChannelUpdate manager event.
  (closes issue #14497)
  Reported by: vinsik
  Patches:
        chan_update_fix-chan_sip.c.diff uploaded by vinsik (license 623)
........

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

16 years agoMerged revisions 176948 via svnmerge from
Doug Bailey [Wed, 18 Feb 2009 16:20:10 +0000 (16:20 +0000)] 
Merged revisions 176948 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r176948 | dbailey | 2009-02-18 10:09:12 -0600 (Wed, 18 Feb 2009) | 2 lines

  Need to take into account the \0 terminator of the old string to determine the amount available.
........

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

16 years agoMerged revisions 176943 via svnmerge from
Steve Murphy [Wed, 18 Feb 2009 15:59:34 +0000 (15:59 +0000)] 
Merged revisions 176943 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r176943 | murf | 2009-02-18 08:35:26 -0700 (Wed, 18 Feb 2009) | 45 lines

This patch fixes merge_contexts_and_delete so it does not deadlock when hints are present.

Reason: when I re-engineered the merge_and_delete func to
reduce its lock time, I failed to notice that the
functions it calls still also do locking as before.
This leads to deadlocks on dialplan reloads, when
there are actually living, subscribed hints registered
in the system.

While the reporter come across this problem while using
AEL, I might note that these deadlocks should also happen
if extensions.conf were used.

Here I added these routines to pbx.c:

ast_add_extension_nolock
add_pri_lockopt
ast_add_extension2_lockopt
find_context
add_hint_nolock

All of the above routines are static and restricted
to be used only within pbx.c, and more specifically
within the merge_contexts_and_delete routine.

They are pretty much the same as their counterparts
except they don't lock contexts or hints.

Most of them now do the real work of their
name-alike, with optional locking via extra arguments,
and are called by their name-alike. The goal was to
have the original functions so they would behave
exactly as before.

Both PJ and I tested these fixes, and the deadlocking
problem is no longer encountered.

(closes issue #14357)
Reported by: pj
Patches:
      14357.diff uploaded by murf (license 17)
Tested by: pj, murf

........

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

16 years agoMerged revisions 176904 via svnmerge from
Russell Bryant [Wed, 18 Feb 2009 06:15:35 +0000 (06:15 +0000)] 
Merged revisions 176904 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r176904 | russell | 2009-02-18 00:14:47 -0600 (Wed, 18 Feb 2009) | 2 lines

Add example code for a heap traversal.

........

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

16 years agoMerged revisions 176901 via svnmerge from
Russell Bryant [Wed, 18 Feb 2009 06:05:09 +0000 (06:05 +0000)] 
Merged revisions 176901 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r176901 | russell | 2009-02-18 00:00:40 -0600 (Wed, 18 Feb 2009) | 9 lines

Fix a number of incorrect uses of strncpy().

The big problem here is that the 3rd argument provided in these uses of strncpy()
did not reserve a byte for the null terminator, leaving the potential for writing
one byte past the end of the buffer.

Aside from this, there were coding guidelines violations with regards to spacing,
as well as hard coded lengths being used instead of sizeof().

........

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

16 years agoBlocked revisions 176869 via svnmerge
Dwayne M. Hubbard [Wed, 18 Feb 2009 03:03:19 +0000 (03:03 +0000)] 
Blocked revisions 176869 via svnmerge

........
  r176869 | dhubbard | 2009-02-17 20:55:12 -0600 (Tue, 17 Feb 2009) | 7 lines

  T38 faxdetect should jump to the 'fax' extension for incoming calls only

  The previous implementation of T38 faxdetect resulted in both sides of the
  call jumping to a fax extension when both sides had 't38pt_udptl=yes' and
  'faxdetect=yes' in sip.conf and a 'fax' extension in the current context.
  This revision will jump to a 'fax' extension on incoming calls only.
........

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

16 years agoBlocked revisions 176841 via svnmerge
Kevin P. Fleming [Wed, 18 Feb 2009 02:04:13 +0000 (02:04 +0000)] 
Blocked revisions 176841 via svnmerge

........
  r176841 | kpfleming | 2009-02-17 20:02:54 -0600 (Tue, 17 Feb 2009) | 3 lines

  suppress smoothers for Siren codecs as well as Speex and G.723.1
........

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

16 years agoMerged revisions 176760 via svnmerge from
Shaun Ruffell [Wed, 18 Feb 2009 00:23:04 +0000 (00:23 +0000)] 
Merged revisions 176760 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r176760 | sruffell | 2009-02-17 16:28:41 -0600 (Tue, 17 Feb 2009) | 10 lines

  Several changes to codec_dahdi to play nice with G723.

  This commit brings in the changes that were living out on the
  svn/asterisk/team/sruffell/asterisk-trunk-transcoder branch.  codec_dahdi.c now
  always uses signed linear as the simple codec so that a soft g729 codec will
  not end up being preferred to the hardware codec.  There are also changes to
  allow codec_dahdi.c to feed packets to the hardware in the native sample size of
  the codec.  This solves problems with choppy audio when using G723.
........

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

16 years agoBlocked revisions 176771 via svnmerge
Russell Bryant [Tue, 17 Feb 2009 22:53:44 +0000 (22:53 +0000)] 
Blocked revisions 176771 via svnmerge

........
r176771 | russell | 2009-02-17 16:52:43 -0600 (Tue, 17 Feb 2009) | 2 lines

Remove a dependency that no longer exists.

........

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

16 years agoMerged revisions 176705 via svnmerge from
Dwayne M. Hubbard [Tue, 17 Feb 2009 22:21:59 +0000 (22:21 +0000)] 
Merged revisions 176705 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r176705 | dhubbard | 2009-02-17 15:59:38 -0600 (Tue, 17 Feb 2009) | 11 lines

  create a UDPTL structure in create_addr_from_peer() if it does not already exist for T38

  This is required to create a UDPTL structure in create_addr_from_peer() to handle the
  scenario where 't38pt_udptl=yes' is not defined in the [general] section of sip.conf but
  is defined the peer's context.  I tested this patch by enabling t38pt_udptl in the
  [general] section on one system and only enabling t38pt_udptl in a peer's context on
  the system sending a fax.  Without the patch, the sending system will fail to initiate
  T38 negotiation with the warning message, "No way to add SDP without an UDPTL structure".
  When this patch is applied the sending side will successfully initiate T38 negotiation.
........

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

16 years agoMerged revisions 176708 via svnmerge from
Jeff Peeler [Tue, 17 Feb 2009 22:15:26 +0000 (22:15 +0000)] 
Merged revisions 176708 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r176708 | jpeeler | 2009-02-17 16:08:00 -0600 (Tue, 17 Feb 2009) | 23 lines

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

  ........
    r176701 | jpeeler | 2009-02-17 15:54:34 -0600 (Tue, 17 Feb 2009) | 17 lines

    Modify bridging to properly evaluate DTMF after first warning is played

    The main problem is currently if the Dial flag L is used with a warning sound,
    DTMF is not evaluated after the first warning sound. To fix this, a flag has
    been added in ast_generic_bridge for playing the warning which ensures that if
    a scheduled warning is missed, multiple warrnings are not played back (due to a
    feature evaluation or waiting for digits). ast_channel_bridge was modified to
    store the nexteventts in the ast_bridge_config structure as that information
    was lost every time ast_channel_bridge was reentered, causing a hangup due to
    incorrect time calculations.

    (closes issue #14315)
    Reported by: tim_ringenbach

    Reviewed on reviewboard:
    http://reviewboard.digium.com/r/163/
  ........
................

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

16 years agoBlocked revisions 176706 via svnmerge
Mark Michelson [Tue, 17 Feb 2009 22:03:06 +0000 (22:03 +0000)] 
Blocked revisions 176706 via svnmerge

........
  r176706 | mmichelson | 2009-02-17 16:02:42 -0600 (Tue, 17 Feb 2009) | 3 lines

  Use constants from inttypes.h to clear up 64-bit compilation errors
........

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

16 years agoMerged revisions 176697 via svnmerge from
Mark Michelson [Tue, 17 Feb 2009 21:41:40 +0000 (21:41 +0000)] 
Merged revisions 176697 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r176697 | mmichelson | 2009-02-17 15:40:09 -0600 (Tue, 17 Feb 2009) | 3 lines

  Clear up documentation of AST_FRIENDLY_OFFSET in frame.h
........

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

16 years agoMerged revisions 176666 via svnmerge from
Russell Bryant [Tue, 17 Feb 2009 21:24:17 +0000 (21:24 +0000)] 
Merged revisions 176666 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r176666 | russell | 2009-02-17 15:22:40 -0600 (Tue, 17 Feb 2009) | 16 lines

Update the timing API to have better support for multiple timing interfaces.

1) Add module use count handling so that timing modules can be unloaded.

2) Implement unload_module() functions for the timing interface modules.

3) Allow multiple timing modules to be loaded, and use the one with the
   highest priority value.

4) Report which timing module is being use in the "timing test" CLI command.

(closes issue #14489)
Reported by: russell

Review: http://reviewboard.digium.com/r/162/

........

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

16 years agoMerged revisions 176592,176642 via svnmerge from
Tilghman Lesher [Tue, 17 Feb 2009 21:16:53 +0000 (21:16 +0000)] 
Merged revisions 176592,176642 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r176592 | tilghman | 2009-02-17 12:49:20 -0600 (Tue, 17 Feb 2009) | 4 lines

  Add assertions in the quest to track down a refcount leak.
  (closes issue #14485)
   Reported by: davevg
........
  r176642 | tilghman | 2009-02-17 15:14:18 -0600 (Tue, 17 Feb 2009) | 8 lines

  Prior to masquerade, move the group definitions to the channel performing the
  masq, so that the group count lingers past the bridge.
  (closes issue #14275)
   Reported by: kowalma
   Patches:
         20090216__bug14275.diff.txt uploaded by Corydon76 (license 14)
   Tested by: kowalma
........

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

16 years agoBlocked revisions 176639 via svnmerge
Russell Bryant [Tue, 17 Feb 2009 21:05:17 +0000 (21:05 +0000)] 
Blocked revisions 176639 via svnmerge

........
r176639 | russell | 2009-02-17 15:04:08 -0600 (Tue, 17 Feb 2009) | 9 lines

Significantly improve scheduler performance under high load.

This patch changes the scheduler to use a max-heap to store pending scheduler
entries instead of a fully sorted doubly linked list.  When the number of
entries in the scheduler gets large, this will perform much better.  For much
more detailed information on this change, see the review request.

Review: http://reviewboard.digium.com/r/160/

........

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

16 years agoMerged revisions 176635 via svnmerge from
Russell Bryant [Tue, 17 Feb 2009 20:57:01 +0000 (20:57 +0000)] 
Merged revisions 176635 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r176635 | russell | 2009-02-17 14:56:26 -0600 (Tue, 17 Feb 2009) | 4 lines

Add a test module for the heap implementation.

Review: http://reviewboard.digium.com/r/160/

........

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

16 years agoMerged revisions 176632 via svnmerge from
Russell Bryant [Tue, 17 Feb 2009 20:52:24 +0000 (20:52 +0000)] 
Merged revisions 176632 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r176632 | russell | 2009-02-17 14:51:10 -0600 (Tue, 17 Feb 2009) | 8 lines

Add an implementation of the heap data structure.

A heap is a convenient data structure for implementing a priority queue.

Code from svn/asterisk/team/russell/heap/.

Review: http://reviewboard.digium.com/r/160/

........

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

16 years agoBlocked revisions 176627 via svnmerge
Russell Bryant [Tue, 17 Feb 2009 20:42:04 +0000 (20:42 +0000)] 
Blocked revisions 176627 via svnmerge

........
r176627 | russell | 2009-02-17 14:41:24 -0600 (Tue, 17 Feb 2009) | 37 lines

Merge a large set of updates to the Asterisk indications API.

This patch includes a number of changes to the indications API.  The primary
motivation for this work was to improve stability.  The object management
in this API was significantly flawed, and a number of trivial situations could
cause crashes.

The changes included are:

1) Remove the module res_indications.  This included the critical functionality
   that actually loaded the indications configuration.  I have seen many people
   have Asterisk problems because they accidentally did not have an
   indications.conf present and loaded.  Now, this code is in the core,
   and Asterisk will fail to start without indications configuration.

   There was one part of res_indications, the dialplan applications, which did
   belong in a module, and have been moved to a new module, app_playtones.

2) Object management has been significantly changed.  Tone zones are now
   managed using astobj2, and it is no longer possible to crash Asterisk by
   issuing a reload that destroys tone zones while they are in use.

3) The API documentation has been filled out.

4) The API has been updated to follow our naming conventions.

5) Various bits of code throughout the tree have been updated to account
   for the API update.

6) Configuration parsing has been mostly re-written.

7) "Code cleanup"

The code is from svn/asterisk/team/russell/indications/.

Review: http://reviewboard.digium.com/r/149/

........

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

16 years agoMerged revisions 176557 via svnmerge from
Russell Bryant [Tue, 17 Feb 2009 17:38:47 +0000 (17:38 +0000)] 
Merged revisions 176557 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r176557 | russell | 2009-02-17 11:33:38 -0600 (Tue, 17 Feb 2009) | 12 lines

Fix a race condition that caused device states to become incorrect for hints.

The problem here is that the hint processing code was subscribed to the wrong
event type.  So, it started processing state for a hint too soon, before the
device state cache had been updated.

Also, fix a similar bug in app_queue, as it was also subscribed to the wrong
event type.

(closes issue #14461)
Reported by: alecdavis

........

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

16 years agoMerged revisions 176501 via svnmerge from
Tilghman Lesher [Tue, 17 Feb 2009 14:48:01 +0000 (14:48 +0000)] 
Merged revisions 176501 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r176501 | tilghman | 2009-02-17 08:39:36 -0600 (Tue, 17 Feb 2009) | 3 lines

  In this version, we can combine the queries, because we support dropping
  nonexistent columns.
........

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

16 years agoMerged revisions 176459 via svnmerge from
Tilghman Lesher [Tue, 17 Feb 2009 02:07:18 +0000 (02:07 +0000)] 
Merged revisions 176459 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r176459 | tilghman | 2009-02-16 19:58:39 -0600 (Mon, 16 Feb 2009) | 17 lines

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

  ........
    r176426 | tilghman | 2009-02-16 18:49:22 -0600 (Mon, 16 Feb 2009) | 10 lines

    After a 'sip reload', qualifies for realtime peers weren't immediately
    restarted, instead waiting until the next registration.  We're now
    caching the qualify across a reload/restart and starting the qualify
    immediately upon loading the peer.
    (closes issue #14196)
     Reported by: pdf
     Patches:
           20090120__bug14196_1.4.diff.txt uploaded by pdf (license 663)
     Tested by: pdf
  ........
................

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

16 years agoMerged revisions 176355 via svnmerge from
David Vossel [Mon, 16 Feb 2009 23:57:11 +0000 (23:57 +0000)] 
Merged revisions 176355 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r176355 | dvossel | 2009-02-16 17:33:55 -0600 (Mon, 16 Feb 2009) | 13 lines

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

  ........
    r176354 | dvossel | 2009-02-16 17:30:52 -0600 (Mon, 16 Feb 2009) | 8 lines

    Fixes issue with AST_CONTROL_SRCUPDATE not being relayed correctly during bridging

    This should have been committed with rev176247, but I missed it.  srcupdate frames no longer break out of the native bridge, but are not being sent to the other call leg either.  This fixs that.

    issue #13749
  ........
................

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

16 years agoBlocked revisions 176360 via svnmerge
Tilghman Lesher [Mon, 16 Feb 2009 23:49:43 +0000 (23:49 +0000)] 
Blocked revisions 176360 via svnmerge

........
  r176360 | tilghman | 2009-02-16 17:48:54 -0600 (Mon, 16 Feb 2009) | 4 lines

  Might want to update the buffer pointer after a realloc (or we crash)
  (closes issue #14485)
   Reported by: davevg
........

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

16 years agoBlocked revisions 176356 via svnmerge
Kevin P. Fleming [Mon, 16 Feb 2009 23:38:17 +0000 (23:38 +0000)] 
Blocked revisions 176356 via svnmerge

........
  r176356 | kpfleming | 2009-02-16 17:37:37 -0600 (Mon, 16 Feb 2009) | 3 lines

  add support for Siren7 and Siren14 flavors of prompts and music on hold
........

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

16 years agoMerged revisions 176320 via svnmerge from
Tilghman Lesher [Mon, 16 Feb 2009 23:17:01 +0000 (23:17 +0000)] 
Merged revisions 176320 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r176320 | tilghman | 2009-02-16 17:14:08 -0600 (Mon, 16 Feb 2009) | 7 lines

  Use the correct list macros for deleting an item from the middle of a list.
  (issue #13777)
   Reported by: pj
   Patches:
         20090203__bug13777.diff.txt uploaded by Corydon76 (license 14)
   Tested by: pj
........

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

16 years agoMerged revisions 176255 via svnmerge from
Kevin P. Fleming [Mon, 16 Feb 2009 22:00:56 +0000 (22:00 +0000)] 
Merged revisions 176255 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r176255 | kpfleming | 2009-02-16 15:45:54 -0600 (Mon, 16 Feb 2009) | 13 lines

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

  ........
    r176216 | kpfleming | 2009-02-16 15:10:38 -0600 (Mon, 16 Feb 2009) | 3 lines

    fix a flaw in the ast_string_field_build() family of API calls; these functions made no attempt to reuse the space already allocated to a field, so every time the field was written it would allocate new space, leading to what appeared to be a memory leak.
  ........
    r176254 | kpfleming | 2009-02-16 15:41:46 -0600 (Mon, 16 Feb 2009) | 3 lines

    correct a logic error in the last stringfields commit... don't mark additional space as allocated if the string was built using already-allocated space
  ........
................

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

16 years agoMerged revisions 176253 via svnmerge from
Mark Michelson [Mon, 16 Feb 2009 21:50:31 +0000 (21:50 +0000)] 
Merged revisions 176253 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r176253 | mmichelson | 2009-02-16 15:40:40 -0600 (Mon, 16 Feb 2009) | 24 lines

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

  ........
    r176249 | mmichelson | 2009-02-16 15:34:27 -0600 (Mon, 16 Feb 2009) | 14 lines

    Open the DAHDI pseudo device and set it to be nonblocking atomically

    Apparently on FreeBSD, attempting to set the O_NONBLOCKING flag separately
    from opening the file was causing an "inappropriate ioctl for device" error.
    While I cannot fathom why this would be happening, I certainly am not opposed
    to making the code a bit more compact/efficient if it also fixes a bug.

    (closes issue #14482)
    Reported by: ys
    Patches:
          meetme.patch uploaded by ys (license 281)
    Tested by: ys
  ........
    r176252 | mmichelson | 2009-02-16 15:39:21 -0600 (Mon, 16 Feb 2009) | 3 lines

    Remove unused variable and make dev-mode compilation happy
  ........
................

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

16 years agoMerged revisions 176248 via svnmerge from
David Vossel [Mon, 16 Feb 2009 21:36:07 +0000 (21:36 +0000)] 
Merged revisions 176248 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r176248 | dvossel | 2009-02-16 15:30:17 -0600 (Mon, 16 Feb 2009) | 11 lines

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

  ........
    r175597 | dvossel | 2009-02-13 14:11:55 -0600 (Fri, 13 Feb 2009) | 4 lines

    Fixed iax2 key rotation backwards compatibility

    Turns key rotation back on by default.  Added bit into encryption IE to indicate whether or not key rotation is supported or not. If it is not supported then it is not enabled, which insures backwards compatibility.  This eliminates the need for the keyrotate option in iax.conf, so it has been removed.
  ........
................

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

16 years agoMerged revisions 176174 via svnmerge from
Mark Michelson [Mon, 16 Feb 2009 18:38:00 +0000 (18:38 +0000)] 
Merged revisions 176174 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r176174 | mmichelson | 2009-02-16 12:25:57 -0600 (Mon, 16 Feb 2009) | 11 lines

  Assist proper thread synchronization when stopping the logger thread.

  I was finding that on my dev box, occasionally attempting to "stop now" in
  trunk would cause Asterisk to hang. I traced this to the fact that the logger
  thread was waiting on a condition which had already been signalled. The logger
  thread also need to be sure to check the value of the close_logger_thread variable.

  The close_logger_thread variable is only checked when the list of logmessages is empty.
  This allows for the logger thread to print and free any pending messages before exiting.
........

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

16 years agoBlocked revisions 176138 via svnmerge
Tilghman Lesher [Mon, 16 Feb 2009 17:47:12 +0000 (17:47 +0000)] 
Blocked revisions 176138 via svnmerge

........
  r176138 | tilghman | 2009-02-16 11:44:51 -0600 (Mon, 16 Feb 2009) | 2 lines

  Can't set debug level 2 (intense debugging) unless the syntax matches
........

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

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

........
r176100 | russell | 2009-02-16 11:09:24 -0600 (Mon, 16 Feb 2009) | 4 lines

Remove chan_features.

Review: http://reviewboard.digium.com/r/161/

........

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

16 years agoEliminate mention of a variable which exists only in trunk.
Tilghman Lesher [Mon, 16 Feb 2009 17:07:57 +0000 (17:07 +0000)] 
Eliminate mention of a variable which exists only in trunk.
(Thanks, jsmith)

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

16 years agoMerged revisions 176030 via svnmerge from
Joshua Colp [Mon, 16 Feb 2009 15:38:20 +0000 (15:38 +0000)] 
Merged revisions 176030 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r176030 | file | 2009-02-16 11:36:19 -0400 (Mon, 16 Feb 2009) | 16 lines

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

  ........
    r176029 | file | 2009-02-16 11:33:53 -0400 (Mon, 16 Feb 2009) | 9 lines

    Don't have the Via header stored as a stringfield as it can change often during the lifetime of a dialog.

    This issue crept up with subscriptions on the AA50. When an outgoing NOTIFY is sent a new branch value
    is created and the Via header is changed to reflect it. Since this was a stringfield a new spot in the
    pool was used for the value while the old was left untouched/unused. If the current pool was full a new
    pool was created. This would cause memory usage to increase steadily.

    (issue #AA50-2332)
  ........
................

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

16 years agoMerged revisions 175952 via svnmerge from
Michiel van Baak [Mon, 16 Feb 2009 09:42:46 +0000 (09:42 +0000)] 
Merged revisions 175952 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r175952 | mvanbaak | 2009-02-16 01:26:59 +0100 (Mon, 16 Feb 2009) | 10 lines

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

  ........
    r175921 | mvanbaak | 2009-02-16 00:37:03 +0100 (Mon, 16 Feb 2009) | 3 lines

    fix mis-spelling of the word registered.
    Reported by De_Mon on #asterisk-dev.
  ........
................

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