Zack
Zack

Reputation: 881

How to send a dial string from the computer to asterisks to call a phone?

I've been trying to figure out how to send a dial string to the asterisks server which should then handle a call to the phone with that extension. I know there are programs like X-Lite and such but I don't want to manually dial it. I want to pass a string instead. Is there any way? Any help or tip would be very much appreciated!

Thanks in advance!

Upvotes: 1

Views: 1358

Answers (3)

user457772
user457772

Reputation: 21

Call files can help you easily but AGI using php or perl is far more better

Upvotes: 2

Shrikant Soni
Shrikant Soni

Reputation: 2327

You can use AGI scripts to do this. From AGI scripts you can manage your asterisk box from any language you want

Upvotes: 6

Michał Niklas
Michał Niklas

Reputation: 54302

I use call files. Just read: Asterisk auto-dial out.

I made simple CGI script that called via web server creates call file (remember to use temp directory) and then moves it to /var/spool/asterisk/outgoing and Asterisk do rest of work.

Upvotes: 2

Related Questions