Ring status formula


is there any formula existing that uses the ring status (Ringing, Vibrate, Silent) ?

Would be useful to create a widget that tells you the state of your phone's volume without using Tasker.

Thx !

Not sure when it came, but under "si" there is a function "ringer" which provides this.