Use ring_call_channel_update_state instead of ring_media_channel_set_state