ajax in admin menu

add_action('wp_ajax_ring_callback', 'ring_callback');

Should be the hook you must be using to enable ring_callback function call.

error code: 523