hi in pjsua_pres.c, static void pjsua_evsub_on_state( pjsip_evsub *sub, pjsip_event *event) which is the callback from pjsip, the parameter event usualy has pointer to the SIP msg that create the event, u can add it to the pjsua callback. nir On Sat, Aug 22, 2009 at 3:55 PM, Sa?l Ibarra <saghul at gmail.com> wrote: > Hi, > > For interactin with an external XCAP library it would be really nice > if we could access an incoming NOTIFY request's body, so that we can > parse it... > > I guess some (I hope little) modification is needed in _pjsua.c, but > can't find where. If someone could point me I'd try to make the patch > myself ;) > > > Thanks in advance! > > > -- > /Sa?l > http://www.saghul.net | http://www.sipdoc.net > > _______________________________________________ > 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 > -- ??? ?????? ??: 050-3930056 nir.elkayam at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090822/fc531a0b/attachment.html>