sip_get_from_tag
extern const sip_str_t *sip_get_from_tag(sip_msg_t, int *);
remtag = sip_get_from_tag((sip_msg_t)sip_msg, &error);
localtag = sip_get_from_tag((sip_msg_t)sip_msg, &error);
if (sip_get_from_tag((sip_msg_t)sip_msg, NULL) == NULL ||
local_tag = sip_get_from_tag((sip_msg_t)sip_msg, NULL);
ttag = sip_get_from_tag((sip_msg_t)sip_msg, NULL);