aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_indications.c
diff options
context:
space:
mode:
authormatteo <matteo@f38db490-d61c-443f-a65b-d21fe96a405b>2003-03-16 22:37:31 +0000
committermatteo <matteo@f38db490-d61c-443f-a65b-d21fe96a405b>2003-03-16 22:37:31 +0000
commit342cf00fb74d7832598ad2431b3338512273959e (patch)
tree42e44ab95928950f65a80b2dd298dc79f9b82a8e /res/res_indications.c
parent40b9926da3752f8e6f5d1a23d4dd8ae8655df2b1 (diff)
dom mar 16 23:37:23 CET 2003
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@647 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_indications.c')
-rwxr-xr-xres/res_indications.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/res/res_indications.c b/res/res_indications.c
index 04b0d6a5a..3ed4c088d 100755
--- a/res/res_indications.c
+++ b/res/res_indications.c
@@ -192,9 +192,9 @@ static int handle_playtones(struct ast_channel *chan, void *data)
}
ts = ast_get_indication_tone(chan->zone, (const char*)data);
if (ts && ts->data[0])
- res = ast_playtones_start(chan, 0, ts->data);
+ res = ast_playtones_start(chan, 0, ts->data, 0);
else
- res = ast_playtones_start(chan, 0, (const char*)data);
+ res = ast_playtones_start(chan, 0, (const char*)data, 0);
if (res)
ast_log(LOG_NOTICE,"Unable to start playtones\n");
return res;
@@ -212,7 +212,7 @@ static int handle_stopplaytones(struct ast_channel *chan, void *data)
/*
* Load module stuff
*/
-static int ind_load_module()
+static int ind_load_module(void)
{
struct ast_config *cfg;
struct ast_variable *v;