Re: Свой медиа файл

От: Dmitry Akindinov <CGatePro_at_mx_ru>
Дата: Tue 15 Aug 2006 - 15:49:59 MSD

Viktor wrote:
>
> Добрый день, есть вопрос:
>
> Хочу, что бы pbx говорила по-русски
> Сделал файлик pbx.sppr:
> //
> // Sample: ReadInput()
> // Accept an incoming call (stop if it's not possible).
> // Play the PressPound media file.
> // Wait for any input for up to 5 seconds.
> // If the "pound" ("#") symbol was entered,
> // play the Good media file.
> // Otherwise,
> // play the Bad media file.
> // Stop.
> //
> entry Main is
> if AcceptCall() != null then stop; end if;
> PlayFile("welcome");
> PlayFile(ReadInput(5) == "#" ? "Good" : "Bad");
> end entry;
>
> записал файлики welcome.wav Good.wav и Bad.wav
> в формате PCM 16-bit

Моно?
8 бит можете попробовать?

> все это дело выложил куда нужно.... а в ответ тишина :(
>
> в логах пишет PBXLEG-000036 program aborted. Error code=WAVE file format error
>
> чего делать?

-- 
Best regards,
Dmitry Akindinov
Получено Tue Aug 15 11:50:05 2006

Этот архив был сгенерирован hypermail 2.1.8 : Tue 15 Aug 2006 - 16:13:03 MSD