Hi Mahesh, Try to catch the invite's ACK from on_state_changed() callback, when event type == PJSIP_EVENT_RX_MSG and state == PJSIP_INV_STATE_CONFIRMED. Regards, nanang On 16/04/2008, Mahesh Govind <vu3mmg at gmail.com> wrote: > HI, > Could you please let me know what is best way to catch an Incoming ACK > , in an invite session . > I have inited the invite session . > For a b2bUA the application has to get the ack from one leg , extract > the SDP if present and send it to other leg . > This is a common scenario in gateways . > > Or can i add a call back like on_send_ack() , with the invite session . > > With regards > mahesh > > _______________________________________________ > 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 >