Meaning
A solicitor available around the clock to give free, independent legal advice to people at the police station. They do not work for the police.
Example
Someone arrested at 3am who has no solicitor of their own can ask for the duty solicitor.
Where it comes from
The legal aid scheme; the right to advice comes from PACE, section 58.