You don't need to do anything apart from ensure that both gateways are sending their calls to callmanager and the appropriate translations are occuring so the called number matches what is in callmanager. Also ensure that the calling search space on the gateway in callmanager allows that gateway to call that number.
Callmanager doesn't care where a call comes from, only what the called number is.