[asterisk-commits] twilson: branch twilson/calendaring r155503 - in /team/twilson/calendaring: ....

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Nov 7 18:17:30 CST 2008


Author: twilson
Date: Fri Nov  7 18:17:28 2008
New Revision: 155503

URL: http://svn.digium.com/view/asterisk?view=rev&rev=155503
Log:
Merged revisions 153362,153365,153403,153435,153437,153468,153470,153472,153507,153541,153543,153577-153578,153580,153582,153616-153618,153650,153652,153709,153747,153787,153803,153852,153904-153905,153947,153983,154023,154061,154072,154149,154151,154186-154187,154191,154225,154260,154264,154268,154329,154366,154428-154429,154467,154469,154507,154542,154578,154615,154617,154647,154687,154732,154796,154798,154801,154837,154839,154875,154915,154919,154922-154923,154926,154967,155012,155066,155079-155080,155121,155175,155204,155206,155241,155244,155264,155282,155284,155324,155360,155395,155399,155401,155467 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r153362 | russell | 2008-11-01 15:41:38 -0500 (Sat, 01 Nov 2008) | 3 lines
  
  Ensure that the sip_pvt properly has its refcount incremented when the scheduler holds
  a reference to it for session timer processing.
................
  r153365 | russell | 2008-11-01 16:10:07 -0500 (Sat, 01 Nov 2008) | 11 lines
  
  Merge changes from team/group/appdocsxml
  
  This commit introduces the first phase of an effort to manage documentation of the
  interfaces in Asterisk in an XML format.  Currently, a new format is available for
  applications and dialplan functions.  A good number of conversions to the new format
  are also included.
  
  For more information, see the following message to asterisk-dev:
  
  http://lists.digium.com/pipermail/asterisk-dev/2008-October/034968.html
................
  r153403 | russell | 2008-11-01 18:46:12 -0500 (Sat, 01 Nov 2008) | 2 lines
  
  Don't ignore the result of find_peer() when looking for a peer by IP in check_peer_ok().
................
  r153435 | russell | 2008-11-01 21:14:19 -0500 (Sat, 01 Nov 2008) | 3 lines
  
  Instead of doing a couple of strlen() calls each iteration of the loop, only do it once
  at the beginning of the function
................
  r153437 | russell | 2008-11-01 21:20:10 -0500 (Sat, 01 Nov 2008) | 3 lines
  
   - Use a for loop instead of a while loop
   - Get rid of an unnecessary variable
................
  r153468 | russell | 2008-11-01 21:50:33 -0500 (Sat, 01 Nov 2008) | 2 lines
  
  Fix various spelling and grammatical issues in documentation
................
  r153470 | russell | 2008-11-01 21:55:25 -0500 (Sat, 01 Nov 2008) | 1 line
  
  fix a typo (thanks sean)
................
  r153472 | seanbright | 2008-11-01 21:57:27 -0500 (Sat, 01 Nov 2008) | 1 line
  
  Another little one.
................
  r153507 | seanbright | 2008-11-01 23:14:20 -0500 (Sat, 01 Nov 2008) | 5 lines
  
  There is a troublesome assert() in the alsa/control.h header that causes
  GCC 4.3.2 to complain that the passed argument will always evaluate to
  true.  So to get things to compile, disable assert when building
  chan_usbradio.so.
................
  r153541 | eliel | 2008-11-01 23:57:02 -0500 (Sat, 01 Nov 2008) | 2 lines
  
  Fix a typo in the name of the application.
................
  r153543 | eliel | 2008-11-02 00:10:22 -0500 (Sun, 02 Nov 2008) | 2 lines
  
  Add Flash() application XML documentation.
................
  r153577 | russell | 2008-11-02 00:47:13 -0500 (Sun, 02 Nov 2008) | 4 lines
  
  Modify the Makefile logic for extracting documentation.
   - Build the documentation when you run "make", as opposed to "make install"
   - Only rebuild the documentation when source code has been changed
................
  r153578 | russell | 2008-11-02 00:55:46 -0500 (Sun, 02 Nov 2008) | 3 lines
  
  Add a handy makefile target so that you can validate the documentation against the DTD
  by running "make validate-docs"
................
  r153580 | russell | 2008-11-02 00:56:50 -0500 (Sun, 02 Nov 2008) | 2 lines
  
  validate-docs is a PHONY target
................
  r153582 | eliel | 2008-11-02 01:24:53 -0500 (Sun, 02 Nov 2008) | 2 lines
  
  Add IAX2Provision() application XML documentation.
................
  r153616 | kpfleming | 2008-11-02 12:52:13 -0600 (Sun, 02 Nov 2008) | 3 lines
  
  bring over all the fixes for the warnings found by gcc 4.3.x from the 1.4 branch, and add the ones needed for all the new code here too
................
  r153617 | kpfleming | 2008-11-02 12:53:11 -0600 (Sun, 02 Nov 2008) | 1 line
  
  mark this revision as merged manually
................
  r153618 | kpfleming | 2008-11-02 13:09:41 -0600 (Sun, 02 Nov 2008) | 1 line
  
  fix small bug introduced while cleaning up compiler warnings
................
  r153650 | kpfleming | 2008-11-02 13:39:41 -0600 (Sun, 02 Nov 2008) | 1 line
  
  fix one more warning missed because i did not have new enough libpri installed
................
  r153652 | russell | 2008-11-02 14:06:03 -0600 (Sun, 02 Nov 2008) | 10 lines
  
  Merged revisions 153651 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r153651 | russell | 2008-11-02 13:51:17 -0600 (Sun, 02 Nov 2008) | 2 lines
  
  features.h depends on linkedlists.h, so include it
  
  ........
................
  r153709 | kpfleming | 2008-11-02 17:34:39 -0600 (Sun, 02 Nov 2008) | 3 lines
  
  instead of trying to forcibly load res_agi when app_stack is loaded (even if the administrator didn't want it loaded), use GCC weak symbols to determine whether it was loaded already or not; if it was loaded, then use it.
................
  r153747 | eliel | 2008-11-02 19:01:25 -0600 (Sun, 02 Nov 2008) | 14 lines
  
  Add XML documentation for:
     - WaitForSilence()
     - WaitForNoise()
     - WaitForRing()
     - IVRDemo()
     - DBDel()
     - DBDeltree()
  
   (issue #13699)
   Reported by: snuffy
   Patches: 
         bug13699_20081016.diff uploaded by snuffy (license 35)
          (With minor changes)
................
  r153787 | kpfleming | 2008-11-03 06:26:35 -0600 (Mon, 03 Nov 2008) | 3 lines
  
  when --without-<foo> is passed to the configure script, explicitly inform menuselect that the package was disabled by the user
................
  r153803 | eliel | 2008-11-03 06:35:05 -0600 (Mon, 03 Nov 2008) | 11 lines
  
  Add XML documentation for:
       Applications
          - SIPDtmfMode()
          - SIPAddHeader()
       Functions
          - SIP_HEADER()
          - SIPPEER()
          - SIPCHANINFO()
          - CHECKSIPDOMAIN()
................
  r153852 | eliel | 2008-11-03 07:33:58 -0600 (Mon, 03 Nov 2008) | 6 lines
  
  Add XML documentation for:
      Functions
          - IAXPEER()
          - IAXVAR()
................
  r153904 | oej | 2008-11-03 09:16:33 -0600 (Mon, 03 Nov 2008) | 6 lines
  
  Adding a separation of remote authentication and our authentication.
  remotesecret => our password for a remote service
  secret => our authentication when someone calls us
  
  Secret => still has both functions if remotesecret is not used.
................
  r153905 | oej | 2008-11-03 09:25:35 -0600 (Mon, 03 Nov 2008) | 2 lines
  
  Spaces to replace tabs...
................
  r153947 | eliel | 2008-11-03 11:11:22 -0600 (Mon, 03 Nov 2008) | 3 lines
  
  Add LOCAL() function XML documentation.
................
  r153983 | oej | 2008-11-03 12:02:14 -0600 (Mon, 03 Nov 2008) | 2 lines
  
  Updating docs
................
  r154023 | tilghman | 2008-11-03 15:01:30 -0600 (Mon, 03 Nov 2008) | 4 lines
  
  Should have passed the string pointer, not the ast_str structure.
  (closes issue #13830)
   Reported by: Marquis
................
  r154061 | tilghman | 2008-11-03 15:57:14 -0600 (Mon, 03 Nov 2008) | 10 lines
  
  Merged revisions 154060 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r154060 | tilghman | 2008-11-03 15:48:21 -0600 (Mon, 03 Nov 2008) | 3 lines
    
    Remove the potential for a division by zero error.
    (Closes issue #13810)
  ........
................
  r154072 | tilghman | 2008-11-03 16:28:12 -0600 (Mon, 03 Nov 2008) | 12 lines
  
  Merged revisions 154066 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r154066 | tilghman | 2008-11-03 16:27:10 -0600 (Mon, 03 Nov 2008) | 5 lines
    
    Attempting to expunge a mailbox when the mailstream is NULL will crash Asterisk.
    (Closes issue #13829)
    Reported by: jaroth
    Patch by: me (modified jaroth's patch)
  ........
................
  r154149 | eliel | 2008-11-04 08:38:20 -0600 (Tue, 04 Nov 2008) | 6 lines
  
  Add XML documentation for:
     Applications
       - DAHDISendKeypadFacility()
       - DAHDISendCallreroutingFacility()
................
  r154151 | kpfleming | 2008-11-04 09:07:54 -0600 (Tue, 04 Nov 2008) | 5 lines
  
  improve configure script to remember the previous value of each dependency in build_tools/menuselect-deps, so that (once it has been written) menuselect can use this information to warn the user when a previously met dependency is no longer met
  
  along the way, change tags used in configure script, menuselect-deps and code for various dependencies to be consistently named
................
  r154186 | seanbright | 2008-11-04 10:50:34 -0600 (Tue, 04 Nov 2008) | 2 lines
  
  Fix build errors.
................
  r154187 | seanbright | 2008-11-04 11:00:45 -0600 (Tue, 04 Nov 2008) | 10 lines
  
  Allow devices that accept dialog-info+xml (like snoms) to get the Caller ID of
  the calling party when subscribed to the state of an extension that is ringing.
  This has some limitations which are documented in sip.conf.sample.
  
  (closes issue #13827)
  Reported by: seanbright
  Patches:
        issue13827.patch uploaded by seanbright (license 71)
  Reviewed by: russellb
................
  r154191 | seanbright | 2008-11-04 11:23:33 -0600 (Tue, 04 Nov 2008) | 6 lines
  
  GLOB_BRACE is already added to MY_GLOB_FLAGS if it is supported on the
  platform.  This should resolve some build errors on Solaris.
  
  (issue #13704)
  Reported by: dougm
................
  r154225 | eliel | 2008-11-04 12:06:50 -0600 (Tue, 04 Nov 2008) | 3 lines
  
  Add XML documentation for the ForkCDR() application.
................
  r154260 | tilghman | 2008-11-04 12:47:20 -0600 (Tue, 04 Nov 2008) | 2 lines
  
  Slightly optimize ast_devstate_str and rename global functions devstate2str and config_text_file_save to have an ast_ prefix
................
  r154264 | tilghman | 2008-11-04 12:59:48 -0600 (Tue, 04 Nov 2008) | 10 lines
  
  Recorded merge of revisions 154263 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r154263 | tilghman | 2008-11-04 12:58:05 -0600 (Tue, 04 Nov 2008) | 3 lines
    
    Make the monitor thread non-detached, so it can be joined (suggested by Russell
    on -dev list).
  ........
................
  r154268 | rmudgett | 2008-11-04 13:07:26 -0600 (Tue, 04 Nov 2008) | 11 lines
  
  Merged revisions 154266 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r154266 | rmudgett | 2008-11-04 13:01:08 -0600 (Tue, 04 Nov 2008) | 4 lines
    
    JIRA ABE-1703
    mISDN sets the channel to the wrong state when it receives
    the indication AST_CONTROL_RINGING.
  ........
................
  r154329 | eliel | 2008-11-04 14:12:41 -0600 (Tue, 04 Nov 2008) | 4 lines
  
  We need to pass the DTD to xmlstarlet to validate against it the XML.
  (I thought it was being read within the DOCTYPE definition inside the XML).
................
  r154366 | tilghman | 2008-11-04 14:51:18 -0600 (Tue, 04 Nov 2008) | 16 lines
  
  Merged revisions 154365 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r154365 | tilghman | 2008-11-04 14:49:33 -0600 (Tue, 04 Nov 2008) | 9 lines
    
    On busy systems, it's possible for the values checked within a single line
    of code to change, unless the structure is locked to ensure a consistent
    state.
    (closes issue #13717)
     Reported by: kowalma
     Patches: 
           20081102__bug13717.diff.txt uploaded by Corydon76 (license 14)
     Tested by: kowalma
  ........
................
  r154428 | tilghman | 2008-11-04 17:03:00 -0600 (Tue, 04 Nov 2008) | 7 lines
  
  Switch to using a thread condition to signal that a child thread is ready for
  work, rather than a busy wait.
  (closes issue #13011)
   Reported by: jpgrayson
   Patches: 
         chan_iax2_find_idle.patch uploaded by jpgrayson (license 492)
................
  r154429 | seanbright | 2008-11-04 17:23:39 -0600 (Tue, 04 Nov 2008) | 8 lines
  
  Introduce a new API call ast_channel_search_locked, which iterates through the
  channel list calling a caller-defined callback.  The callback returns non-zero
  if a match is found.  This should speed up some of the code that I committed
  earlier today in chan_sip (which is also updated by this commit).
  
  Reviewed by russellb and kpfleming via ReviewBoard:
  	http://reviewboard.digium.com/r/28/
................
  r154467 | eliel | 2008-11-04 19:44:04 -0600 (Tue, 04 Nov 2008) | 3 lines
  
  - Add PlayTones() and StopPlayTones() applications XML documentation.
  - Fix a dot that was outside of the <para> in the ForkCDR() XML documentation.
................
  r154469 | eliel | 2008-11-04 20:08:39 -0600 (Tue, 04 Nov 2008) | 2 lines
  
  - Add FollowMe() application XML documentation.
................
  r154507 | eliel | 2008-11-05 05:26:40 -0600 (Wed, 05 Nov 2008) | 2 lines
  
  - Add Read() application XML documentation.
................
  r154542 | eliel | 2008-11-05 06:13:57 -0600 (Wed, 05 Nov 2008) | 3 lines
  
  - Add some see-also references based on TFOT.
................
  r154578 | eliel | 2008-11-05 07:07:29 -0600 (Wed, 05 Nov 2008) | 3 lines
  
  - Add more <see-also> based on TFOT.
  - Add the 'filename' type to the see-also ref. To be able to reference a filename.
................
  r154615 | eliel | 2008-11-05 07:51:16 -0600 (Wed, 05 Nov 2008) | 2 lines
  
  - Add ParkAndAnnounce() application XML documentation.
................
  r154617 | eliel | 2008-11-05 07:54:21 -0600 (Wed, 05 Nov 2008) | 2 lines
  
  We now can have a reference to a filename inside a <see-also> tag.
................
  r154647 | eliel | 2008-11-05 08:37:07 -0600 (Wed, 05 Nov 2008) | 2 lines
  
  Add more SeeAlso references based on TFOT.
................
  r154687 | murf | 2008-11-05 10:11:11 -0600 (Wed, 05 Nov 2008) | 9 lines
  
  Merged revisions 154685 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r154685 | murf | 2008-11-05 09:06:53 -0700 (Wed, 05 Nov 2008) | 1 line
  
  This fix was prompted by communication from user, who was seeing thousands of error logs... looks like EAGAIN. Made such uninteresting.
  ........
................
  r154732 | mmichelson | 2008-11-05 10:46:54 -0600 (Wed, 05 Nov 2008) | 13 lines
  
  Blocked revisions 154724 via svnmerge
  
  ........
  r154724 | mmichelson | 2008-11-05 10:44:34 -0600 (Wed, 05 Nov 2008) | 6 lines
  
  The logic of a strcasecmp call was reversed
  
  (closes issue #13841)
  Reported by: clegall_proformatique
  
  
  ........
................
  r154796 | eliel | 2008-11-05 12:46:29 -0600 (Wed, 05 Nov 2008) | 8 lines
  
  Add Macro(), MacroExit(), MacroExclusive() and
  MacroIf() applications XML documentation.
  
  (closes issue #13699)
  Reported by: snuffy
  Patches:
        bug13699_20081016.diff uploaded by snuffy (license 35)
................
  r154798 | eliel | 2008-11-05 12:50:02 -0600 (Wed, 05 Nov 2008) | 2 lines
  
  Add more [see also] references based on TFOT.
................
  r154801 | eliel | 2008-11-05 13:17:32 -0600 (Wed, 05 Nov 2008) | 3 lines
  
  Add TestClient() and TestServer() applications XML
  documentation.
................
  r154837 | eliel | 2008-11-05 14:17:06 -0600 (Wed, 05 Nov 2008) | 3 lines
  
  Add AgentLogin(), AgentMonitorOutgoing() applications and
  AGENT() function XML documentation.
................
  r154839 | mvanbaak | 2008-11-05 14:33:11 -0600 (Wed, 05 Nov 2008) | 2 lines
  
  make this compile on OpenBSD again.
................
  r154875 | mattf | 2008-11-05 14:45:03 -0600 (Wed, 05 Nov 2008) | 1 line
  
  Make compilation of chan_dahdi so that it does not require the new pri_progress_with_cause function to have libpri support work.
................
  r154915 | tilghman | 2008-11-05 15:58:48 -0600 (Wed, 05 Nov 2008) | 3 lines
  
  Add LISTFILTER dialplan function, along with supporting documentation.  See
  documentation for more information on how to use it.
................
  r154919 | seanbright | 2008-11-05 16:01:22 -0600 (Wed, 05 Nov 2008) | 2 lines
  
  Fix a problem found while building res_snmp.
................
  r154922 | tilghman | 2008-11-05 16:19:18 -0600 (Wed, 05 Nov 2008) | 5 lines
  
  Don't read history on -rx commands.
  (Closes issue #13571)
  Reported by: tzafrir
  Patch '0001-no-need-for-history-on-asterisk-rx.patch' uploaded by tzafrir.
................
  r154923 | seanbright | 2008-11-05 16:19:22 -0600 (Wed, 05 Nov 2008) | 2 lines
  
  Update a couple places to use the new ast_channel_search_locked API call.
................
  r154926 | seanbright | 2008-11-05 16:22:37 -0600 (Wed, 05 Nov 2008) | 1 line
  
  Fix some whitespace.
................
  r154967 | eliel | 2008-11-06 12:19:00 -0600 (Thu, 06 Nov 2008) | 6 lines
  
  Simplify the output of [See Also].
  Functions are printed without parenthesis like: FUNTION
  Applications are printed with parenthesis like: AppName()
  Cli commands are printed like: 'core show application'
  The other type of references are printed as they are inside the <ref> tag.
................
  r155012 | mmichelson | 2008-11-06 13:46:53 -0600 (Thu, 06 Nov 2008) | 16 lines
  
  Merged revisions 155011 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r155011 | mmichelson | 2008-11-06 13:45:52 -0600 (Thu, 06 Nov 2008) | 8 lines
  
  The documentation listed the ability to set 'maxmsg' per
  context. The truth is that you can only set this in the general section
  or per mailbox. Thus I am updating the sample config file to be more
  accurate.
  
  Thanks to sasargen on IRC for bringing up this issue.
  
  
  ........
................
  r155066 | kpfleming | 2008-11-06 14:51:26 -0600 (Thu, 06 Nov 2008) | 5 lines
  
  put ifdef protection around the rest of the libpri function calls that were added at the same time as progress_with_cause
  
  move parsing of the qsig channel mapping configuration option outside ifdef HAVE_PRI_INBANDDISCONNECT and into a properly ifdef'd block
................
  r155079 | kpfleming | 2008-11-06 15:09:24 -0600 (Thu, 06 Nov 2008) | 3 lines
  
  make S_OR and S_COR safe to use even if the parameters are function calls or have side effects. it still bothers me that these are called S_OR and not something like ast_string_or, but that's water over the bridge
................
  r155080 | kpfleming | 2008-11-06 15:12:03 -0600 (Thu, 06 Nov 2008) | 3 lines
  
  coding style/guidelines cleanup, plus use new side-effect safe S_OR
................
  r155121 | kpfleming | 2008-11-06 16:49:19 -0600 (Thu, 06 Nov 2008) | 3 lines
  
  don't blindly assume that Darwin and Cygwin need GLOB_ABORTED defined; only define it if it is not already defined
................
  r155175 | eliel | 2008-11-06 20:37:47 -0600 (Thu, 06 Nov 2008) | 2 lines
  
  Fix an asterisk crash if no asterisk.conf configuration file is present.
................
  r155204 | eliel | 2008-11-06 21:02:01 -0600 (Thu, 06 Nov 2008) | 4 lines
  
  If 'asterisk.conf' is not found, instead of giving up,
  load documentation for the 'en_US' language (fix my last
  commit).
................
  r155206 | kpfleming | 2008-11-06 21:09:16 -0600 (Thu, 06 Nov 2008) | 1 line
  
  correct logic error noticed by rmudgett (thanks!)
................
  r155241 | russell | 2008-11-07 08:50:30 -0600 (Fri, 07 Nov 2008) | 4 lines
  
  Fix some code in chan_sip that was intended to unlink multiple objects from a
  container.  The OBJ_MULTIPLE flag must be provided here.  Otherwise, this would
  only remove a single object.
................
  r155244 | russell | 2008-11-07 09:01:02 -0600 (Fri, 07 Nov 2008) | 4 lines
  
  Clarify which part of OBJ_MULTIPLE is not implemented, and under what case it
  is perfectly fine to use.  (Inspired by a question I received about my last
  commit.)
................
  r155264 | russell | 2008-11-07 09:42:04 -0600 (Fri, 07 Nov 2008) | 3 lines
  
  Remove a bogus ast_free() that Kevin noticed.  This was probably just left over 
  from pre-astobj2ified chan_sip.
................
  r155282 | kpfleming | 2008-11-07 09:52:05 -0600 (Fri, 07 Nov 2008) | 1 line
  
  stringfields conversion for struct sip_peer, as requested :-)
................
  r155284 | seanbright | 2008-11-07 10:18:52 -0600 (Fri, 07 Nov 2008) | 6 lines
  
  Convert open-coded linked list in indications to the AST_LIST_* macros.  This
  cleans the code up some and should make it more maintainable as time goes on.
  
  Reviewed by Russell, Kevin, Mark M., and Tilghman via ReviewBoard:
  	http://reviewboard.digium.com/r/34/
................
  r155324 | tilghman | 2008-11-07 14:13:32 -0600 (Fri, 07 Nov 2008) | 7 lines
  
  Send call release with unallocated cause instead of normal call clearing, when
  invalid extension is called.
  (closes issue #13408)
   Reported by: adomjan
   Patches: 
         chan_dahdi.c-ss7-unallocated-2 uploaded by adomjan (license 487)
................
  r155360 | mmichelson | 2008-11-07 15:14:49 -0600 (Fri, 07 Nov 2008) | 8 lines
  
  Remove one more instance of the sample configuration
  lying about what's possible. The tz cannot be set in a
  context like this. It can only be set in the general
  section or per-mailbox.
  
  Thanks to sasargen on #asterisk-dev for pointing this out
................
  r155395 | tilghman | 2008-11-07 16:03:50 -0600 (Fri, 07 Nov 2008) | 2 lines
  
  Two bugs relating to colnames found by Marquis42 on #asterisk-dev
................
  r155399 | tilghman | 2008-11-07 16:28:58 -0600 (Fri, 07 Nov 2008) | 14 lines
  
  Merged revisions 155398 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r155398 | tilghman | 2008-11-07 16:27:32 -0600 (Fri, 07 Nov 2008) | 7 lines
    
    Clarify error message.
    (closes issue #13809)
     Reported by: denke
     Patches: 
           20081104__bug13809.diff.txt uploaded by Corydon76 (license 14)
     Tested by: denke
  ........
................
  r155401 | seanbright | 2008-11-07 16:39:30 -0600 (Fri, 07 Nov 2008) | 8 lines
  
  Add ability to pass arbitrary data to the ao2_callback_fn (called from
  ao2_callback and ao2_find).  Currently, passing OBJ_POINTER to either
  of these mandates that the passed 'arg' is a hashable object, making
  searching for an ao2 object based on outside criteria difficult.
  
  Reviewed by Russell and Mark M. via ReviewBoard:
      http://reviewboard.digium.com/r/36/
................
  r155467 | mmichelson | 2008-11-07 17:41:44 -0600 (Fri, 07 Nov 2008) | 12 lines
  
  Set the invite state to INV_CANCELLED in a place that
  makes more sense. Where it was set before, it was impossible
  to actually delay sending a CANCEL if we had not yet received
  a provisional response to an INVITE.
  
  (closes issue #13626)
  Reported by: atis
  Patches:
        13626.patch uploaded by putnopvut (license 60)
  Tested by: atis
................

Added:
    team/twilson/calendaring/doc/appdocsxml.dtd
      - copied unchanged from r155467, trunk/doc/appdocsxml.dtd
    team/twilson/calendaring/include/asterisk/xml.h
      - copied unchanged from r155467, trunk/include/asterisk/xml.h
    team/twilson/calendaring/main/xml.c
      - copied unchanged from r155467, trunk/main/xml.c
Modified:
    team/twilson/calendaring/   (props changed)
    team/twilson/calendaring/CHANGES
    team/twilson/calendaring/Makefile
    team/twilson/calendaring/agi/eagi-sphinx-test.c
    team/twilson/calendaring/agi/eagi-test.c
    team/twilson/calendaring/apps/app_adsiprog.c
    team/twilson/calendaring/apps/app_alarmreceiver.c
    team/twilson/calendaring/apps/app_amd.c
    team/twilson/calendaring/apps/app_authenticate.c
    team/twilson/calendaring/apps/app_cdr.c
    team/twilson/calendaring/apps/app_chanisavail.c
    team/twilson/calendaring/apps/app_channelredirect.c
    team/twilson/calendaring/apps/app_chanspy.c
    team/twilson/calendaring/apps/app_controlplayback.c
    team/twilson/calendaring/apps/app_dahdibarge.c
    team/twilson/calendaring/apps/app_dahdiras.c
    team/twilson/calendaring/apps/app_dahdiscan.c
    team/twilson/calendaring/apps/app_db.c
    team/twilson/calendaring/apps/app_dial.c
    team/twilson/calendaring/apps/app_dictate.c
    team/twilson/calendaring/apps/app_directed_pickup.c
    team/twilson/calendaring/apps/app_directory.c
    team/twilson/calendaring/apps/app_disa.c
    team/twilson/calendaring/apps/app_dumpchan.c
    team/twilson/calendaring/apps/app_echo.c
    team/twilson/calendaring/apps/app_exec.c
    team/twilson/calendaring/apps/app_fax.c
    team/twilson/calendaring/apps/app_festival.c
    team/twilson/calendaring/apps/app_flash.c
    team/twilson/calendaring/apps/app_followme.c
    team/twilson/calendaring/apps/app_forkcdr.c
    team/twilson/calendaring/apps/app_getcpeid.c
    team/twilson/calendaring/apps/app_ices.c
    team/twilson/calendaring/apps/app_image.c
    team/twilson/calendaring/apps/app_ivrdemo.c
    team/twilson/calendaring/apps/app_jack.c
    team/twilson/calendaring/apps/app_macro.c
    team/twilson/calendaring/apps/app_milliwatt.c
    team/twilson/calendaring/apps/app_mixmonitor.c
    team/twilson/calendaring/apps/app_morsecode.c
    team/twilson/calendaring/apps/app_mp3.c
    team/twilson/calendaring/apps/app_nbscat.c
    team/twilson/calendaring/apps/app_osplookup.c
    team/twilson/calendaring/apps/app_page.c
    team/twilson/calendaring/apps/app_parkandannounce.c
    team/twilson/calendaring/apps/app_playback.c
    team/twilson/calendaring/apps/app_privacy.c
    team/twilson/calendaring/apps/app_queue.c
    team/twilson/calendaring/apps/app_read.c
    team/twilson/calendaring/apps/app_readexten.c
    team/twilson/calendaring/apps/app_readfile.c
    team/twilson/calendaring/apps/app_record.c
    team/twilson/calendaring/apps/app_sayunixtime.c
    team/twilson/calendaring/apps/app_senddtmf.c
    team/twilson/calendaring/apps/app_sendtext.c
    team/twilson/calendaring/apps/app_setcallerid.c
    team/twilson/calendaring/apps/app_skel.c
    team/twilson/calendaring/apps/app_sms.c
    team/twilson/calendaring/apps/app_softhangup.c
    team/twilson/calendaring/apps/app_stack.c
    team/twilson/calendaring/apps/app_system.c
    team/twilson/calendaring/apps/app_talkdetect.c
    team/twilson/calendaring/apps/app_test.c
    team/twilson/calendaring/apps/app_transfer.c
    team/twilson/calendaring/apps/app_url.c
    team/twilson/calendaring/apps/app_userevent.c
    team/twilson/calendaring/apps/app_verbose.c
    team/twilson/calendaring/apps/app_voicemail.c
    team/twilson/calendaring/apps/app_waitforring.c
    team/twilson/calendaring/apps/app_waitforsilence.c
    team/twilson/calendaring/apps/app_waituntil.c
    team/twilson/calendaring/apps/app_while.c
    team/twilson/calendaring/apps/app_zapateller.c
    team/twilson/calendaring/autoconf/ast_ext_lib.m4
    team/twilson/calendaring/autoconf/ast_gcc_attribute.m4
    team/twilson/calendaring/build_tools/menuselect-deps.in
    team/twilson/calendaring/cdr/cdr_adaptive_odbc.c
    team/twilson/calendaring/cdr/cdr_odbc.c
    team/twilson/calendaring/channels/Makefile
    team/twilson/calendaring/channels/chan_agent.c
    team/twilson/calendaring/channels/chan_alsa.c
    team/twilson/calendaring/channels/chan_console.c
    team/twilson/calendaring/channels/chan_dahdi.c
    team/twilson/calendaring/channels/chan_h323.c
    team/twilson/calendaring/channels/chan_iax2.c
    team/twilson/calendaring/channels/chan_misdn.c
    team/twilson/calendaring/channels/chan_oss.c
    team/twilson/calendaring/channels/chan_sip.c
    team/twilson/calendaring/channels/chan_skinny.c
    team/twilson/calendaring/channels/chan_usbradio.c
    team/twilson/calendaring/channels/chan_vpb.cc
    team/twilson/calendaring/configs/sip.conf.sample
    team/twilson/calendaring/configs/voicemail.conf.sample
    team/twilson/calendaring/configure
    team/twilson/calendaring/configure.ac
    team/twilson/calendaring/doc/   (props changed)
    team/twilson/calendaring/doc/tex/asterisk-conf.tex
    team/twilson/calendaring/formats/format_gsm.c
    team/twilson/calendaring/formats/format_ogg_vorbis.c
    team/twilson/calendaring/formats/format_wav.c
    team/twilson/calendaring/formats/format_wav_gsm.c
    team/twilson/calendaring/funcs/func_base64.c
    team/twilson/calendaring/funcs/func_blacklist.c
    team/twilson/calendaring/funcs/func_callerid.c
    team/twilson/calendaring/funcs/func_cdr.c
    team/twilson/calendaring/funcs/func_channel.c
    team/twilson/calendaring/funcs/func_config.c
    team/twilson/calendaring/funcs/func_cut.c
    team/twilson/calendaring/funcs/func_db.c
    team/twilson/calendaring/funcs/func_devstate.c
    team/twilson/calendaring/funcs/func_dialgroup.c
    team/twilson/calendaring/funcs/func_dialplan.c
    team/twilson/calendaring/funcs/func_enum.c
    team/twilson/calendaring/funcs/func_env.c
    team/twilson/calendaring/funcs/func_extstate.c
    team/twilson/calendaring/funcs/func_global.c
    team/twilson/calendaring/funcs/func_groupcount.c
    team/twilson/calendaring/funcs/func_iconv.c
    team/twilson/calendaring/funcs/func_lock.c
    team/twilson/calendaring/funcs/func_logic.c
    team/twilson/calendaring/funcs/func_math.c
    team/twilson/calendaring/funcs/func_md5.c
    team/twilson/calendaring/funcs/func_module.c
    team/twilson/calendaring/funcs/func_odbc.c
    team/twilson/calendaring/funcs/func_rand.c
    team/twilson/calendaring/funcs/func_realtime.c
    team/twilson/calendaring/funcs/func_sha1.c
    team/twilson/calendaring/funcs/func_shell.c
    team/twilson/calendaring/funcs/func_speex.c
    team/twilson/calendaring/funcs/func_strings.c
    team/twilson/calendaring/funcs/func_timeout.c
    team/twilson/calendaring/funcs/func_uri.c
    team/twilson/calendaring/funcs/func_version.c
    team/twilson/calendaring/funcs/func_vmcount.c
    team/twilson/calendaring/funcs/func_volume.c
    team/twilson/calendaring/include/asterisk.h
    team/twilson/calendaring/include/asterisk/_private.h
    team/twilson/calendaring/include/asterisk/agi.h
    team/twilson/calendaring/include/asterisk/app.h
    team/twilson/calendaring/include/asterisk/astobj2.h
    team/twilson/calendaring/include/asterisk/autoconfig.h.in
    team/twilson/calendaring/include/asterisk/channel.h
    team/twilson/calendaring/include/asterisk/compat.h
    team/twilson/calendaring/include/asterisk/compiler.h
    team/twilson/calendaring/include/asterisk/config.h
    team/twilson/calendaring/include/asterisk/devicestate.h
    team/twilson/calendaring/include/asterisk/extconf.h
    team/twilson/calendaring/include/asterisk/features.h
    team/twilson/calendaring/include/asterisk/indications.h
    team/twilson/calendaring/include/asterisk/module.h
    team/twilson/calendaring/include/asterisk/pbx.h
    team/twilson/calendaring/include/asterisk/strings.h
    team/twilson/calendaring/include/asterisk/term.h
    team/twilson/calendaring/main/Makefile
    team/twilson/calendaring/main/app.c
    team/twilson/calendaring/main/ast_expr2f.c
    team/twilson/calendaring/main/asterisk.c
    team/twilson/calendaring/main/astobj2.c
    team/twilson/calendaring/main/channel.c
    team/twilson/calendaring/main/config.c
    team/twilson/calendaring/main/db1-ast/hash/hash_page.c
    team/twilson/calendaring/main/devicestate.c
    team/twilson/calendaring/main/features.c
    team/twilson/calendaring/main/file.c
    team/twilson/calendaring/main/http.c
    team/twilson/calendaring/main/indications.c
    team/twilson/calendaring/main/logger.c
    team/twilson/calendaring/main/manager.c
    team/twilson/calendaring/main/pbx.c
    team/twilson/calendaring/main/rtp.c
    team/twilson/calendaring/main/taskprocessor.c
    team/twilson/calendaring/main/term.c
    team/twilson/calendaring/main/utils.c
    team/twilson/calendaring/makeopts.in
    team/twilson/calendaring/pbx/pbx_config.c
    team/twilson/calendaring/pbx/pbx_dundi.c
    team/twilson/calendaring/pbx/pbx_lua.c
    team/twilson/calendaring/res/ael/ael.flex
    team/twilson/calendaring/res/ael/ael.tab.c
    team/twilson/calendaring/res/ael/ael.y
    team/twilson/calendaring/res/ael/ael_lex.c
    team/twilson/calendaring/res/res_agi.c
    team/twilson/calendaring/res/res_config_odbc.c
    team/twilson/calendaring/res/res_config_sqlite.c
    team/twilson/calendaring/res/res_crypto.c
    team/twilson/calendaring/res/res_http_post.c
    team/twilson/calendaring/res/res_indications.c
    team/twilson/calendaring/res/res_jabber.c
    team/twilson/calendaring/res/res_musiconhold.c
    team/twilson/calendaring/res/res_odbc.c
    team/twilson/calendaring/res/res_phoneprov.c
    team/twilson/calendaring/res/res_timing_pthread.c
    team/twilson/calendaring/utils/astcanary.c
    team/twilson/calendaring/utils/astman.c
    team/twilson/calendaring/utils/extconf.c
    team/twilson/calendaring/utils/frame.c
    team/twilson/calendaring/utils/hashtest2.c
    team/twilson/calendaring/utils/muted.c
    team/twilson/calendaring/utils/stereorize.c
    team/twilson/calendaring/utils/streamplayer.c

Propchange: team/twilson/calendaring/
------------------------------------------------------------------------------
Binary property 'branch-1.4-blocked' - no diff available.

Propchange: team/twilson/calendaring/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Propchange: team/twilson/calendaring/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Fri Nov  7 18:17:28 2008
@@ -1,1 +1,1 @@
-/trunk:1-153332
+/trunk:1-155502

Modified: team/twilson/calendaring/CHANGES
URL: http://svn.digium.com/view/asterisk/team/twilson/calendaring/CHANGES?view=diff&rev=155503&r1=155502&r2=155503
==============================================================================
--- team/twilson/calendaring/CHANGES (original)
+++ team/twilson/calendaring/CHANGES Fri Nov  7 18:17:28 2008
@@ -11,6 +11,10 @@
    making the new/old message count available to local devices.
  * Added support for setting the domain in the URI for caller of an
    outbound call by using the SIPFROMDOMAIN channel variable.
+ * Added a new configuration option "remotesecret" for authentication to
+   remote services. For backwards compatibility, "secret" still has the
+   same function as before, but now you can configure both a remote secret and a
+   local secret for mutual authentication.
 
 Skinny Changes
 --------------
@@ -28,6 +32,9 @@
  * Added debugging CLI functions to func_odbc, 'odbc read' and 'odbc write'.
  * func_odbc now may specify an insert query to execute, when the write query
    affects 0 rows (usually indicating that no such row exists).
+ * Added a new dialplan function, LISTFILTER, which permits removing elements
+   from a set list, by name.  Uses the same general syntax as the existing CUT
+   and FIELDQTY dialplan functions, which also manage lists.
 
 Applications
 ------------

Modified: team/twilson/calendaring/Makefile
URL: http://svn.digium.com/view/asterisk/team/twilson/calendaring/Makefile?view=diff&rev=155503&r1=155502&r2=155503
==============================================================================
--- team/twilson/calendaring/Makefile (original)
+++ team/twilson/calendaring/Makefile Fri Nov  7 18:17:28 2008
@@ -104,6 +104,9 @@
 # CFLAGS and LDFLAGS in the COPTS and LDOPTS variables.
 ASTCFLAGS+=$(COPTS)
 ASTLDFLAGS+=$(LDOPTS)
+
+# libxml2 cflags
+ASTCFLAGS+=$(LIBXML2_INCLUDE)
 
 #Uncomment this to see all build commands instead of 'quiet' output
 #NOISY_BUILD=yes
@@ -348,7 +351,7 @@
 	@echo " +               $(mK) install               +"  
 	@echo " +-------------------------------------------+"  
 
-_all: cleantest makeopts $(SUBDIRS)
+_all: cleantest makeopts $(SUBDIRS) doc/core-en_US.xml
 
 makeopts: configure
 	@echo "****"
@@ -480,6 +483,29 @@
 	done
 	mkdir -p $(DESTDIR)$(AGI_DIR)
 	$(MAKE) -C sounds install
+
+doc/core-en_US.xml: $(foreach dir,$(MOD_SUBDIRS),$(wildcard $(dir)/*.c) $(wildcard $(dir)/*.cc)) 
+	@echo -n "Building Documentation For: "
+	@echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" > $@
+	@echo "<!DOCTYPE docs SYSTEM \"appdocsxml.dtd\">" >> $@
+	@echo "<docs>" >> $@
+	@for x in $(MOD_SUBDIRS); do \
+		echo -n "$$x " ; \
+		for i in $$x/*.c; do \
+			$(AWK) -f build_tools/get_documentation $$i >> $@ ; \
+		done ; \
+	done
+	@echo
+	@echo "</docs>" >> $@
+
+validate-docs: doc/core-en_US.xml
+ifeq ($(XMLSTARLET),:)
+	@echo "---------------------------------------------------------------"
+	@echo "--- Please install xmlstarlet to validate the documentation ---"
+	@echo "---------------------------------------------------------------"
+else
+	$(XMLSTARLET) val -d doc/appdocsxml.dtd $<
+endif
 
 update: 
 	@if [ -d .svn ]; then \
@@ -529,12 +555,16 @@
 	if [ -n "$(OLDHEADERS)" ]; then \
 		rm -f $(addprefix $(DESTDIR)$(ASTHEADERDIR)/,$(OLDHEADERS)) ;\
 	fi
+	mkdir -p $(DESTDIR)$(ASTDATADIR)/documentation
+	mkdir -p $(DESTDIR)$(ASTDATADIR)/documentation/thirdparty
 	mkdir -p $(DESTDIR)$(ASTLOGDIR)/cdr-csv
 	mkdir -p $(DESTDIR)$(ASTLOGDIR)/cdr-custom
 	mkdir -p $(DESTDIR)$(ASTDATADIR)/keys
 	mkdir -p $(DESTDIR)$(ASTDATADIR)/firmware
 	mkdir -p $(DESTDIR)$(ASTDATADIR)/firmware/iax
 	mkdir -p $(DESTDIR)$(ASTMANDIR)/man8
+	$(INSTALL) -m 644 doc/core-*.xml $(ASTDATADIR)/documentation
+	$(INSTALL) -m 644 doc/appdocsxml.dtd $(ASTVARLIBDIR)/documentation
 	$(INSTALL) -m 644 keys/iaxtel.pub $(DESTDIR)$(ASTDATADIR)/keys
 	$(INSTALL) -m 644 keys/freeworlddialup.pub $(DESTDIR)$(ASTDATADIR)/keys
 	$(INSTALL) -m 644 doc/asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8
@@ -656,7 +686,7 @@
 		echo "astrundir => $(ASTVARRUNDIR)" ; \
 		echo "astlogdir => $(ASTLOGDIR)" ; \
 		echo "" ; \
-		echo ";[options]" ; \
+		echo "[options]" ; \
 		echo ";verbose = 3" ; \
 		echo ";debug = 3" ; \
 		echo ";alwaysfork = yes ; same as -F at startup" ; \
@@ -686,6 +716,7 @@
 		echo ";runuser = asterisk ; The user to run as" ; \
 		echo ";rungroup = asterisk ; The group to run as" ; \
 		echo ";lightbackground = yes ; If your terminal is set for a light-colored background" ; \
+		echo "documentation_language = en_US ; Set the Language you want Documentation displayed in. Value is in the same format as locale names" ; \
 		echo "" ; \
 		echo "; Changing the following lines may compromise your security." ; \
 		echo ";[files]" ; \
@@ -902,7 +933,7 @@
 asterisk.pdf:
 	$(MAKE) -C doc/tex asterisk.pdf
 
-.PHONY: menuselect menuselect.makeopts main sounds clean dist-clean distclean all prereqs cleantest uninstall _uninstall uninstall-all pdf dont-optimize $(SUBDIRS_INSTALL) $(SUBDIRS_DIST_CLEAN) $(SUBDIRS_CLEAN) $(SUBDIRS_UNINSTALL) $(SUBDIRS) $(MOD_SUBDIRS_EMBED_LDSCRIPT) $(MOD_SUBDIRS_EMBED_LDFLAGS) $(MOD_SUBDIRS_EMBED_LIBS) badshell installdirs
+.PHONY: menuselect menuselect.makeopts main sounds clean dist-clean distclean all prereqs cleantest uninstall _uninstall uninstall-all pdf dont-optimize $(SUBDIRS_INSTALL) $(SUBDIRS_DIST_CLEAN) $(SUBDIRS_CLEAN) $(SUBDIRS_UNINSTALL) $(SUBDIRS) $(MOD_SUBDIRS_EMBED_LDSCRIPT) $(MOD_SUBDIRS_EMBED_LDFLAGS) $(MOD_SUBDIRS_EMBED_LIBS) badshell installdirs validate-docs
 
 FORCE:
 

Modified: team/twilson/calendaring/agi/eagi-sphinx-test.c
URL: http://svn.digium.com/view/asterisk/team/twilson/calendaring/agi/eagi-sphinx-test.c?view=diff&rev=155503&r1=155502&r2=155503
==============================================================================
--- team/twilson/calendaring/agi/eagi-sphinx-test.c (original)

[... 22926 lines stripped ...]



More information about the asterisk-commits mailing list