[pjsip] How to access call headers?

Nanang Izzuddin nanang at pjsip.org
Wed Apr 16 13:51:29 EDT 2008


Hi Igor,

Have you tried (a kind of)
pjsip_msg_find_hdr_by_name(rdata->msg_info.msg, HEADER_NAME, NULL)
from on_incoming_call handler?

Regards,
nanang


On 15/04/2008, Igor Dontsov <dontsovigor at gmail.com> wrote:
>
>
> Hello!
>
> I'm transferring a call with custom headers. Headers are attached using
> msg_data parameter of pjsua_call_xfer() function.
>
> How can I access headers on the receiving side, e.g. in on_incoming_call
> handler?
>
> Thank you,
> Igor
>
> _______________________________________________
>  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
>
>




More information about the pjsip mailing list