A black dog wagged its tail on the outdoor grass after hearing a whistle.