Eliel C. Sardanons
3873227e9d
Add LOCAL() function XML documentation.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-03 17:11:22 +00:00
Olle Johansson
d3517de987
Spaces to replace tabs...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-03 15:25:35 +00:00
Olle Johansson
204845843e
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.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-03 15:16:33 +00:00
Eliel C. Sardanons
4c3ce9b8a1
Add XML documentation for:
...
Functions
- IAXPEER()
- IAXVAR()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-03 13:33:58 +00:00
Eliel C. Sardanons
105a020b6f
Add XML documentation for:
...
Applications
- SIPDtmfMode()
- SIPAddHeader()
Functions
- SIP_HEADER()
- SIPPEER()
- SIPCHANINFO()
- CHECKSIPDOMAIN()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-03 12:35:05 +00:00
Kevin P. Fleming
191ffe5bce
when --without-<foo> is passed to the configure script, explicitly inform menuselect that the package was disabled by the user
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153787 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-03 12:26:35 +00:00
Eliel C. Sardanons
9167a2b5e1
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)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153747 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-03 01:01:25 +00:00
Kevin P. Fleming
a67790c6f5
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.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153709 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-02 23:34:39 +00:00
Russell Bryant
585899dbc0
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
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153652 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-02 20:06:03 +00:00
Kevin P. Fleming
2dc21e951b
fix one more warning missed because i did not have new enough libpri installed
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-02 19:39:41 +00:00
Kevin P. Fleming
60ef8fdae8
fix small bug introduced while cleaning up compiler warnings
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153618 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-02 19:09:41 +00:00
Kevin P. Fleming
ccdc38bb4e
mark this revision as merged manually
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153617 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-02 18:53:11 +00:00
Kevin P. Fleming
bd4eb070f3
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
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153616 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-02 18:52:13 +00:00
Eliel C. Sardanons
1e6864dd9d
Add IAX2Provision() application XML documentation.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-02 06:24:53 +00:00
Russell Bryant
27d225c693
validate-docs is a PHONY target
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-02 05:56:50 +00:00
Russell Bryant
44b84b3a14
Add a handy makefile target so that you can validate the documentation against the DTD
...
by running "make validate-docs"
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-02 05:55:46 +00:00
Russell Bryant
5528e210de
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
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153577 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-02 05:47:13 +00:00
Eliel C. Sardanons
ee6a480a6c
Add Flash() application XML documentation.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153543 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-02 05:10:22 +00:00
Eliel C. Sardanons
cdc31b1e5b
Fix a typo in the name of the application.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153541 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-02 04:57:02 +00:00
Sean Bright
3160f06f31
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.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-02 04:14:20 +00:00
Sean Bright
39cbb89947
Another little one.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153472 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-02 02:57:27 +00:00
Russell Bryant
2baafa6156
fix a typo (thanks sean)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153470 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-02 02:55:25 +00:00
Russell Bryant
6f314f4d42
Fix various spelling and grammatical issues in documentation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153468 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-02 02:50:33 +00:00
Russell Bryant
d7742120e9
- Use a for loop instead of a while loop
...
- Get rid of an unnecessary variable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-02 02:20:10 +00:00
Russell Bryant
ad533bc62b
Instead of doing a couple of strlen() calls each iteration of the loop, only do it once
...
at the beginning of the function
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153435 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-02 02:14:19 +00:00
Russell Bryant
981c2d03b6
Don't ignore the result of find_peer() when looking for a peer by IP in check_peer_ok().
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-01 23:46:12 +00:00
Russell Bryant
5b168ee34b
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
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-01 21:10:07 +00:00
Russell Bryant
1fef0f63bb
Ensure that the sip_pvt properly has its refcount incremented when the scheduler holds
...
a reference to it for session timer processing.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-01 20:41:38 +00:00
Sean Bright
0327f37d34
The default in chan_sip for notifyringing is yes, so update the sample
...
conf to reflect that.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153296 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-01 01:55:04 +00:00
Mark Michelson
d521ad9696
* Fixed timeout logic in the dialing API as setting timeouts
...
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: https://origsvn.digium.com/svn/asterisk/trunk@153223 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-31 20:05:46 +00:00
Terry Wilson
5fe37e47c6
Recent CDR fixes moved execution of the 'h' exten into the bridging code, so 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: https://origsvn.digium.com/svn/asterisk/trunk@153181 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-31 18:55:33 +00:00
Tilghman Lesher
46abb39ca2
Failover for func_odbc, allowing an INSERT query to be performed when the 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: https://origsvn.digium.com/svn/asterisk/trunk@153124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-31 17:18:49 +00:00
Tilghman Lesher
44b484195e
Merged revisions 153114 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@153122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-31 16:35:21 +00:00
Russell Bryant
511ce6b2bf
Use the ast_str API call to reset the string instead of manually editing its internals
...
(closes issue #13816 )
Reported by: eliel
Patches:
channel.c.patch uploaded by eliel (license 64)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153057 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-31 09:31:10 +00:00
Sean Bright
b018f80119
Merged revisions 152992 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@152993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 20:59:17 +00:00
Russell Bryant
d61cc3e1f6
Add a todo for a new timing API implementation that would work for Linux systems
...
as of kernel 2.6.25 and glibc 2.8
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 20:46:17 +00:00
Tilghman Lesher
1132628748
Merged revisions 152958 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@152969 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 20:35:46 +00:00
Tilghman Lesher
33f0058029
Merged revisions 152922 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@152923 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 19:45:52 +00:00
Russell Bryant
19f1e7e578
Fix the sip_peer reference count with respect to scheduler entries for
...
scheduling peer pokes, and scheduling peer poke expirations.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152920 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 19:40:15 +00:00
Russell Bryant
46a8b1deed
Fix the sip_peer reference count with respect to scheduler entries for
...
registration expirations.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 19:35:36 +00:00
Russell Bryant
694dd34413
Fix a bug in AST_SCHED_REPLACE_UNREF(). The reference count of the object
...
_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: https://origsvn.digium.com/svn/asterisk/trunk@152887 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 19:28:06 +00:00
Mark Michelson
c0b9b259ca
I just noticed this construct and thought it was
...
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: https://origsvn.digium.com/svn/asterisk/trunk@152879 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 19:23:16 +00:00
Russell Bryant
3d5b3249a8
Modify the documentation of the sip_registry struct
...
- 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: https://origsvn.digium.com/svn/asterisk/trunk@152877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 19:21:53 +00:00
Russell Bryant
be467d0cea
- spaces to tabs
...
- add some braces
- remove unnecessary cast
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 19:18:16 +00:00
Kevin P. Fleming
85f78531ce
Merged revisions 152811 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@152812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 16:54:29 +00:00
Kevin P. Fleming
4c83309c54
try to get this committed before the buildbot complains about a broken tree
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152810 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 16:53:11 +00:00
Kevin P. Fleming
10d36d9f34
fix a few small things found by using sparse
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 16:49:02 +00:00
Mark Michelson
de90c84b1a
After seeing another problem in #asterisk stemming from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@152807 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 16:38:19 +00:00
Tilghman Lesher
48d17a76d0
Set up an example stdexten that preserves the original context and extension in
...
the CDR.
(Related to issue #13799 )
Reported by: davidw
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152765 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 04:26:34 +00:00
Tilghman Lesher
77060afdac
Pay attention to the searchcontexts entry in voicemail.conf (related to AST-125)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152727 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 02:08:02 +00:00