Setting Custom Registration Header

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

 



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>


[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