sip_get_to_uri_str
extern const sip_str_t *sip_get_to_uri_str(sip_msg_t, int *);
sip_get_to_uri_str((sip_msg_t)sip_msg, NULL) == NULL ||
if (sip_get_to_uri_str((sip_msg_t)sip_msg, &err) == NULL)
to_uri = sip_get_to_uri_str((sip_msg_t)msg, &error);