[svn-commits] russell: branch russell/events r73847 - /team/russell/events/apps/app_meetme.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Sat Jul 7 23:34:31 CDT 2007
Author: russell
Date: Sat Jul 7 23:34:31 2007
New Revision: 73847
URL: http://svn.digium.com/view/asterisk?view=rev&rev=73847
Log:
change MeetMe to include the state the conf has changed to
Modified:
team/russell/events/apps/app_meetme.c
Modified: team/russell/events/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/team/russell/events/apps/app_meetme.c?view=diff&rev=73847&r1=73846&r2=73847
==============================================================================
--- team/russell/events/apps/app_meetme.c (original)
+++ team/russell/events/apps/app_meetme.c Sat Jul 7 23:34:31 2007
@@ -1508,7 +1508,7 @@
/* This device changed state now - if this is the first user */
if (conf->users == 1)
- ast_device_state_changed("meetme:%s", conf->confno);
+ ast_devstate_changed(AST_DEVICE_INUSE, "meetme:%s", conf->confno);
ast_mutex_unlock(&conf->playlock);
@@ -2321,7 +2321,7 @@
/* Change any states */
if (!conf->users)
- ast_device_state_changed("meetme:%s", conf->confno);
+ ast_devstate_changed(AST_DEVICE_NOT_INUSE, "meetme:%s", conf->confno);
/* Return the number of seconds the user was in the conf */
snprintf(meetmesecs, sizeof(meetmesecs), "%d", (int) (time(NULL) - user->jointime));
More information about the svn-commits
mailing list