Auto-dial Long Distance Code for analog device

FreePBX and Asterisk 1.8.15-cert5.

I have some fax machines connected via an analog card and we use long distance codes with our provider. I’m looking for a way to have a long distance code automatically dialed for these.

What are my options?