Reply To: "more" link does not work at all resources

But everything else is correct? Which means the ID is correct.

get_permalink() is a wordpress function and if my script calls it with the right ID and it doesn’t give the proper result there isn’t much I can do. Test the ID by leaving $room->resid while deleting the get_permalink().
Regards