Can C# (Dot Net) be used within AGI (Asterisk Gateway Interface) as a programming language


i want to attach asterisk with SQL DataBase using AGI. i am interested in using Dot Net platform. can some one guide me on the fact that C# (Dot Net) can be used for this purpose and what kind of procedure would i have to follow for this.

Who is Participating?
grbladesConnect With a Mentor Commented:
So yes if you can run code on the same box then you can use it for AGI. Basically all its doing is running a program, passing information to it, and getting a result back. It does not matter what it is written in.
Jaime OlivaresSoftware ArchitectCommented:
C# can manage any software interface designed for other languages like C++ or VB6.

some page mentioning both AGI and C#:
Jaime OlivaresSoftware ArchitectCommented:
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Yes an AGI script can be written in any language. The only real requirement is that it will run on the Asterisk box.
Hello nocinfospan,

Dot net is a Windows based programming laguaguge. Are you running Asterisk on Windows or do you have a compiler for Linux?


Jaime OlivaresSoftware ArchitectCommented:
Indeed it can be done with Mono C# over Linux...
nocinfospanAuthor Commented:
Asterisk is running on Linux, there is no windows process involved.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.