diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-30 15:42:54 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-30 15:42:54 +0000 |
commit | b31cbab37c74812bdfb075ab3ae233c149db36bf (patch) | |
tree | 6653ffd8733a07f110c65432d39df1c8b8eb01b9 /apps | |
parent | acb751fd0957b93bda94d50afb6cd63afaf732e7 (diff) |
Get trunk to compile
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101224 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_rtppage.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/apps/app_rtppage.c b/apps/app_rtppage.c index 238e12c7e..f4d92a777 100644 --- a/apps/app_rtppage.c +++ b/apps/app_rtppage.c @@ -137,13 +137,6 @@ static int rtppage_exec(struct ast_channel *chan, void *data) uint16_t rtpflags = 0; int ttl = 0; int pagetype = 0; - AST_LIST_HEAD(, mcast_group) activegroups; - - /* init active groups */ - activegroups.first = NULL; - activegroups.last = NULL; - activegroups.lock = AST_MUTEX_INIT_VALUE; - /* you can specify three arguments: * 1) pagetype (0 = direct, 1 = multicast) * 2) groups, e.g. NameOfGroup or Name1&Name2 etc) / or ip:port in case of direct @@ -155,6 +148,9 @@ static int rtppage_exec(struct ast_channel *chan, void *data) AST_APP_ARG(groups); AST_APP_ARG(codec); ); + AST_LIST_HEAD(, mcast_group) activegroups; + + AST_LIST_HEAD_INIT(&activegroups); /* make sure there is at least one parameter */ if (ast_strlen_zero(data)) { |