[asterisk-users] Background music during a call
Rizwan Hisham
rizwanhasham at gmail.com
Mon May 9 22:33:17 CDT 2011
Thanks a lot loan. Will try it today.
Cheers
On Mon, May 9, 2011 at 6:25 PM, Ioan Indreias <indreias at gmail.com> wrote:
> Updated dialplan: fix a typo when using MOH variable and now you have
> truly dynamic conference rooms.
>
> Have fun,
> Ioan.
>
> +++++++++++++++++++++++++++++++++++++++++
> exten => _[12]XXX,1,Set(__MM=${EPOCH})
> exten => _1XXX,n,Dial(SIP/${EXTEN:1},,G(chat-room,love,1))
> exten => _2XXX,n,Dial(SIP/${EXTEN:1},,G(chat-room,curse,1))
>
> [chat-room]
> exten => love,1,Goto(love-a,1)
> exten => love,2,Goto(love-b,1)
>
> exten => love-a,1,Set(__MOH=love)
> exten => love-a,n,Dial(Local/fake at chat-room,,G(chat-room,chat,1))
>
> exten => love-b,1,Goto(chat,100)
>
> exten => curse,1,Goto(curse-a,1)
> exten => curse,2,Goto(curse-b,1)
>
> exten => curse-a,1,Set(__MOH=curse)
> exten => curse-a,n,Dial(Local/fake at chat-room,,G(chat-room,chat,1))
>
> exten => curse-b,1,Goto(chat,100)
>
> exten => fake,1,Answer
> exten => fake,2,MusicOnHold(${MOH})
>
> exten => chat,1,Goto(100)
> exten => chat,2,MeetMe(${MM},dx1q)
>
> exten => chat,100,MeetMe(${MM},daAx1q)
>
> exten => h,1,MeetMeAdmin(${MM},K)
> +++++++++++++++++++++++++++++++++++++++++
>
> On Mon, May 9, 2011 at 4:02 PM, Ioan Indreias <indreias at gmail.com> wrote:
> > I have tested the following dialplan and it could be used as a
> > starting point. What you have to resolve is how to generate different
> > MeetMe conference room - in the example we have only one room = 1234
> >
> > If you prefix the dialled extension with 1 => you will have a "lovely
> > chat". With 2 -> "cursing chat".
> >
> > HTH,
> >
> > Ioan
>
> --
> _____________________________________________________________________
> -- 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
>
--
Best Ragards
Rizwan Qureshi
VoIP/Asterisk Engineer
Axvoice Inc.
V: +92 (0) 3333 6767 26
E: rizwanhasham at gmail.com
W: www.axvoice.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110510/9973d62c/attachment.htm>
More information about the asterisk-users
mailing list