As an option, we can set HELD_ERROR_CODE and normal HELD response and construction like ``` modparam("lost", "xavp_responce", "held_responce") ... lost_held_dereference("$(var(url){s.unbracket})", "emergencyDispatch", "civic geodetic", "$var(pidf)", "$var(err)"); switch ($xavp(held_responce[0]=>HELD_ERROR_CODE)) { case "responceWithPresence": route(ADD_LOCATION_BY_VALUE); case "responceWithLocationUriSet": route(ADD_LOCATION_BY_REFERENCE); case "responceWithPresenceAndLocationUriSet": route(ADD_LOCATION_BY_VALUE); route(ADD_LOCATION_BY_REFERENCE); case "badHeldResponce": route(TRY_OTHER_LOCATION_METHOD); case "locationUnknown": xlog(L_ERR, "Received LIS error response: $(varLisErrorMessage)"); route(TRY_DEFAULT_PSAP); case "generalLisError": xlog(L_ERR, "Received unexpected LIS error response: $(varLisErrorMessage)"); route(TRY_OTHER_LOCATION_METHOD); default: xlog(L_WARNING, "Received unexpected LIS response: $xavp(held_responce[0]=>HELD_ERROR_CODE) - $xavp(held_responce[0]=>HELD_ERROR_MESSAGE)"); route(TRY_DEFAULT_PSAP); } ```