Hello everyone,
I am using AGI (FastAGI) to handle my IVR logic (play prompts, record audio, make decisions).
The IVR itself works correctly, but I am facing an issue with CDR not being recorded.
Problem
-
When I run the call flow without AGI, CDR records correctly.
-
When I add AGI into the dialplan, no CDR is written.
Dialplan (simplified)
[testing]
exten => s,1,Answer()
same => n,AGI(agi://127.0.0.1:4573)
same => n,Hangup()
What I want
I need to save call details (CDR) even if:
-
The caller hangs up while AGI is running
-
Dial is never reached
-
The call ends inside AGI
How fix this issue?