<div dir="ltr">Hi Selby,<br><br>First of all thanks for reply, I added that line at the end of dialplan but still the same.<br>Actually <b>asterisk default MOH is also not playing</b>. after 12 sec I get this message...<br>
<br><b> -- Stopped music on hold on SIP/1001-0000000f</b><br> <br>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 ....<br><br> <br><div class="gmail_quote">
On Fri, Apr 8, 2011 at 7:29 PM, Warren Selby <span dir="ltr"><<a href="mailto:wcselby@selbytech.com">wcselby@selbytech.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#FFFFFF"><div>Add exten => 6000,n,StartMusicOnHold() to the end of your current dialplan and try again. <br><br>Thanks,<div>--Warren Selby, dCAP</div></div><div class="im"><div><br>On Apr 8, 2011, at 1:51 AM, virendra bhati <<a href="mailto:virbhati@gmail.com" target="_blank">virbhati@gmail.com</a>> wrote:<br>
<br></div><div></div><blockquote type="cite"><div><div dir="ltr">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 :(<br>
Below are the details of configuration files.<br>
<br>
<br>
Even default MOH is also not working....        <br clear="all"><br><b>Asterisk Version                
                
                1.6.2.17.2                <br></b><br><b>1) Extension.conf</b><br>
<br>
[incoming]<br>
exten => 6000,1,Answer<br>
exten => 6000,n,Set(CHANNEL(musicclass)=BSNL)<br>
exten => 6000,n,Set(foo=${CHANNEL(musicclass)})<br>
exten => 6000,n,MusicOnHold(BSNL)<br></div></div></blockquote></div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>-----<br>Thanks and regards<br>
<br> Virendra Bhati<br>+91-9172341457<br>Asterisk Engineer<br><br>
</div>