[Asterisk-Users] Music On Hold not working with new 1.2.7.1 install

Mike Lynchfield theclubvoip at gmail.com
Wed Jun 7 10:22:15 MST 2006


if on freebsd..

stop asterisk

killall  mpg123
cd /usr/ports/audio/madplay/
make && make install

edit musiconhold.conf

[default]

mode=custom
directory=/usr/local/share/asterisk/mohmp3
application=/usr/local/bin/madplay -Q -o raw:- --mono -R 8000 -a -12


then restart asterisk..





Mike
http://www.theclubvoip.com

On 6/7/06, turby <turby at seznam.cz> wrote:
>
>  convert the moh sounfile to pcm or sln
> save the file to /var/lib/asterisk/moh/default
> set the musiconhold.conf
>
> [default]
> mode=files
> directory=/var/lib/asterisk/moh/default
>
>
> turby @ www.canistec.com
>
>  ------------------------------
> *From:* asterisk-users-bounces at lists.digium.com [mailto:
> asterisk-users-bounces at lists.digium.com] *On Behalf Of *Richard Reina
> *Sent:* Wednesday, June 07, 2006 5:30 PM
> *To:* Asterisk Users Mailing List - Non-Commercial Discussion
> *Subject:* Re: [Asterisk-Users] Music On Hold not working with new 1.2.7.1install
>
> Thank you very much for your relply.  No I did not install mpg123 as the
> instructions at:
>
> http://voip-info.org/tiki-index.php?page=asterisk+config+musiconhold.conf
>
> for version 1.2 say the mpg123 is no longer needed.
>
>
>
> *| Rurouni Alucard | <rakh at dangerclan.net>* wrote:
>
> Did you check your mpg123 version ?, asterisk needs a specific version in
> order to work...
>
>
>
> ----- Original Message -----
> *From:* Richard Reina <rf_reina at yahoo.com>
> *To:* asterisk-users at lists.digium.com
> *Sent:* Wednesday, June 07, 2006 6:02 AM
> *Subject:* [Asterisk-Users] Music On Hold not working with new 1.2.7.1install
>
> I have followed the instructions provided at:
>
> http://voip-info.org/tiki-index.php?page=asterisk+config+musiconhold.conf
>
> including installing asterisk-addons-1.2.  I have left musiconhold.conf as
> is, calm-river et al are fine for now.
>
> However, no sound is heard and I get this message from the CLI when
> accessing MOH:
>
> -- Started music on hold, class 'default', on channel 'Zap/19-1'
> -- Stoped music on hold on Zap/19-1
>
> This happens whether it's a parked call or whether I access MOH directly
> via:
>
> exten => 800,1,Answer
> exten => 800,2,MusicOnHold()
>
> Any help would be greatly appreciated.
>
> Thank you very much.
>
> Richard
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>  ------------------------------
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> 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/20060607/c40703af/attachment.htm


More information about the asterisk-users mailing list