Ivr Stats queues logs

Hello,

I wanted to ask you about the IVR statistics.

Currently, I have a satisfaction survey, following this guide:

But the problem is that I cannot recognize the Internal from which it was answered, it only sends the caller ID, the external number

Could anyone modify that information? Apparently, when you leave the call queue, you delete that data.


thanks

Hello,

If it helps anyone.

Currently, you pass the extension to a custom application, which passes to a custom context.

[dsv-survery-a401]
exten => s,1,Noop(Modifying the caller ID)
same => n,Set(CALLERID(name)=NAME AGENT )
same => n,Set(CALLERID(num)=401)
same => n,goto(T2_app-ivr,IVR-2,1)
same => n,Return()

Does not work automatically when the agent hangs up the call.