I am not sure, if this is the right forum but I can remember someone else asked this question anywhere else in here before me. But maybe after some time there were changes ? I strongly miss one feature and I even have no idea for a work-around (for sure, I am not a pro).
Re: [asterisk-users] interrupting MOH
Matt Florell
Wed, 02 Apr 2008 07:19:49 -0700
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.
If the caller is in the "queue", I don`t want him/her listen to *ehm* somehow boring music for longer than one minute. So, there is the option to set one intervall and play one file like generic_hold. This ought to be 9 seconds or less (well, at least in vicidialnow). I`d like to choose from a "pool of soundfiles" and maybe soundfiles that are longer than 9 seconds ... Does ViciDial also misses this feature ? Just being curious, is this feature on your roadmap for vicidial ? I think it would be a great feature to play different soundfiles to customers, could be used for "commercial breaks" or just for giving the On-Hold-File-Option much more flexibility, so you could play ... whatever you want ... maybe 5 similiar but different announces that will "calm down" the inpatient caller depending on the wait_time ...
Since I am about to migrate our heavily loaded vicidialnow-single-server to a "more convient" system (all vicibox, 1 DB-WEB + 4 phone-server) and since I really have to think about using hardware-timing (sounds like hell to set up), so since the whole system will change, I could put one more machine in this setup, let me call it "queue-moh-soundfile"-server. I have not thought this setup to the end (tired now), but would this be a solution ? To setup a machine, that handles the call-processing / call-flow and if an agent in the "cluster" is ready, it just sends it to him ? Are there customers that use such a setup ? I cannot believe I am the only one who`d die for this feature ...
Or do I really have to modify the agi-inbound-script ?If I modify the code with kinda loop that randomly chooses between different files, and if I let them all be 9 seconds max., could I run into any problems (provided that the code is clean) ? I assume, it isn`t that easy at all :) And, last but not least, why just 9 seconds for generic_hold files ? What`s the reason for this limitation ?
thank you for reading.