This is possible with asterisk. There several ways you can do this.
You would need a X100P from Digium to interface with the PSTN line
coming in. Then you could send the call over VoIP which doesn't require
anything more than broadband and a VoIP provider. You should have
caller-id on the PSTN
Die GSM Tailnehmer wählen nicht die eigentlich Auslandsnummer - sonder
unsere SIP Gateway Nummer + als Durchwahl die Auslandsnummer. Unser SIP
Gateway sollte dann die Durchwahl(=Auslandsnummer) wählen und das
Gespräch verbinden.
So dachte ich mir das auf jeden Fall - obs möglich ist weiß ich nicht