Let us hang on for a minute.
It drives me absolutely crazy when people post their desired solution without explaining the problem they are trying to solve. My guess is that you are trying to open a door by dialing an extension. Is that right? If so, then say that rather than impose your idea of a solution. We can help, but you have to tell us what you are trying to achieve. We may have alternatives you have not considered.
For example, if you are trying to open a door by dialing an extension, many (if not all) electronic door latches offer multiple ways of interacting with the door. Some have a proprietary network protocol you can use to send a message to the latch, while others may offer a secure web URL you can call.
So if I am anywhere near what you are trying to achieve, you could create a Call Flow Designer (CFD) application that when dialed performs the required web post to the latch. If a proprietary network protocol is required, the CFD could call a web API you create, and have the web API perform the network library functions. As Ernesto pointed out, sending DTMF audio (rather than commands) may be possible, but may not be reliable if it works at all.
So, rather than make us guess, why are you wanting to do this strange call yourself and dial #1?