Hi,

I am running a perl script after the call lands on my dialplan. I want to get the status that whether the call was originated properly and and if yes what was the hangup cause. I am getting the hangup status using  hangupCause() and it returns 'NONE' everytime no matter what the reason is. Also the hangup_cause variable is nill or not set everytime.

Any help is appreciated.

Thanks in advance!!

--
Regards 

Ashish Gautam