Dial outside number, pause, dial 10 digit code

I am trying to get a configuration that dial a outside number, a pause, then another number (12 digit code)to reach a sattelite phone.

I have a extention with a followme that reach the outside number with out any problem, but when that answers i can’t dial the code.

I tried to add w, p, *, to the a dial string but it does not work.

How can I add this to FreePBX DISTRO?