mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
dom mar 16 23:37:23 CET 2003
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user