Good day! >I have one account 1002 on server 192.168.19.115 >and another account 1002 on server 192.168.19.116 >I have incoming call from server 192.168.19.115 and acc_id =0 >I have incoming call from server 192.168.19.116 and acc_id =0 too. - should it be = 1 ? Question1: how many account have you registered in PJSIP? one or both. Question2: Do you created separate accounts at you PJSUA application, or use one of them? >next, >I have one account 1002 on server 192.168.19.115 >and another account 1003 on server 192.168.19.116 >I have incoming call from server 192.168.19.115 and acc_id =0 >I have incoming call from server 192.168.19.116 and acc_id =1. Then I create acount in PJSUA application I do the next: 0) remove both default accounts (type commands "-a", "1" - first account, "-a", "0" - account number zero) 1) type "+a" // create a new account 2) type "sip:6005 at 192.168.2.134:5060" as SIP URL 3) type "sip:192.168.2.134:5060" as URL of the registar 4) type "6005" as Auth Realm 5) type "6005" as Auth Username 6) type "666" as Auth Password the same for another account - so you will have 2 accounts in PJSUA accounts list. Then you call to specified account - it should have correct acc_id. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120217/b49cb9eb/attachment.html>