Hi Tal, Sorry for late response. Nice catch! It was a bug and just fixed this in ticket #976 [1]. Thanks for the report and fix. --- [1] http://trac.pjsip.org/repos/ticket/976 --- BR, nanang On Thu, Oct 15, 2009 at 8:02 PM, Tal Fromm <tal.fromm at gmail.com> wrote: > Greetings Benny & all, > > I've posted this message before with no reply. > > I'm using pjsip running with windows mobile device. > I tried to activate SRTP only for my account not as the default setting. > I'm using it? with no SIP protection (just for testing). > > I found that the first call is done without the SRTP enabled, and after that > all the calls were secure. > While going into the code in function pjsua_call_make_call it look like the > line call->acc_id = acc_id > appears after the use of pjsua_media_channel_init which uses acc_id value. > I moved this line up in the code just after the call pointer gets his value. > Is it realy a bug, or am I missing something? > > Tal > _______________________________________________ > 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 > >