Main problem is i want rdata somehow so that i can use pjsip_endpt_respond() to create 488 response msg. 1. on_rx_offer callback is used by pjsip when RE-INVITE is received.This callback has pjsip_inv_session as an argument. pjsip_inv_session has invite_tsx( pjsip_transaction *) as a member. on_rx_offer() is called from inv_on_state_confirmed(), which is defined in sip_inv.c. Before on_rx_offer is being called, inside inv_on_state_confirmed(), tsx from rdata is copied to invite_tsx of pjsip_inv_session. pjsip_transaction has some fields like cseq, branch. Can i use these fields to create incoming message as pjsip_endpt_respond() needs incoming msg from rdata to create response msg. 2. on_tsx_state_change() callback can be registered with invite method. It has pjsip_event_e as one of the argument. We can get rdata from this argument. But on_tsx_state_change() is called after response to RE-INVITE is sent. So it seems i can't use this callback. 3. I am using pjproject1.0 and linux as OS. -thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120227/655a5307/attachment.html>