Kevin P. Fleming
426360e389
major update to arg/option parsing APIs and documentation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-03 21:19:11 +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
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
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
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
Kevin P. Fleming
5da915dcfd
update MANY more files with proper copyright/license info (thanks Ian!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 20:46:50 +00:00
Kevin P. Fleming
f268ea2b3c
make CLI output use singular/plural when appropriate (bug #4654 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-07 22:32:20 +00:00
Kevin P. Fleming
c0b1e88e8a
the last round of file version tags
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:39:32 +00:00
Russell Bryant
9d379a36d0
fix timeout option
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5806 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-01 17:23:50 +00:00
Kevin P. Fleming
8634ef9e4a
don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 17:00:33 +00:00
Kevin P. Fleming
1f9ab2380a
use double-quotes instead of angle-brackets for non-system include files (bug #4058 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21 06:02:45 +00:00
Mark Spencer
730194d609
Merge Russell's formatting patch (bug #3838 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-23 05:56:32 +00:00
Mark Spencer
f9222e7e4b
Fix misspellings of separate (bug #3607 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-16 02:58:18 +00:00
Anthony Minessale II
5d2654205d
let's see how many times we can commit app_read in 1 day =D
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4594 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-29 19:20:18 +00:00
Anthony Minessale II
8ec0f8abf2
fix compiler warnings
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4593 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-29 18:51:33 +00:00
Mark Spencer
8aff4b2d95
Various oej fixes (bug #3013 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4590 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-29 13:42:14 +00:00
Mark Spencer
118b47674f
Merge anthm's app_read addition, somewhat modified (bug #3013 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-29 13:06:53 +00:00
Mark Spencer
706bb6f067
Fix silly read problem which would hang up if nobody called (bug #3042 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-15 04:27:35 +00:00
Mark Spencer
b813a5f3fa
Fix both app_read and underlying read issue (bug #2352 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-02 13:52:58 +00:00
Mark Spencer
64439e0692
Read/Record updates (bug #1947 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3363 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-30 16:04:28 +00:00
James Golovich
f5c18f62a1
Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22 19:32:52 +00:00
Mark Spencer
37ae3cd701
Fix app_read to return string even if not # terminated (bug #1769 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3131 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-02 18:15:24 +00:00
James Golovich
8ef3b1544b
More ast_strlen_zero changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-09 07:51:44 +00:00
James Golovich
25d74e0334
More app_read.c fixes (bug 1261)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-22 03:46:19 +00:00
Jeremy McNamara
730ca5f9b1
Enhance to accept a maximum of N digits. Bug #1261
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2509 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-21 00:33:05 +00:00
Mark Spencer
d3850ae0e7
Store read data in a variable
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-10 04:54:02 +00:00
Mark Spencer
795767ee49
Add "read" application
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-10 04:47:43 +00:00