[asterisk-dev] bad file prompt play

Chandrakant Solanki solanki.chandrakant at gmail.com
Sun Dec 6 00:02:07 CST 2009


Thanks 4 reply

But it is solved now...

On Sat, Dec 5, 2009 at 7:19 PM, santosh chintalwar <
santoshchintalwar at gmail.com> wrote:

> 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
>>
>
>
> _______________________________________________
> --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
>



-- 
Regards,

Chandrakant Solanki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20091206/b6b3f081/attachment.htm 


More information about the asterisk-dev mailing list