Hi,

i need some help.
Is there anyway to detect that user hangup (means user press endcall button - diconnects ) in lua.

I have tried session:getstate() but its not changing.

I have also tried to hookup hangup but it also of no avail.


Thanks.