How to access call headers?

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

 



Hi, Nanang!

Thank you for the hint, it works. I should have read doc & faq more
carefully :)

Regards,
Igor


2008/4/16, Nanang Izzuddin <nanang at pjsip.org>:
>
> 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
> >
> >
>
> _______________________________________________
> 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/20080418/fa269f77/attachment.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