On 1/11/08, Alain Totouom <alain.totouom at gmx.de> wrote: > > Hi Benny, > > Benny Prijono wrote: > > > > > > This is supposed to be the case (well, at least with recent pjsip > version). > > Which version do you use? > > > > I'm in sync with the SVN trunk r1679 > > PJMEDIA behaves correctly as it should (with the patch applied of course). > But at first Sight the Stack is not handling SIP/415 responses correctly > since > it actually lacks the mandatory "Accept" header with the media types > PJSIP/PJMEDIA supports. Without that information the peer will obviously > never > know which of both medias was the troublemaker in its offer ;o) > > My proposal was to add > > Accept: audio/* > > in the 415 Response, if the offer contains *ONLY* streams PJSIP doesn't > support > for the moment. Hi Alain, sorry for the late response. Yeah you're right, it turns out pjsip rejects INVITE containg video with 415. I've committed your patch in http://www.pjsip.org/trac/ticket/448, thanks. I'm not sure though if "audio/*" is a valid value for Accept header. Ideally pjsua-lib should put a Warning header in the response, maybe. cheers, -benny Cheers > Alain > > -- > "" > (o)(o) > _____o00o__(__)__o00o_____ > 1024D/A9F85A52 2000-01-18 Alain Totouom <totouom at gmx.de> > PGP FingerPrint DA180DF2 FBD25F67 0656452D E3A27531 A9F85A52 > > _______________________________________________ > 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/20080114/6ce4d618/attachment.html