You can use the method pjsip_msg_add_hdr(pjsip_msg *msg, pjsip_hdr *hdr ) to add your custom header. Regards, Sandeep On Tue, Dec 11, 2012 at 4:12 PM, Spencer MacDonald < spencer.macdonald.other at gmail.com> wrote: > Hi, > > Im trying to send a custom header in a SIP Registration, but I can't find > a way to do so. > > It looks like you should be able to call > > pjsip_regc_get_module() > > to get the sip registration module, but this gives me a linker error. > Looking in footprint.c this method appears to be commented out. > > Should this be working or is there an alternative solution? > > Regards > > Spencer > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20121211/5d24b0d5/attachment-0001.html>