russell
b5963fa342
Add the ability to specify multiple prompts to the Read() dialplan application,
...
similar to Background() and Playback().
(issue #7897 , jsmith, with some modifications)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47408 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-10 03:59:48 +00:00
murf
6c89612673
As per ToDo list, I have made it so that Wait(), WaitExten(), Congestion(), Busy(), Read(), WaitForRing(), will now either actually handle a floating point argument as advertised, or has been upgraded to accept a floating point [timeout] arg.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44435 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-05 01:40:06 +00:00
file
e23dc303bc
Minor cleanup and make sure the tmp variable is clean
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42298 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07 18:54:36 +00:00
file
4eec1a091b
Set the variable even if the caller disconnects (issue #7896 reported by jsmith)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42262 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07 16:40:15 +00:00
murf
295a02c1ab
These small app documentation changes to app_dial and app_read will hopefully avert any more 7544 type bug reports\!
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42111 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-06 17:14:50 +00:00
kpfleming
8b0c007ad9
merge new_loader_completion branch, including (at least):
...
- restructured build tree and makefiles to eliminate recursion problems
- support for embedded modules
- support for static builds
- simpler cross-compilation support
- simpler module/loader interface (no exported symbols)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 02:11:39 +00:00
kpfleming
73c525e6e2
simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 18:54:56 +00:00
russell
d99b677f35
remove almost all of the checks of the result from ast_strdupa() or alloca().
...
As it turns out, all of these checks were useless, because alloca will never
return NULL.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26451 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 13:22:15 +00:00
rizzo
3664249356
This rather large commit changes the way modules are loaded.
...
As partly documented in loader.c and include/asterisk/module.h,
modules are now expected to return all of their methods and flags
into a structure 'mod_data', and are normally loaded with RTLD_NOW
| RTLD_LOCAL, so symbols are resolved immediately and conflicts
should be less likely. Only in a small number of cases (res_*,
typically) modules are loaded RTLD_GLOBAL, so they can export
symbols.
The core of the change is only the two files loader.c and
include/asterisk/module.h, all the rest is simply adaptation of the
existing modules to the new API, a rather mechanical (but believe
me, time and finger-consuming!) process whose detail you can figure
out by svn diff'ing any single module.
Expect some minor compilation issue after this change, please
report it on mantis http://bugs.digium.com/view.php?id=6968
so we collect all the feedback in one place.
I am just sorry that this change missed SVN version number 20000!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 14:08:19 +00:00
kpfleming
e4880150b1
since the module API is changing, it's a good time to const-ify the description() and key() return values
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08 22:01:19 +00:00
russell
c72e5e1b38
remove the uses of the deprecated STANDARD_LOCAL_USER
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10241 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15 20:11:56 +00:00
russell
252fb982f4
on this pass, only remove duplicate log messages
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8403 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 20:57:06 +00:00
russell
b14bdc5a12
revert my pass through the tree to remove checks of the result of ast_strdupa
...
(revisions 8378 through 8381)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8387 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 17:50:04 +00:00
russell
3f2c7248c6
remove lots of useless checks of the result of ast_strdupa
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8379 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 08:13:12 +00:00
mogorman
a2675c0d34
oops minor formatting fixes, and taking out
...
debug message.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7821 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-05 21:04:06 +00:00
mogorman
a35b84bd06
Added feature from bug #5573 and updated app_read
...
to be able to use indication tones, and argument
parsing code. Documented possible problems this might
cause an older dialplans in UPGRADE.txt
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7818 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-05 19:55:03 +00:00
russell
ab6566173e
update doxygen docs to specify authors
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30 21:18:06 +00:00
kpfleming
24c1e3c222
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29 18:24:39 +00:00
russell
465d1d7712
make app_queue 1.2 jump compliant (issue #5580 )
...
add missing includes of stdio.h
remove some unused and duplicate headers
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7026 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 04:48:00 +00:00
kpfleming
e61f71745f
application doc update
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6992 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-07 22:01:22 +00:00
russell
d3ddc001a2
issue #5605
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6979 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06 15:09:47 +00:00
kpfleming
ae35e4e069
major update to arg/option parsing APIs and documentation
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6953 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-03 21:19:11 +00:00
russell
2a1fd152ed
remove unnecessary checks before calls to ast_strlen_zero
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 19:48:14 +00:00
russell
2c3b3edc86
Doxygen documentation update from oej (issue #5505 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24 20:12:06 +00:00
russell
58818426d6
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: http://svn.digium.com/svn/asterisk/trunk@6832 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-19 18:19:02 +00:00
russell
2c83f05ebb
it's a good idea to unregister everything before calling STANDARD_HANGUP_LOCALUSERS
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6828 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-18 22:52:21 +00:00
kpfleming
95fe2b8fd4
update MANY more files with proper copyright/license info (thanks Ian!)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 20:46:50 +00:00
kpfleming
09ab7d67e4
make CLI output use singular/plural when appropriate (bug #4654 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6047 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-07 22:32:20 +00:00
kpfleming
8dc28b2439
the last round of file version tags
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5867 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 22:39:32 +00:00
russell
792fde9ad6
fix timeout option
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5806 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-01 17:23:50 +00:00
kpfleming
b7e6d89aa2
don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5533 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-29 17:00:33 +00:00
kpfleming
31e8dcf4fe
use double-quotes instead of angle-brackets for non-system include files (bug #4058 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21 06:02:45 +00:00
markster
4a7019a16a
Merge Russell's formatting patch (bug #3838 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5234 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-23 05:56:32 +00:00
markster
9f592c60af
Fix misspellings of separate (bug #3607 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5034 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-16 02:58:18 +00:00
anthm
76347ff023
let's see how many times we can commit app_read in 1 day =D
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4594 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-29 19:20:18 +00:00
anthm
efd35db371
fix compiler warnings
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4593 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-29 18:51:33 +00:00
markster
457223b7dc
Various oej fixes (bug #3013 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4590 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-29 13:42:14 +00:00
markster
f4cfc00dda
Merge anthm's app_read addition, somewhat modified (bug #3013 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4587 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-29 13:06:53 +00:00
markster
d2eb44eec2
Fix silly read problem which would hang up if nobody called (bug #3042 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4450 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-15 04:27:35 +00:00
markster
3e967af0b5
Fix both app_read and underlying read issue (bug #2352 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3711 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-02 13:52:58 +00:00
markster
14feeee6dc
Read/Record updates (bug #1947 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3363 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-30 16:04:28 +00:00
citats
31e064cf03
Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3277 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22 19:32:52 +00:00
markster
32b085da10
Fix app_read to return string even if not # terminated (bug #1769 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3131 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-02 18:15:24 +00:00
citats
9bd61aa747
More ast_strlen_zero changes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2930 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-09 07:51:44 +00:00
citats
b38953a8f3
More app_read.c fixes (bug 1261)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2518 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-22 03:46:19 +00:00
jeremy
90d10fafd9
Enhance to accept a maximum of N digits. Bug #1261
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2509 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-21 00:33:05 +00:00
markster
ebe2223e49
Store read data in a variable
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1716 f38db490-d61c-443f-a65b-d21fe96a405b
2003-11-10 04:54:02 +00:00
markster
d4979e8fca
Add "read" application
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1715 f38db490-d61c-443f-a65b-d21fe96a405b
2003-11-10 04:47:43 +00:00