As per the bearer state machine a bearer can be in a number of states like CLOSED, DISCONNECTED etc. How can one get the current state of the bearer?
One can get the state of a channel using the wip_getState function, is there an equivalent function call for a bearer?