Ooops,<br><br>here is the correct version, Missed the capital X option in meetme before which lets you control the volume etc.<br><br>[chat-room]<br>
exten => love,1,Goto(love-a,1)<br>
exten => love,2,Goto(love-b,1)<br>
<br>
exten => love-a,1,Set(__MOH=love)<br>
exten => love-a,n,Dial(Local/fake@chat-<div><div class="im">room,,G(chat-room,chat,1))<br>
<div><br>
exten => love-b,1,Goto(chat,100)<br>
<br>
exten => curse,1,Goto(curse-a,1)<br>
exten => curse,2,Goto(curse-b,1)<br>
<br>
exten => curse-a,1,Set(__MOH=curse)<br>
exten => curse-a,n,Dial(Local/fake@chat-room,,G(chat-room,chat,1))<br>
<br>
exten => curse-b,1,Goto(chat,100)<br>
<br>
exten => fake,1,Answer<br>
exten => fake,2,MusicOnHold(${MOH})<br>
<br>
exten => chat,1,Goto(100)<br>
</div>exten => chat,2,MeetMe(${MM},dx1qX)<br>
<br>
exten => chat,100,MeetMe(${MM},daAx1qX)<br>
<br>
exten => h,1,MeetMeAdmin(${MM},K)<br><br></div>exten => 4,1,MeetMeAdmin(${MM},t,2)<br>exten => 6,1,MeetMeAdmin(${MM},T,2)<br>exten => 2,1,MeetMeAdmin(${MM},M,2)<br>exten => 8,1,MeetMeAdmin(${MM},m,2)<br><br>
exten=> _X,2,Goto(chat-room,chat,100)<br>
</div><br><br><div class="gmail_quote">On Tue, May 10, 2011 at 9:57 PM, Rizwan Hisham <span dir="ltr"><<a href="mailto:rizwanhasham@gmail.com">rizwanhasham@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Very nice Loan. Here is the chat-room dialplan with a little tweek which lets you set the volume up/down or mute/unmute the song.<br><br>Use 4/6 to increase/decrease the volume and 2/8 to mute/unmute the song<div class="im">
<br><br>[chat-room]<br>
exten => love,1,Goto(love-a,1)<br>
exten => love,2,Goto(love-b,1)<br>
<br>
exten => love-a,1,Set(__MOH=love)<br>
exten => love-a,n,Dial(Local/fake@chat-</div><div><div class="im">room,,G(chat-room,chat,1))<br>
<div><br>
exten => love-b,1,Goto(chat,100)<br>
<br>
exten => curse,1,Goto(curse-a,1)<br>
exten => curse,2,Goto(curse-b,1)<br>
<br>
exten => curse-a,1,Set(__MOH=curse)<br>
exten => curse-a,n,Dial(Local/fake@chat-room,,G(chat-room,chat,1))<br>
<br>
exten => curse-b,1,Goto(chat,100)<br>
<br>
exten => fake,1,Answer<br>
exten => fake,2,MusicOnHold(${MOH})<br>
<br>
exten => chat,1,Goto(100)<br>
</div>exten => chat,2,MeetMe(${MM},dx1q)<br>
<br>
exten => chat,100,MeetMe(${MM},daAx1q)<br>
<br>
exten => h,1,MeetMeAdmin(${MM},K)<br><br></div>exten => 4,1,MeetMeAdmin(${MM},t,2)<br>exten => 6,1,MeetMeAdmin(${MM},T,2)<br>exten => 2,1,MeetMeAdmin(${MM},M,2)<br>exten => 8,1,MeetMeAdmin(${MM},m,2)<br><br>
exten=> _X,2,Goto(chat-room,chat,100)<br>
</div><br>Here channel 2 always seem to be the one playing the MOH, thats why its hard coded into the MeetMeAdmin application.<br><br>If there is a another way to know which channel is playing the song then please do let me know.<br>
<br>Cheers<div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Tue, May 10, 2011 at 9:33 AM, Rizwan Hisham <span dir="ltr"><<a href="mailto:rizwanhasham@gmail.com" target="_blank">rizwanhasham@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks a lot loan. Will try it today.<div><br></div><div>Cheers<div><div></div><div><br><br><div class="gmail_quote">On Mon, May 9, 2011 at 6:25 PM, Ioan Indreias <span dir="ltr"><<a href="mailto:indreias@gmail.com" target="_blank">indreias@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Updated dialplan: fix a typo when using MOH variable and now you have<br>
truly dynamic conference rooms.<br>
<br>
Have fun,<br>
Ioan.<br>
<br>
+++++++++++++++++++++++++++++++++++++++++<br>
exten => _[12]XXX,1,Set(__MM=${EPOCH})<br>
exten => _1XXX,n,Dial(SIP/${EXTEN:1},,G(chat-room,love,1))<br>
exten => _2XXX,n,Dial(SIP/${EXTEN:1},,G(chat-room,curse,1))<br>
<div><br>
[chat-room]<br>
exten => love,1,Goto(love-a,1)<br>
exten => love,2,Goto(love-b,1)<br>
<br>
exten => love-a,1,Set(__MOH=love)<br>
</div>exten => love-a,n,Dial(Local/fake@chat-room,,G(chat-room,chat,1))<br>
<div><br>
exten => love-b,1,Goto(chat,100)<br>
<br>
exten => curse,1,Goto(curse-a,1)<br>
exten => curse,2,Goto(curse-b,1)<br>
<br>
exten => curse-a,1,Set(__MOH=curse)<br>
exten => curse-a,n,Dial(Local/fake@chat-room,,G(chat-room,chat,1))<br>
<br>
exten => curse-b,1,Goto(chat,100)<br>
<br>
exten => fake,1,Answer<br>
exten => fake,2,MusicOnHold(${MOH})<br>
<br>
exten => chat,1,Goto(100)<br>
</div>exten => chat,2,MeetMe(${MM},dx1q)<br>
<br>
exten => chat,100,MeetMe(${MM},daAx1q)<br>
<br>
exten => h,1,MeetMeAdmin(${MM},K)<br>
+++++++++++++++++++++++++++++++++++++++++<br>
<div><br>
On Mon, May 9, 2011 at 4:02 PM, Ioan Indreias <<a href="mailto:indreias@gmail.com" target="_blank">indreias@gmail.com</a>> wrote:<br>
> I have tested the following dialplan and it could be used as a<br>
> starting point. What you have to resolve is how to generate different<br>
> MeetMe conference room - in the example we have only one room = 1234<br>
><br>
> If you prefix the dialled extension with 1 => you will have a "lovely<br>
> chat". With 2 -> "cursing chat".<br>
><br>
> HTH,<br>
><br>
> Ioan<br>
<br>
</div><div><div></div><div>--<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>
</div></div></blockquote></div><br><br clear="all"><br></div></div><div>-- <br><font color="#888888"><div>Best Ragards</div><div>Rizwan Qureshi</div><div>VoIP/Asterisk Engineer</div><div>Axvoice Inc.<br><br></div>
<div>V: <a href="tel:%2B92%20%280%29%203333%206767%2026" value="+923333676726" target="_blank">+92 (0) 3333 6767 26</a></div><div>E: <a href="mailto:rizwanhasham@gmail.com" target="_blank">rizwanhasham@gmail.com</a></div>
<div>W: <a href="http://www.axvoice.com/" target="_blank">www.axvoice.com</a></div></font><br>
</div></div>
</blockquote></div><br><br clear="all"><br>-- <br><font color="#888888"><div>Best Ragards</div><div>Rizwan Qureshi</div><div>VoIP/Asterisk Engineer</div><div>Axvoice Inc.<br><br></div>
<div>V: <a href="tel:%2B92%20%280%29%203333%206767%2026" value="+923333676726" target="_blank">+92 (0) 3333 6767 26</a></div><div>E: <a href="mailto:rizwanhasham@gmail.com" target="_blank">rizwanhasham@gmail.com</a></div>
<div>W: <a href="http://www.axvoice.com/" target="_blank">www.axvoice.com</a></div></font><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><font color="#888888"><div>Best Ragards</div><div>Rizwan Qureshi</div><div>VoIP/Asterisk Engineer</div><div>Axvoice Inc.<br><br></div>
<div>V: +92 (0) 3333 6767 26</div><div>E: <a href="mailto:rizwanhasham@gmail.com" target="_blank">rizwanhasham@gmail.com</a></div><div>W: <a href="http://www.axvoice.com/" target="_blank">www.axvoice.com</a></div></font><br>