Filter terminated calls

https://bugzilla.mozilla.org/show_bug.cgi?id=1058706
would it be useful to have a set of constant for these values ? e.g. ST_TERMINATED,  ST_HALF_INITIATED
using plain strings throughout the code seems more prone to typos