On Thu, Jan 15, 2009 at 4:38 PM, Benny Prijono <bennylp at teluu.com> wrote: > On Thu, Jan 15, 2009 at 1:19 AM, mayamatakeshi <mayamatakeshi at gmail.com>wrote: > >> >> On Thu, Jan 15, 2009 at 5:25 AM, Samuel Vinson <samuelv at laposte.net>wrote: >> >>> Hello Benny, and everybody >>> >>> Happy to read again you !! ;-) >>> >>> I found sip provider that try to ask authenticate when it receive an >>> Invite message >>> but pjsip replies by Ack and not a new Invite with authentication >>> information. >>> >>> Is it a bug in pjsip or server? Is it possible to follow this process, >>> whereas the registration has been done ? >>> Maybe I forgot to enable an option too. >>> >>> Currently: >>> Client ---- Service Provider >>> Invite --> >>> <-- 100 Trying >>> <-- 401 Unauthorized >>> Ack --> >>> >>> Waited >>> Client ---- Service Provider >>> Invite --> >>> <-- 100 Trying >>> <-- 401 Unauthorized >>> Invite --> >>> >> >> Hi Samuel, >> have you set credentials in your code? In the simpleua.c we can read this: >> >> > Yep that will be the first thing to check. Samuel, since I recall you > mentioned somewhere you're using older version of PJSIP, perhaps your copy > is still affected by this bug: http://trac.pjsip.org/repos/ticket/660. > Perhaps now is a good time to upgrade to the 1.0.x series? :) Hi all, actually, that sample code will mostly crash the app (it just happened here). You must add a line setting the scheme too, otherwise its uninitialized ptr/slen will cause havoc: cred[0].scheme = pj_str("digest"); -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090115/79b5911f/attachment.html>