sip_msg_to_str
extern char *sip_msg_to_str(sip_msg_t, int *);
msgstr = sip_msg_to_str(sip_msg, NULL);