Open nikkadim opened 1 year ago
You're trying to export the hangup hook for the agent leg? To export the variables to the agent legs you'll need to set cc_export=api_hangup_hook
Need hangup hook for both, when agent hangup and when caller hangup too.
so remove the nolocal from the export, and use cc_export
<action application="export" data="cc_export:api_hangup_hook=lua hangup_redis.lua"/>
did not change anything
<action application="set" data="api_hangup_hook=lua hangup_redis.lua"/>
<action application="set" data="cc_export=api_hangup_hook"/>
if I do so, hangup_redis.lua not getting agent phone number of who is actually answered the call
Describe the bug api_hangup_hook does not work when use in mod_callcenter
To Reproduce Steps to reproduce the behavior:
Expected behavior api_hangup_hook works in all other extensions with just bridge
Package version or git hash