Commit Graph

17463 Commits

Author SHA1 Message Date
Richard Mudgett
17f63dd92a Merged revisions 189137 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r189137 | rmudgett | 2009-04-17 16:48:10 -0500 (Fri, 17 Apr 2009) | 17 lines
  
  Merged revisions 188833,189134 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r188833 | rmudgett | 2009-04-16 16:37:58 -0500 (Thu, 16 Apr 2009) | 4 lines
    
    Only disable mISDN DSP if Asterisk DSP is enabled. Leave jitter setting alone.
    
    JIRA ABE-1835
  ........
    r189134 | rmudgett | 2009-04-17 16:27:55 -0500 (Fri, 17 Apr 2009) | 4 lines
    
    Modifed/added some debug messages.
    
    JIRA ABE-1835
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@189139 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-17 21:55:34 +00:00
Mark Michelson
6af217578e Merged revisions 189097 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r189097 | mmichelson | 2009-04-17 15:20:23 -0500 (Fri, 17 Apr 2009) | 13 lines
  
  Prevent a crash when SIP blonde transferring an unbridged call.
  
  If one attempts to use the attended transfer button on a SIP phone
  to transfer an unbridged call (such as a call to an IVR) but hangs
  up while the target of the transfer is still ringing, we need to not
  crash.
  
  The problem was that ast_hangup was called from outside the channel
  thread.
  
  AST-211
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@189103 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-17 20:21:26 +00:00
Sean Bright
5b03c5a4b7 Merged revisions 189077 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r189077 | seanbright | 2009-04-17 15:36:38 -0400 (Fri, 17 Apr 2009) | 1 line
  
  Fix copy/paste error with 'transmit silence' flag.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@189080 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-17 19:46:04 +00:00
Matthew Nicholson
52e8838a94 Merged revisions 189010 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r189010 | mnicholson | 2009-04-17 10:44:18 -0500 (Fri, 17 Apr 2009) | 12 lines
  
  Merged revisions 189009 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r189009 | mnicholson | 2009-04-17 10:43:09 -0500 (Fri, 17 Apr 2009) | 5 lines
    
    Make Busy() application set the CDR disposition to BUSY.
    
    (closes issue #14306)
    Reported by: cristiandimache
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@189069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-17 17:33:27 +00:00
Joshua Colp
136f214bca Merged revisions 188947 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r188947 | file | 2009-04-17 11:44:56 -0300 (Fri, 17 Apr 2009) | 22 lines
  
  Merged revisions 188946 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r188946 | file | 2009-04-17 11:41:25 -0300 (Fri, 17 Apr 2009) | 15 lines
    
    Fix a bug where a value used to create the channel name was bogus.
    
    This commit fixes the scenario where an incoming call is authenticated
    using a peer entry. Previously the channel name was created using either
    the username setting from the sip.conf entry or the IP address that the
    call came from. Now the channel name will be created using the peer name
    itself. This commit will not change the way the channel name is generated
    for users or friends.
    
    (closes issue #14256)
    Reported by: Nick_Lewis
    Patches:
          chan_sip.c-chname.patch uploaded by Nick (license 657)
    Tested by: Nick_Lewis, file
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@188949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-17 14:48:50 +00:00
Mark Michelson
2ac1ac28e5 Blocked revisions 188942 via svnmerge
........
  r188942 | mmichelson | 2009-04-17 09:33:50 -0500 (Fri, 17 Apr 2009) | 5 lines
  
  Fix a spacing issue that I claimed I would when I committed this code.
  
  Nothing major though.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@188944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-17 14:34:09 +00:00
Joshua Colp
adcf824dfd Merged revisions 188938 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r188938 | file | 2009-04-17 11:26:53 -0300 (Fri, 17 Apr 2009) | 11 lines
  
  Merged revisions 188937 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r188937 | file | 2009-04-17 11:25:57 -0300 (Fri, 17 Apr 2009) | 4 lines
    
    Fix a situation where the DAHDI channel private structure lock was not unlocked when it should have been.
    
    (issue AST-210)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@188940 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-17 14:28:45 +00:00
Mark Michelson
57accc7db4 Blocked revisions 188901 via svnmerge
........
  r188901 | mmichelson | 2009-04-17 08:29:33 -0500 (Fri, 17 Apr 2009) | 28 lines
  
  Several fixes to the extenpatternmatchnew logic.
  
  1. Differentiate between literal characters in an extension
  and characters that should be treated as a pattern match. Prior to
  these fixes, an extension such as NNN would be treated as a pattern,
  rather than a literal string of N's.
  
  2. Fixed the logic used when matching an extension with a bracketed
  expression, such as 2[5-7]6.
  
  3. Removed all areas of code that were executed when NOT_NOW was
  #defined. The code in these areas had the potential to crash, for
  one thing, and the actual intent of these blocks seemed counterproductive.
  
  4. Fixed many many coding guidelines problems I encountered while looking
  through the corresponding code.
  
  5. Added failure cases and warning messages for when duplicate extensions
  are encountered.
  
  6. Miscellaneous fixes to incorrect or redundant statements.
  
  (closes issue #14615)
  Reported by: steinwej
  Tested by: mmichelson
  
  Review: http://reviewboard.digium.com/r/194/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@188903 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-17 13:30:56 +00:00
Tilghman Lesher
c03441e2bb Merged revisions 188836 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r188836 | tilghman | 2009-04-16 16:57:37 -0500 (Thu, 16 Apr 2009) | 14 lines
  
  Merged revisions 188835 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r188835 | tilghman | 2009-04-16 16:41:13 -0500 (Thu, 16 Apr 2009) | 7 lines
    
    Only update realtime, if global option rtupdate != false
    (closes issue #14885)
     Reported by: deepesh
     Patches: 
           20090413__bug14885.diff.txt uploaded by tilghman (license 14)
     Tested by: deepesh
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@188838 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-16 22:05:19 +00:00
Tilghman Lesher
4efd4914f4 Merged revisions 188774 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r188774 | tilghman | 2009-04-16 16:03:31 -0500 (Thu, 16 Apr 2009) | 11 lines
  
  Merged revisions 188773 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r188773 | tilghman | 2009-04-16 16:02:29 -0500 (Thu, 16 Apr 2009) | 4 lines
    
    Umask should not be exported into global namespace.
    (closes issue #14912)
     Reported by: jcapp
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@188776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-16 21:05:35 +00:00
David Vossel
1b1c2d1204 Merged revisions 188647 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r188647 | dvossel | 2009-04-15 17:10:04 -0500 (Wed, 15 Apr 2009) | 18 lines
  
  Merged revisions 188646 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r188646 | dvossel | 2009-04-15 17:08:40 -0500 (Wed, 15 Apr 2009) | 12 lines
    
    National prefix inserted even when caller ID not available
    
    When the caller ID is restricted, the expected behavior is for the caller id to be blank.  In chan_dahdi, the national prefix is placed onto the callers number even if its restricted (empty) causing the caller id to be the national prefix rather than blank.
    
    (closes issue #13207)
    Reported by: shawkris
    Patches:
          national_prefix.diff uploaded by dvossel (license 671)
    
    Review: http://reviewboard.digium.com/r/220/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@188649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-15 22:12:39 +00:00
Mark Michelson
d0c8b9370b Merged revisions 188585 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r188585 | mmichelson | 2009-04-15 15:17:33 -0500 (Wed, 15 Apr 2009) | 13 lines
  
  Merged revisions 188582 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r188582 | mmichelson | 2009-04-15 15:04:20 -0500 (Wed, 15 Apr 2009) | 7 lines
    
    Update ast_readvideo_callback to match ast_readaudio_callback.
    
    This fixes potential refcount errors that may occur on ast_filestreams.
    
    AST-208
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@188596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-15 20:20:23 +00:00
Mark Michelson
ed496f6419 Blocked revisions 188544 via svnmerge
........
  r188544 | mmichelson | 2009-04-15 10:24:50 -0500 (Wed, 15 Apr 2009) | 9 lines
  
  Make the cancellation of the dial timeout on a call forward optional.
  
  This introduces the 'z' option to app_dial. With it set, a call forward
  will cancel any timeout originally set for this instance of the Dial
  application.
  
  AST-207
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@188547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-15 15:25:18 +00:00
Jeff Peeler
c30d1181bb Blocked revisions 188515 via svnmerge
........
  r188515 | jpeeler | 2009-04-15 09:57:20 -0500 (Wed, 15 Apr 2009) | 3 lines
  
  Don't try to do anything in pri_check_restart with service messages unless
  libpri supports it.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@188517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-15 14:58:16 +00:00
Mark Michelson
e79afd99ea Merged revisions 188470 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r188470 | mmichelson | 2009-04-14 18:28:13 -0500 (Tue, 14 Apr 2009) | 3 lines
  
  Fix a couple of queue member reference leaks.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@188473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-14 23:29:04 +00:00
Joshua Colp
9385308213 Merged revisions 188413 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r188413 | file | 2009-04-14 14:40:50 -0300 (Tue, 14 Apr 2009) | 5 lines
  
  Fix an incorrect clock rate when sending T140 text.
  
  (closes issue #14029)
  Reported by: epicac
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@188415 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-14 17:43:19 +00:00
Jeff Peeler
1691107ede Blocked revisions 188378 via svnmerge
........
  r188378 | jpeeler | 2009-04-14 11:49:12 -0500 (Tue, 14 Apr 2009) | 1 line
  
  change some capitalization
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@188380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-14 16:50:02 +00:00
Jeff Peeler
e0609172b8 Blocked revisions 188342 via svnmerge
........
  r188342 | jpeeler | 2009-04-14 10:54:16 -0500 (Tue, 14 Apr 2009) | 33 lines
  
  Add service maintenance message support
  
  This is the companion commit to libpri r732. Service messages are now supported
  for switch types 4ess/5ess. A new option service_message_support has been added
  to chan_dahdi.conf and is noted in the sample config file. The service message
  support is turned off by default. The current implementation relies on AstDB
  to keep track of channel state, which allows the statuses to be preserved
  across Asterisk restarts. Below is a description of the storage format.
  
  The state and reason for the service state are in the form <state>:<reason>,
  where:
  <state> ::= { 'O' }  // 'O' – Out Of Service
  <reason> ::= { '0' | '1' | '2' | '3' }, where:
  '0' – No reason (backwards compatibility)
  '1' – NEAR END
  '2' – FAR END
  '3' – both NEAR and FAR END
  
  The new CLI commands to handle channel service state are:
  pri service disable channel <chan>
  pri service enable channel <chan>
  
  Many people contributed to the development of this functionality. Because I
  entered at the very end I do not know the exact history. Special thanks to 
  all who moved the bug forward one way or another:
  cmaj, PCadach, markster, mattf, drmac, MikeJ, serge-v, murf, kanelbullar, Seb7,
  tilghman, lmadsen, and especially dhubbard (he answered lots of my questions
  and did a large portion of the work)
  
  (closes issue #3450)
  Reported by: cmaj
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@188344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-14 15:55:45 +00:00
Joshua Colp
a9194d288e Merged revisions 188247 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r188247 | file | 2009-04-14 10:14:21 -0300 (Tue, 14 Apr 2009) | 7 lines
  
  Fix a bug with the change I made yesterday to outbound proxy support.
  
  Per discussion with oej on IRC we need the actual IP address, not the
  outbound proxy IP address, in the sa field. Upon further inspection
  this should make the behaviour of all other uses of the outbound proxy
  in the code.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@188254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-14 13:18:10 +00:00
Tilghman Lesher
a5ae00008f Merged revisions 188210 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r188210 | tilghman | 2009-04-14 00:45:13 -0500 (Tue, 14 Apr 2009) | 2 lines
  
  As suggested by Russell, warn users when their dialplan arguments contain pipes, but not commas.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@188212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-14 05:46:31 +00:00
Tilghman Lesher
73d57f8670 Merged revisions 188206 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r188206 | tilghman | 2009-04-14 00:27:53 -0500 (Tue, 14 Apr 2009) | 6 lines
  
  Application delimiter is ',', not '|'.
  (closes issue #14881)
   Reported by: stegro
   Patches: 
         smsq.patch uploaded by stegro (license 752)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@188208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-14 05:29:11 +00:00
Mark Michelson
fa01f5b0b1 Merged revisions 188102 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r188102 | mmichelson | 2009-04-13 14:31:48 -0500 (Mon, 13 Apr 2009) | 5 lines
  
  Fix another crash related to cached realtime music on hold.
  
  This was another off-by-one problem caused by moh_register.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@188104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-13 19:33:04 +00:00
Joshua Colp
fff7b320c9 Merged revisions 188067 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r188067 | file | 2009-04-13 13:28:06 -0300 (Mon, 13 Apr 2009) | 10 lines
  
  Fix a bug where using an outbound proxy would cause the local address to be 127.0.0.1.
  
  Copy the outbound proxy IP address into the SIP dialog structure as the IP address we will
  be sending to. This has to be done because the logic that determines what local IP address to use
  in the SIP messages is not aware of an outbound proxy being in place. It only knows what IP address
  we are sending to.
  
  (closes issue #12006)
  Reported by: mnicholson
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@188069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-13 16:32:34 +00:00
Mark Michelson
0511aea0cf Merged revisions 188032 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r188032 | mmichelson | 2009-04-13 09:17:56 -0500 (Mon, 13 Apr 2009) | 6 lines
  
  Set all queue variables on both the caller and member channels.
  
  This allows for the variables to be accessed if a member macro is run.
  Thanks to Grigoriy Puzankin for bringing this up on the -dev list.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@188038 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-13 14:20:30 +00:00
Jeff Peeler
ca85f2c4c5 Merged revisions 187906 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r187906 | jpeeler | 2009-04-10 15:26:46 -0500 (Fri, 10 Apr 2009) | 12 lines
  
  Fix module embedding for chan_h323.
  
  Include libchanh323.a in the modules.link file so that all the symbols can be
  resolved at link time.
  
  (closes issue #11966)
  Reported by: dome
  Patches:
        issue_11966.patch uploaded by kpfleming (license 421)
  Tested by: jpeeler
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187914 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-10 20:28:18 +00:00
Mark Michelson
0df4ff2818 Blocked revisions 187830 via svnmerge
........
  r187830 | mmichelson | 2009-04-10 13:56:52 -0500 (Fri, 10 Apr 2009) | 3 lines
  
  Indicating connected line or redirecting updates were missing a call to lock the local_pvt.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-10 18:57:28 +00:00
Tilghman Lesher
f4654a2a5a Merged revisions 187764 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r187764 | tilghman | 2009-04-10 12:29:34 -0500 (Fri, 10 Apr 2009) | 9 lines
  
  Merged revisions 187763 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r187763 | tilghman | 2009-04-10 12:28:46 -0500 (Fri, 10 Apr 2009) | 2 lines
    
    Add lastms column to the contributed table designs
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-10 17:30:46 +00:00
Kevin P. Fleming
250857a852 Merged revisions 187721 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r187721 | kpfleming | 2009-04-10 11:51:44 -0500 (Fri, 10 Apr 2009) | 5 lines
  
  clean up some patterns for files to remove
  
  add embedding support for bridge and test modules
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187723 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-10 16:54:01 +00:00
Mark Michelson
93c99c95f1 Blocked revisions 187714 via svnmerge
........
  r187714 | mmichelson | 2009-04-10 11:26:48 -0500 (Fri, 10 Apr 2009) | 3 lines
  
  ast_strdup failures aren't really failures if the original value was NULL.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-10 16:27:09 +00:00
Mark Michelson
5075182059 Blocked revisions 187680 via svnmerge
........
  r187680 | mmichelson | 2009-04-10 11:06:22 -0500 (Fri, 10 Apr 2009) | 5 lines
  
  Don't let ast_channel_alloc fail if explicitly passed NULL cid_name or cid_number.
  
  This also fixes a small memory leak.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-10 16:07:07 +00:00
Tilghman Lesher
cc89ade9e6 Merged revisions 187674 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r187674 | tilghman | 2009-04-10 10:59:40 -0500 (Fri, 10 Apr 2009) | 4 lines
  
  Ensure pvt is not NULL before dereferencing it.
  (closes issue #14784)
   Reported by: pj
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-10 16:03:49 +00:00
Russell Bryant
d43217d3d8 Merged revisions 187675 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r187675 | russell | 2009-04-10 11:00:29 -0500 (Fri, 10 Apr 2009) | 2 lines

Disable test modules by default.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187676 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-10 16:00:52 +00:00
Richard Mudgett
4bd7cf0690 Blocked revisions 187634-187635 via svnmerge
........
  r187634 | rmudgett | 2009-04-10 09:50:42 -0500 (Fri, 10 Apr 2009) | 1 line
  
  Make chan_misdn_log() avoid generating the log message if logging is disabled.
........
  r187635 | rmudgett | 2009-04-10 09:53:59 -0500 (Fri, 10 Apr 2009) | 7 lines
  
  Miscellaneous minor changes to chan_misdn.
  
  * Miscellaneous spacing and comment changes.
  * Minor code rearangements.
  * Miscellaneous doxygen comments.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187671 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-10 15:26:36 +00:00
Kevin P. Fleming
fe4403b92d Blocked revisions 187636 via svnmerge
........
  r187636 | kpfleming | 2009-04-10 10:11:16 -0500 (Fri, 10 Apr 2009) | 3 lines
  
  revert addition of LOG_SECURITY log channel; after further discussion, a much better solution will be used
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-10 15:13:08 +00:00
Tilghman Lesher
d470a900fa Merged revisions 187599 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r187599 | tilghman | 2009-04-09 22:55:27 -0500 (Thu, 09 Apr 2009) | 2 lines
  
  Modify headers and macros, according to Russell's suggestions on the -dev list
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-10 03:56:37 +00:00
Mark Michelson
66a46b5dc8 Blocked revisions 187560 via svnmerge
........
  r187560 | mmichelson | 2009-04-09 16:06:26 -0500 (Thu, 09 Apr 2009) | 11 lines
  
  Add a new option, mwi_from, to sip.conf.
  
  This allows for you to change the From header for outgoing MWI
  NOTIFY requests. Prior to this, the best you could do was to
  set a callerid in the general section of sip.conf. The problem
  was that this was used for all outbound requests, not just
  MWI NOTIFY requests.
  
  AST-201
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-09 21:06:50 +00:00
Mark Michelson
7db0cbb9ac Merged revisions 187488 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r187488 | mmichelson | 2009-04-09 13:58:41 -0500 (Thu, 09 Apr 2009) | 24 lines
  
  Merged revisions 187484 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r187484 | mmichelson | 2009-04-09 13:51:20 -0500 (Thu, 09 Apr 2009) | 18 lines
    
    Handle a SIP race condition (reinvite before an ACK) properly.
    
    RFC 5047 explains the proper course of action to take if a 
    reINVITE is received before the ACK from a previous invite
    transaction. What we are to do is to treat the reINVITE as
    if it were both an ACK and a reINVITE and process it normally.
    
    Later, when we receive the ACK we had been expecting, we will
    ignore it since its CSeq is less than the current iseqno of
    the sip_pvt representing this dialog.
    
    (closes issue #13849)
    Reported by: klaus3000
    Patches:
          13849_v2.patch uploaded by mmichelson (license 60)
    Tested by: mmichelson, klaus3000
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-09 19:14:38 +00:00
Jeff Peeler
ef3b92aa75 Blocked revisions 187491 via svnmerge
........
  r187491 | jpeeler | 2009-04-09 14:10:02 -0500 (Thu, 09 Apr 2009) | 15 lines
  
  Add ability for dialplan execution to continue when caller hangs up.
  
  The F option to app_dial has been modified to accept no parameters and perform
  the above functionality. I don't see anywhere else that is doing function
  overloading, but this really is the best place for this operation because:
  
  - It makes it close to the 'g' option in the argument list which provides
  similar functionality.
  - The existing code to support the current F option provides a very
  convienient location to add this new feature.
  
  (closes issue #12381)
  Reported by: michael-fig
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187493 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-09 19:10:41 +00:00
Tilghman Lesher
8a39d76713 Merged revisions 187483 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r187483 | tilghman | 2009-04-09 13:40:01 -0500 (Thu, 09 Apr 2009) | 15 lines
  
  Merged revisions 187428 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r187428 | tilghman | 2009-04-09 13:08:20 -0500 (Thu, 09 Apr 2009) | 8 lines
    
    Race condition between ast_cli_command() and 'module unload' could cause a deadlock.
    Add lock timeouts to avoid this potential deadlock.
    (closes issue #14705)
     Reported by: jamessan
     Patches: 
           20090320__bug14705.diff.txt uploaded by tilghman (license 14)
     Tested by: jamessan
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-09 18:54:07 +00:00
Mark Michelson
b8318ad040 Merged revisions 187421,187424 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r187421 | mmichelson | 2009-04-09 12:30:39 -0500 (Thu, 09 Apr 2009) | 21 lines
  
  Fix a crash in res_musiconhold when using cached realtime moh.
  
  The moh_register function links an mohclass and then immediately
  unrefs the class since the container now has a reference. The problem
  with using realtime music on hold is that the class is allocated,
  registered, and started in one fell swoop. The refcounting logic 
  resulted in the count being off by one. The same problem did not
  happen when using a static config because the allocation and registration
  of an mohclass is a separate operation from starting moh. This also did
  not affect non-cached realtime moh because the classes are not registered
  at all.
  
  I also have modified res_musiconhold to use the _t_ variants of the ao2_
  functions so that more info can be gleaned when attempting to trace the
  refcounts. I found this to be incredibly helpful for debugging this issue
  and there's no good reason to remove it.
  
  (closes issue #14661)
  Reported by: sum
........
  r187424 | mmichelson | 2009-04-09 12:34:39 -0500 (Thu, 09 Apr 2009) | 3 lines
  
  Use safe macro practices even though they really aren't necessary.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187427 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-09 17:43:20 +00:00
Tilghman Lesher
c6ce9b1560 Merged revisions 187381 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r187381 | tilghman | 2009-04-09 12:20:49 -0500 (Thu, 09 Apr 2009) | 4 lines
  
  Allow '/' in username portion of register; this is a regression.
  (closes issue #14668)
   Reported by: Netview
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187388 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-09 17:22:38 +00:00
Tilghman Lesher
7744c20225 Merged revisions 187363 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r187363 | tilghman | 2009-04-09 11:39:43 -0500 (Thu, 09 Apr 2009) | 10 lines
  
  Merged revisions 187362 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r187362 | tilghman | 2009-04-09 11:38:37 -0500 (Thu, 09 Apr 2009) | 3 lines
    
    Permit zero-length text messages in SIP.
    (Related to an issue posted to the -users list, subject "AEL2, BASE64_DECODE and hexadecimal")
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-09 16:41:23 +00:00
Tilghman Lesher
9f970c65a5 Merged revisions 187302 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r187302 | tilghman | 2009-04-08 23:59:05 -0500 (Wed, 08 Apr 2009) | 14 lines
  
  Merged revisions 187300-187301 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r187300 | tilghman | 2009-04-08 23:31:38 -0500 (Wed, 08 Apr 2009) | 3 lines
    
    Add debugging mode for diagnosing file descriptor leaks.
    (Related to issue #14625)
  ........
    r187301 | tilghman | 2009-04-08 23:32:40 -0500 (Wed, 08 Apr 2009) | 2 lines
    
    Oops, missed this file in the last commit.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-09 05:16:25 +00:00
Kevin P. Fleming
6c62d5a498 Blocked revisions 187269 via svnmerge
........
  r187269 | kpfleming | 2009-04-08 22:44:27 -0400 (Wed, 08 Apr 2009) | 5 lines
  
  add a dedicated log channel for modules to be able report security-related events, so that they can be fed into external processes for analysis and possible mitigation efforts
  
  (inspired by this evening's Toronto Asterisk Users Group meeting and previous dicussions amongst various community members)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187271 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-09 02:46:46 +00:00
Jeff Peeler
6514e3b3c6 Blocked revisions 187211 via svnmerge
........
  r187211 | jpeeler | 2009-04-08 16:00:39 -0500 (Wed, 08 Apr 2009) | 20 lines
  
  Add timer for features so that backup bridge config can go away
  
  The biggest change done here was elimination of the backup_config for use with
  features. Previously, the bridging code upon detecting a feature would set the
  start time of the bridge to the start time of the feature. Then after the 
  feature had either expired or timed out the start time would be reset to the
  true bridge start time from the backup_config. Now, the time differences are
  calculated with respect to the newly added feature_start_time timeval instead.
  
  There should be no behavior changes from the previous functionality aside from
  the bridge timing being unaffected by either valid or partial feature matches.
  Previously the timing would be increased by the length of time configured for
  featuredigittimeout, which was probably never noticed.
  
  (closes issue #14503)
  Reported by: KNK
  Tested by: jpeeler
  
  Review: http://reviewboard.digium.com/r/179/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-08 21:01:51 +00:00
Mark Michelson
e7be13e406 Blocked revisions 187138 via svnmerge
................
  r187138 | mmichelson | 2009-04-08 14:18:10 -0500 (Wed, 08 Apr 2009) | 13 lines
  
  Blocked revisions 187135 via svnmerge
  
  ........
    r187135 | mmichelson | 2009-04-08 14:16:49 -0500 (Wed, 08 Apr 2009) | 8 lines
    
    Fix a crash due to too few arguments to RetryDial.
    
    (closes issue #14852)
    Reported by: junky
    Patches:
          retry_fix.diff uploaded by junky (license 177)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-08 19:18:46 +00:00
Mark Michelson
2e1a3be9e4 Merged revisions 187046 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r187046 | mmichelson | 2009-04-08 11:52:20 -0500 (Wed, 08 Apr 2009) | 16 lines
  
  Merged revisions 187045 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r187045 | mmichelson | 2009-04-08 11:52:03 -0500 (Wed, 08 Apr 2009) | 10 lines
    
    Fix a small logical error when loading moh classes.
    
    We were unconditionally incrementing the number of mohclasses
    registered. However, we should actually only increment if the
    call to moh_register was successful.
    
    While this probably has never caused problems, I noticed it
    and decided to fix it anyway.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@187048 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-08 16:53:26 +00:00
Mark Michelson
278f2646a6 Merged revisions 186985 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r186985 | mmichelson | 2009-04-08 10:27:41 -0500 (Wed, 08 Apr 2009) | 30 lines
  
  Merged revisions 186984 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r186984 | mmichelson | 2009-04-08 10:26:46 -0500 (Wed, 08 Apr 2009) | 24 lines
    
    Make a couple of changes with regards to a new message printed in ast_read().
    
    "ast_read() called with no recorded file descriptor" is a new message added
    after a bug was discovered. Unfortunately, it seems there are a bunch of places
    that potentially make such calls to ast_read() and trigger this error message
    to be displayed. This commit does two things to help to make this message appear
    less.
    
    First, the message has been downgraded to a debug level message if dev mode is
    not enabled. The message means a lot more to developers than it does to end users,
    and so developers should take an effort to be sure to call ast_read only when
    a channel is ready to be read from. However, since this doesn't actually cause an
    error in operation and is not something a user can easily fix, we should not spam
    their console with these messages.
    
    Second, the message has been moved to after the check for any pending masquerades.
    ast_read() being called with no recorded file descriptor should not interfere with
    a masquerade taking place.
    
    This could be seen as a simple way of resolving issue #14723. However, I still want
    to try to clear out the existing ways of triggering this message, since I feel that
    would be a better resolution for the issue.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@186987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-08 15:28:50 +00:00
Tilghman Lesher
1e5f84fccb Merged revisions 186899 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r186899 | tilghman | 2009-04-08 00:06:22 -0500 (Wed, 08 Apr 2009) | 2 lines
  
  Add lastms to the require API call.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@186900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-08 05:07:58 +00:00
Mark Michelson
f9c7b09751 Merged revisions 186842 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r186842 | mmichelson | 2009-04-07 19:09:28 -0500 (Tue, 07 Apr 2009) | 14 lines
  
  Merged revisions 186841 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r186841 | mmichelson | 2009-04-07 19:09:04 -0500 (Tue, 07 Apr 2009) | 8 lines
    
    Fix a few typos of the word "frequency."
    
    (closes issue #14842)
    Reported by: jvandal
    Patches:
          frequency-typo.diff uploaded by jvandal (license 413)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@186844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-08 00:10:15 +00:00