[asterisk-users] interrupting MOH
Brent Davidson
brent at texascountrytitle.com
Wed Apr 2 15:05:49 CDT 2008
You could also, conceivably, handle this outside of asterisk by using a
more complex MOH stream source. For instance, use a shoutcast client as
the MOH source, run your own shoutcast server streaming your music and
have a script set up to periodically interrupt the stream being served
to the shoutcast server and inject an announcement. (Keep in mind that
this is an "off the top of my head" suggestion so I don't have exact
details for implementation, but I'm sure it can be done.)
Good luck,
Brent
Matt Florell wrote:
> Hello,
>
> We achieve this using an AGI script in the VICIDIAL project for our
> version of inbound queues. You start MoH then when you stream a sound
> to the channel it will stop MoH then after the sound is done you start
> MoH back up again. Probably a bit more involved than what you want,
> but it dose work well for us.
>
> MATT---
>
> On 4/2/08, Atis Lezdins <atis at iq-labs.net> wrote:
>
>> Sorry for top-posting, but seems everyone on this thread did so.
>>
>> Also that would be my suggestion for now - call queue with periodic-announce.
>>
>> However i see that this would make nice architectural improvement -
>> allow inject sound files into MoH stream. This would be useful for
>> example in call queues - to inject all the queue announcements into
>> MoH directly, rather than play them while blocking further queue
>> actions.
>>
>> Regards,
>> Atis
>>
>>
>>
>> On Wed, Apr 2, 2008 at 4:11 AM, Andreas van dem Helge
>> <joakimsen at gmail.com> wrote:
>> > I think that's still a better idea than using a "dump the caller into
>> > meetme" hack and is actually what I was going to suggest.
>> >
>> > If you want something simpler than a queue then inject the sounds into
>> > the moh already.
>> >
>> >
>> >
>> > On Tue, Apr 1, 2008 at 3:09 PM, Rob Hillis <rob at hillis.dyndns.org> wrote:
>> > >
>> > > You may be able to achieve the desired result using queues rather than
>> > > Dial statements.
>> > >
>> > > Overkill perhaps, but it's the only way I can think to implement it at the
>> > > moment.
>> > >
>> > >
>> > >
>> > >
>> > > John Millican wrote:
>> > > Tilghman Lesher wrote:
>> > >
>> > >
>> > > On Tuesday 01 April 2008 05:14:25 Pete Kay wrote:
>> > >
>> > >
>> > > I am hoping someone can help me out on this. I want to be able to
>> > > interrupt MOH every X seconds after the DIAL command is executed. The
>> > > interrupt greeting is something like "please wait while we transfer your
>> > > call". How can I do that? Within the DIAL options, I can't see any
>> > > announce frequency or options that can help.
>> > >
>> > > Could anyone please tell me how that function can be accomplished?
>> > >
>> > > The only way to do that currently is to implement the prompt within the MOH
>> > > stream itself.
>> > >
>> > >
>> > >
>> > > Just off the top-o-my head(YMMV), couldn't you create a meetme and play
>> > > hold music into the meetme and then also play the prompt into the meetme
>> > > at the same time without interrupting the hold music? This would
>> > > obviously not work for high load but...
>> > > JohnM
>> > >
>> > >
>> > > _______________________________________________
>> > > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> > >
>> > > asterisk-users mailing list
>> > > To UNSUBSCRIBE or update options visit:
>> > > http://lists.digium.com/mailman/listinfo/asterisk-users
>> > >
>> > >
>> > > _______________________________________________
>> > > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> > >
>> > > asterisk-users mailing list
>> > > To UNSUBSCRIBE or update options visit:
>> > > http://lists.digium.com/mailman/listinfo/asterisk-users
>> > >
>> >
>> > _______________________________________________
>> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> >
>> > asterisk-users mailing list
>> > To UNSUBSCRIBE or update options visit:
>> > http://lists.digium.com/mailman/listinfo/asterisk-users
>> >
>>
>>
>>
>>
>> --
>> Atis Lezdins,
>> VoIP Project Manager / Developer,
>> atis at iq-labs.net
>> Skype: atis.lezdins
>> Cell Phone: +371 28806004
>> Cell Phone: +1 800 7300689
>> Work phone: +1 800 7502835
>>
>>
>> _______________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080402/3508e7e2/attachment.htm
More information about the asterisk-users
mailing list