[asterisk-users] music on hold

salaheddine elharit salah.elharit200 at gmail.com
Wed Oct 5 06:35:02 CDT 2011


thanks for your replay i give the permissions 777 to this file moh1 and i
still have the same issue

best regards

2011/10/5 Sammy Govind <govoiper at gmail.com>

> Give that moh1 directory permissions, I once had similar issue that same
> files being placed in default moh directory were played but making a new
> call and directory couldn't play anything. So I fixed that by granting
> directory permissions.
>
>
> On Wed, Oct 5, 2011 at 2:25 PM, salaheddine elharit <
> salah.elharit200 at gmail.com> wrote:
>
>>  Hi
>>
>> yes i have noticed the same result when i play a file like the default i
>> can hear the music but when i play another file there is no sound
>>
>> about your question danny :yes i have created a file in
>> /var/lib/asterisk/moh1
>>
>> and i configure in musiconhold.conf like below
>>
>> [default1]
>> mode=files
>> directory=/var/lib/asterisk/moh1
>>
>> 2011/10/4 Kevin Oravits <koravits at rcolegal.com>
>>
>>>    I’ve noticed on our system the sound files have to be in an exact
>>> format for Asterisk to play them. ****
>>>
>>> Bit Rate: 128kbps****
>>>
>>> Audio sample size: 16 bit****
>>>
>>> Channels: 1(mono)****
>>>
>>> Audio Sample rate: 8kHz****
>>>
>>> Audio format: PCM****
>>>
>>> ** **
>>>
>>> I actually downloaded a program and remixed the audio files to match
>>> these settings. Before that, I couldn’t get my Asterisk to play any
>>> non-standard music.****
>>>
>>> ** **
>>>
>>> *Kevin Oravits  *****
>>>
>>> ** **
>>>
>>> *From:* Danny Nicholas [mailto:danny at debsinc.com]
>>> *Sent:* Tuesday, October 04, 2011 11:48 AM
>>>
>>> *To:* 'Asterisk Users Mailing List - Non-Commercial Discussion'
>>> *Subject:* Re: [asterisk-users] music on hold****
>>>
>>>   ** **
>>>
>>> You have files in /var/lib/asterisk/moh1?****
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> *From:* asterisk-users-bounces at lists.digium.com [mailto:
>>> asterisk-users-bounces at lists.digium.com] *On Behalf Of *salaheddine
>>> elharit
>>> *Sent:* Tuesday, October 04, 2011 12:49 PM
>>> *To:* Asterisk Users Mailing List - Non-Commercial Discussion
>>> *Subject:* [asterisk-users] music on hold****
>>>
>>> ** **
>>>
>>> i configure new music on hold like below in order to play music for
>>> outbond calls****
>>>
>>> i want tp play a music until answer form customer****
>>>
>>> [default1]
>>> mode=files
>>> directory=/var/lib/asterisk/moh1****
>>>
>>> exten => 0678XXXXXX,1,Set(CALLERID(number)=520XXXXXX)
>>> exten =>
>>> 0678XXXXXX,n,MixMonitor(zap_g1_${EXTEN}_${UNIQUEID}.wav|av(0}V(0))
>>> exten => 0678XXXXXX,n,Dial(Zap/g1/${EXTEN},,m(default1))
>>> exten => 0678XXXXXX,n,Hangup()****
>>>
>>>
>>> when i put the default music i can listen without issue but when i put
>>> another music .wav Or gsm or Mp3****
>>>
>>> there is no music  there is just the ringing****
>>>
>>>  ****
>>>
>>> --
>>> _____________________________________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>>               http://www.asterisk.org/hello
>>>
>>> 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 --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>               http://www.asterisk.org/hello
>>
>> 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 --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> 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/20111005/d0bcfe62/attachment-0001.htm>


More information about the asterisk-users mailing list