Dynamic_Features Issue

Hi.
I my asterisk, i have configured to be able to transfer calls when press #.
It works perfectly, but, If I dial my friend company, in his IVR, when you dial # you are transfered to his extension. What Is the issue here? Well, My asterisk don’t know If when I press # is refering as an input option to my friend IVR, or is my own function to Transfer call.