Hi James. I'm using pjsua2 version 2.2.1 Java. I did like this: if(call.getInfo().getRemoteUri().contains("mydomain")){ //accept call } else { //reject call } Aduilio Em 04-06-2014 16:34, James Evans escreveu: > > It appears that by default PJSIP will accept INVITEs from anybody, not > just the registered server. > > Is there a way to disable that? > > Jim > > > > _______________________________________________ > 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/20140604/7db9f021/attachment.html>