[asterisk-dev] bad file prompt play
Chandrakant Solanki
solanki.chandrakant at gmail.com
Sat Dec 5 05:04:02 CST 2009
Hello
I have modified meetmemute action like, just add prompt file
static int meetmemute(struct mansession *s, const struct message *m, int
mute)
{
----
----
----
if (mute) { //1
if (!ast_streamfile(user->chan, "conf-muted",
user->chan->language)) {
ast_waitstream(user->chan, "");
}
user->adminflags |= ADMINFLAG_MUTED; /* request user
muting */
}
else { //0
user->adminflags &= ~(ADMINFLAG_MUTED | ADMINFLAG_SELFMUTED
| ADMINFLAG_T_REQUEST); /* request user unmuting */
if (!ast_streamfile(user->chan, "conf-unmuted",
user->chan->language)) {
ast_waitstream(user->chan, "");
}
}
-----
-----
}
when i execute meetmemute with meetme and usernum 1, user is muted but
prompt file play very bad.... is any body have idea....
--
Regards,
Chandrakant Solanki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20091205/557cbcb5/attachment.htm
More information about the asterisk-dev
mailing list