Hi Gang, Thanks a lot... It worked perfectly :). Kishore. On Thu, Jun 25, 2009 at 10:11 AM, Gang Liu <gangban.lau at gmail.com> wrote: > pjsip support 100rel. > It is better to change your code logic. Don't use MEDIA_ACTIVE as start > flag. And only start streaming after call is connected. > > regards, > Gang > > On Wed, Jun 24, 2009 at 7:43 PM, Kishore Annapureddy < > krishnaakishore at gmail.com> wrote: > >> Hi all, >> >> I have a small query: I have written a UA using pjsip with a callback for >> media state change, and started streaming a media file on MEDIA_ACTIVE. This >> works fine when I use linphone. However when I connect to a FreeSwitch >> server, the media play starts even before I pick the call on the other side. >> On investigation I find that PJSIP is shifting to MEDIA_ACTIVE as soon as it >> receives a 200/PRACK. When I pick up the call on the other side(FreeSwitch) >> there is a 200/INVITE received by PJSIP. In earlier case (ie; using >> linphone) media play doesn't start until a 200/INVITE is received which is >> sent by linphone when I answer the call. Am I missing some configuration >> here? or PJSIP doesn't support PRACK? I would like to know if there is >> anything I can do to not switch the media state to MEDIA_ACTIVE until it >> receives a 200/INVITE. >> >> Thanks all in advance, >> Kishore. >> >> _______________________________________________ >> 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/20090625/edd98980/attachment.html>