I am not sure I understand the issue are you saying that you are not able to route calls from CM to Quintum, or from Quintum to CM or both?
I am guessing that since you mentioned using the static routing it is sending the call from quintum to cm. If it is not using the SR, then maybe you do not have the correct match in the dn field for the dialed number. Make sure you have added a * at the end of the pattern in the dn and check whether you have set the number as public and private.
Other than that, without seeing your config and watching some calls, I cannot say for sure what could be wrong. If you would like some assistance in this, you may contact me directly at email@example.com.