package voip; public interface SIPMsg { public static int ST_OTHERS = 0; // Uninterested packets public static int ST_INVITE = 1; // Received INVITE public static int ST_INVITE_OK = 2; // Received 200 (OK) and INVITE public static int ST_INVITE_ACK= 3; // Not being used public static int ST_BYE = 4; // Received BYE public static int ST_BYE_OK = 5; // Received BYE and ACK public static int ST_CANCEL = 6; // Received CANCEL public String executeSIPMethod(String packetStr, String fromStr); public int getStatus(); public int setStatus(String packet); public boolean isInviteRequest (String packet); public boolean isByeRequest (String packet); public boolean isInviteOkStatus (String packet); public boolean isByeOkStatus (String packet); public boolean isAckStatus (String packet); public byte[] encryptMedia (byte[] input); public byte[] decryptMedia (byte[] input); }