[Asterisk-Users] Music Onhold Configuration

Ing. Angel Gomez Garcia angom at telnor.net
Wed Oct 22 00:03:25 MST 2003


    Hi.

    Do you have mpg123 installed and mpg123 in /usr/bin ? I have moh 
working with snom200 and there was no issue to have them working.
    I even put an extension in my extensions.conf so the user can dial 
it an hear the music, cause the snom200 has call waiting they don't miss 
calls because of them hearing moh

exten => 0400,1,Answer()
exten => 0400,2,MusicOnHold(random)

    and musiconhold.conf has
[classes]
random => quietmp3:/var/lib/asterisk/mohmp3,-z

    Good luck.

Kang.ChenJi at c3smail.monmouth.army.mil wrote:

>Jean-Christophe,
>
>Thank you very much for your help. I configured the Music On Hold by
>following your sample, it seemed work fine by looking at the Trace. But no
>Music came up on my SIP phone SNOM200. I checked /var/lib/asterisk/mohmp3
>and found only one MP3 file there "sample-hold.mp3". Do you know what's
>wrong with it?
>
>Thank you in advance,
>Kang
>
>
>
>
>                                                                                                                                                
>                      "Jean-Christophe Heger"                                                                                                   
>                      <jcheger at acytec.com>              To:       <asterisk-users at lists.digium.com>                                             
>                      Sent by:                          cc:                                                                                     
>                      asterisk-users-admin at lists        Subject:  Re: [Asterisk-Users] Music Onhold Configuration                               
>                      .digium.com                                                                                                               
>                                                                                                                                                
>                                                                                                                                                
>                      10/20/2003 06:10 PM                                                                                                       
>                      Please respond to                                                                                                         
>                      asterisk-users                                                                                                            
>                                                                                                                                                
>                                                                                                                                                
>
>
>
>
>/etc/asterisk/musiconhold.conf
>[classes]
>default => mp3:/var/lib/asterisk/mohmp3
>
>/etc/asterisk/extensions.conf
>exten => 101,1,Answer
>exten => 101,2,MusicOnHold(default)
>
>That's about what is said in the manual (RTFM ;-) and it works great.
>
>Jean-Christophe
>
>----- Original Message -----
>From: <Kang.ChenJi at c3smail.monmouth.army.mil>
>To: <asterisk-users at lists.digium.com>
>Cc: <Kang.ChenJi at c3smail.monmouth.army.mil>
>Sent: Monday, October 20, 2003 10:56 PM
>Subject: [Asterisk-Users] Music Onhold Configuration
>
>
>  
>
>>Anyone can share me with Music Onhold Configuration sample?
>>
>>Thanks in advance for your help,
>>Kang
>>
>>
>>
>>_______________________________________________
>>Asterisk-Users mailing list
>>Asterisk-Users at lists.digium.com
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>    
>>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
>
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
>  
>






More information about the asterisk-users mailing list