Hi,<div><br></div><div>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 &#39;NONE&#39; everytime no matter what the reason is. Also the hangup_cause variable is nill or not set everytime.</div>
<div><br></div><div>Any help is appreciated.</div><div><br></div><div>Thanks in advance!!</div><div><br></div><div>--</div><div>Regards </div><div><br></div><div>Ashish Gautam</div>