No subject
Mon Jan 10 01:51:56 CST 2011
Moh show files
This will show you if your class is set up correctly.
------=_NextPart_000_016C_01CBF83B.306A1A90
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" =
name=3D"PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dblue>
<div class=3DSection1>
<div style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in =
0in 4.0pt'>
<div>
<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>
<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>
</span></font></div>
<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>
asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] <b><span =
style=3D'font-weight:
bold'>On Behalf Of </span></b>virendra bhati<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Monday, April 11, =
2011 11:23
AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> <st1:PersonName =
w:st=3D"on">Asterisk
Users Mailing List - Non-Commercial Discussion</st1:PersonName><br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> Re: =
[asterisk-users]
Asterisk MOH not working with Elastix =
asterisk1.6.2.18</span></font><o:p></o:p></p>
</div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>Hi All,<br>
<br>
I already try StartMusicOnHold() instead of MusicOnHold();<br>
<br>
Even default asterisk MOH not playing.<br>
<br>
<br>
<o:p></o:p></span></font></p>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>On Mon, Apr 11, 2011 at 9:17 PM, Warren Selby <<a
href=3D"mailto:wcselby at selbytech.com">wcselby at selbytech.com</a>> =
wrote:<o:p></o:p></span></font></p>
<div bgcolor=3D"#FFFFFF">
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Your last line in the dialplan should be StartMusicOnHold(), not =
just
MusicOnHold(). <br>
<br>
Thanks,<o:p></o:p></span></font></p>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>--Warren Selby, dCAP<o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<div>
<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><br>
On Apr 11, 2011, at 6:24 AM, virendra bhati <<a
href=3D"mailto:virbhati at gmail.com" =
target=3D"_blank">virbhati at gmail.com</a>>
wrote:<o:p></o:p></span></font></p>
</div>
<blockquote style=3D'margin-top:5.0pt;margin-bottom:5.0pt' type=3Dcite>
<div>
<div>
<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>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>
<br>
But when I used Vanilla Asterisk then All things are working....<br>
<br>
Below are the details of configuration files.<br>
<br>
<br>
Even default MOH is also not working.... <br clear=3Dall>
<br>
<b><span style=3D'font-weight:bold'>Asterisk Version 1.6.2.17.2 <br>
</span></b><br>
<b><span style=3D'font-weight:bold'>1) Extension.conf</span></b><br>
<br>
[incoming]<br>
exten =3D> 6000,1,Answer<br>
exten =3D> 6000,n,Set(CHANNEL(musicclass)=3DBSNL)<br>
exten =3D> 6000,n,Set(foo=3D${CHANNEL(musicclass)})<br>
exten =3D> 6000,n,MusicOnHold(BSNL)<br>
<br>
<br>
<b><span style=3D'font-weight:bold'>2) Musiconhold.conf</span></b><br>
<br>
[BSNL]<br>
mode=3Dfiles<br>
directory=3D/var/lib/asterisk/moh/MTNL<br>
<br>
[Bhati]<br>
mode=3Dfiles<br>
directory=3D/var/lib/asterisk/moh/Bhati<br>
<br>
<b><span style=3D'font-weight:bold'>3) Error log:-</span></b><br>
<br>
=3D=3D Using SIP RTP TOS bits 184<br>
=3D=3D Using SIP RTP CoS mark 5<br>
-- Executing [6000 at bhati:1] =
Answer("SIP/1001-00000006",
"") in new stack<br>
-- Executing [6000 at bhati:2] =
Set("SIP/1001-00000006",
"CHANNEL(musicclass)=3DBSNL") in new stack<br>
<br>
-- Started music on hold, class 'BSNL', on =
SIP/1001-00000006<br>
-- Stopped music on hold on SIP/1001-00000006<br>
=3D=3D Spawn extension (bhati, 6000, 4) exited non-zero on
'SIP/1001-00000006'<br clear=3Dall>
<br>
-- <br>
-----<br>
Thanks and regards<br>
<br>
Virendra Bhati<br>
+91-9172341457<br>
Asterisk Engineer<o:p></o:p></span></font></p>
</div>
</div>
</blockquote>
</div>
</div>
<blockquote style=3D'margin-top:5.0pt;margin-bottom:5.0pt' type=3Dcite>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>--<br>
_____________________________________________________________________<br>=
-- Bandwidth and Colocation Provided by <a =
href=3D"http://www.api-digital.com"
target=3D"_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every =
Thurs:<br>
&=
nbsp; <a
href=3D"http://www.asterisk.org/hello" target=3D"_blank"></a><a
href=3D"http://www.asterisk.org/hello" =
target=3D"_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a =
href=3D"http://lists.digium.com/mailman/listinfo/asterisk-users"
target=3D"_blank"></a><a
href=3D"http://lists.digium.com/mailman/listinfo/asterisk-users" =
target=3D"_blank">http://lists.digium.com/mailman/listinfo/asterisk-users=
</a><o:p></o:p></span></font></p>
</div>
</blockquote>
</div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><br>
--<br>
_____________________________________________________________________<br>=
-- Bandwidth and Colocation Provided by <a =
href=3D"http://www.api-digital.com"
target=3D"_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every =
Thurs:<br>
<a
href=3D"http://www.asterisk.org/hello" =
target=3D"_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a =
href=3D"http://lists.digium.com/mailman/listinfo/asterisk-users"
target=3D"_blank">http://lists.digium.com/mailman/listinfo/asterisk-users=
</a><o:p></o:p></span></font></p>
</div>
<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><br>
<br clear=3Dall>
<br>
-- <br>
-----<br>
Thanks and regards<br>
<br>
Virendra Bhati<br>
+91-9172341457<br>
Asterisk Engineer<o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><i><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:navy;
font-weight:bold;font-style:italic'>[Danny Nicholas] =
<o:p></o:p></span></font></i></b></p>
<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><i><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:navy;
font-weight:bold;font-style:italic'>From CLI do =
<o:p></o:p></span></font></i></b></p>
<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><i><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:navy;
font-weight:bold;font-style:italic'>Moh show files =
<o:p></o:p></span></font></i></b></p>
<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><i><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:navy;
font-weight:bold;font-style:italic'>This will show you if your class is =
set up
correctly.<o:p></o:p></span></font></i></b></p>
<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p>=
</span></font></p>
</div>
</div>
</div>
</body>
</html>
------=_NextPart_000_016C_01CBF83B.306A1A90--
More information about the asterisk-users
mailing list