sip_get_to_tag
extern const sip_str_t *sip_get_to_tag(sip_msg_t, int *);
localtag = sip_get_to_tag((sip_msg_t)sip_msg, &error);
remtag = sip_get_to_tag((sip_msg_t)sip_msg, &error);
if (sip_get_to_tag((sip_msg_t)sip_msg, NULL) != NULL)
ttag = sip_get_to_tag((sip_msg_t)sip_msg, NULL);
ttag_present = sip_get_to_tag(sip_request, NULL) != NULL;
req_to_tag = sip_get_to_tag((sip_msg_t)msg, &error);
resp_to_tag = sip_get_to_tag((sip_msg_t)sip_last_resp,