@Override public void on_zrtp_show_sas(int callId, pj_str_t sas, int verified) { String sasString = PjSipService.pjStrToString(sas); Log.d(THIS_FILE, "ZRTP show SAS " + sasString + " verified : " + verified); if (verified != 1) { SipCallSession callInfo = pjService.getPublicCallInfo(callId); Intent zrtpIntent = new Intent(SipManager.ACTION_ZRTP_SHOW_SAS); zrtpIntent.putExtra(Intent.EXTRA_SUBJECT, sasString); zrtpIntent.putExtra(SipManager.EXTRA_CALL_INFO, callInfo); pjService.service.sendBroadcast(zrtpIntent, SipManager.PERMISSION_USE_SIP); } else { updateZrtpInfos(callId); } }
public void updateZrtpInfos(final int callId) { pjService.refreshCallMediaState(callId); }