Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: mod_callcenter
-
Labels:None
-
Platform:Linux x86_64/gcc
-
FreeSWITCH GIT Revision:HEAD (2011-12-05)
-
Reproduced with GIT HEAD?:YES
Description
Add queue parameters:
- announce-sound => A sound file to play in a periodic manner on top of MOH.
- announce-frequency => Frequency in seconds to play the announcement.
Patch also includes a few formatting cleanups to "queue_set_config()" and "cc_member_thread_run()" functions.
It could be a good base for later improvements like position announcement or other, using phrases.
It uses the async bug "switch_ivr_displace_session", which for some reason hangs up the call if the file is invalid. Attached is another patch that changes that behavior to do the same as in "switch_ivr_play_file" (just return NOTFOUND without hanging up on failure).
- announce-sound => A sound file to play in a periodic manner on top of MOH.
- announce-frequency => Frequency in seconds to play the announcement.
Patch also includes a few formatting cleanups to "queue_set_config()" and "cc_member_thread_run()" functions.
It could be a good base for later improvements like position announcement or other, using phrases.
It uses the async bug "switch_ivr_displace_session", which for some reason hangs up the call if the file is invalid. Attached is another patch that changes that behavior to do the same as in "switch_ivr_play_file" (just return NOTFOUND without hanging up on failure).
I've got mix feeling on how we should proceed. I like the idea of having some feature inside mod_callcenter. So for example we could generate an event or cmd to a queue or a single user ...
I guess what we would really need is a multi-channel mixer inside fs with effect support on every channel (Fade out announcement). But that a big order. Using a local_stream, we can easily stop it playback, play some msg, and go back to the local_stream exactly where we were. If we use a local file streaming, then it more problematic. Using the event for playback example on the channel wont cancel the active playback even if it an big wav file..
So really not sure what would be the best tool for the job.
Phrases partially does what we need... So I'm tempted to adapt it to our need... AND maybe add the inside feature for single announcement call (Like a special warning for caller that there is currently a problem with the InterNet, and the problem should be resolved soon, that might get lot of caller to hangup).