[asterisk-users] Background music during a call

Rizwan Hisham rizwanhasham at gmail.com
Sun May 8 22:47:53 CDT 2011


Thanks for the reply. I looked into the G option of Dial applications. No
problem with that but How do I create a ghost call?

My dial plan will look like this:

Caller A calls Caller B normally:

exten=> _XXX,1,SomePreDialApps()
exten=> _XXX,n,Dial(SIP/B)
exten=> _XXX,n,Hangup()

Caller A calls caller B ith background music
exten=> _*9XXX,1,SomePreDialApps()
exten=> _*9XXX,n,Dial(SIP/B,,G(10))
exten=> _*9XXX,n,Hangup()

exten=> _*9XXX,10,Goto(mm,1,1)
exten=> _*9XXX,11,Goto(mm,1,1)

Waiting for your replies

Thanks

On Fri, May 6, 2011 at 10:37 PM, Ioan Indreias <indreias at gmail.com> wrote:

> On Fri, May 6, 2011 at 6:30 PM, Rizwan Hisham <rizwanhasham at gmail.com>
> wrote:
>
> > I am in desperate need of this feature. I want to play background music
> > during a call while the 2 parties are having some lovely conversation (or
> > maybe give them a sort of cursing background if they are cursing each
> > other).
>
> Let's start with your actual dialplan (without the background music)
> and we could start from that point.
> Hint: I am planning to use option G of the Dial application + a meetme
> room where a "ghost" call will play the specified MOH class
> (lovely/cursing).
>
> 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/20110509/dd65230b/attachment.htm>


More information about the asterisk-users mailing list