If you have a Session Manager, use that.
Every SIP entity must be assigned a "location". You can have a different one per entity, or one for "HQ" and every entity at your HQ be assigned to that location.
It's just a matter of how you want Session Manager's dialplan to work. It can route based on location, digits, domains and regular expressions.
For example, if you have SBCs in Atlanta and Boston, if you dial x@sip-provider.com from originating location Atlanta, go to the Atlanta SBC, and if you're from Boston, go to Boston.