aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2008-11-02Add a handy makefile target so that you can validate the documentation ↵russell4-5/+59
against the DTD by running "make validate-docs" git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153578 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-02Modify the Makefile logic for extracting documentation.russell1-9/+9
- Build the documentation when you run "make", as opposed to "make install" - Only rebuild the documentation when source code has been changed git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153577 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-02Add Flash() application XML documentation.eliel1-10/+18
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153543 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-02Fix a typo in the name of the application.eliel1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153541 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-02There is a troublesome assert() in the alsa/control.h header that causesseanbright1-0/+1
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. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153507 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-02Another little one.seanbright1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153472 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-02fix a typo (thanks sean)russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153470 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-02Fix various spelling and grammatical issues in documentationrussell12-15/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153468 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-02 - Use a for loop instead of a while looprussell1-24/+21
- Get rid of an unnecessary variable git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153437 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-02Instead of doing a couple of strlen() calls each iteration of the loop, only ↵russell1-5/+12
do it once at the beginning of the function git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153435 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-01Don't ignore the result of find_peer() when looking for a peer by IP in ↵russell1-1/+1
check_peer_ok(). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153403 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-01Merge changes from team/group/appdocsxmlrussell111-2475/+8060
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 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153365 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-01Ensure that the sip_pvt properly has its refcount incremented when the ↵russell1-17/+33
scheduler holds a reference to it for session timer processing. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153362 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-01The default in chan_sip for notifyringing is yes, so update the sampleseanbright1-2/+2
conf to reflect that. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153296 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-31* Fixed timeout logic in the dialing API as setting timeoutsmmichelson4-14/+40
had no effect * Updated dialing API documentation to indicate that timeouts are specified in milliseconds * Added a new timeout argument to the Page application. If time expires, any endpoints which have not answered will be hung up. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153223 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-31Recent CDR fixes moved execution of the 'h' exten into the bridging code, so ↵twilson5-21/+64
variables that were set after ast_bridge_call was called would not show up in the 'h' exten. Added a callback function to handle setting variables, etc. from w/in the bridging code. Calls back into a nested function within the function calling ast_bridge_call (closes issue #13793) Reported by: greenfieldtech git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153181 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-31Failover for func_odbc, allowing an INSERT query to be performed when the ↵tilghman3-25/+92
UPDATE query initially affects 0 rows. (closes issue #13083) Reported by: Corydon76 Patches: 20081031__bug13083.diff.txt uploaded by Corydon76 (license 14) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153124 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-31Merged revisions 153114 via svnmerge from tilghman1-0/+8
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r153114 | tilghman | 2008-10-31 11:30:32 -0500 (Fri, 31 Oct 2008) | 3 lines Turn off qualify on uncached realtime peers. (Closes issue #13383) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153122 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-31Use the ast_str API call to reset the string instead of manually editing its ↵russell1-2/+1
internals (closes issue #13816) Reported by: eliel Patches: channel.c.patch uploaded by eliel (license 64) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153057 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30Merged revisions 152992 via svnmerge from seanbright1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r152992 | seanbright | 2008-10-30 16:58:24 -0400 (Thu, 30 Oct 2008) | 2 lines The -I argument to aclocal needs a space before the include directory name. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152993 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30Add a todo for a new timing API implementation that would work for Linux systemsrussell1-0/+3
as of kernel 2.6.25 and glibc 2.8 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152990 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30Merged revisions 152958 via svnmerge from tilghman1-3/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r152958 | tilghman | 2008-10-30 15:33:28 -0500 (Thu, 30 Oct 2008) | 3 lines Cannot join detached threads. See http://www.opengroup.org/onlinepubs/000095399/functions/pthread_join.html (Closes issue #13400) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152969 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30Merged revisions 152922 via svnmerge from tilghman1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r152922 | tilghman | 2008-10-30 14:43:38 -0500 (Thu, 30 Oct 2008) | 6 lines Unlock before returning, when extension doesn't exist. (closes issue #13807) Reported by: eliel Patches: chan_local.c.patch uploaded by eliel (license 64) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152923 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30Fix the sip_peer reference count with respect to scheduler entries forrussell1-19/+38
scheduling peer pokes, and scheduling peer poke expirations. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152920 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30Fix the sip_peer reference count with respect to scheduler entries forrussell1-12/+28
registration expirations. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152915 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30Fix a bug in AST_SCHED_REPLACE_UNREF(). The reference count of the objectrussell1-2/+1
_must_ be increased before creating the scheduler entry. Otherwise, you create a race condition where the reference count may hit zero and the object can disappear out from under you. This could also would have incorrectly decreased the reference count in the case that the scheduler add failed. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152887 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30I just noticed this construct and thought it wasmmichelson1-10/+1
silly to have a bunch of case statements with duplicated code in each case. Instead, just use the built-in fallthrough capability of case statements and reduce the code to a single instance git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152879 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30Modify the documentation of the sip_registry structrussell1-7/+9
- Remove a comment that says that the monitor thread is the only one that ever touches these objects. This is no longer the case with TCP. Also, I would eventually like to get the scheduler in its own thread, so this is just a poor assumption to make. - Note that reference counting of these objects with respect to scheduler entries is not complete. There are some leaked references when deleting scheduler entries. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152877 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30 - spaces to tabsrussell1-12/+15
- add some braces - remove unnecessary cast git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152875 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30Merged revisions 152811 via svnmerge from kpfleming1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r152811 | kpfleming | 2008-10-30 11:53:48 -0500 (Thu, 30 Oct 2008) | 3 lines instead of comparing the string pointer to 0, let's compare the value that was actually parsed out of the string (found by sparse) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152812 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30try to get this committed before the buildbot complains about a broken treekpfleming1-0/+29
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152810 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30fix a few small things found by using sparsekpfleming10-32/+39
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152809 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30After seeing another problem in #asterisk stemming frommmichelson3-3/+4
the low default value of featuredigittimeout, I decided it was high time to change it. I have changed the default to 2000 ms based on a suggestion from Leif Madsen. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152807 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30Set up an example stdexten that preserves the original context and extension intilghman1-41/+44
the CDR. (Related to issue #13799) Reported by: davidw git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152765 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30Pay attention to the searchcontexts entry in voicemail.conf (related to AST-125)tilghman2-58/+95
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152727 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30Track down and fix annoying lock errorstilghman1-5/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152689 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-29If there was no named defined in a voicemail.conf mailboxmmichelson1-0/+4
entry, then app_directory would crash when attempting to read that entry from the file. We now check for the NULL or empty string properly so that there will be no crash. (closes issue #13804) Reported by: bluecrow76 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152646 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-29Merged revisions 152538 via svnmerge from murf3-25/+46
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r152538 | murf | 2008-10-28 23:19:04 -0600 (Tue, 28 Oct 2008) | 14 lines A little documentation cross-ref between features and dial and queue... I wasted some time (stupidly) trying to get the one-touch parking stuff working, because it didn't occur to me that I had to also have the corresponding options in the dial command! Duh! (In all this time, I never set this up before!) So, to keep some poor fool from suffering the same fate, I made the features.conf.sample file mention the corresponding opts in dial/queue; and the docs for dial/app specifically mention the corresponding decls in the feature.conf file. I hope this doesn't spoil some vast, eternal plan... ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152605 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-29Merged revisions 152539 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r152539 | russell | 2008-10-29 00:23:51 -0500 (Wed, 29 Oct 2008) | 7 lines Fix an incorrect usage of sizeof() (closes issue #13795) Reported by: andrew53 Patches: chan_sip_sizeof.patch uploaded by andrew53 (license 519) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152569 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-29Merged revisions 152535 via svnmerge from murf5-121/+164
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r152535 | murf | 2008-10-28 22:36:32 -0600 (Tue, 28 Oct 2008) | 46 lines The magic trick to avoid this crash is not to try to find the channel by name in the list, which is slow and resource consuming, but rather to pay attention to the result codes from the ast_bridge_call, to which I added the AST_PBX_NO_HANGUP_PEER_PARKED value, which now are returned when a channel is parked. Why? because CDR's aren't generated via parking, so nothing is needed, but if a transfer occurred, there are critical things I need. If you get AST_PBX_KEEPALIVE, then don't touch the channel pointer. If you get AST_PBX_NO_HANGUP_PEER, or AST_PBX_NO_HANGUP_PEER_PARKED, then don't touch the peer pointer. Updated the several places where the results from a bridge were not being properly obeyed, and fixed some code I had introduced so that the results of the bridge were not overridden (in trunk). All the places that previously tested for AST_PBX_NO_HANGUP_PEER now have to check for both AST_PBX_NO_HANGUP_PEER and AST_PBX_NO_HANGUP_PEER_PARKED. I tested this against the 4 common parking scenarios: 1. A calls B; B answers; A parks B; B hangs up while A is getting the parking slot announcement, immediately after being put on hold. 2. A calls B; B answers; A parks B; B hangs up after A has been hung up, but before the park times out. 3. A calls B; B answers; B parks A; A hangs up while B is getting the parking slot announcement, immediately after being put on hold. 4. A calls B; B answers; B parks A; A hangs up after B has been hung up, but before the park times out. No crash. I also ran the scenarios above against valgrind, and accesses looked good. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152536 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-28Merged revisions 152463 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r152463 | tilghman | 2008-10-28 17:32:34 -0500 (Tue, 28 Oct 2008) | 3 lines Quoting in the wrong direction (Fixes AST-107) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152467 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-28Add more polycom firmware files to static mapping dbailey1-0/+40
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152448 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-28Only re-add the io port if it was closed, otherwise reload causes a memorytilghman1-1/+2
leak. (closes issue #13785) Reported by: eliel Patches: chan_mgcp.c.patch uploaded by eliel (license 64) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152442 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-28Merged revisions 152368 via svnmerge from tilghman1-0/+7
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r152368 | tilghman | 2008-10-28 12:04:56 -0500 (Tue, 28 Oct 2008) | 8 lines Reset all DIAL variables back to blank, in case Dial is called multiple times per call (which could otherwise lead to inconsistent status reports). (closes issue #13216) Reported by: ruddy Patches: 20081014__bug13216.diff.txt uploaded by Corydon76 (license 14) Tested by: ruddy ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152369 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-27Merged revisions 152286 via svnmerge from jpeeler1-2/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r152286 | jpeeler | 2008-10-27 18:28:49 -0500 (Mon, 27 Oct 2008) | 2 lines Buffer policy setting for half is not needed. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152287 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-27Merged revisions 152215 via svnmerge from tilghman1-0/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r152215 | tilghman | 2008-10-27 16:32:00 -0500 (Mon, 27 Oct 2008) | 6 lines Inherit ALL elements of CallerID across a local channel. (closes issue #13368) Reported by: Peter Schlaile Patches: 20080826__bug13368.diff.txt uploaded by Corydon76 (license 14) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152216 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-27Set ARGC in subroutines with the number of arguments passed.tilghman1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152174 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-27Oops, only delete the ARG variables once upon release. The following sectiontilghman1-8/+0
would have removed them again (removing variables from 2 stack frames, instead of just one). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152134 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-27Remove options argument parsing/syntax (it isn't used any longer)qwell1-6/+2
(closes issue #13789) Reported by: IgorG Patches: app_transfer.c.diff uploaded by IgorG (license 20) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152132 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-26Merged revisions 152059 via svnmerge from seanbright1-4/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r152059 | seanbright | 2008-10-26 16:23:36 -0400 (Sun, 26 Oct 2008) | 7 lines Since passing \0 as the second argument to strchr is valid (and will match the trailing \0 of a string) we need to check that first, otherwise we end up with incorrect results. Fix suggested by reporter. (closes issue #13787) Reported by: meitinger ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152060 f38db490-d61c-443f-a65b-d21fe96a405b