[asterisk-dev] bad file prompt play

santosh chintalwar santoshchintalwar at gmail.com
Sat Dec 5 07:49:18 CST 2009


What codec you are using?, On which codec call is accpted ? check for the
transcoding !

Santosh Chintalwar
+91 9949695124


On Sat, Dec 5, 2009 at 4:34 PM, Chandrakant Solanki <
solanki.chandrakant at gmail.com> wrote:

> 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
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20091205/18675e18/attachment.htm 


More information about the asterisk-dev mailing list