[Asterisk-Dev] couldn't hear anything while playing file

Brian West brian.west at mac.com
Wed Aug 17 18:48:52 MST 2005


Putting an "Answer" in your dialplan before calling voicemail/ 
voicemailmain would have accomplished the same thing.  But both  
Playback and VoiceMail/VoiceMailMain contain that code to answer if  
the channel isn't up already.

/b

On Aug 17, 2005, at 12:05 PM, Timur V. Elzhov wrote:

> On Wed, Aug 17, 2005 at 06:57:00PM +0400, Timur V. Elzhov wrote:
>
>
>> So all the seem OK, but, I hear nothing :-/ (sure, any of that  
>> file is
>> successfully played with "play" command.)
>>
>
> Well, the problem was solved by adding
>
>   if (chan->_state != AST_STATE_UP)
>       ast_answer(chan);
>
> before playing functions.
> Thanks.
>
> -- 
> Best regards,
> Timur Elzhov
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>




More information about the asterisk-dev mailing list