[asterisk-users] MOH not working

virendra bhati virbhati at gmail.com
Sat Apr 9 00:33:11 CDT 2011


Hi Selby,

First of all thanks for reply, I added that line at the end of dialplan but
still the same.
Actually *asterisk default MOH is also not playing*. after 12 sec I get this
message...

* -- Stopped music on hold on SIP/1001-0000000f*

Strange when I did the same thing with asterisk 1.4.39 then all things are
woking. But with asterisk 1.6.2.18-rc1 not working ....


On Fri, Apr 8, 2011 at 7:29 PM, Warren Selby <wcselby at selbytech.com> wrote:

> Add exten => 6000,n,StartMusicOnHold() to the end of your current dialplan
> and try again.
>
> Thanks,
> --Warren Selby, dCAP
>
> On Apr 8, 2011, at 1:51 AM, virendra bhati <virbhati at gmail.com> wrote:
>
> I am using Elastix. Asterisk is used for PBX application in Elastix. I want
> to make customize MOH. But not able to use MOH. I make simple extension in
> asterisk conf file but no success :(
> Below are the details of configuration files.
>
>
> Even default MOH is also not working....
>
> *Asterisk Version 1.6.2.17.2
> *
> *1) Extension.conf*
>
> [incoming]
> exten => 6000,1,Answer
> exten => 6000,n,Set(CHANNEL(musicclass)=BSNL)
> exten => 6000,n,Set(foo=${CHANNEL(musicclass)})
> exten => 6000,n,MusicOnHold(BSNL)
>
>
> --
> _____________________________________________________________________
> -- 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
>



-- 
-----
Thanks and regards

 Virendra Bhati
+91-9172341457
Asterisk Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110409/42b85acb/attachment.htm>


More information about the asterisk-users mailing list