I am looking for a solution/workaround to be able to send DTMF long distance codes before an outgoing call is answered.
I have some users who will be dialing out of a CRM application and we use telco long distance PINs. My goal is to have the long distance code entered for them. I was considering a custom context that would dynamically create a meetme, dial the outgoing number and place that call in the meetme, then play the DTMF tones… but this seems pretty sloppy. I came across the idea from an outdated post.
We are running Asterisk 18.104.22.168
The D() option in the Dial command doesn’t play the tones until the other end is answered, but the telco isn’t “answering”, it is playing a tone and waiting for input – which is why I thought that meetme might be an option.
Can anyone offer suggestions? At this point, would a meetme be the easiest solution? I haven’t found an example of dynamically creating meetme conferences and bridging with an extension and outbound call, so I don’t even know how to do that yet.
I’d appreciate any ideas.