SDP origin version value

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

 



Thanks for your reply.

I just check source code of pjmedia_sdp_neg_negotiate(). It is ok to
increment the origin version because new SDP created internally.

I think what my problem is that I hack pjsip source code to handle re-Invite
response myself.

Issue fixed by following your advice.
regards,
Gang


On Wed, Sep 3, 2008 at 11:08 PM, Nanang Izzuddin <nanang at pjsip.org> wrote:

> 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
> >
> >
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080909/1f7ca123/attachment-0001.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