Howto
From x164 documentation wiki
Set up customer profiles with prefix dialing
Establishing usage quotas for users
How can I setup different gateways for the same carrier?
How can I setup different IP addresses for the same customer?