• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2768
  • Last Modified:

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

Hi

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.

0
nocinfospan
Asked:
nocinfospan
1 Solution
 
Jaime OlivaresSoftware ArchitectCommented:
C# can manage any software interface designed for other languages like C++ or VB6.

some page mentioning both AGI and C#:
http://geekswithblogs.net/interfacemirror/articles/107984.aspx
0
 
Jaime OlivaresSoftware ArchitectCommented:
0
 
grbladesCommented:
Yes an AGI script can be written in any language. The only real requirement is that it will run on the Asterisk box.
http://www.bitflipper.ca/Documentation/agi.html
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
DrDamnitCommented:
Hello nocinfospan,

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

Regards,

DrDamnit
0
 
Jaime OlivaresSoftware ArchitectCommented:
Indeed it can be done with Mono C# over Linux...
0
 
nocinfospanAuthor Commented:
Asterisk is running on Linux, there is no windows process involved.
0
 
grbladesCommented:
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.
0
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.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now