answer call if header present

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

 



The pjsua on_incoming_call callback is passed a pjsip_rx_data*.? rdata->msg_info.msg is a pjsip_msg*, 
and you can loop through the headers with a loop like this:

??? pjsip_hdr *hdr ;
??? for (hdr = m->hdr.next ; hdr != &m->hdr ; hdr = hdr->next) {
??? }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120529/65fab137/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