maybe you need take a look at pjsip doc. if you want pjsip stack to handle route set directly, you had better to use pjsip-ua api Or use high level pjsua api. regards, Gang On Mon, Nov 24, 2008 at 4:25 PM, cedric leveque <levequecedric at hotmail.com>wrote: > > Why pjsip_endpt_send_request_stateless function don't use header Route as > target to send the SIP message ? > > C?dric. > > ------------------------------ > > From: levequecedric@xxxxxxxxxxx > To: pjsip at lists.pjsip.org > Date: Thu, 20 Nov 2008 12:25:36 +0100 > Subject: pjsip_endpt_send_request_stateless and Route. > > Hi, > > I create an INVITE message with pjsip_endpt_create_request and I send it > with pjsip_endpt_send_request_stateless. It's work. > > When I had a route (Route: sip:172.16.0.4:5070;lr) before sending message, > pjsip_endpt_create_request doesn't calculate the right target and send the > message to the target of the Request line (INVITE sip:172.16.0.4:5065SIP/2.0) > > But pjsip_endpt_create_request should choose route as target ? No ? Is it a > bug ? > > I use PJSIP version 0,9 > > Thanks by advance for yours responses. > > Regards, > C?dric. > > > ------------------------------ > > Discutez sur Messenger o? que vous soyez ! Mettez Messenger sur votre > mobile ! <http://www.messengersurvotremobile.com/> > > ------------------------------ > Qui vous permet d'enregistrer la TV sur votre PC et lire vos emails sur > votre mobile ? la r?ponse en vid?o la r?ponse en vid?o<http://www.microsoft.com/france/windows/bts/default.mspx> > > _______________________________________________ > 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/20081126/04d9c8f9/attachment.html>