I'm trying to write a dialplan that will forward a call to a PSTN number.

PSTN (Party A) Inbound call to your Freeswitch (Party B), which is forwarded out to the PSTN (Party C)

I've found examples for transferring calls to other Freeswitch users, but I haven't been able to get this to work properly--where it sets a Diversion header.

Can anyone help?