Try something like this:
const pj_str_t SIP_INFO = pj_str("INFO”); pjsua_msg_data msg_data; char body[TU_MAX_SIP_INFO_BODY]; pjsua_msg_data_init(&msg_data); msg_data.content_type = pj_str(“application/xxx");
pj_ansi_snprintf(body, sizeof(body), “MyInfoContent");
msg_data.msg_body = pj_str(body); status = pjsua_call_send_request(call_id, &SIP_INFO, &msg_data); |
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org