Hi, It could be in more than one places, one of them is in pjmedia_sdp_neg_negotiate(). If you insist to manage your own origin version, try to set it in on_media_update() callback of pjsip_inv_callback. Please note that when a media session is updated (e.g: by call update/reinvite) the origin version need to be incremented by 1 as specified by the standard. Regards, nanang On 03/09/2008, Gang Liu <gangban.lau at gmail.com> wrote: > Hi, > When I use pjsip_inv_answer() to create 200 response, I create my own > sdp and set origin version to 3429443492. > > pj_gettimeofday(&tv); > call->o_session_version = tv.sec + 2208988800UL; > > sdp->origin.version = call->o_session_version; > > but it changed to 3429443493 when remote party got 200 OK response. I try > to trace pjsip source code, But I couldn't find where changes has happen. > > > regards, > Gang > > > _______________________________________________ > 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 > >