[Asterisk-Users] is it possible to connect to Asterisk from an
external application?
trixter aka Bret McDanel
trixter at 0xdecafbad.com
Wed Nov 2 03:44:11 MST 2005
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051102/1fb02211/attachment.pgp
More information about the asterisk-users
mailing list