<p>It seems more like a bug, as "p" state is documented for as valid input state for "ds_set_state"</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/312#issuecomment-53185648">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNDQ5MjAyMSwiZGF0YSI6eyJpZCI6NDA0MDI2NTl9fQ==--c1f23f9a2e480bc4d939040b5e0fb9b9fb6e17b0.gif" width="1" /></p>