[asterisk-commits] murf: branch group/newcdr r155928 - in /team/group/newcdr: ./ agi/ apps/ auto...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 11 00:47:53 CST 2008


Author: murf
Date: Tue Nov 11 00:47:51 2008
New Revision: 155928

URL: http://svn.digium.com/view/asterisk?view=rev&rev=155928
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,155513,155516,155554,155590,155637,155671,155711,155763,155804,155862-155863 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r153362 | russell | 2008-11-01 14:41:38 -0600 (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 15:10:07 -0600 (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 17:46:12 -0600 (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 20:14:19 -0600 (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 20:20:10 -0600 (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 20:50:33 -0600 (Sat, 01 Nov 2008) | 2 lines

Fix various spelling and grammatical issues in documentation

................
r153470 | russell | 2008-11-01 20:55:25 -0600 (Sat, 01 Nov 2008) | 1 line

fix a typo (thanks sean)
................
r153472 | seanbright | 2008-11-01 20:57:27 -0600 (Sat, 01 Nov 2008) | 1 line

Another little one.
................
r153507 | seanbright | 2008-11-01 22:14:20 -0600 (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 22:57:02 -0600 (Sat, 01 Nov 2008) | 2 lines

Fix a typo in the name of the application.

................
r153543 | eliel | 2008-11-01 23:10:22 -0600 (Sat, 01 Nov 2008) | 2 lines

Add Flash() application XML documentation.

................
r153577 | russell | 2008-11-01 23:47:13 -0600 (Sat, 01 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-01 23:55:46 -0600 (Sat, 01 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-01 23:56:50 -0600 (Sat, 01 Nov 2008) | 2 lines

validate-docs is a PHONY target

................
r153582 | eliel | 2008-11-02 00:24:53 -0600 (Sun, 02 Nov 2008) | 2 lines

Add IAX2Provision() application XML documentation.

................
r153616 | kpfleming | 2008-11-02 11:52:13 -0700 (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 11:53:11 -0700 (Sun, 02 Nov 2008) | 1 line

mark this revision as merged manually
................
r153618 | kpfleming | 2008-11-02 12:09:41 -0700 (Sun, 02 Nov 2008) | 1 line

fix small bug introduced while cleaning up compiler warnings
................
r153650 | kpfleming | 2008-11-02 12:39:41 -0700 (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 13:06:03 -0700 (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 16:34:39 -0700 (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 18:01:25 -0700 (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 05:26:35 -0700 (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 05:35:05 -0700 (Mon, 03 Nov 2008) | 11 lines

Add XML documentation for:
     Applications
        - SIPDtmfMode()
        - SIPAddHeader()
     Functions
        - SIP_HEADER()
        - SIPPEER()
        - SIPCHANINFO()
        - CHECKSIPDOMAIN()


................
r153852 | eliel | 2008-11-03 06:33:58 -0700 (Mon, 03 Nov 2008) | 6 lines

Add XML documentation for:
    Functions
        - IAXPEER()
        - IAXVAR()


................
r153904 | oej | 2008-11-03 08:16:33 -0700 (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 08:25:35 -0700 (Mon, 03 Nov 2008) | 2 lines

Spaces to replace tabs...

................
r153947 | eliel | 2008-11-03 10:11:22 -0700 (Mon, 03 Nov 2008) | 3 lines

Add LOCAL() function XML documentation.


................
r153983 | oej | 2008-11-03 11:02:14 -0700 (Mon, 03 Nov 2008) | 2 lines

Updating docs

................
r154023 | tilghman | 2008-11-03 14:01:30 -0700 (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 14:57:14 -0700 (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 15:28:12 -0700 (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 07:38:20 -0700 (Tue, 04 Nov 2008) | 6 lines

Add XML documentation for:
   Applications
     - DAHDISendKeypadFacility()
     - DAHDISendCallreroutingFacility()


................
r154151 | kpfleming | 2008-11-04 08:07:54 -0700 (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 09:50:34 -0700 (Tue, 04 Nov 2008) | 2 lines

Fix build errors.

................
r154187 | seanbright | 2008-11-04 10:00:45 -0700 (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 10:23:33 -0700 (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 11:06:50 -0700 (Tue, 04 Nov 2008) | 3 lines

Add XML documentation for the ForkCDR() application.


................
r154260 | tilghman | 2008-11-04 11:47:20 -0700 (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 11:59:48 -0700 (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 12:07:26 -0700 (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 13:12:41 -0700 (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 13:51:18 -0700 (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 16:03:00 -0700 (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 16:23:39 -0700 (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 18:44:04 -0700 (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 19:08:39 -0700 (Tue, 04 Nov 2008) | 2 lines

- Add FollowMe() application XML documentation.

................
r154507 | eliel | 2008-11-05 04:26:40 -0700 (Wed, 05 Nov 2008) | 2 lines

- Add Read() application XML documentation.

................
r154542 | eliel | 2008-11-05 05:13:57 -0700 (Wed, 05 Nov 2008) | 3 lines

- Add some see-also references based on TFOT.


................
r154578 | eliel | 2008-11-05 06:07:29 -0700 (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 06:51:16 -0700 (Wed, 05 Nov 2008) | 2 lines

- Add ParkAndAnnounce() application XML documentation.

................
r154617 | eliel | 2008-11-05 06:54:21 -0700 (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 07:37:07 -0700 (Wed, 05 Nov 2008) | 2 lines

Add more SeeAlso references based on TFOT.

................
r154687 | murf | 2008-11-05 09:11:11 -0700 (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 09:46:54 -0700 (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 11:46:29 -0700 (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 11:50:02 -0700 (Wed, 05 Nov 2008) | 2 lines

Add more [see also] references based on TFOT.

................
r154801 | eliel | 2008-11-05 12:17:32 -0700 (Wed, 05 Nov 2008) | 3 lines

Add TestClient() and TestServer() applications XML
documentation.

................
r154837 | eliel | 2008-11-05 13:17:06 -0700 (Wed, 05 Nov 2008) | 3 lines

Add AgentLogin(), AgentMonitorOutgoing() applications and
AGENT() function XML documentation.

................
r154839 | mvanbaak | 2008-11-05 13:33:11 -0700 (Wed, 05 Nov 2008) | 2 lines

make this compile on OpenBSD again.

................
r154875 | mattf | 2008-11-05 13:45:03 -0700 (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 14:58:48 -0700 (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 15:01:22 -0700 (Wed, 05 Nov 2008) | 2 lines

Fix a problem found while building res_snmp.

................
r154922 | tilghman | 2008-11-05 15:19:18 -0700 (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 15:19:22 -0700 (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 15:22:37 -0700 (Wed, 05 Nov 2008) | 1 line

Fix some whitespace.
................
r154967 | eliel | 2008-11-06 11:19:00 -0700 (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 12:46:53 -0700 (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 13:51:26 -0700 (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 14:09:24 -0700 (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 14:12:03 -0700 (Thu, 06 Nov 2008) | 3 lines

coding style/guidelines cleanup, plus use new side-effect safe S_OR


................
r155121 | kpfleming | 2008-11-06 15:49:19 -0700 (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 19:37:47 -0700 (Thu, 06 Nov 2008) | 2 lines

Fix an asterisk crash if no asterisk.conf configuration file is present.

................
r155204 | eliel | 2008-11-06 20:02:01 -0700 (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 20:09:16 -0700 (Thu, 06 Nov 2008) | 1 line

correct logic error noticed by rmudgett (thanks!)
................
r155241 | russell | 2008-11-07 07:50:30 -0700 (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 08:01:02 -0700 (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 08:42:04 -0700 (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 08:52:05 -0700 (Fri, 07 Nov 2008) | 1 line

stringfields conversion for struct sip_peer, as requested :-)
................
r155284 | seanbright | 2008-11-07 09:18:52 -0700 (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 13:13:32 -0700 (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 14:14:49 -0700 (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 15:03:50 -0700 (Fri, 07 Nov 2008) | 2 lines

Two bugs relating to colnames found by Marquis42 on #asterisk-dev

................
r155399 | tilghman | 2008-11-07 15:28:58 -0700 (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 15:39:30 -0700 (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 16:41:44 -0700 (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


................
r155513 | russell | 2008-11-08 14:34:36 -0700 (Sat, 08 Nov 2008) | 3 lines

Remove some code that is basically a no-op.  Code above this already ensures that
the buffer is terminated.

................
r155516 | russell | 2008-11-08 14:46:43 -0700 (Sat, 08 Nov 2008) | 3 lines

 - Check for failure when putting the packet in the ast_str
 - fix a spelling error in a header file

................
r155554 | seanbright | 2008-11-08 18:27:00 -0700 (Sat, 08 Nov 2008) | 14 lines

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

........
r155553 | seanbright | 2008-11-08 20:08:07 -0500 (Sat, 08 Nov 2008) | 6 lines

Use static functions here instead of nested ones.  This requires a small
change to the ast_bridge_config struct as well.  To understand the reason
for this change, see the following post:

    http://gcc.gnu.org/ml/gcc-help/2008-11/msg00049.html

........

................
r155590 | seanbright | 2008-11-08 18:59:59 -0700 (Sat, 08 Nov 2008) | 5 lines

In order to move away from nested function use, some changes to the recently introduced
ast_channel_search_locked need to be made.  Specifically, the caller needs to be able to
pass arbitrary data which in turn is passed to the callback.  This patch addresses all
of the nested functions currently in asterisk trunk.

................
r155637 | seanbright | 2008-11-08 20:34:28 -0700 (Sat, 08 Nov 2008) | 1 line

Fix some spelling errors, and convert tabs to spaces.
................
r155671 | seanbright | 2008-11-09 09:30:29 -0700 (Sun, 09 Nov 2008) | 1 line

Fix this as well.  Pointed out by tzafrir.
................
r155711 | eliel | 2008-11-10 06:53:23 -0700 (Mon, 10 Nov 2008) | 11 lines

Move all the XML documentation API from pbx.c to xmldoc.c.
Export the XML documentation API:
   ast_xmldoc_build_synopsis()
   ast_xmldoc_build_syntax()
   ast_xmldoc_build_description()
   ast_xmldoc_build_seealso()
   ast_xmldoc_build_arguments()
   ast_xmldoc_printable()
   ast_xmldoc_load_documentation()


................
r155763 | tilghman | 2008-11-10 11:04:30 -0700 (Mon, 10 Nov 2008) | 6 lines

Fix memory leak when MALLOC_DEBUG is enabled.
(closes issue #13864)
 Reported by: eliel
 Patches: 
       readline.c.patch uploaded by eliel (license 64)

................
r155804 | tilghman | 2008-11-10 13:50:50 -0700 (Mon, 10 Nov 2008) | 9 lines

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

........
  r155803 | tilghman | 2008-11-10 14:49:59 -0600 (Mon, 10 Nov 2008) | 1 line
  
  I got tired of saying this in every single bugnote referring to this file.
........

................
r155862 | tilghman | 2008-11-10 14:12:28 -0700 (Mon, 10 Nov 2008) | 5 lines

Make documentation of update method match documentation and update update2
method to match.
Reported by: atis, via -dev mailing list.
Fixed by: me

................
r155863 | mmichelson | 2008-11-10 14:14:44 -0700 (Mon, 10 Nov 2008) | 22 lines

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

........
r155861 | mmichelson | 2008-11-10 15:07:39 -0600 (Mon, 10 Nov 2008) | 14 lines

Channel drivers assume that when their indicate callback
is invoked, that the channel on which the callback was called
is locked. This patch corrects an instance in chan_agent where
a channel's indicate callback is called directly without first
locking the channel.

This was leading to some observed locking issues in chan_local,
but considering that all channel drivers operate under the
same expectations, the generic fix in chan_agent is the right
way to go.

AST-126


........

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

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

Propchange: team/group/newcdr/
------------------------------------------------------------------------------
Binary property 'branch-1.4-blocked' - no diff available.

Propchange: team/group/newcdr/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Propchange: team/group/newcdr/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Tue Nov 11 00:47:51 2008
@@ -1,1 +1,1 @@
-/trunk:1-153309
+/trunk:1-155927

Modified: team/group/newcdr/CHANGES
URL: http://svn.digium.com/view/asterisk/team/group/newcdr/CHANGES?view=diff&rev=155928&r1=155927&r2=155928
==============================================================================
--- team/group/newcdr/CHANGES (original)
+++ team/group/newcdr/CHANGES Tue Nov 11 00:47:51 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/group/newcdr/Makefile
URL: http://svn.digium.com/view/asterisk/team/group/newcdr/Makefile?view=diff&rev=155928&r1=155927&r2=155928
==============================================================================
--- team/group/newcdr/Makefile (original)
+++ team/group/newcdr/Makefile Tue Nov 11 00:47:51 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,6 +555,8 @@
 	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)$(ASTLOGDIR)/cel-csv
@@ -537,6 +565,8 @@
 	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

[... 21978 lines stripped ...]



More information about the asterisk-commits mailing list