mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 00:24:05 +00:00
Revert unnecessary indications API change from rev 122314
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@168561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -107,7 +107,7 @@ static int func_channel_write(struct ast_channel *chan, char *function,
|
||||
else if (!strcasecmp(data, "musicclass"))
|
||||
locked_string_field_set(chan, musicclass, value);
|
||||
else if (!strcasecmp(data, "tonezone")) {
|
||||
struct ind_tone_zone *new_zone;
|
||||
struct tone_zone *new_zone;
|
||||
if (!(new_zone = ast_get_indication_zone(value))) {
|
||||
ast_log(LOG_ERROR, "Unknown country code '%s' for tonezone. Check indications.conf for available country codes.\n", value);
|
||||
ret = -1;
|
||||
|
Reference in New Issue
Block a user