Although both are SIP APIs, there are differences between them, implementing the JAIN SIP on the Android SIP API will be complex or, at best, incomplete, because the JAIN SIP is a lower-level API.
For example, the Android SIP APIs do not open the SIP stack, as you would expect in JAIN SIP, you cannot access SIP transactions in Android, etc.
With the Android API, you can easily manage your SIP client, which is why it is ideal for migrating to a low-level SIP protocol.
If you want to implement the JAIN SIP API on Android, you may have to write or use your own SIP stack (for example, the NIST JAIN client).
source share