We have great experience in setting local and cloud sip trunks from sip providers.
we have great experience with MTN sip trunk configured on asterisk. The asterisk pbx can also work as proxy pbx to your proprietary pbx like (grandstream/3cx/matrix etc).