Incoming call starts a new outgoing call

Greetings -

Here is my situation. I want to be able to call an extension on my Asterisk server and have my server in turn dial out another line. I do not want these calls to be bridged. In a nutshell this is what I want to do:

  1. I dial extension 500
  2. Asterisk answers and then hangs up immediately (hanging up is not necessary, I guess).
  3. Asterisk picks up Zap Group 4
  4. Asterisk then sends a string of DTMF digits (Zap/g4) and hangs up.

How do I do this? I’m close but not quite there.

Thanks in advance!

You can think in the following way:
create an extension like 500 for example, in this extension you’ll execute a script which will generate a call file with name outgoingtmp for example in the following directory /var/spool/asterisk/outgoing.
In that call file you specify an extension like 123, and for this extension dial out zap4 and then send your dtmf.
It’s a little bit tricky but this should work.
for call files have a look here:
voip-info.org/tiki-index.php … o-dial+out