Re: Send Info Message with defined body

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux