Add getSipUri() for identification.
Change-Id: Iabffd38ad554c34a34977c833e6699747cbf0f63
This commit is contained in:
@@ -102,6 +102,10 @@ public class SipPhone extends SipPhoneBase {
|
|||||||
return mProfile.getProfileName();
|
return mProfile.getProfileName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getSipUri() {
|
||||||
|
return mProfile.getUriString();
|
||||||
|
}
|
||||||
|
|
||||||
public boolean canTake(Object incomingCall) {
|
public boolean canTake(Object incomingCall) {
|
||||||
synchronized (SipPhone.class) {
|
synchronized (SipPhone.class) {
|
||||||
if (!(incomingCall instanceof SipAudioCall)) return false;
|
if (!(incomingCall instanceof SipAudioCall)) return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user