Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 629196f4 authored by andychou's avatar andychou
Browse files

Add PreciseDisconnectCause for SIP status code 481 Transaction Does Not Exist

Add ImsReasonInfo.CODE_SIP_TRANSACTION_DOES_NOT_EXIST and
PreciseDisconnectCause.SIP_TRANSACTION_DOES_NOT_EXIST
It will map by PRECISE_CAUSE_MAP in ImsPhoneCallTracker.java

Bug: 78204171
Test: local build pass
Change-Id: Iaa9673e4fa9568078161231df1b06735b862ca09
parent d673f4f2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5938,6 +5938,7 @@ package android.telephony.ims {
    field public static final int CODE_SIP_SERVER_TIMEOUT = 353; // 0x161
    field public static final int CODE_SIP_SERVICE_UNAVAILABLE = 352; // 0x160
    field public static final int CODE_SIP_TEMPRARILY_UNAVAILABLE = 336; // 0x150
    field public static final int CODE_SIP_TRANSACTION_DOES_NOT_EXIST = 343; // 0x157
    field public static final int CODE_SIP_USER_REJECTED = 361; // 0x169
    field public static final int CODE_SUPP_SVC_CANCELLED = 1202; // 0x4b2
    field public static final int CODE_SUPP_SVC_FAILED = 1201; // 0x4b1
+2 −0
Original line number Diff line number Diff line
@@ -332,6 +332,8 @@ public class PreciseDisconnectCause {
    public static final int SIP_NOT_REACHABLE                                = 1320;
    /** Others */
    public static final int SIP_CLIENT_ERROR                                 = 1321;
    /** 481 : Transaction Does Not Exist */
    public static final int SIP_TRANSACTION_DOES_NOT_EXIST                   = 1322;
    /** 5xx responses
     *  501 : Server Internal Error
     */
+2 −0
Original line number Diff line number Diff line
@@ -163,6 +163,8 @@ public final class ImsReasonInfo implements Parcelable {
    public static final int CODE_SIP_NOT_REACHABLE = 341;
    // Others
    public static final int CODE_SIP_CLIENT_ERROR = 342;
    // 481 Transaction Does Not Exist
    public static final int CODE_SIP_TRANSACTION_DOES_NOT_EXIST = 343;
    // 5xx responses
    // 501 : Server Internal Error
    public static final int CODE_SIP_SERVER_INTERNAL_ERROR = 351;