Thanks…i have got almost the same solution…
but i have to write to Mysql the variable (such as uniqueid value) on answer…
Back from Gosub even with double underscore…the variable zeroed…so i have to use the db…
On queue Gosub i’m writing on the DB the values…(when call ha been answered)
On Hangup i’m checking via func_odbc for variable presence…if yes…bye…if not (call not answered) i’ll write on DB the values i need
In these two scenario i’ve got time spent by caller on queue from call Answer by IVR…to queue pickup the call or caller abandon…