Hi Cesar, Here an example, for extracting TO-Header content: { char to_hdr[MAX_URI_LENGTH]; pjsip_msg *msg = rdata->msg_info.msg; pjsip_fromto_hdr *hdr_to; pjsip_sip_uri *uri_to; hdr_to = (pjsip_fromto_hdr*) pjsip_msg_find_hdr(msg, PJSIP_H_TO, NULL); uri_to = (pjsip_sip_uri*) pjsip_uri_get_uri(hdr_to->uri); pjsip_uri_print(PJSIP_URI_IN_FROMTO_HDR, uri_to, to_hdr, MAX_URI_LENGTH); } Please also take a look at "Message Structure Reference": http://www.pjsip.org/pjsip/docs/html/group__PJSIP__MSG__MSG.htm It's very good documented. greets Marco