Kevin P. Fleming
ce6b727c2c
add macros for explicit module usecount increment/decrement
...
remove unnecessary locking around setting usecount to zero
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6876 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 16:33:09 +00:00
Kevin P. Fleming
79c0865338
add 'tail' pointer to list heads, so that common 'insert-to-tail' operations can run more quickly
...
add option for list heads without embedded locks
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 16:32:08 +00:00
Kevin P. Fleming
0d34142f7e
add API function to perform volume adjustment on a frame of SLINEAR data
...
documentation cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6874 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 16:20:44 +00:00
Kevin P. Fleming
d47e839c32
add some macros to simplify application argument parsing
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6873 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 16:19:43 +00:00
Kevin P. Fleming
59584f5744
fix compiler warnings
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6872 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 16:19:04 +00:00
Kevin P. Fleming
aca0431935
properly document this morning's changes to 'ignoreregexpire'
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 16:00:09 +00:00
Mark Spencer
de47e29d09
Merge highly modified fullcontact in realtime sip patch (bug #4832 , heavy mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6870 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 13:37:31 +00:00
Mark Spencer
f8c90f03b8
Fix CDR crash (bug #5525 and many others)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-27 21:57:53 +00:00
Russell Bryant
7deac2300a
strncpy to ast_copy_string
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-27 02:48:56 +00:00
Russell Bryant
395f81d734
strncpy to ast_copy_string
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-27 02:42:05 +00:00
Russell Bryant
9ddf0e4dce
Remove unnecessary checks before calls to ast_strlen_zero. Also, change
...
some places where strlen is used instead of ast_strlen_zero
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-27 02:19:37 +00:00
Russell Bryant
3332a8acd1
clean up a lot of doxygen errors and warnings (issue #5522 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 23:11:36 +00:00
Russell Bryant
5187de9ab6
remove unnecessary checks before calls to ast_strlen_zero
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 19:48:14 +00:00
Russell Bryant
dbc5c06c94
Add Claude Patry to the Credits. Thank you Junk-Y!!!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6863 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 19:09:47 +00:00
Russell Bryant
a736096e0b
change ast_strlen_zero to also check for the string to be defined
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6862 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 18:54:24 +00:00
Russell Bryant
b5326f99fc
use ast_skip_blanks in pbx_ael
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 18:03:44 +00:00
Russell Bryant
08e32630ad
use double quotes for asterisk header ...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6860 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 17:36:53 +00:00
Russell Bryant
87d4ff6fcd
remove duplicate header
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6859 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 17:33:29 +00:00
Russell Bryant
d57fb0b655
doxygenify the comments for data structures and defines in chan_iax2
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6858 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 17:07:51 +00:00
Russell Bryant
f1b14773dd
use an enum instead of #define'd integers in a couple of places
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6857 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 16:18:25 +00:00
Russell Bryant
052db5af42
fix up arguments to AgentCallbackLogin so that the options string and the
...
specified extension do not conflict. This also makes the application not
assume that the extension is numeric. While we're at it, include some code
cleanup - strcpy to ast_copy_string, and cleanups to LOCAL_USER handling.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 16:16:05 +00:00
Jim Dixon
7810f546f3
Many changes and new stuff including Reverse Autopatch and completely new authentication system no longer requiring static IP address assignment.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 16:00:38 +00:00
Russell Bryant
f622612bee
look for the last '-' in the channel name instead of the first (issue #5514 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 15:34:34 +00:00
Russell Bryant
6262e9ec9f
fix misplaced } (issue #5518 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 15:02:23 +00:00
Russell Bryant
6324072247
more doxygenification (issue #5513 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 13:03:17 +00:00
Mark Spencer
c7db73070a
Add missing documentation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 04:01:11 +00:00
Mark Spencer
0b36348b12
Allow limitation by loadavg not just calls (should be BSD friendly)...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 03:58:32 +00:00
Russell Bryant
f2dcf45a98
merge changes to doxygen config (issue #5505 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-25 13:19:12 +00:00
Russell Bryant
f31f09bf53
there is a variable defined for 'install', might as well use it ...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-25 12:47:54 +00:00
Russell Bryant
3453e3efa5
Doxygen documentation update from oej (issue #5505 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24 20:12:06 +00:00
Mark Spencer
c3226a226a
Fix segfault when building peer based on IP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-23 18:11:54 +00:00
Mark Spencer
60e9a6edf7
Fix app_disa to set the proper variable before goign to invalid (bug #5439 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-23 01:39:40 +00:00
Mark Spencer
5f78c43950
Fix max forwards interoperability (bug #5474 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-23 01:31:17 +00:00
Russell Bryant
c3c96a7461
fix reload problem - unload_module was not setting connected to 0 (issue #5498 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-22 15:28:56 +00:00
Russell Bryant
4cc2618bd1
fix output of 'zap show status' to line up properly (issue #5491 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6842 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-22 12:15:07 +00:00
Matthew Fredrickson
0f850c2ffb
Add user to user ie transmission support in chan_zap.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-21 21:23:16 +00:00
Mark Spencer
f5d5814f5f
Fix segfault in CVS head (sorry about that)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6839 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-21 14:09:03 +00:00
Mark Spencer
e60ab6d916
Be sure to avoid octal interpretations of IP's (bug #5477 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6838 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-21 04:09:23 +00:00
Mark Spencer
e973e76c9f
Fix DISA documentation (bug #5461 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-21 04:00:13 +00:00
Mark Spencer
5ef59963d0
Fix timeout > 600000 on Linux x86-32
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6836 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-20 22:45:47 +00:00
Russell Bryant
56135f210f
silence compiler warnings when ZT_TONEDETECT is not defined (issue #5470 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6835 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-20 16:50:18 +00:00
Russell Bryant
b4e0cedf94
fix up help text (issue #5479 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6834 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-20 16:42:53 +00:00
Jim Dixon
e726a13036
Allow for obtaining IAX2 call peer (endpoint) IP address with IAXPEER(CURRENTCHAN) function
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6833 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-19 18:19:22 +00:00
Russell Bryant
4aa7912057
Massive cleanups to applications for LOCAL_USER handling and some other things.
...
In general, LOCAL_USER_ADD/REMOVE should be the first/last thing called in an
application. An exception is if there is some *fast* setup code that might
halt the execution of the application, such as checking to see if an argument
exists.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-19 18:19:02 +00:00
Mark Spencer
e5afdbbe16
Fix res_musiconhold lock
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-19 03:51:25 +00:00
Mark Spencer
e603dcedb5
Perform some extra checks before performing masquerades
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-19 03:45:49 +00:00
Mark Spencer
44640b39cf
Fix small typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-18 23:58:36 +00:00
Russell Bryant
29829640bf
it's a good idea to unregister everything before calling STANDARD_HANGUP_LOCALUSERS
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6828 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-18 22:52:21 +00:00
Russell Bryant
907fd55883
add missing STANDARD_HANGUP_LOCALUSERS
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6827 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-18 21:06:48 +00:00
Mark Spencer
b1cee61174
Fix various documentation issues (bugs #5464-5467)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6826 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-18 21:06:38 +00:00