On my device I configured max_calls to be 1. I set the PJSUA_DEFAULT_USE_SRTP to be 0. I created UDP transport, and added it local. I them added an acount with cfg.use_srtp set to be mandatory (2). When I make the first call, the call->acc_id selected for me is set to 0, which is the UDP account, and his use_srtp value is set to 0. Later in the function call->acc_id is set to the correct id value, and from the second call this value will pickup the correct account. As mentioned before I moved the setting line to an upper place in the function, and it looks it solves the problem. Can anyone confirm? Tal -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090916/a22a8944/attachment.html>