-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mod_callcenter] fix queue periodic announcement #1170
base: master
Are you sure you want to change the base?
Conversation
67c06ac
to
c509dcf
Compare
FYI the same happens when you set the Lua Script to announce members position as defined in the mod_callcenter documentation; The caller must wait until the Lua Script execution goes back to freeswitch.msleep(mseconds) because the execution of api:executeString(uuid_broadcast, is never stopped by mod_callcenter. |
3adcca2
to
4a1f8c0
Compare
@laflammefrancois - Have you tested this patch to see if it helps your issue? |
No, I needed a solution for my production servers. I have instead implemented a patch in my lua script; I subscribe for the CUSTOM/Answer-State/CC-Queue event and send uuid_break to the call when the answered Answer-State event is received. Sadly, I do not have the setup to test the fix, sorry about that. |
I've been using this fix in production without any issues for a couple of months |
@greenbea - You're using it with uuid_broadcast in a LUA script? I don't see how your fix addresses @laflammefrancois problem. I recompiled FS with this patch: But I haven't tested yet. |
I have a lua script I use for announcing the queue position, but that takes quickly to announce, so I didn't notice any issues. The solution would be to have mod_callcenter control any announcement to the member session. |
@greenbea Can you dynamically calculate the member position? |
A SQL query |
@laflammefrancois I tested my patch listed above (acbe390) and it solves our problem. |
4a1f8c0
to
b19322b
Compare
I force pushed some fixes
|
Correction - it does not conflict as it solves a different issue |
b19322b
to
c4a5a18
Compare
9d24f09
to
f5ac832
Compare
f5ac832
to
cb3a57b
Compare
cb3a57b
to
d59e505
Compare
Scan-build compilation failed: https://public-artifacts.signalwire.cloud/drone/signalwire/freeswitch/1043/scan-build-result.txt |
* Fixes announcement playing to channel even agent answered or member broke or timed out from the queue * Fixes frequency counted when annoucement starts playing causing announcements to overlap fixed by counting only when last announcment finishes
d59e505
to
7c39638
Compare
Scan-build compilation failed: https://public-artifacts.signalwire.cloud/drone/signalwire/freeswitch/1044/scan-build-result.txt |
broke or timed out from the queue
announcements to overlap fixed by counting only when last announcement
finishes