* commit '0e58a9529895e270dae90e69486a59e41de714b8': Throw proper exceptions in SipManager
This commit is contained in:
@@ -393,12 +393,11 @@ public class SipPhone extends SipPhoneBase {
|
||||
new SipProfile.Builder(calleeSipUri).build();
|
||||
SipConnection c = new SipConnection(this, callee,
|
||||
originalNumber);
|
||||
connections.add(c);
|
||||
c.dial();
|
||||
connections.add(c);
|
||||
setState(Call.State.DIALING);
|
||||
return c;
|
||||
} catch (ParseException e) {
|
||||
// TODO: notify someone
|
||||
throw new SipException("dial", e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user