I'm surprised that this forum has no mention of the "Asterisk for Raspberry Pi" project.
Asterisk for Raspberry Pi
This project explains how to build an asterisk server. The hardware is inexpensive and it is easy to connect a sim card in a USB modem, to a Raspberry Pi.
I always take my own pocket-sized, asterisk box with me when I travel.