Ah! just did that, and now the account id actually show the correct account when I call. seems like the default account 0 is always online and therefore the actual sip account id is not used.. Thanks! ill just do that.. still a bit wrong in my opiinion.. regards Gideon On 27 January 2012 11:40, Fedot Fedotov <fedot.fedotov at gmail.com> wrote: > Gideon Spreeth <gspreeth <at> gmail.com> writes: > i look atthe pjsua console the registered accounts are nomber 2 and three. > and i > am able to call them.I call the function:pjsua_call_get_info(call_id, > &call_info);butwhen I look at call_info.acc_id it is always 0 for any > account > that was called..How can i know what account was called? > > one more thought, just for the clarification, why you didn't remove two > default > accounts, which are created by PJSUA application? Then I started my > experiments > with PJSUA - I always removed both of them and then -> and after that > added my > own account. > > > _______________________________________________ > 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/20120127/efe04c81/attachment.html>