summaryrefslogtreecommitdiffstats
path: root/voip
diff options
context:
space:
mode:
authorHung-ying Tyan <tyanh@google.com>2010-09-12 23:50:38 +0800
committerHung-ying Tyan <tyanh@google.com>2010-09-13 17:45:39 +0800
commit3d7606aa607b24817e37c264f2141ed7b2d50be0 (patch)
tree2819b037501a73e477a9aea58753149ac5a926fd /voip
parent25b52a2f97df112c2836972d0b6d9a4c7a9c4a4e (diff)
downloadframeworks_base-3d7606aa607b24817e37c264f2141ed7b2d50be0.zip
frameworks_base-3d7606aa607b24817e37c264f2141ed7b2d50be0.tar.gz
frameworks_base-3d7606aa607b24817e37c264f2141ed7b2d50be0.tar.bz2
SIP: enhance timeout and registration status feedback.
http://b/issue?id=2984419 http://b/issue?id=2991065 Change-Id: I2d3b1dd3a70079ff347f7256f4684aea07847f4e
Diffstat (limited to 'voip')
-rw-r--r--voip/java/android/net/sip/SipErrorCode.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/voip/java/android/net/sip/SipErrorCode.java b/voip/java/android/net/sip/SipErrorCode.java
index 2eb67e8..8624811 100644
--- a/voip/java/android/net/sip/SipErrorCode.java
+++ b/voip/java/android/net/sip/SipErrorCode.java
@@ -31,6 +31,9 @@ public enum SipErrorCode {
/** When server responds with an error. */
SERVER_ERROR,
+ /** When transaction is terminated unexpectedly. */
+ TRANSACTION_TERMINTED,
+
/** When some error occurs on the device, possibly due to a bug. */
CLIENT_ERROR,
@@ -41,5 +44,8 @@ public enum SipErrorCode {
INVALID_REMOTE_URI,
/** When invalid credentials are provided. */
- INVALID_CREDENTIALS;
+ INVALID_CREDENTIALS,
+
+ /** The client is in a transaction and cannot initiate a new one. */
+ IN_PROGRESS;
}