There are two ways to accomplish this, they are ,
1. Creating Call files
2. AMI Orinate API.
1) It is easier for non-programmers. Just create calls files then mv it to astersisk spool outgoing directory.
For more information, pl have look on
http://www.the-asterisk-book.com/unstable/call-file.html.
You can pass dial-out number with Channel argument. if you are using Dahdi channel then just replace with
Dahdi/3/<mobile-number>
then launch your adhearsion or dialplan script. That is it!
2) It is for programmers. if you are a ruby programmer and adhearsion installed then pl have look on adhearsion stand-alone
ami examples on jruby-1.6.3/lib/ruby/gems/1.8/gems/adhearsion-1.1.1/examples. And get the dial-out number whatever the resources you have may be database,url ..etc. Also have look on AMI orginate samples.
Note: Be care full on IVR looping. It leaves you telephone bill much higher than what you expected, if the callee does not hangs up the call.
Thanks & Regards,
Ashik Ali
--
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
– Antoine de Saint-Exupery