Is it possible to send 488 response by ourself.

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

 



Hi,

The scenario is:

                When Callee receives RE-INVITE having presentation offer,
he can reject the offer. If we don't set our sdp answer using
pjsip_inv_set_sdp_answer(), then pjsip sends 488 response by itself.

                I want to set a 'WARNING' header in 488 response stating
specific reason for rejection. But it seems that we can't send a response
by ourself as API's used to send response need pjsip_rx_data as one
                of the argument. In on_rx_offer callback we get only
pjsip_inv_session and pjmedia_sdp_session as arguments.

Can anyone guide me?

-thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120227/f90d6655/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