My guess is that you are using the Adtran to convert from a PRI to SIP.
If I am correct then the easiest way to configure this is to allow all traffic to pass and have the Cisco handle all the dial plan rules.
In the GUI go to Voice -> Trunks -> Trunk Groups and select the first trunk.
Next click the + next to "Detailed View - Permit/Restriction Call Templates"
Click "Configure Advanced Templates"
Under "Add Outbound Permit Template" enter $ and click "Add".
You will now see : "$ Low (0)"
Next delete all other Templates.
Do the same for the second trunk.
If you want to configure this from the command line use the following:
voice grouped-trunk VOIP
accept $ cost 0
voice grouped-trunk PRI
accept $ cost 0
This will allow all traffic to pass.
If I did not answer your question please respond back with more detail on your setup.
Are you still having problems with long distance or international calling? Generally speaking, the PBX should not send the '9' in front of outbound calls. However, the Adtran unit can strip that digit if necessary using our match and substitute command set. As far as routing international calls, the configuration example that unified shows above will make sure that call gets routed outbound. Please let us know if you are still working on this issue. We would be glad to help out however we can.
I went ahead and flagged this post as "Assumed Answered". If any of the responses on this thread assisted you, please mark them as Correct or Helpful as the case may be with the applicable buttons. This will make them visible and help other members of the community find solutions more easily. If you still need assistance, I would be more than happy to continue working with you on this - just let me know in a reply.
I would recomend a de si st me and capture one of the calls on the Adtran. It may not be a problem with the Adtran config at all it could be an issue with the up stream provider not accepting long distance, or a misconfiguartion on their end. If you want you can scrub the capture of sensitive data and post it for review.