Makes a {@link SipPhone} object.paramsipUri the local SIP URI the phone runs onparamcontext {@code Context} needed to create a Phone objectparamphoneNotifier {@code PhoneNotifier} needed to create a Phone objectreturnthe {@code SipPhone} object or null if the SIP URI is not valid try { SipProfile profile = new SipProfile.Builder(sipUri).build(); return new SipPhone(context, phoneNotifier, profile); } catch (ParseException e) { Rlog.w("SipPhoneFactory", "makePhone", e); return null; }
try { SipProfile profile = new SipProfile.Builder(sipUri).build(); return new SipPhone(context, phoneNotifier, profile); } catch (ParseException e) { Rlog.w("SipPhoneFactory", "makePhone", e); return null; }