How to access call headers?

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

 



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
>
>



[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