I am trying the undestand the hangup reason in javascript

I noticed there is no

session.hangupCause

but there IS a

                session.causecode

 

Docs say it gives the Q.931 code for hangup,

 

But, on occupied calls, I just get “false” when I ask

session.causecode

 

What’s happening..