I have a VOIP line with a number of a country different than the one I live in.
I’m looking for a way, to forward a call from the VOIP to the cell network, thus having the call forwarded between countries without the international call charges.
If I used a Linux server with a sim dongle (to have cellular access), would that be possible using Asterisk?
Using a SIM dongle would involve using an abandonware channel driver. The general advice, when using Asterisk for this, would be to use a SIP to mobile gateway, connected over Ethernet.
Asterisk may well be over engineering for this, and you should consider using a SIP proxy, unless you need other capabilities from Asterisk.
Please check whether this is legal in your country. There are often restrictions on using the mobile network from fixed stations.
Asterisk isn’t a proxy, it is a back to back user agent, so, for simple calls it is both client and server. SIP does not use the terms client and server in the way that many people use them.