[asterisk-users] Inquiry:Asterisk sound files

hadi motamedi motamedi24 at gmail.com
Tue Sep 8 04:28:52 CDT 2009


Please find below the error message that I  am receiving on my Asterisk :
"-- Executing [s-NOANSWER at macro-dialuser:4] Playback("Zap/95-1", "FR00001")
in new stack
[Sep  7 11:11:34] WARNING[7624]: format_wav.c:140 check_header:  Not a wav
file 6
[Sep  7 11:11:34] WARNING[7624]: file.c:316 fn_wrapper:  Unable to open
format wav
WARNING[7624]: file.c:866 ast_streamfile:  Unable to open FR00001 (format
0x48 (alaw|slin)):
WARNING[7624]: app_playback.c:437 playback_exec:  ast_streamfile failed on
Zap/95-1 for FR00001
"



On Tue, Sep 8, 2009 at 9:34 AM, Roel Sarmiento <
technomage.scratchbuilt at gmail.com> wrote:

> is there an error on the asterisk cli when you're playing the sound file?
>
>
> On Tue, Sep 8, 2009 at 4:19 PM, hadi motamedi <motamedi24 at gmail.com>wrote:
>
>> Thank you . Please find below my original and converted sound files
>> attributes on my Asterisk :
>> "
>> #file FR00001.wav
>> FR00001.wav: RIFF (little-endian) data, WAVE audio, ITU G.711 A-law, mono
>> 8000 Hz
>> #file FR00001.gsm
>> FR00001.gsm: data
>> "
>> Can you please let me know what is the problem as the "sox" does not
>> generate error message when converting ?
>>
>>
>>
>> On Tue, Sep 8, 2009 at 7:57 AM, Roel Sarmiento <
>> technomage.scratchbuilt at gmail.com> wrote:
>>
>>> I'm not quite sure but i think if you converted the file ex: file.wav
>>> using sox it should produce something like file.ulaw, file.alaw, file.gsm.
>>> Check if its there, then check the translation if you have the codec
>>> activated, it worked for me before.
>>>
>>>
>>> On Tue, Sep 8, 2009 at 2:40 PM, hadi motamedi <motamedi24 at gmail.com>wrote:
>>>
>>>> Thank you . Please be informed that the *.wav files cannot be played on
>>>> my Asterisk so I had to convert to *.gsm file format .I tried to convert to
>>>> *.gsm by making use of "sox" but the new announcement cannot be heard .
>>>>
>>>>
>>>> On Tue, Sep 8, 2009 at 7:22 AM, Roel Sarmiento <
>>>> technomage.scratchbuilt at gmail.com> wrote:
>>>>
>>>>> check the file formats first if .wav is listed there and if it is, then
>>>>> check the translation if its activated.
>>>>>
>>>>>
>>>>> On Tue, Sep 8, 2009 at 2:05 PM, hadi motamedi <motamedi24 at gmail.com>wrote:
>>>>>
>>>>>> No . I  don't receive any error message after converting from *.wav to
>>>>>> *.gsm but the new announcements cannot be heared (when trying for playback).
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Sep 8, 2009 at 6:37 AM, Roel Sarmiento <
>>>>>> technomage.scratchbuilt at gmail.com> wrote:
>>>>>>
>>>>>>> Do you have an error message?
>>>>>>>
>>>>>>>   On Tue, Sep 8, 2009 at 1:29 PM, hadi motamedi <
>>>>>>> motamedi24 at gmail.com> wrote:
>>>>>>>
>>>>>>>>   Dear All
>>>>>>>> Can you please do me favor and let me know why my converted sound
>>>>>>>> files are not being played and heared on my Asterisk ? Please find attached
>>>>>>>> my sound files . Actually , I had them recorded as *.wav files and I tried
>>>>>>>> to convert them to *.gsm as the followings :
>>>>>>>> #sox FR00003.wav FR00003.gsm
>>>>>>>> Then I put my special announcements under /var/lib/asterisk/sounds
>>>>>>>> but these converted announcement files cannot be heared on my Asterisk . Can
>>>>>>>> you please let me know what is the problem ?
>>>>>>>> Regards
>>>>>>>> H.Motamedi
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com--
>>>>>>>>
>>>>>>>> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
>>>>>>>> Register Now: http://www.astricon.net
>>>>>>>>
>>>>>>>> asterisk-users mailing list
>>>>>>>> To UNSUBSCRIBE or update options visit:
>>>>>>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com--
>>>>>>>
>>>>>>> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
>>>>>>> Register Now: http://www.astricon.net
>>>>>>>
>>>>>>> asterisk-users mailing list
>>>>>>> To UNSUBSCRIBE or update options visit:
>>>>>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>>>>
>>>>>> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
>>>>>> Register Now: http://www.astricon.net
>>>>>>
>>>>>> asterisk-users mailing list
>>>>>> To UNSUBSCRIBE or update options visit:
>>>>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>>>
>>>>> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
>>>>> Register Now: http://www.astricon.net
>>>>>
>>>>> asterisk-users mailing list
>>>>> To UNSUBSCRIBE or update options visit:
>>>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>>
>>>> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
>>>> Register Now: http://www.astricon.net
>>>>
>>>> asterisk-users mailing list
>>>> To UNSUBSCRIBE or update options visit:
>>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>>
>>>
>>>
>>> _______________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>
>>> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
>>> Register Now: http://www.astricon.net
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>
>>
>> _______________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
>> Register Now: http://www.astricon.net
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090908/b6e24c7e/attachment.htm 


More information about the asterisk-users mailing list