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

Commit d9b97ece authored by andychou's avatar andychou Committed by Tyler Gunn
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: I10ec05256f748007657e4a8e60d07b1fd8a4f8b2
Merged-In: Iaa9673e4fa9568078161231df1b06735b862ca09
parent b8740842
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5964,6 +5964,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_MARKED_UNWANTED = 365; // 0x16d
    field public static final int CODE_SIP_USER_REJECTED = 361; // 0x169
    field public static final int CODE_SUPP_SVC_CANCELLED = 1202; // 0x4b2
+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
@@ -164,6 +164,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;