aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_playback.c
AgeCommit message (Collapse)AuthorFilesLines
2008-04-19Ensure that help text terminates with a newlinetilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@114299 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-27These small documentation updates made in response to a query inmurf1-0/+2
asterisk-users, where a user was using Playback, but needed the features of Background, and had no idea that Background existed, or that it might provide the features he needed. I thought the best way to avert these kinds of queries was to provide "See Also" references in all three of "Background", "Playback", "WaitExten". Perhaps a project to do this with all related apps is in order. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@111391 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-26After issuing a "say load new", if a caller hangs up during the middle of ↵mmichelson1-1/+5
playback of a number, app_playback will continue to try to play the remaining files. With this change, no more files will be played back upon hangup. (closes issue #11345, reported and patched by IgorG) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@89618 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-26After issuing a "say load new" tons of warning messages are printedmmichelson1-4/+0
out to the CLI every time do_say in app_playback is called. Removing these warnings git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@89616 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-07Directly load say.conf in load_module instead of calling the reload ↵file1-1/+1
function. (issue #8946 reported by junky) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@53399 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-05Ensure say_cfg is NULL when the module is loaded. (issue #8946 reported by ↵file1-1/+1
junky) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@53152 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-05Unregister Playback CLI commands as well as dialplan application. (issue ↵file1-0/+2
#8946 reported by junky) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@53150 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-13Move say.conf existence check to do_say function since it is called from ↵file1-5/+3
multiple places (issue #8144 reported by kshumard) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@45051 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-28Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka)file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@43933 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-27Fix an issue with PLAYBACKSTATUS not being set under certain circumstances.qwell1-3/+4
Fix a minor issue, to make it use the filenames that were parsed, instead of the entire argument string. Fix Background() to return -1 like Playback(), if no args are specified. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@43803 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18merge qwell's CLI verbification workkpfleming1-3/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43212 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-22/+13
- 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-06-13destroy the loaded say.conf on module unloadrussell1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33786 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵kpfleming1-5/+4
again :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-29remove an explicit constant;rizzo1-1/+5
add a comment on the need to sort patterns in the standard way. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30700 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10support reload say.conf to ease testingrizzo1-1/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26529 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10remove almost all of the checks of the result from ast_strdupa() or alloca().russell1-4/+1
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-04-19add experimental code for new-style "say" application.rizzo1-3/+323
The rules for spelling out numbers and dates are in the config file "say.conf", which can be edited to implement national or even local language rules. The new code can be enabled through the cli command 'say load new' while the old code can be restored with 'say load old' Eventually, this code should go to a better place, but for the time being we keep here as it provides very similar functions. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21421 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14This rather large commit changes the way modules are loaded. rizzo1-11/+6
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-08since the module API is changing, it's a good time to const-ify the ↵kpfleming1-2/+2
description() and key() return values git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15remove the uses of the deprecated STANDARD_LOCAL_USERrussell1-2/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10241 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21on this pass, only remove duplicate log messagesrussell1-4/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8403 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21revert my pass through the tree to remove checks of the result of ast_strduparussell1-0/+4
(revisions 8378 through 8381) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8387 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21remove lots of useless checks of the result of ast_strduparussell1-4/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8379 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-08Merge playback cleanups (bug #6163)markster1-17/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30update doxygen docs to specify authorsrussell1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-04convert most of the option_*'s to a single ast_flags structure. Also, fix somerussell1-1/+1
formatting, remove some unnecessary casts, and other little code cleanups. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7331 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 ↵kpfleming1-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-15issue #5752kpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7102 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08make app_queue 1.2 jump compliant (issue #5580)russell1-0/+1
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-07issue #5640 with minor modskpfleming1-15/+35
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6999 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-07application doc updatekpfleming1-3/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6992 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06issue #5605russell1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6979 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26remove unnecessary checks before calls to ast_strlen_zerorussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24Doxygen documentation update from oej (issue #5505)russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-19Massive cleanups to applications for LOCAL_USER handling and some other things.russell1-2/+13
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-18it's a good idea to unregister everything before calling ↵russell1-1/+6
STANDARD_HANGUP_LOCALUSERS git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6828 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)kpfleming1-5/+16
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-07convert a bunch of apps to use ast_goto_if_exists() (issue #5138)kpfleming1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6533 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06the last round of file version tagskpfleming1-2/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5867 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵kpfleming1-8/+8
(bug #4058) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-10Allow playback for multiple files (bug #3749)markster1-19/+27
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5157 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-26Add n+101 jump if file does not exist (bug #2722)markster1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4099 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-19Fix signalling for GR303 FXSKS CPE so we can look like a concentratormarkster1-8/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3476 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22Remove pthread.h from source. We should be using asterisk/lock.h everywhere ↵citats1-1/+0
instead (except in asterisk/lock.h). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3277 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-09More ast_strlen_zero changescitats1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2930 f38db490-d61c-443f-a65b-d21fe96a405b
2002-11-11Version 0.3.0 from FTPmarkster1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@546 f38db490-d61c-443f-a65b-d21fe96a405b
2002-07-12Version 0.2.0 from FTPmarkster1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@484 f38db490-d61c-443f-a65b-d21fe96a405b
2002-05-13Version 0.1.12 from FTPmarkster1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@446 f38db490-d61c-443f-a65b-d21fe96a405b
2001-11-10Version 0.1.10 from FTPmarkster1-6/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@386 f38db490-d61c-443f-a65b-d21fe96a405b