adding isup_decode_number function