Hi everyone,
I'm struggling to implement a post-call survey for my agents using mod_callcenter on FusionPBX.
The Goal: When a caller (Leg A) hangs up, I want the Agent (Leg B) to be automatically transferred to a survey extension (e.g., 800) instead of being disconnected.
The Problem: No matter what variables I use, mod_callcenter seems to have "hangup priority." As soon as the caller disconnects, the agent's channel is killed instantly. I cannot get the agent to "survive" the bridge to be transferred.
I've set hangup_after_bridge=false, park_after_bridge=true, and transfer_after_bridge=800 XML ${domain_name} before calling the callcenter application in the dialplan. Tried using api_hangup_hook with uuid_transfer, but the channel is destroyed before the hook can effectively move the agent.
If I test this logic without mod_callcenter (e.g., a simple bridge between two extensions), it works perfectly. However, when I implement it within the Call Center module, it ignores all instructions and hangs up the agent immediately.
Maybe I am missing something, but if anyone knows how to achieve this or has an alternative solution, I would greatly appreciate your help.
I'm struggling to implement a post-call survey for my agents using mod_callcenter on FusionPBX.
The Goal: When a caller (Leg A) hangs up, I want the Agent (Leg B) to be automatically transferred to a survey extension (e.g., 800) instead of being disconnected.
The Problem: No matter what variables I use, mod_callcenter seems to have "hangup priority." As soon as the caller disconnects, the agent's channel is killed instantly. I cannot get the agent to "survive" the bridge to be transferred.
I've set hangup_after_bridge=false, park_after_bridge=true, and transfer_after_bridge=800 XML ${domain_name} before calling the callcenter application in the dialplan. Tried using api_hangup_hook with uuid_transfer, but the channel is destroyed before the hook can effectively move the agent.
If I test this logic without mod_callcenter (e.g., a simple bridge between two extensions), it works perfectly. However, when I implement it within the Call Center module, it ignores all instructions and hangs up the agent immediately.
Maybe I am missing something, but if anyone knows how to achieve this or has an alternative solution, I would greatly appreciate your help.