Sending and receiving SMS

i have a freepbx and i have in the server pc a card were i have installed two sim cards. How it is possible to send and receive sms from these two sim cards in an external software. For example like using jitsi for calls is there any software for sms if yes how can i configure it.