[Asterisk-Dev] missing information at "meetme list" / request for
minor changes
antonio at moreiras.eng.br
antonio at moreiras.eng.br
Sun Sep 19 18:14:40 MST 2004
I'm thinking in developing some kind of control to conferences at client
side (maybe at iaxcomm), maybe a mediated conference. I'm thinking in use
the manager interface to do part of the job (not another kind of
app_meetme, maybe some little changes and a bit of glue)...
But I become at first disapointed with the few information that a "meetme
list" command can bring to us... We can do "meetme lock" "meetme mute"
etc... but... no visible results at listing? no status?
What about something like that?
asterisk*CLI> meetme list 40
Conference 40 - 4/0 users/markedusers Locked
User #: 1 Chan: IAX2/5179 at 5179/13 ("moreiras at agestado.com.br" <5179> =>
*40) Adm noTalk noListen
User #: 2 Chan: IAX2/5179 at 5179/19 ("moreiras at agestado.com.br" <5179> =>
*50) User Talk Listen
User #: 3 Chan: Zap/1-1 (1168389000 => 3500) User Talk Listen Muted
User #: 4 Chan: IAX2/5179 at 5179/1 ("moreiras at agestado.com.br" <5179> =>
*60) User noTalk Listen
asterisk*CLI> meetme list conf-5179
Conference conf-5179 - 1/0 users/markedusers Dynamic
User #: 1 Chan: IAX2/5179 at 5179/22 ("moreiras at agestado.com.br" <5179> =>
*3) User Talk Listen
Code at app_meetme.c
/* Show all the users */
user = cnf->firstuser;
ast_cli(fd, "Conference %s - %d/%d users/markedusers %s
%s\n",cnf->confno,cnf->users,cnf->markedusers,(cnf->locked)?"Locked":"",(cnf->isdynamic)?"Dynamic":"");
while(user) {
ast_cli(fd, "User #: %i Chan: %s (%s => %s) %s %s
%s %s \n", user->user_no, user->chan->name,
user->chan->callerid, user->chan->dnid,
(user->userflags & CONFFLAG_ADMIN) ? "Adm" :
"User", (user->userflags & CONFFLAG_MONITOR) ?
"noTalk" : "Talk", (user->userflags &
CONFFLAG_TALKER) ? "noListen" : "Listen" ,
(user->adminflags & ADMINFLAG_MUTED) ? "Muted" :
"" );
user = user->nextuser;
}
return RESULT_SUCCESS;
What do you think? I think that to know the state of some of that flags is
essential (or I'm missing something in the way... is that information
somewhere else?? ). Caller and DNID can help too...
Well... again... what do you think?
Thanks and []'s
Moreiras.
--------------------------------------------------
Estadão - Internet com alta qualidade de conexão.
GANHE ACESSO GRATUITO à Internet do Estadão em
http://www.estadao.com.br/discador/
--------------------------------------------------
More information about the asterisk-dev
mailing list