diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2001-04-10 17:18:04 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2001-04-10 17:18:04 +0000 |
commit | 1ab2e9f4be0b381e9c28b476204c0e5b1429c57f (patch) | |
tree | 7f208ce1324151706ea9ca01ce9193a92e080c69 /apps/app_playback.c | |
parent | 6612ac7b39c7551a720bf6bce88585626cf7b806 (diff) |
Version 0.1.8 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_playback.c')
-rwxr-xr-x | apps/app_playback.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/app_playback.c b/apps/app_playback.c index 945686b2c..47e096bb9 100755 --- a/apps/app_playback.c +++ b/apps/app_playback.c @@ -25,6 +25,13 @@ static char *tdesc = "Trivial Playback Application"; static char *app = "Playback"; +static char *synopsis = "Play a file"; + +static char *descrip = + "Playback(filename): Plays back a given filename (do not put extension).\n" + "Returns -1 if the channel was hung up, or if the file does not exist.\n" + "Returns 0 otherwise.\n"; + STANDARD_LOCAL_USER; LOCAL_USER_DECL; @@ -61,7 +68,7 @@ int unload_module(void) int load_module(void) { - return ast_register_application(app, playback_exec); + return ast_register_application(app, playback_exec, synopsis, descrip); } char *description(void) |