Commit Graph

17261 Commits

Author SHA1 Message Date
Tilghman Lesher
72524c2da3 Merged revisions 179469 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r179469 | tilghman | 2009-03-02 17:10:18 -0600 (Mon, 02 Mar 2009) | 17 lines
  
  Merged revisions 179468 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r179468 | tilghman | 2009-03-02 17:09:01 -0600 (Mon, 02 Mar 2009) | 10 lines
    
    When ending a recording with silence detection, remember to reduce the duration.
    The end of the recording is correspondingly trimmed, but the duration was not
    trimmed by the number of seconds trimmed, so the saved duration was necessarily
    longer than the actual soundfile duration.
    (closes issue #14406)
     Reported by: sasargen
     Patches: 
           20090226__bug14406.diff.txt uploaded by tilghman (license 14)
     Tested by: sasargen
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@179471 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-02 23:12:15 +00:00
Russell Bryant
8b4fcb84da Blocked revisions 179465 via svnmerge
........
r179465 | russell | 2009-03-02 17:06:16 -0600 (Mon, 02 Mar 2009) | 4 lines

Fix a reference leak in timerfd_set_rate().

(found during a debugging session with dvossel and mmichelson.)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@179467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-02 23:07:13 +00:00
Russell Bryant
79d21b7843 Merged revisions 179462 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r179462 | russell | 2009-03-02 17:00:30 -0600 (Mon, 02 Mar 2009) | 16 lines

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

........
r179461 | russell | 2009-03-02 16:58:18 -0600 (Mon, 02 Mar 2009) | 8 lines

Ensure that only one thread is calling ast_settimeout() on a channel at a time.

For example, with an IAX2 channel, you can have both the channel thread and the
chan_iax2 processing threads calling this function, and doing so twice at the
same time is a bad thing.

(Found in a debugging session with dvossel and mmichelson)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@179464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-02 23:04:18 +00:00
Jason Parker
d6a7438ee9 Merged revisions 179396 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r179396 | qwell | 2009-03-02 14:16:51 -0600 (Mon, 02 Mar 2009) | 9 lines
  
  Merged revisions 179395 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r179395 | qwell | 2009-03-02 14:14:57 -0600 (Mon, 02 Mar 2009) | 1 line
    
    Remove several silly warnings in editline.  One about a broken preprocessor directive, and another about strlcpy/strlcat.

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@179407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-02 20:18:39 +00:00
Tilghman Lesher
e1acfaedf0 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
2009-03-02 17:19:41 +00:00
Joshua Colp
8a28840781 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
2009-03-02 14:29:23 +00:00
Joshua Colp
8b9b72118f 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
2009-03-02 14:14:51 +00:00
Mark Michelson
4633a91d1a 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
2009-03-01 23:28:19 +00:00
Mark Michelson
22e08ba056 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
2009-03-01 21:57:18 +00:00
Russell Bryant
807d567eda 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
2009-02-27 21:48:00 +00:00
Tilghman Lesher
9cc8037bfb 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
2009-02-27 21:34:10 +00:00
Russell Bryant
d2cfee7c0e 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
2009-02-27 21:25:10 +00:00
Michiel van Baak
04379b0d89 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
2009-02-27 20:38:41 +00:00
Jason Parker
52f3e4ebe7 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
2009-02-27 19:06:18 +00:00
Russell Bryant
4392316d1a 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
2009-02-27 15:52:44 +00:00
Steve Murphy
b4264307d2 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
2009-02-27 03:56:58 +00:00
Tilghman Lesher
d8dbab0c61 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
2009-02-26 18:44:55 +00:00
David Vossel
7a3aaf4f7e 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
2009-02-26 17:50:51 +00:00
Steve Murphy
a6b94d93d6 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
2009-02-26 17:48:08 +00:00
Steve Murphy
7fa6ff5598 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
2009-02-26 17:38:16 +00:00
Joshua Colp
26d808b30e 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
2009-02-26 16:44:54 +00:00
David Vossel
44cbe73882 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
2009-02-26 16:07:08 +00:00
Joshua Colp
bbb8644527 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
2009-02-26 15:43:01 +00:00
Tilghman Lesher
d418d33fe0 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
2009-02-25 19:50:16 +00:00
Tilghman Lesher
8b10a85b33 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
2009-02-25 19:41:09 +00:00
Tilghman Lesher
1e271a4c19 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
2009-02-25 19:05:09 +00:00
Russell Bryant
db3e75a9b6 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
2009-02-25 12:46:51 +00:00
Tilghman Lesher
69102d11ca 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
2009-02-24 23:28:48 +00:00
Tilghman Lesher
cb2d75d4b2 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
2009-02-24 20:54:06 +00:00
Russell Bryant
b67ce3c84e revert accidental Makefile change.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@178380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-24 20:44:50 +00:00
Russell Bryant
1aa9f58c16 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
2009-02-24 20:44:34 +00:00
Tilghman Lesher
da0d2f5a3f 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
2009-02-24 20:41:26 +00:00
Tilghman Lesher
72d9485e7c 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
2009-02-24 20:08:19 +00:00
Tilghman Lesher
702168f0a8 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
2009-02-24 17:53:58 +00:00
David Vossel
9f7b299d5e 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
2009-02-24 17:44:39 +00:00
Joshua Colp
69602d500a 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
2009-02-24 15:22:25 +00:00
Russell Bryant
4529a57459 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
2009-02-23 23:22:52 +00:00
Tilghman Lesher
d0fae4ea5b 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
2009-02-23 21:03:01 +00:00
David Vossel
aa4db5b10c 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
2009-02-23 20:50:24 +00:00
Michiel van Baak
93ad73e510 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
2009-02-23 18:27:37 +00:00
Michiel van Baak
dc7db04114 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
2009-02-23 17:50:43 +00:00
Russell Bryant
ba8ecd4255 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
2009-02-23 17:30:18 +00:00
Michiel van Baak
d0982f1237 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
2009-02-22 23:08:30 +00:00
Tilghman Lesher
23111db55e 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
2009-02-21 16:04:09 +00:00
Michiel van Baak
1739857f1c 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
2009-02-21 14:41:09 +00:00
Russell Bryant
590f01d1db 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
2009-02-21 13:21:36 +00:00
Michiel van Baak
be7593a5cb 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
2009-02-21 13:19:34 +00:00
Michiel van Baak
7c7f6266fa 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
2009-02-21 12:51:33 +00:00
Tilghman Lesher
29f4775b55 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
2009-02-20 23:05:11 +00:00
Dwayne M. Hubbard
c65127f5bd 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
2009-02-20 22:27:17 +00:00