sip_get_substate
extern const sip_str_t *sip_get_substate(sip_msg_t, int *);
sstate = sip_get_substate((sip_msg_t)sip_msg, &error);