They said it's simple

How to enable internal text communication using ip-telephones connected with pjsip to an asterisk 15.x+ to send and receive SMS locally.

more ...