On Wed, 2005-11-02 at 11:29 +0100, Tomasz Chmielewski wrote: > Is it possible to connect to Asterisk from an external application? > > What I mean, to connect and "execute" its own extensions, created by > some other program: > > exten => 1234567,1,txfax(/home/steveu/testfax.tif|caller) > > or > > exten => $NUMBER_I_WANT,1,txfax($FILE_I_WANT|caller) > > and Asterisk will dial this number and "execute" these extensions. > > > If it's possible, how do I do it or where can I read more about it? > >
There are a couple different ways, the easiest and what it sounds like what you want is to create a call file. A call file is simply a text file that gets placed (mv dont cp, and mv from the same partition, mv across partitions is the same as cp effectively) into a spool dir and asterisk will check that file do what it says and poof. http://www.voip-info.org/tiki-index.php?page=Asterisk+auto-dial+out -- Trixter http://www.0xdecafbad.com Bret McDanel UK +44 870 340 4605 Germany +49 801 777 555 3402 US +1 360 207 0479 or +1 516 687 5200 FreeWorldDialup: 635378
signature.asc
Description: This is a digitally signed message part
_______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
