The chan_voicemngr_get_active_subchannel() can return NULL. But the returned value is not
checked by all calling functions. This can cause a segmentation fault by NULL pointer access.
Check the returned value in all places calling chan_voicemngr_get_active_subchannel()