Adding logic to ptn_check_dial