Hi Lenz, That's what I was doing, putting the ad in MOH, but the callers only hear it when the agents are busy. When there are available agents, the callers just got connected to the agents without delay and hear no ads. The combination of a while loop and Playback() seem to be the only way to do it so far.
Thanks. Andy On Wed, Sep 2, 2009 at 12:09 AM, Lenz Emilitri<[email protected]> wrote: > Aht i would do is prepare a music on hold that has embedded the > advertisements ( like one every 20 or 30 seconds) so that the caller hears > more advertisements as the call progresses; and they are queued immediately, > so no time is wasted. > l. > 2009/8/27 Andy Kuo <[email protected]> >> >> Hi Barry, >> >> Thank you for the hint, but I forgot to mention that we have a few >> advertisements, and we want the callers to listen to only one at a >> time, and in a round robin or random order. Using Playback() doesn't >> seem to serve that purpose. Is there any better way to achieve that? >> >> Thanks. >> Andy >> >> >> >> On Thu, Aug 27, 2009 at 11:56 AM, Barry L. Kline<[email protected]> >> wrote: >> > -----BEGIN PGP SIGNED MESSAGE----- >> > Hash: SHA1 >> > >> > Andy Kuo wrote: >> >> Hi list, >> >> >> >> I'd like to have the callers to listen to the advertisement (music on >> >> hold) before the agents answer them. So, I have wrapuptime=10 in >> >> queue.conf, but the call still goes straight to the agents without >> >> delay. >> >> >> >> >> > Andy -- >> > >> > wrapuptime is the number of seconds that Asterisk waits between the time >> > a agent hangs up with a caller and the next time that Asterisk sends a >> > call to the newly-available agent. >> > >> > "Wrap up time" gives the agent a few moments to complete his last call >> > and prepare for the next. >> > >> > What you need to do is use Playback() for your advertisement, then >> > Queue() the call. Otherwise it acts just as you said, provided an agent >> > is available. >> > >> > Barry >> > >> > -----BEGIN PGP SIGNATURE----- >> > Version: GnuPG v1.4.5 (GNU/Linux) >> > >> > iD8DBQFKltbjCFu3bIiwtTARAjE0AKCGFEchqYoGWyaeHqlIH+iNyzBKygCgqibn >> > X/gSnE7W7EHnwiUpRC1FLRs= >> > =pdMh >> > -----END PGP SIGNATURE----- >> > >> > _______________________________________________ >> > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> > >> > AstriCon 2009 - October 13 - 15 Phoenix, Arizona >> > Register Now: http://www.astricon.net >> > >> > 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 -- >> >> AstriCon 2009 - October 13 - 15 Phoenix, Arizona >> Register Now: http://www.astricon.net >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users > > > > -- > Loway - home of QueueMetrics - http://queuemetrics.com > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2009 - October 13 - 15 Phoenix, Arizona > Register Now: http://www.astricon.net > > 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 -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
