Is diverting voice calls from PSTN to GSM possible?

Good morning.

I would like to ask is it possible with Asteriks to divert incoming calls from PSTN (analog landline) connected via X100P clone PCI card to cellular number via supported Huawei USB modem with GSM sim card?

Thank you in advance for response.

Best regards.

On the chan_dahdi configuration set the context name for GSM modem trunk and create the diverting dial plan rules on that context

I think route would be a better description than divert. Divert tends to imply that you have released the call from Asterisk.

Asterisk can route calls from any channel technology to any other channel technology, as long as they both support the type of call and any codec translations are supported. This is not fundamentally different from routing calls within the same technology.